summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application.html
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 /doc/html/simple-application.html
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'doc/html/simple-application.html')
-rw-r--r--doc/html/simple-application.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html
index 239908cd7..b029bc846 100644
--- a/doc/html/simple-application.html
+++ b/doc/html/simple-application.html
@@ -118,7 +118,7 @@ int main( int argc, char ** argv ) {
ApplicationWindow *mw = new ApplicationWindow();
mw-&gt;<a href="qwidget.html#setCaption">setCaption</a>( "TQt Example - Application" );
<a name="x1598"></a> mw-&gt;<a href="qwidget.html#show">show</a>();
-<a name="x1599"></a> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+<a name="x1599"></a> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#quit">quit</a>()) );
return a.<a href="qapplication.html#exec">exec</a>();
}
</pre>
@@ -141,9 +141,9 @@ behave the way X clients are expected to.
<p> We create an <em>ApplicationWindow</em> as a top-level widget, set its window
system caption to "Document 1", and <em>show()</em> it.
<p> <a name="close"></a>
-<pre> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+<pre> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#quit">quit</a>()) );
</pre>
-<p> When the application's last window is closed, it should tquit. Both
+<p> When the application's last window is closed, it should quit. Both
the signal and the slot are predefined members of <a href="qapplication.html">TQApplication</a>.
<p> <pre> return a.<a href="qapplication.html#exec">exec</a>();
</pre>
@@ -157,7 +157,7 @@ that TQApplication returns when it leaves the event loop.
</h2>
<a name="3"></a><p>
-<p> Since the implementation is tquite large (almost 300 lines) we
+<p> Since the implementation is quite large (almost 300 lines) we
won't list the whole thing. (The source code is included in the
examples/application directory.) Before we start with the constructor
there are three <tt>#include</tt>s worth mentioning: