diff options
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 32972c016..4109813fb 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="ntqwidget.html#resize">resize</a>( 75, 30 ); quit.<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::<a href="ntqobject.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="ntqbutton.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="ntqwidget.html#show">show</a>(); @@ -87,10 +87,10 @@ 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="ntqobject.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="ntqbutton.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="ntqobject.html">TQObject</a>. Do not confuse it +Note that connect() is a static function in <a href="tqobject.html">TQObject</a>. Do not confuse it with the connect() function in the socket library. <p> This line establishes a one-way connection between two TQt objects (objects that inherit TQObject, directly or indirectly). Every TQt object can have |