summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-23 14:04:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-27 16:08:54 +0900
commit04913ce7a46fd027856e83a96205fdc388742a19 (patch)
treea04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/html/simple-application.html
parentc11c0f228b65f7471a26513ef8dbde413e75f8fa (diff)
downloadtqt3-04913ce7a46fd027856e83a96205fdc388742a19.tar.gz
tqt3-04913ce7a46fd027856e83a96205fdc388742a19.zip
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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>.