From ba0ac80906dcb0e60196da1b6d2171d2418306f4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 13 Sep 2023 13:19:18 +0900 Subject: Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN Signed-off-by: Michele Calgaro (cherry picked from commit 561a3077558f409243e93dcf9df5fb39e704c1c4) --- kalyptus/kalyptus | 2 +- kjsembed/tools/headers/qbrush.h | 6 +++--- kjsembed/tools/headers/qcanvas.h | 2 +- kjsembed/tools/headers/qdir.h | 2 +- kjsembed/tools/headers/qpen.h | 6 +++--- kjsembed/tools/headers/qtimer.h | 2 +- smoke/tde/qtguess.pl.in | 4 ++-- smoke/tqt/qtguess.pl.in | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/kalyptus/kalyptus b/kalyptus/kalyptus index 4610e507..81a56e3e 100644 --- a/kalyptus/kalyptus +++ b/kalyptus/kalyptus @@ -132,7 +132,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors); _STYLE_SGI => '', _STYLE_WINDOWS => '', QT_STATIC_CONST => 'static const', - Q_EXPORT => '', + TQ_EXPORT => '', Q_EXPORT_CODECS_BIG5 => '', TQ_REFCOUNT => '', TQM_EXPORT_CANVAS => '', diff --git a/kjsembed/tools/headers/qbrush.h b/kjsembed/tools/headers/qbrush.h index 6fc18ccf..5c5fb034 100644 --- a/kjsembed/tools/headers/qbrush.h +++ b/kjsembed/tools/headers/qbrush.h @@ -44,7 +44,7 @@ #endif // QT_H -class Q_EXPORT TQBrush: public Qt +class TQ_EXPORT TQBrush: public Qt { friend class TQPainter; public: @@ -84,8 +84,8 @@ private: *****************************************************************************/ #ifndef TQT_NO_DATASTREAM -Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & ); -Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & ); +TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & ); +TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & ); #endif #endif // TQBRUSH_H diff --git a/kjsembed/tools/headers/qcanvas.h b/kjsembed/tools/headers/qcanvas.h index bebe575a..dbdd6548 100644 --- a/kjsembed/tools/headers/qcanvas.h +++ b/kjsembed/tools/headers/qcanvas.h @@ -52,7 +52,7 @@ #define TQM_EXPORT_CANVAS #define TQM_TEMPLATE_EXTERN_CANVAS #else -#define TQM_EXPORT_CANVAS Q_EXPORT +#define TQM_EXPORT_CANVAS TQ_EXPORT #define TQM_TEMPLATE_EXTERN_CANVAS Q_TEMPLATE_EXTERN #endif diff --git a/kjsembed/tools/headers/qdir.h b/kjsembed/tools/headers/qdir.h index 7fda3222..88c42ce3 100644 --- a/kjsembed/tools/headers/qdir.h +++ b/kjsembed/tools/headers/qdir.h @@ -52,7 +52,7 @@ class TQStringList; template class TQDeepCopy; -class Q_EXPORT TQDir +class TQ_EXPORT TQDir { public: enum FilterSpec { Dirs = 0x001, diff --git a/kjsembed/tools/headers/qpen.h b/kjsembed/tools/headers/qpen.h index 40e9767e..28158a8b 100644 --- a/kjsembed/tools/headers/qpen.h +++ b/kjsembed/tools/headers/qpen.h @@ -44,7 +44,7 @@ #endif // QT_H -class Q_EXPORT TQPen: public Qt +class TQ_EXPORT TQPen: public Qt { public: TQPen(); @@ -92,8 +92,8 @@ private: TQPen stream functions *****************************************************************************/ #ifndef TQT_NO_DATASTREAM -Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPen & ); -Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQPen & ); +TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQPen & ); +TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPen & ); #endif #endif // TQPEN_H diff --git a/kjsembed/tools/headers/qtimer.h b/kjsembed/tools/headers/qtimer.h index 5791c57e..b1ce519e 100644 --- a/kjsembed/tools/headers/qtimer.h +++ b/kjsembed/tools/headers/qtimer.h @@ -43,7 +43,7 @@ #endif // QT_H -class Q_EXPORT TQTimer : public TQObject +class TQ_EXPORT TQTimer : public TQObject { TQ_OBJECT public: diff --git a/smoke/tde/qtguess.pl.in b/smoke/tde/qtguess.pl.in index d983bb40..546abcd6 100644 --- a/smoke/tde/qtguess.pl.in +++ b/smoke/tde/qtguess.pl.in @@ -311,7 +311,7 @@ our %tests = ( TQStringList keys() const { return TQStringList(); }; bool installIOHandler( const TQString &format ) { return true; }; }; - Q_EXPORT_PLUGIN( TQFoo ) + TQ_EXPORT_PLUGIN( TQFoo ) £], "TQT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£ TQImage *foo = new TQImage; @@ -462,7 +462,7 @@ our %tests = ( TQTextCodec *createForName( const TQString & name ) {return (TQTextCodec *)NULL;} TQTextCodec *createForMib( int mib ) {return (TQTextCodec *)NULL;} }; - Q_EXPORT_PLUGIN( TQFoo ) + TQ_EXPORT_PLUGIN( TQFoo ) £], "TQT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13], "TQT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5], diff --git a/smoke/tqt/qtguess.pl.in b/smoke/tqt/qtguess.pl.in index d983bb40..546abcd6 100644 --- a/smoke/tqt/qtguess.pl.in +++ b/smoke/tqt/qtguess.pl.in @@ -311,7 +311,7 @@ our %tests = ( TQStringList keys() const { return TQStringList(); }; bool installIOHandler( const TQString &format ) { return true; }; }; - Q_EXPORT_PLUGIN( TQFoo ) + TQ_EXPORT_PLUGIN( TQFoo ) £], "TQT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£ TQImage *foo = new TQImage; @@ -462,7 +462,7 @@ our %tests = ( TQTextCodec *createForName( const TQString & name ) {return (TQTextCodec *)NULL;} TQTextCodec *createForMib( int mib ) {return (TQTextCodec *)NULL;} }; - Q_EXPORT_PLUGIN( TQFoo ) + TQ_EXPORT_PLUGIN( TQFoo ) £], "TQT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13], "TQT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5], -- cgit v1.2.1