diff options
Diffstat (limited to 'tutorial/t13/gamebrd.cpp')
-rw-r--r-- | tutorial/t13/gamebrd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/t13/gamebrd.cpp b/tutorial/t13/gamebrd.cpp index cf15f9ef2..0380f2dd6 100644 --- a/tutorial/t13/gamebrd.cpp +++ b/tutorial/t13/gamebrd.cpp @@ -19,10 +19,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 ); @@ -67,7 +67,7 @@ GameBoard::GameBoard( TQWidget *parent, const char *name ) = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); - grid->addWidget( tquit, 0, 0 ); + grid->addWidget( quit, 0, 0 ); grid->addWidget( cannonField, 1, 1 ); grid->setColStretch( 1, 10 ); |