From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/sql.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/sql.html') diff --git a/doc/html/sql.html b/doc/html/sql.html index f9b1b8d6..5fda741f 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1146,7 +1146,7 @@ calling TQLineEdit::setAlignment() a

        TQLineEdit   *forenameEdit  = new TQLineEdit( this );
 

        TQPushButton *saveButton    = new TQPushButton( "&Save", this );
-        connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_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,7 +1240,7 @@ to our FormDialog's private data.

    CustomEdit::CustomEdit( TQWidget *parent, const char *name ) :
         TQLineEdit( parent, name )
     {
-        connect( this, TQ_SIGNAL(textChanged(const TQString &)),
+        connect( this, TQ_SIGNAL(textChanged(const TQString &)),
                  this, TQ_SLOT(changed(const TQString &)) );
     }
 
@@ -1271,7 +1271,7 @@ CustomEdit instances directly to database fields. of the TQLineEdit widgets with our own CustomEdit widgets.

Laying out the grid and setting up the cursor is the same as before.

        propMap = new TQSqlPropertyMap;
-        propMap->insert( forenameEdit->className(), "upperLine" );
+        propMap->insert( forenameEdit->className(), "upperLine" );
 

We create a new property map on the heap and register our CustomEdit class and its upperLine property with the property map. -- cgit v1.2.1