summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdatatable.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/man/man3/tqdatatable.3qt
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqdatatable.3qt')
-rw-r--r--doc/man/man3/tqdatatable.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt
index d28ce5e23..94ab9c879 100644
--- a/doc/man/man3/tqdatatable.3qt
+++ b/doc/man/man3/tqdatatable.3qt
@@ -280,7 +280,7 @@ Inherits QTable.
.BI "void \fBsetSize\fR ( TQSqlCursor * sql )"
.br
.ti -1c
-.BI "virtual void \fBpaintField\fR ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )"
+.BI "virtual void \fBpaintField\fR ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )"
.br
.ti -1c
.BI "virtual int \fBfieldAlignment\fR ( const TQSqlField * field )"
@@ -437,7 +437,7 @@ Reimplemented from QTable.
Returns the number of rows in the table. See the "numRows" property for details.
.PP
Reimplemented from QTable.
-.SH "void TQDataTable::paintField ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR"
+.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR"
Paints the \fIfield\fR on the painter \fIp\fR. The painter has already been translated to the appropriate cell's origin where the \fIfield\fR is to be rendered. \fIcr\fR describes the cell coordinates in the content coordinate system. The \fIselected\fR parameter is ignored.
.PP
If you want to draw custom field content you must reimplement paintField() to do the custom drawing. The default implementation renders the \fIfield\fR value as text. If the field is NULL, nullText() is displayed in the cell. If the field is Boolean, trueText() or falseText() is displayed as appropriate.