diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-23 14:04:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-27 16:08:54 +0900 |
commit | 04913ce7a46fd027856e83a96205fdc388742a19 (patch) | |
tree | a04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/html/tutorial1-02.html | |
parent | c11c0f228b65f7471a26513ef8dbde413e75f8fa (diff) | |
download | tqt-04913ce7.tar.gz tqt-04913ce7.zip |
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |