diff options
author | Michele Calgaro <[email protected]> | 2023-09-06 12:45:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-07 16:28:40 +0900 |
commit | 440483234fd5d8f29517d9c84b4227db80a90361 (patch) | |
tree | e7c53fdaebe221c11ef73428c02cd4fcb23e740e /examples | |
parent | 0c8091f80e1c2bd853e8850f2e6300c055471382 (diff) | |
download | tqt3-440483234fd5d8f29517d9c84b4227db80a90361.tar.gz tqt3-440483234fd5d8f29517d9c84b4227db80a90361.zip |
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 926102a455014e6ab308aaced19e32eed7ed4414)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/chart/element.h | 2 | ||||
-rw-r--r-- | examples/demo/dnd/dnd.h | 2 | ||||
-rw-r--r-- | examples/i18n/mywidget.cpp | 6 | ||||
-rw-r--r-- | examples/qtl/qvaluelistiterator.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/examples/chart/element.h b/examples/chart/element.h index 4b1b81ad0..b48cc31af 100644 --- a/examples/chart/element.h +++ b/examples/chart/element.h @@ -59,7 +59,7 @@ public: #ifdef TQ_FULL_TEMPLATE_INSTANTIATION // xlC 3.x workaround - Q_DUMMY_COMPARISON_OPERATOR(Element) + TQ_DUMMY_COMPARISON_OPERATOR(Element) bool operator!=( const Element& e) const { return ( !(e == *this) ); } diff --git a/examples/demo/dnd/dnd.h b/examples/demo/dnd/dnd.h index 05d0587c4..e47b53d10 100644 --- a/examples/demo/dnd/dnd.h +++ b/examples/demo/dnd/dnd.h @@ -13,7 +13,7 @@ public: TQString name() { return _name; } TQPixmap *pixmap() { return &_pixmap; } - Q_DUMMY_COMPARISON_OPERATOR( IconItem ) + TQ_DUMMY_COMPARISON_OPERATOR( IconItem ) protected: TQPixmap loadPixmap( const TQString& name ); diff --git a/examples/i18n/mywidget.cpp b/examples/i18n/mywidget.cpp index 77cce33fd..6e78b8bf6 100644 --- a/examples/i18n/mywidget.cpp +++ b/examples/i18n/mywidget.cpp @@ -53,9 +53,9 @@ MyWidget::MyWidget( TQWidget* parent, const char* name ) } static const char* choices[] = { - QT_TRANSLATE_NOOP( "MyWidget", "First" ), - QT_TRANSLATE_NOOP( "MyWidget", "Second" ), - QT_TRANSLATE_NOOP( "MyWidget", "Third" ), + TQT_TRANSLATE_NOOP( "MyWidget", "First" ), + TQT_TRANSLATE_NOOP( "MyWidget", "Second" ), + TQT_TRANSLATE_NOOP( "MyWidget", "Third" ), 0 }; diff --git a/examples/qtl/qvaluelistiterator.cpp b/examples/qtl/qvaluelistiterator.cpp index a5fc7dfc1..af4420bdb 100644 --- a/examples/qtl/qvaluelistiterator.cpp +++ b/examples/qtl/qvaluelistiterator.cpp @@ -26,7 +26,7 @@ public: void setSalary( int salary ) { s = salary; } // this is here to support very old compilers - Q_DUMMY_COMPARISON_OPERATOR( Employee ) + TQ_DUMMY_COMPARISON_OPERATOR( Employee ) private: TQString n; |