summaryrefslogtreecommitdiffstats
path: root/tutorial/t14/gamebrd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t14/gamebrd.cpp')
-rw-r--r--tutorial/t14/gamebrd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tutorial/t14/gamebrd.cpp b/tutorial/t14/gamebrd.cpp
index 2570eb42..078c5c85 100644
--- a/tutorial/t14/gamebrd.cpp
+++ b/tutorial/t14/gamebrd.cpp
@@ -21,10 +21,10 @@
GameBoard::GameBoard( TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQPushButton *tquit = new TQPushButton( "&Quit", this, "tquit" );
- tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
+ TQPushButton *quit = new TQPushButton( "&Quit", this, "quit" );
+ quit->setFont( TQFont( "Times", 18, TQFont::Bold ) );
- connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) );
+ connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle->setRange( 5, 70 );
@@ -78,10 +78,10 @@ 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(tquit()) );
+ qApp, SLOT(quit()) );
TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
- grid->addWidget( tquit, 0, 0 );
+ grid->addWidget( quit, 0, 0 );
grid->addWidget( box, 1, 1 );
grid->setColStretch( 1, 10 );