From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- tutorial/t2/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tutorial/t2') 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(); } -- cgit v1.2.1