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/ntqaction.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/ntqaction.html')
-rw-r--r-- | doc/html/ntqaction.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqaction.html b/doc/html/ntqaction.html index 909e8b630..68e8f6822 100644 --- a/doc/html/ntqaction.html +++ b/doc/html/ntqaction.html @@ -140,7 +140,7 @@ the action. For example: <pre> fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...", CTRL+Key_O, this, "open" ); - <a href="ntqobject.html#connect">connect</a>( fileOpenAction, SIGNAL( <a href="#activated">activated</a>() ) , this, SLOT( choose() ) ); + <a href="ntqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="#activated">activated</a>() ) , this, TQ_SLOT( choose() ) ); </pre> <p> We create a "File Save" action with a menu text of "&Save" and <em>Ctrl+S</em> as the keyboard accelerator. We connect the @@ -389,8 +389,8 @@ indicate the state, e.g. <pre> <a href="ntqmainwindow.html">TQMainWindow</a> * window = new <a href="ntqmainwindow.html">TQMainWindow</a>; </pre><pre> TQAction * labelonoffaction = new TQAction( window, "labelonoff" ); -</pre><pre> <a name="x2108"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( labelonoffaction, SIGNAL( <a href="#toggled">toggled</a>( bool ) ), - <a name="x2109"></a> window, SLOT( <a href="ntqmainwindow.html#setUsesTextLabel">setUsesTextLabel</a>( bool ) ) ); +</pre><pre> <a name="x2108"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( labelonoffaction, TQ_SIGNAL( <a href="#toggled">toggled</a>( bool ) ), + <a name="x2109"></a> window, TQ_SLOT( <a href="ntqmainwindow.html#setUsesTextLabel">setUsesTextLabel</a>( bool ) ) ); </pre> <p> <p>See also <a href="#activated">activated</a>(), <a href="#toggleAction-prop">toggleAction</a>, and <a href="#on-prop">on</a>. |