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/helpsystem-example.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/helpsystem-example.html') diff --git a/doc/html/helpsystem-example.html b/doc/html/helpsystem-example.html index 028ac9403..6a210e97e 100644 --- a/doc/html/helpsystem-example.html +++ b/doc/html/helpsystem-example.html @@ -368,9 +368,9 @@ so that the system path is used. menuBar()->insertItem( "&File", fileMenu ); menuBar()->insertItem( "&Help", helpMenu ); - int fileId = fileMenu->insertItem( "E&xit", this, SLOT(close()) ); + int fileId = fileMenu->insertItem( "E&xit", this, TQ_SLOT(close()) ); - int helpId = helpMenu->insertItem( "Open Assistant", this, SLOT(assistantSlot()) ); + int helpId = helpMenu->insertItem( "Open Assistant", this, TQ_SLOT(assistantSlot()) ); // populate toolbar TQToolBar* toolbar = new TQToolBar( this ); @@ -385,9 +385,9 @@ and the toolbar are populated. which will enter "What's this?" mode when clicked.
        //create tooltipgroup
         TQToolTipGroup * tipGroup = new TQToolTipGroup( this );
-        connect( tipGroup, SIGNAL(showTip(const TQString&)), statusBar(),
-            SLOT(message(const TQString&)) );
-        connect( tipGroup, SIGNAL(removeTip()), statusBar(), SLOT(clear()) );
+        connect( tipGroup, TQ_SIGNAL(showTip(const TQString&)), statusBar(),
+            TQ_SLOT(message(const TQString&)) );
+        connect( tipGroup, TQ_SIGNAL(removeTip()), statusBar(), TQ_SLOT(clear()) );
 

A TQToolTipGroup is created and will show and remove tooltips in the statusbar as the tooltips are displayed on the widgets. @@ -422,13 +422,13 @@ Instances of the two WhatsThis subclasses are created for the headers and the table. What's This? help is also added for the menu items.

        // connections
-        connect( assistantButton, SIGNAL(clicked()), this, SLOT(assistantSlot()) );
-        connect( horizontalWhatsThis, SIGNAL(linkClicked(const TQString&)), assistant,
-            SLOT(showPage(const TQString&)) );
-        connect( verticalWhatsThis, SIGNAL(linkClicked(const TQString&)), assistant,
-            SLOT(showPage(const TQString&)) );
-        connect( cellWhatsThis, SIGNAL(linkClicked(const TQString&)), assistant,
-            SLOT(showPage(const TQString&)) );
+        connect( assistantButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(assistantSlot()) );
+        connect( horizontalWhatsThis, TQ_SIGNAL(linkClicked(const TQString&)), assistant,
+            TQ_SLOT(showPage(const TQString&)) );
+        connect( verticalWhatsThis, TQ_SIGNAL(linkClicked(const TQString&)), assistant,
+            TQ_SLOT(showPage(const TQString&)) );
+        connect( cellWhatsThis, TQ_SIGNAL(linkClicked(const TQString&)), assistant,
+            TQ_SLOT(showPage(const TQString&)) );
     }
 

Signals and slots are connected, so that the relevant pages will -- cgit v1.2.1