diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/man/man3/tqaction.3qt | |
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 <[email protected]>
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. |