diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/extension | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/extension')
-rw-r--r-- | examples/extension/main.cpp | 2 | ||||
-rw-r--r-- | examples/extension/mainform.ui | 8 | ||||
-rw-r--r-- | examples/extension/mainform.ui.h | 2 |
3 files changed, 6 insertions, 6 deletions
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 @@ </widget> <widget class="TQPushButton"> <property name="name"> - <cstring>tquitPushButton</cstring> + <cstring>quitPushButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -45,10 +45,10 @@ <slot>optionsDlg()</slot> </connection> <connection> - <sender>tquitPushButton</sender> + <sender>quitPushButton</sender> <signal>clicked()</signal> <receiver>MainForm</receiver> - <slot>tquit()</slot> + <slot>quit()</slot> </connection> </connections> <includes> @@ -64,7 +64,7 @@ </variables> <slots> <slot>optionsDlg()</slot> - <slot>tquit()</slot> + <slot>quit()</slot> </slots> <functions> <function access="private">init()</function> 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 ); } |