summaryrefslogtreecommitdiffstats
path: root/tutorial/t8/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t8/main.cpp')
-rw-r--r--tutorial/t8/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/t8/main.cpp b/tutorial/t8/main.cpp
index 9acd0382d..1aef5b4ed 100644
--- a/tutorial/t8/main.cpp
+++ b/tutorial/t8/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( this, "angle" );
angle->setRange( 5, 70 );
@@ -43,7 +43,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name )
TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
//2x2, 10 pixel border
- grid->addWidget( tquit, 0, 0 );
+ grid->addWidget( quit, 0, 0 );
grid->addWidget( angle, 1, 0, TQt::AlignTop );
grid->addWidget( cannonField, 1, 1 );
grid->setColStretch( 1, 10 );