summaryrefslogtreecommitdiffstats
path: root/examples/extension
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/extension
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/extension')
-rw-r--r--examples/extension/main.cpp2
-rw-r--r--examples/extension/mainform.ui8
-rw-r--r--examples/extension/mainform.ui.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/extension/main.cpp b/examples/extension/main.cpp
index 608ef06a..4266b807 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 db156785..6afd73f4 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>&amp;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 82fc700d..c531b997 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 );
}