summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/simple-application.html')
-rw-r--r--doc/html/simple-application.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html
index 0d51ba89..51631c84 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="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" );
<a name="x1598"></a> mw-&gt;<a href="ntqwidget.html#show">show</a>();
-<a name="x1599"></a> a.<a href="ntqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+<a name="x1599"></a> a.<a href="tqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>
@@ -141,7 +141,7 @@ 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="ntqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+<pre> a.<a href="tqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
</pre>
<p> When the application's last window is closed, it should quit. Both
the signal and the slot are predefined members of <a href="ntqapplication.html">TQApplication</a>.