diff options
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/t10/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t11/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t12/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t13/gamebrd.cpp | 2 | ||||
-rw-r--r-- | tutorial/t14/gamebrd.cpp | 4 | ||||
-rw-r--r-- | tutorial/t4/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t5/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t6/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t7/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t8/main.cpp | 2 | ||||
-rw-r--r-- | tutorial/t9/main.cpp | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/tutorial/t10/main.cpp b/tutorial/t10/main.cpp index af106d2f4..7b14dc14b 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 7a8e57987..4ddd2938c 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 2fd1c3d08..5401d9972 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 fdb29d10f..a8ee16c54 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 bf6ddf1b3..2aebec56e 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 6495263fd..e72550b9d 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 23b777e72..cbc5c00a7 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 fdea55c59..75d1440e3 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 985f28d0a..773e91114 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 858411c58..97947afe4 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 521be5527..ffd6739ba 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 ); |