diff options
Diffstat (limited to 'examples/scrollview/scrollview.cpp')
-rw-r--r-- | examples/scrollview/scrollview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/scrollview/scrollview.cpp b/examples/scrollview/scrollview.cpp index e37111644..e7db2d2fc 100644 --- a/examples/scrollview/scrollview.cpp +++ b/examples/scrollview/scrollview.cpp @@ -32,7 +32,7 @@ static const int max_mw = 10; class BigShrinker : public TQFrame { - Q_OBJECT + TQ_OBJECT public: BigShrinker(TQWidget* parent) : TQFrame(parent) @@ -195,22 +195,22 @@ private: }; class ScrollViewExample : public TQWidget { - Q_OBJECT + TQ_OBJECT public: ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) : TQWidget(parent,name) { TQMenuBar* menubar = new TQMenuBar(this); - Q_CHECK_PTR( menubar ); + TQ_CHECK_PTR( menubar ); TQPopupMenu* file = new TQPopupMenu( menubar ); - Q_CHECK_PTR( file ); + TQ_CHECK_PTR( file ); menubar->insertItem( "&File", file ); file->insertItem( "Quit", qApp, SLOT(quit()) ); vp_options = new TQPopupMenu( menubar ); - Q_CHECK_PTR( vp_options ); + TQ_CHECK_PTR( vp_options ); vp_options->setCheckable( TRUE ); menubar->insertItem( "&ScrollView", vp_options ); connect( vp_options, SIGNAL(activated(int)), @@ -248,7 +248,7 @@ public: } f_options = new TQPopupMenu( menubar ); - Q_CHECK_PTR( f_options ); + TQ_CHECK_PTR( f_options ); f_options->setCheckable( TRUE ); menubar->insertItem( "F&rame", f_options ); connect( f_options, SIGNAL(activated(int)), @@ -265,7 +265,7 @@ public: f_options->insertItem( "Sunken", style_id|TQFrame::Sunken )); f_options->insertSeparator(); lw_options = new TQPopupMenu( menubar ); - Q_CHECK_PTR( lw_options ); + TQ_CHECK_PTR( lw_options ); lw_options->setCheckable( TRUE ); for (int lw = 1; lw <= max_lw; lw++) { TQString str; @@ -276,7 +276,7 @@ public: connect( lw_options, SIGNAL(activated(int)), this, SLOT(doFMenuItem(int)) ); mlw_options = new TQPopupMenu( menubar ); - Q_CHECK_PTR( mlw_options ); + TQ_CHECK_PTR( mlw_options ); mlw_options->setCheckable( TRUE ); for (int mlw = 0; mlw <= max_mlw; mlw++) { TQString str; @@ -287,7 +287,7 @@ public: connect( mlw_options, SIGNAL(activated(int)), this, SLOT(doFMenuItem(int)) ); mw_options = new TQPopupMenu( menubar ); - Q_CHECK_PTR( mw_options ); + TQ_CHECK_PTR( mw_options ); mw_options->setCheckable( TRUE ); for (int mw = 0; mw <= max_mw; mw++) { TQString str; |