diff options
Diffstat (limited to 'tutorial/t2/main.cpp')
-rw-r--r-- | tutorial/t2/main.cpp | 12 |
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(); } |