summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/metric
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 /tools/designer/examples/metric
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tools/designer/examples/metric')
-rw-r--r--tools/designer/examples/metric/main.cpp2
-rw-r--r--tools/designer/examples/metric/metric.ui6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/examples/metric/main.cpp b/tools/designer/examples/metric/main.cpp
index d7a20ab40..fb7cfc763 100644
--- a/tools/designer/examples/metric/main.cpp
+++ b/tools/designer/examples/metric/main.cpp
@@ -7,6 +7,6 @@ int main( int argc, char ** argv )
ConversionForm *w = new ConversionForm;
w->show();
a.setMainWidget( w );
- a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) );
+ a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
return a.exec();
}
diff --git a/tools/designer/examples/metric/metric.ui b/tools/designer/examples/metric/metric.ui
index aba8c2ef0..d2ae5456c 100644
--- a/tools/designer/examples/metric/metric.ui
+++ b/tools/designer/examples/metric/metric.ui
@@ -277,7 +277,7 @@
</spacer>
<widget class="TQPushButton">
<property name="name">
- <cstring>tquitButton</cstring>
+ <cstring>quitButton</cstring>
</property>
<property name="text">
<string>&amp;Quit</string>
@@ -295,7 +295,7 @@
<slot>clear()</slot>
</connection>
<connection>
- <sender>tquitButton</sender>
+ <sender>quitButton</sender>
<signal>clicked()</signal>
<receiver>ConversionForm</receiver>
<slot>close()</slot>
@@ -350,7 +350,7 @@
<tabstop>decimalsSpinBox</tabstop>
<tabstop>clearButton</tabstop>
<tabstop>calculateButton</tabstop>
- <tabstop>tquitButton</tabstop>
+ <tabstop>quitButton</tabstop>
</tabstops>
<includes>
<include location="local" impldecl="in implementation">metric.ui.h</include>