summaryrefslogtreecommitdiffstats
path: root/src/codecs
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-13 13:18:58 +0900
committerMichele Calgaro <[email protected]>2023-09-13 13:18:58 +0900
commit1ba13366a7a377d50b9e8df9044ce11d8209f98c (patch)
tree40765573bcccd42239475344141eb98d2ac5d45e /src/codecs
parent926102a455014e6ab308aaced19e32eed7ed4414 (diff)
downloadtqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.tar.gz
tqt3-1ba13366a7a377d50b9e8df9044ce11d8209f98c.zip
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/codecs')
-rw-r--r--src/codecs/ntqeucjpcodec.h2
-rw-r--r--src/codecs/ntqeuckrcodec.h2
-rw-r--r--src/codecs/ntqgb18030codec.h2
-rw-r--r--src/codecs/ntqjiscodec.h2
-rw-r--r--src/codecs/ntqjpunicode.h2
-rw-r--r--src/codecs/ntqrtlcodec.h2
-rw-r--r--src/codecs/ntqsjiscodec.h2
-rw-r--r--src/codecs/ntqtextcodec.h6
-rw-r--r--src/codecs/ntqtextcodecfactory.h2
-rw-r--r--src/codecs/ntqtextcodecplugin.h2
-rw-r--r--src/codecs/ntqtsciicodec.h2
-rw-r--r--src/codecs/ntqutfcodec.h4
-rw-r--r--src/codecs/qtextcodecinterface_p.h2
-rw-r--r--src/codecs/qtextcodecplugin.cpp4
14 files changed, 18 insertions, 18 deletions
diff --git a/src/codecs/ntqeucjpcodec.h b/src/codecs/ntqeucjpcodec.h
index eb140e947..6ccbcddb2 100644
--- a/src/codecs/ntqeucjpcodec.h
+++ b/src/codecs/ntqeucjpcodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQEucJpCodec : public TQTextCodec {
diff --git a/src/codecs/ntqeuckrcodec.h b/src/codecs/ntqeuckrcodec.h
index 00b260293..fcd97a964 100644
--- a/src/codecs/ntqeuckrcodec.h
+++ b/src/codecs/ntqeuckrcodec.h
@@ -75,7 +75,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_KR
#else
-#define Q_EXPORT_CODECS_KR Q_EXPORT
+#define Q_EXPORT_CODECS_KR TQ_EXPORT
#endif
class Q_EXPORT_CODECS_KR TQEucKrCodec : public TQTextCodec {
diff --git a/src/codecs/ntqgb18030codec.h b/src/codecs/ntqgb18030codec.h
index 5369a6c35..676a08a18 100644
--- a/src/codecs/ntqgb18030codec.h
+++ b/src/codecs/ntqgb18030codec.h
@@ -51,7 +51,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_CN
#else
-#define Q_EXPORT_CODECS_CN Q_EXPORT
+#define Q_EXPORT_CODECS_CN TQ_EXPORT
#endif
class Q_EXPORT_CODECS_CN TQGb18030Codec : public TQTextCodec {
diff --git a/src/codecs/ntqjiscodec.h b/src/codecs/ntqjiscodec.h
index c464df003..b96d0aec2 100644
--- a/src/codecs/ntqjiscodec.h
+++ b/src/codecs/ntqjiscodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQJisCodec : public TQTextCodec {
diff --git a/src/codecs/ntqjpunicode.h b/src/codecs/ntqjpunicode.h
index 689c0abb0..2daa893b7 100644
--- a/src/codecs/ntqjpunicode.h
+++ b/src/codecs/ntqjpunicode.h
@@ -79,7 +79,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQJpUnicodeConv {
diff --git a/src/codecs/ntqrtlcodec.h b/src/codecs/ntqrtlcodec.h
index 859da5cad..f40161250 100644
--- a/src/codecs/ntqrtlcodec.h
+++ b/src/codecs/ntqrtlcodec.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_CODEC_HEBREW
-class Q_EXPORT TQHebrewCodec : public TQTextCodec {
+class TQ_EXPORT TQHebrewCodec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/ntqsjiscodec.h b/src/codecs/ntqsjiscodec.h
index 9187672f4..a1acc053e 100644
--- a/src/codecs/ntqsjiscodec.h
+++ b/src/codecs/ntqsjiscodec.h
@@ -80,7 +80,7 @@
#if defined(QT_PLUGIN)
#define Q_EXPORT_CODECS_JP
#else
-#define Q_EXPORT_CODECS_JP Q_EXPORT
+#define Q_EXPORT_CODECS_JP TQ_EXPORT
#endif
class Q_EXPORT_CODECS_JP TQSjisCodec : public TQTextCodec {
diff --git a/src/codecs/ntqtextcodec.h b/src/codecs/ntqtextcodec.h
index ad49b5870..6d0267603 100644
--- a/src/codecs/ntqtextcodec.h
+++ b/src/codecs/ntqtextcodec.h
@@ -51,19 +51,19 @@ class TQTextCodec;
class TQIODevice;
class TQFont;
-class Q_EXPORT TQTextEncoder {
+class TQ_EXPORT TQTextEncoder {
public:
virtual ~TQTextEncoder();
virtual TQCString fromUnicode(const TQString& uc, int& lenInOut) = 0;
};
-class Q_EXPORT TQTextDecoder {
+class TQ_EXPORT TQTextDecoder {
public:
virtual ~TQTextDecoder();
virtual TQString toUnicode(const char* chars, int len) = 0;
};
-class Q_EXPORT TQTextCodec {
+class TQ_EXPORT TQTextCodec {
public:
virtual ~TQTextCodec();
diff --git a/src/codecs/ntqtextcodecfactory.h b/src/codecs/ntqtextcodecfactory.h
index 947d32f7a..621e2e01b 100644
--- a/src/codecs/ntqtextcodecfactory.h
+++ b/src/codecs/ntqtextcodecfactory.h
@@ -47,7 +47,7 @@
class TQTextCodec;
-class Q_EXPORT TQTextCodecFactory
+class TQ_EXPORT TQTextCodecFactory
{
public:
static TQTextCodec *createForName( const TQString & );
diff --git a/src/codecs/ntqtextcodecplugin.h b/src/codecs/ntqtextcodecplugin.h
index 70c1ce12c..094290545 100644
--- a/src/codecs/ntqtextcodecplugin.h
+++ b/src/codecs/ntqtextcodecplugin.h
@@ -50,7 +50,7 @@
class TQTextCodec;
class TQTextCodecPluginPrivate;
-class Q_EXPORT TQTextCodecPlugin : public TQGPlugin
+class TQ_EXPORT TQTextCodecPlugin : public TQGPlugin
{
TQ_OBJECT
public:
diff --git a/src/codecs/ntqtsciicodec.h b/src/codecs/ntqtsciicodec.h
index d9486f237..bbea40f2d 100644
--- a/src/codecs/ntqtsciicodec.h
+++ b/src/codecs/ntqtsciicodec.h
@@ -74,7 +74,7 @@
#ifndef TQT_NO_CODECS
-class Q_EXPORT TQTsciiCodec : public TQTextCodec {
+class TQ_EXPORT TQTsciiCodec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/ntqutfcodec.h b/src/codecs/ntqutfcodec.h
index 9c6408af1..c6303a3c4 100644
--- a/src/codecs/ntqutfcodec.h
+++ b/src/codecs/ntqutfcodec.h
@@ -47,7 +47,7 @@
#ifndef TQT_NO_TEXTCODEC
-class Q_EXPORT TQUtf8Codec : public TQTextCodec {
+class TQ_EXPORT TQUtf8Codec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
@@ -63,7 +63,7 @@ public:
int heuristicContentMatch(const char* chars, int len) const;
};
-class Q_EXPORT TQUtf16Codec : public TQTextCodec {
+class TQ_EXPORT TQUtf16Codec : public TQTextCodec {
public:
virtual int mibEnum() const;
const char* name() const;
diff --git a/src/codecs/qtextcodecinterface_p.h b/src/codecs/qtextcodecinterface_p.h
index cba2cdd61..5a8baa04a 100644
--- a/src/codecs/qtextcodecinterface_p.h
+++ b/src/codecs/qtextcodecinterface_p.h
@@ -68,7 +68,7 @@ class TQTextCodec;
#endif
-struct Q_EXPORT TQTextCodecFactoryInterface : public TQFeatureListInterface
+struct TQ_EXPORT TQTextCodecFactoryInterface : public TQFeatureListInterface
{
virtual TQTextCodec *createForMib( int mib ) = 0;
virtual TQTextCodec *createForName( const TQString &name ) = 0;
diff --git a/src/codecs/qtextcodecplugin.cpp b/src/codecs/qtextcodecplugin.cpp
index e4f0d6afe..d59e8684d 100644
--- a/src/codecs/qtextcodecplugin.cpp
+++ b/src/codecs/qtextcodecplugin.cpp
@@ -55,7 +55,7 @@
Writing a text codec plugin is achieved by subclassing this base
class, reimplementing the pure virtual functions names(),
createForName(), mibEnums() and createForMib(), and exporting the
- class with the \c Q_EXPORT_PLUGIN macro. See the \link
+ class with the \c TQ_EXPORT_PLUGIN macro. See the \link
plugins-howto.html TQt Plugins documentation \endlink for details.
See the \link http://www.iana.org/assignments/character-sets IANA
@@ -166,7 +166,7 @@ TQTextCodec *TQTextCodecPluginPrivate::createForName( const TQString &name )
/*!
Constructs a text codec plugin. This is invoked automatically by
- the \c Q_EXPORT_PLUGIN macro.
+ the \c TQ_EXPORT_PLUGIN macro.
*/
TQTextCodecPlugin::TQTextCodecPlugin()
: TQGPlugin( d = new TQTextCodecPluginPrivate( this ) )