summaryrefslogtreecommitdiffstats
path: root/tutorial/t3
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/t3
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tutorial/t3')
-rw-r--r--tutorial/t3/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/t3/main.cpp b/tutorial/t3/main.cpp
index 34f47fc95..26aaaf468 100644
--- a/tutorial/t3/main.cpp
+++ b/tutorial/t3/main.cpp
@@ -16,10 +16,10 @@ int main( int argc, char **argv )
TQVBox box;
box.resize( 200, 120 );
- TQPushButton tquit( "Quit", &box );
- tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
+ TQPushButton quit( "Quit", &box );
+ quit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
- TQObject::connect( &tquit, SIGNAL(clicked()), &a, SLOT(tquit()) );
+ TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) );
a.setMainWidget( &box );
box.show();