summaryrefslogtreecommitdiffstats
path: root/tutorial/t2
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
committerTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /tutorial/t2
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tutorial/t2')
-rw-r--r--tutorial/t2/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tutorial/t2/main.cpp b/tutorial/t2/main.cpp
index 1b3da3f1d..93ab932df 100644
--- a/tutorial/t2/main.cpp
+++ b/tutorial/t2/main.cpp
@@ -13,13 +13,13 @@ int main( int argc, char **argv )
{
TQApplication a( argc, argv );
- TQPushButton tquit( "Quit", 0 );
- tquit.resize( 75, 30 );
- tquit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
+ TQPushButton quit( "Quit", 0 );
+ quit.resize( 75, 30 );
+ 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( &tquit );
- tquit.show();
+ a.setMainWidget( &quit );
+ quit.show();
return a.exec();
}