summaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/t10/main.cpp2
-rw-r--r--tutorial/t11/main.cpp2
-rw-r--r--tutorial/t12/main.cpp2
-rw-r--r--tutorial/t13/gamebrd.cpp2
-rw-r--r--tutorial/t14/gamebrd.cpp4
-rw-r--r--tutorial/t4/main.cpp2
-rw-r--r--tutorial/t5/main.cpp2
-rw-r--r--tutorial/t6/main.cpp2
-rw-r--r--tutorial/t7/main.cpp2
-rw-r--r--tutorial/t8/main.cpp2
-rw-r--r--tutorial/t9/main.cpp2
11 files changed, 12 insertions, 12 deletions
diff --git a/tutorial/t10/main.cpp b/tutorial/t10/main.cpp
index af106d2f..7b14dc14 100644
--- a/tutorial/t10/main.cpp
+++ b/tutorial/t10/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( this, "angle" );
angle->setRange( 5, 70 );
diff --git a/tutorial/t11/main.cpp b/tutorial/t11/main.cpp
index 7a8e5798..4ddd2938 100644
--- a/tutorial/t11/main.cpp
+++ b/tutorial/t11/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( this, "angle" );
angle->setRange( 5, 70 );
diff --git a/tutorial/t12/main.cpp b/tutorial/t12/main.cpp
index 2fd1c3d0..5401d997 100644
--- a/tutorial/t12/main.cpp
+++ b/tutorial/t12/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle->setRange( 5, 70 );
diff --git a/tutorial/t13/gamebrd.cpp b/tutorial/t13/gamebrd.cpp
index fdb29d10..a8ee16c5 100644
--- a/tutorial/t13/gamebrd.cpp
+++ b/tutorial/t13/gamebrd.cpp
@@ -22,7 +22,7 @@ GameBoard::GameBoard( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle->setRange( 5, 70 );
diff --git a/tutorial/t14/gamebrd.cpp b/tutorial/t14/gamebrd.cpp
index bf6ddf1b..2aebec56 100644
--- a/tutorial/t14/gamebrd.cpp
+++ b/tutorial/t14/gamebrd.cpp
@@ -24,7 +24,7 @@ GameBoard::GameBoard( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle->setRange( 5, 70 );
@@ -78,7 +78,7 @@ GameBoard::GameBoard( TQWidget *parent, const char *name )
accel->connectItem( accel->insertItem( Key_Return ),
this, SLOT(fire()) );
accel->connectItem( accel->insertItem( CTRL+Key_Q ),
- qApp, SLOT(quit()) );
+ tqApp, SLOT(quit()) );
TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
grid->addWidget( quit, 0, 0 );
diff --git a/tutorial/t4/main.cpp b/tutorial/t4/main.cpp
index 6495263f..e72550b9 100644
--- a/tutorial/t4/main.cpp
+++ b/tutorial/t4/main.cpp
@@ -26,7 +26,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
quit->setGeometry( 62, 40, 75, 30 );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
}
diff --git a/tutorial/t5/main.cpp b/tutorial/t5/main.cpp
index 23b777e7..cbc5c00a 100644
--- a/tutorial/t5/main.cpp
+++ b/tutorial/t5/main.cpp
@@ -25,7 +25,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" );
diff --git a/tutorial/t6/main.cpp b/tutorial/t6/main.cpp
index fdea55c5..75d1440e 100644
--- a/tutorial/t6/main.cpp
+++ b/tutorial/t6/main.cpp
@@ -41,7 +41,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
TQGrid *grid = new TQGrid( 4, this );
diff --git a/tutorial/t7/main.cpp b/tutorial/t7/main.cpp
index 985f28d0..773e9111 100644
--- a/tutorial/t7/main.cpp
+++ b/tutorial/t7/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
TQGrid *grid = new TQGrid( 4, this );
diff --git a/tutorial/t8/main.cpp b/tutorial/t8/main.cpp
index 858411c5..97947afe 100644
--- a/tutorial/t8/main.cpp
+++ b/tutorial/t8/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( this, "angle" );
angle->setRange( 5, 70 );
diff --git a/tutorial/t9/main.cpp b/tutorial/t9/main.cpp
index 521be552..ffd6739b 100644
--- a/tutorial/t9/main.cpp
+++ b/tutorial/t9/main.cpp
@@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( this, "angle" );
angle->setRange( 5, 70 );