From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) 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 161e59d32..7d8163269 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1383,7 +1383,7 @@ to subclass TQDataTable and reimplement the paintField() function. TQWidget * parent = 0, const char * name = 0 ) : TQDataTable( cursor, autoPopulate, parent, name ) {} void paintField( - TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); + TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); };

From sql/overview/table4/main.h @@ -1392,7 +1392,7 @@ to subclass TQDataTable and reimplement the paintField() function. anything. We also declare the paintField function.

-

    void CustomTable::paintField( TQPainter * p, const TQSqlField* field,
+
    void CustomTable::paintField( TQPainter * p, const TQSqlField* field,
                                   const TQRect & cr, bool b)
     {
         if ( !field )
@@ -1404,7 +1404,7 @@ anything. We also declare the paintField function.
             if ( query.next() ) {
                 text = query.value( 0 ).toString();
             }
-            p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text );
+            p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text );
         }
         else {
             TQDataTable::paintField( p, field, cr, b) ;
-- 
cgit v1.2.3