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 --- examples/extension/main.cpp | 2 +- examples/extension/mainform.ui | 8 ++++---- examples/extension/mainform.ui.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/extension') diff --git a/examples/extension/main.cpp b/examples/extension/main.cpp index 608ef06a6..4266b807c 100644 --- a/examples/extension/main.cpp +++ b/examples/extension/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); MainForm *w = new MainForm; w->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( quit() ) ); return a.exec(); } diff --git a/examples/extension/mainform.ui b/examples/extension/mainform.ui index db156785b..6afd73f46 100644 --- a/examples/extension/mainform.ui +++ b/examples/extension/mainform.ui @@ -29,7 +29,7 @@ - tquitPushButton + quitPushButton &Quit @@ -45,10 +45,10 @@ optionsDlg() - tquitPushButton + quitPushButton clicked() MainForm - tquit() + quit() @@ -64,7 +64,7 @@ optionsDlg() - tquit() + quit() init() diff --git a/examples/extension/mainform.ui.h b/examples/extension/mainform.ui.h index 82fc700d0..c531b997b 100644 --- a/examples/extension/mainform.ui.h +++ b/examples/extension/mainform.ui.h @@ -40,7 +40,7 @@ void MainForm::optionsDlg() } -void MainForm::tquit() +void MainForm::quit() { TQApplication::exit( 0 ); } -- cgit v1.2.3