diff options
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. |