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/ntqaction.html | |
| parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
| download | tqt-ecca365d.tar.gz tqt-ecca365d.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/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>. |
