diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-06 12:45:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-07 15:14:50 +0900 |
| commit | 926102a455014e6ab308aaced19e32eed7ed4414 (patch) | |
| tree | e067ab2b73341043cc70aa9c109e300357576e98 /examples | |
| parent | e0a3cab4467dccdd57a8cba57656be53ae192a51 (diff) | |
| download | tqt-926102a455014e6ab308aaced19e32eed7ed4414.tar.gz tqt-926102a455014e6ab308aaced19e32eed7ed4414.zip | |
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; |
