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-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /doc/html/tutorial1-02.html | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
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 |