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/sql.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/sql.html') diff --git a/doc/html/sql.html b/doc/html/sql.html index b61bcba58..f9b1b8d6f 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1104,8 +1104,8 @@ addition to TQSqlForm it offers the slot refresh( can easily be linked together with a TQDataTable to display a detailed view of a record:

-    connect( myDataTable, SIGNAL( currentChanged( TQSqlRecord* ) ), 
-             myDataView, SLOT( refresh( TQSqlRecord* ) ) );
+    connect( myDataTable, TQ_SIGNAL( currentChanged( TQSqlRecord* ) ), 
+             myDataView, TQ_SLOT( refresh( TQSqlRecord* ) ) );
 

@@ -1146,7 +1146,7 @@ calling TQLineEdit::setAlignment() a

        TQLineEdit   *forenameEdit  = new TQLineEdit( this );
 

        TQPushButton *saveButton    = new TQPushButton( "&Save", this );
-        connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) );
+        connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()) );
 

The FormDialog constructor is similar to the one in the previous example. We have changed the forename and surname widgets to @@ -1240,8 +1240,8 @@ to our FormDialog's private data.

    CustomEdit::CustomEdit( TQWidget *parent, const char *name ) :
         TQLineEdit( parent, name )
     {
-        connect( this, SIGNAL(textChanged(const TQString &)),
-                 this, SLOT(changed(const TQString &)) );
+        connect( this, TQ_SIGNAL(textChanged(const TQString &)),
+                 this, TQ_SLOT(changed(const TQString &)) );
     }
 

In the CustomEdit constructor we use the TQLineEdit constructor and add -- cgit v1.2.3