diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/tutorial1-02.html | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html index 0d6ce1088..32972c016 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, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &a, SLOT(<a href="ntqapplication.html#quit">quit</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>()) ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &quit ); quit.<a href="ntqwidget.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="ntqobject.html#connect">connect</a>( &quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), &a, 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="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>()) ); </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 |