diff options
Diffstat (limited to 'doc/html/simple-application.html')
-rw-r--r-- | doc/html/simple-application.html | 8 |
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-><a href="qwidget.html#setCaption">setCaption</a>( "TQt Example - Application" ); <a name="x1598"></a> mw-><a href="qwidget.html#show">show</a>(); -<a name="x1599"></a> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) ); +<a name="x1599"></a> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &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>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) ); +<pre> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &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: |