summaryrefslogtreecommitdiffstats
path: root/examples/scrollview/scrollview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
committerTimothy Pearson <[email protected]>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /examples/scrollview/scrollview.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'examples/scrollview/scrollview.cpp')
-rw-r--r--examples/scrollview/scrollview.cpp18
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;