diff options
Diffstat (limited to 'doc/html/tutorial1-04.html')
-rw-r--r-- | doc/html/tutorial1-04.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index 259eb436a..6c0980bfa 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -40,7 +40,7 @@ minimum and maximum sizes of a widget, and introduces widget names. ** ****************************************************************/ -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> #include <<a href="tqfont-h.html">tqfont.h</a>> @@ -62,19 +62,19 @@ public: quit-><a href="tqwidget.html#setGeometry">setGeometry</a>( 62, 40, 75, 30 ); quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); } int main( int argc, char **argv ) { - <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); + <a href="tqapplication.html">TQApplication</a> a( argc, argv ); MyWidget w; w.<a href="tqwidget.html#setGeometry">setGeometry</a>( 100, 100, 200, 120 ); - a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); + a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &w ); w.<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> @@ -131,7 +131,7 @@ when you choose to, the child will automatically tell TQt about its imminent death.) <p> The setGeometry() call does the same as move() and resize() did in the previous chapters. -<p> <pre> <a name="x2306"></a><a name="x2304"></a> <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<p> <pre> <a name="x2306"></a><a name="x2304"></a> <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); } </pre> <p> Because the MyWidget class doesn't know about the application object, it @@ -144,13 +144,13 @@ so TQt offers an alias, tqApp, for the cases in which a component such as MyWidget needs to talk to the application object. <p> <pre> int main( int argc, char **argv ) { - <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); + <a href="tqapplication.html">TQApplication</a> a( argc, argv ); MyWidget w; w.<a href="tqwidget.html#setGeometry">setGeometry</a>( 100, 100, 200, 120 ); - <a name="x2305"></a> a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); + <a name="x2305"></a> a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &w ); <a name="x2309"></a> w.<a href="tqwidget.html#show">show</a>(); - <a name="x2303"></a> return a.<a href="ntqapplication.html#exec">exec</a>(); + <a name="x2303"></a> return a.<a href="tqapplication.html#exec">exec</a>(); } </pre> <p> Here we instantiate our new child, set it to be the main widget, and |