summaryrefslogtreecommitdiffstats
path: root/tutorial/t11/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /tutorial/t11/main.cpp
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tutorial/t11/main.cpp')
-rw-r--r--tutorial/t11/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/t11/main.cpp b/tutorial/t11/main.cpp
index cdfb36ebf..64704783d 100644
--- a/tutorial/t11/main.cpp
+++ b/tutorial/t11/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 );
@@ -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 );