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/man/man3/tqaction.3qt | |
| 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/man/man3/tqaction.3qt')
| -rw-r--r-- | doc/man/man3/tqaction.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqaction.3qt b/doc/man/man3/tqaction.3qt index abdbe40a0..7ccc0982e 100644 --- a/doc/man/man3/tqaction.3qt +++ b/doc/man/man3/tqaction.3qt @@ -196,7 +196,7 @@ Once a QAction has been created it should be added to the relevant menu and tool .br CTRL+Key_O, this, "open" ); .br - connect( fileOpenAction, SIGNAL( activated() ) , this, SLOT( choose() ) ); + connect( fileOpenAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( choose() ) ); .fi .PP We create a "File Save" action with a menu text of "&Save" and \fICtrl+S\fR as the keyboard accelerator. We connect the fileSaveAction's activated() signal to our own save() slot. Note that at this point there is no menu or toolbar action, we'll add them next: @@ -400,9 +400,9 @@ To trigger a user command depending on whether a toggle action has been switched .PP .nf .br - TQObject::connect( labelonoffaction, SIGNAL( toggled( bool ) ), + TQObject::connect( labelonoffaction, TQ_SIGNAL( toggled( bool ) ), .br - window, SLOT( setUsesTextLabel( bool ) ) ); + window, TQ_SLOT( setUsesTextLabel( bool ) ) ); .fi .PP See also activated(), toggleAction, and on. |
