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/t4/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tutorial/t4/main.cpp') diff --git a/tutorial/t4/main.cpp b/tutorial/t4/main.cpp index 04562d076..e50ec6630 100644 --- a/tutorial/t4/main.cpp +++ b/tutorial/t4/main.cpp @@ -22,11 +22,11 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) setMinimumSize( 200, 120 ); setMaximumSize( 200, 120 ); - TQPushButton *tquit = new TQPushButton( "Quit", this, "tquit" ); - tquit->setGeometry( 62, 40, 75, 30 ); - tquit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); + TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); + quit->setGeometry( 62, 40, 75, 30 ); + quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) ); + connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); } -- cgit v1.2.3