diff options
Diffstat (limited to 'doc/html/sql.html')
-rw-r--r-- | doc/html/sql.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html index 7d8163269..34748eb3c 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1383,7 +1383,7 @@ to subclass TQDataTable and reimplement the paintField() function. <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) : <a href="tqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} void paintField( - <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); + <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="tqrect.html">TQRect</a> & cr, bool ); }; </pre><blockquote><p align="center"><em> From <a href="sql-overview-table4-main-h.html">sql/overview/table4/main.h</a> @@ -1393,7 +1393,7 @@ anything. We also declare the paintField function. <p> <pre> <a name="x2245"></a>void CustomTable::<a href="tqdatatable.html#paintField">paintField</a>( <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, - const <a href="ntqrect.html">TQRect</a> & cr, bool b) + const <a href="tqrect.html">TQRect</a> & cr, bool b) { if ( !field ) return; @@ -1404,7 +1404,7 @@ anything. We also declare the paintField function. if ( query.<a href="tqsqlquery.html#next">next</a>() ) { <a name="x2252"></a> text = query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(); } - p-><a href="tqpainter.html#drawText">drawText</a>( 2,2, cr.<a href="ntqrect.html#width">width</a>()-4, cr.<a href="ntqrect.html#height">height</a>()-4, fieldAlignment( field ), text ); + p-><a href="tqpainter.html#drawText">drawText</a>( 2,2, cr.<a href="tqrect.html#width">width</a>()-4, cr.<a href="tqrect.html#height">height</a>()-4, fieldAlignment( field ), text ); } else { TQDataTable::<a href="tqdatatable.html#paintField">paintField</a>( p, field, cr, b) ; |