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/styles/ntqcdestyle.h | 2 +- src/styles/ntqcommonstyle.h | 2 +- src/styles/ntqcompactstyle.h | 2 +- src/styles/ntqinterlacestyle.h | 2 +- src/styles/ntqmotifplusstyle.h | 2 +- src/styles/ntqmotifstyle.h | 2 +- src/styles/ntqplatinumstyle.h | 2 +- src/styles/ntqsgistyle.h | 2 +- src/styles/ntqstylefactory.h | 2 +- src/styles/ntqstyleplugin.h | 2 +- src/styles/ntqwindowsstyle.h | 2 +- src/styles/qstyleinterface_p.h | 2 +- src/styles/qstyleplugin.cpp | 4 ++-- 13 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/styles') diff --git a/src/styles/ntqcdestyle.h b/src/styles/ntqcdestyle.h index 90857223..a0f02be2 100644 --- a/src/styles/ntqcdestyle.h +++ b/src/styles/ntqcdestyle.h @@ -51,7 +51,7 @@ #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_CDE #else -#define Q_EXPORT_STYLE_CDE Q_EXPORT +#define Q_EXPORT_STYLE_CDE TQ_EXPORT #endif class Q_EXPORT_STYLE_CDE TQCDEStyle : public TQMotifStyle diff --git a/src/styles/ntqcommonstyle.h b/src/styles/ntqcommonstyle.h index d77f7280..47edfe2c 100644 --- a/src/styles/ntqcommonstyle.h +++ b/src/styles/ntqcommonstyle.h @@ -47,7 +47,7 @@ #ifndef TQT_NO_STYLE -class Q_EXPORT TQCommonStyle: public TQStyle +class TQ_EXPORT TQCommonStyle: public TQStyle { TQ_OBJECT diff --git a/src/styles/ntqcompactstyle.h b/src/styles/ntqcompactstyle.h index a7d28c84..b022002c 100644 --- a/src/styles/ntqcompactstyle.h +++ b/src/styles/ntqcompactstyle.h @@ -50,7 +50,7 @@ #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_COMPACT #else -#define Q_EXPORT_STYLE_COMPACT Q_EXPORT +#define Q_EXPORT_STYLE_COMPACT TQ_EXPORT #endif class Q_EXPORT_STYLE_COMPACT TQCompactStyle : public TQWindowsStyle diff --git a/src/styles/ntqinterlacestyle.h b/src/styles/ntqinterlacestyle.h index a3487b65..61a0ed05 100644 --- a/src/styles/ntqinterlacestyle.h +++ b/src/styles/ntqinterlacestyle.h @@ -50,7 +50,7 @@ #include "ntqpalette.h" -class Q_EXPORT TQInterlaceStyle : public TQMotifStyle +class TQ_EXPORT TQInterlaceStyle : public TQMotifStyle { public: TQInterlaceStyle(); diff --git a/src/styles/ntqmotifplusstyle.h b/src/styles/ntqmotifplusstyle.h index e7c54619..bb590fc9 100644 --- a/src/styles/ntqmotifplusstyle.h +++ b/src/styles/ntqmotifplusstyle.h @@ -51,7 +51,7 @@ #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_MOTIFPLUS #else -#define Q_EXPORT_STYLE_MOTIFPLUS Q_EXPORT +#define Q_EXPORT_STYLE_MOTIFPLUS TQ_EXPORT #endif class Q_EXPORT_STYLE_MOTIFPLUS TQMotifPlusStyle : public TQMotifStyle diff --git a/src/styles/ntqmotifstyle.h b/src/styles/ntqmotifstyle.h index 75abd98f..b2501e48 100644 --- a/src/styles/ntqmotifstyle.h +++ b/src/styles/ntqmotifstyle.h @@ -52,7 +52,7 @@ class TQPalette; #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_MOTIF #else -#define Q_EXPORT_STYLE_MOTIF Q_EXPORT +#define Q_EXPORT_STYLE_MOTIF TQ_EXPORT #endif diff --git a/src/styles/ntqplatinumstyle.h b/src/styles/ntqplatinumstyle.h index 69b119bd..54d0a94d 100644 --- a/src/styles/ntqplatinumstyle.h +++ b/src/styles/ntqplatinumstyle.h @@ -52,7 +52,7 @@ class TQPalette; #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_PLATINUM #else -#define Q_EXPORT_STYLE_PLATINUM Q_EXPORT +#define Q_EXPORT_STYLE_PLATINUM TQ_EXPORT #endif class Q_EXPORT_STYLE_PLATINUM TQPlatinumStyle : public TQWindowsStyle diff --git a/src/styles/ntqsgistyle.h b/src/styles/ntqsgistyle.h index a7cbe2f4..29582bf6 100644 --- a/src/styles/ntqsgistyle.h +++ b/src/styles/ntqsgistyle.h @@ -52,7 +52,7 @@ #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_SGI #else -#define Q_EXPORT_STYLE_SGI Q_EXPORT +#define Q_EXPORT_STYLE_SGI TQ_EXPORT #endif class TQSGIStylePrivate; diff --git a/src/styles/ntqstylefactory.h b/src/styles/ntqstylefactory.h index b2c1ba9d..b715c19b 100644 --- a/src/styles/ntqstylefactory.h +++ b/src/styles/ntqstylefactory.h @@ -48,7 +48,7 @@ class TQString; class TQStyle; -class Q_EXPORT TQStyleFactory +class TQ_EXPORT TQStyleFactory { public: #ifndef TQT_NO_STRINGLIST diff --git a/src/styles/ntqstyleplugin.h b/src/styles/ntqstyleplugin.h index 0142d36f..4acd2b11 100644 --- a/src/styles/ntqstyleplugin.h +++ b/src/styles/ntqstyleplugin.h @@ -52,7 +52,7 @@ class TQStyle; class TQStylePluginPrivate; -class Q_EXPORT TQStylePlugin : public TQGPlugin +class TQ_EXPORT TQStylePlugin : public TQGPlugin { TQ_OBJECT public: diff --git a/src/styles/ntqwindowsstyle.h b/src/styles/ntqwindowsstyle.h index c10afef8..d7df8b98 100644 --- a/src/styles/ntqwindowsstyle.h +++ b/src/styles/ntqwindowsstyle.h @@ -50,7 +50,7 @@ #if defined(QT_PLUGIN) #define Q_EXPORT_STYLE_WINDOWS #else -#define Q_EXPORT_STYLE_WINDOWS Q_EXPORT +#define Q_EXPORT_STYLE_WINDOWS TQ_EXPORT #endif diff --git a/src/styles/qstyleinterface_p.h b/src/styles/qstyleinterface_p.h index afca34be..500dcfef 100644 --- a/src/styles/qstyleinterface_p.h +++ b/src/styles/qstyleinterface_p.h @@ -65,7 +65,7 @@ class TQStyle; #define IID_QStyleFactory TQUuid(0xfc1b6ebe, 0x53c, 0x49c1, 0xa4, 0x83, 0xc3, 0x77, 0x73, 0x9a, 0xb9, 0xa5) #endif -struct Q_EXPORT TQStyleFactoryInterface : public TQFeatureListInterface +struct TQ_EXPORT TQStyleFactoryInterface : public TQFeatureListInterface { virtual TQStyle* create( const TQString& style ) = 0; }; diff --git a/src/styles/qstyleplugin.cpp b/src/styles/qstyleplugin.cpp index 665e6230..c6512de1 100644 --- a/src/styles/qstyleplugin.cpp +++ b/src/styles/qstyleplugin.cpp @@ -59,7 +59,7 @@ Writing a style plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and - exporting the class with the \c Q_EXPORT_PLUGIN macro. See the + exporting the class with the \c TQ_EXPORT_PLUGIN macro. See the \link plugins-howto.html plugins documentation\endlink for an example. */ @@ -163,7 +163,7 @@ bool TQStylePluginPrivate::canUnload() const /*! Constructs a style plugin. This is invoked automatically by the - \c Q_EXPORT_PLUGIN macro. + \c TQ_EXPORT_PLUGIN macro. */ TQStylePlugin::TQStylePlugin() : TQGPlugin( (TQStyleFactoryInterface*)(d = new TQStylePluginPrivate( this )) ) -- cgit v1.2.1