From 1ba13366a7a377d50b9e8df9044ce11d8209f98c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 13 Sep 2023 13:18:58 +0900 Subject: Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN Signed-off-by: Michele Calgaro --- src/codecs/ntqeucjpcodec.h | 2 +- src/codecs/ntqeuckrcodec.h | 2 +- src/codecs/ntqgb18030codec.h | 2 +- src/codecs/ntqjiscodec.h | 2 +- src/codecs/ntqjpunicode.h | 2 +- src/codecs/ntqrtlcodec.h | 2 +- src/codecs/ntqsjiscodec.h | 2 +- src/codecs/ntqtextcodec.h | 6 +++--- src/codecs/ntqtextcodecfactory.h | 2 +- src/codecs/ntqtextcodecplugin.h | 2 +- src/codecs/ntqtsciicodec.h | 2 +- src/codecs/ntqutfcodec.h | 4 ++-- src/codecs/qtextcodecinterface_p.h | 2 +- src/codecs/qtextcodecplugin.cpp | 4 ++-- 14 files changed, 18 insertions(+), 18 deletions(-) (limited to 'src/codecs') 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 ) ) -- cgit v1.2.1