summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-02.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-15 13:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 10:05:58 +0900
commit397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch)
tree0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/html/tutorial1-02.html
parent755d46927cc6a5719e695aeb8133be6897de62d8 (diff)
downloadtqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.tar.gz
tqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.zip
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-02.html')
-rw-r--r--doc/html/tutorial1-02.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html
index a4098da17..4acff99ac 100644
--- a/doc/html/tutorial1-02.html
+++ b/doc/html/tutorial1-02.html
@@ -41,24 +41,24 @@ now go on to make the application quit properly when the user tells it to.
**
****************************************************************/
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
#include &lt;<a href="tqfont-h.html">tqfont.h</a>&gt;
int main( int argc, char **argv )
{
- <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
+ <a href="tqapplication.html">TQApplication</a> a( argc, argv );
<a href="tqpushbutton.html">TQPushButton</a> quit( "Quit", 0 );
quit.<a href="tqwidget.html#resize">resize</a>( 75, 30 );
quit.<a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- TQObject::<a href="tqobject.html#connect">connect</a>( &amp;quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+ TQObject::<a href="tqobject.html#connect">connect</a>( &amp;quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &amp;a, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) );
- a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;quit );
+ a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &amp;quit );
quit.<a href="tqwidget.html#show">show</a>();
- return a.<a href="ntqapplication.html#exec">exec</a>();
+ return a.<a href="tqapplication.html#exec">exec</a>();
}
</pre>
@@ -85,8 +85,8 @@ to set right size.
</pre>
<p> Here we choose a new font for the button, an 18-point bold font from
the Times family. Note that we create the font on the spot.
-<p> It is also possible to change the default font (using <a href="ntqapplication.html#setFont">TQApplication::setFont</a>()) for the whole application.
-<p> <pre> <a name="x2291"></a><a name="x2290"></a><a name="x2288"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &amp;quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+<p> It is also possible to change the default font (using <a href="tqapplication.html#setFont">TQApplication::setFont</a>()) for the whole application.
+<p> <pre> <a name="x2291"></a><a name="x2290"></a><a name="x2288"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &amp;quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &amp;a, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) );
</pre>
<p> connect() is perhaps <em>the</em> most central feature of TQt.
Note that connect() is a static function in <a href="tqobject.html">TQObject</a>. Do not confuse it