diff options
Diffstat (limited to 'examples/progress/progress.cpp')
-rw-r--r-- | examples/progress/progress.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/progress/progress.cpp b/examples/progress/progress.cpp index 917366cb..54887170 100644 --- a/examples/progress/progress.cpp +++ b/examples/progress/progress.cpp @@ -119,7 +119,7 @@ private: class CPUWaster : public TQWidget { - Q_OBJECT + TQ_OBJECT enum { first_draw_item = 1000, last_draw_item = 1006 }; @@ -142,10 +142,10 @@ public: pb(0) { menubar = new TQMenuBar( this, "menu" ); - Q_CHECK_PTR( menubar ); + TQ_CHECK_PTR( menubar ); TQPopupMenu* file = new TQPopupMenu(); - Q_CHECK_PTR( file ); + TQ_CHECK_PTR( file ); menubar->insertItem( "&File", file ); for (int i=first_draw_item; i<=last_draw_item; i++) file->insertItem( drawItemText(i), i ); @@ -154,7 +154,7 @@ public: file->insertItem( "Quit", qApp, SLOT(quit()) ); options = new TQPopupMenu(); - Q_CHECK_PTR( options ); + TQ_CHECK_PTR( options ); menubar->insertItem( "&Options", options ); td_id = options->insertItem( "Timer driven", this, SLOT(timerDriven()) ); ld_id = options->insertItem( "Loop driven", this, SLOT(loopDriven()) ); |