diff options
author | Michele Calgaro <[email protected]> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/tutorial1-02.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/tutorial1-02.html')
-rw-r--r-- | doc/html/tutorial1-02.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html index a35de0e75..c38927753 100644 --- a/doc/html/tutorial1-02.html +++ b/doc/html/tutorial1-02.html @@ -55,7 +55,7 @@ int main( int argc, char **argv ) 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>( &quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + TQObject::<a href="tqobject.html#connect">connect</a>( &quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &quit ); quit.<a href="tqwidget.html#show">show</a>(); @@ -87,7 +87,7 @@ to set right size. <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>( &quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<p> <pre> <a name="x2291"></a><a name="x2290"></a><a name="x2288"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), &a, TQ_SLOT(<a href="ntqapplication.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 @@ -112,7 +112,7 @@ makefile and build the application.) <a name="3"></a><p> Try to resize the window. Press the button. Oops! That connect() would seem to make some difference. <p> Are there any other signals in <a href="tqpushbutton.html">TQPushButton</a> you can connect to quit? -Hint: The TQPushButton inherits most of its behavior from <a href="ntqbutton.html">TQButton</a>. +Hint: The TQPushButton inherits most of its behavior from <a href="tqbutton.html">TQButton</a>. <p> You're now ready for <a href="tutorial1-03.html">Chapter 3.</a> <p> [<a href="tutorial1-01.html">Previous tutorial</a>] [<a href="tutorial1-03.html">Next tutorial</a>] |