summaryrefslogtreecommitdiffstats
path: root/tutorial/t12
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t12')
-rw-r--r--tutorial/t12/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/t12/main.cpp b/tutorial/t12/main.cpp
index 20c291b39..8ee86522b 100644
--- a/tutorial/t12/main.cpp
+++ b/tutorial/t12/main.cpp
@@ -24,10 +24,10 @@ public:
MyWidget::MyWidget( 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 );
@@ -53,7 +53,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
connect( shoot, SIGNAL(clicked()), cannonField, SLOT(shoot()) );
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 );