summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/chart/element.h2
-rw-r--r--examples/demo/dnd/dnd.h2
-rw-r--r--examples/i18n/mywidget.cpp6
-rw-r--r--examples/qtl/qvaluelistiterator.cpp2
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;