From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/ntqaction.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/ntqaction.html') 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:
        fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...",
                                       CTRL+Key_O, this, "open" );
-        connect( fileOpenAction, SIGNAL( activated() ) , this, SLOT( choose() ) );
+        connect( fileOpenAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( choose() ) );
 

We create a "File Save" action with a menu text of "&Save" and Ctrl+S as the keyboard accelerator. We connect the @@ -389,8 +389,8 @@ indicate the state, e.g.

        TQMainWindow * window = new TQMainWindow;
 
        TQAction * labelonoffaction = new TQAction( window, "labelonoff" );
-
        TQObject::connect( labelonoffaction, SIGNAL( toggled( bool ) ),
-                          window, SLOT( setUsesTextLabel( bool ) ) );
+
        TQObject::connect( labelonoffaction, TQ_SIGNAL( toggled( bool ) ),
+                          window, TQ_SLOT( setUsesTextLabel( bool ) ) );
 

See also activated(), toggleAction, and on. -- cgit v1.2.1