summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdatatable.3qt
diff options
context:
space:
mode:
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 94ab9c879..b42c75c6f 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 ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )"
+.BI "virtual void \fBpaintField\fR ( TQPainter * p, const TQSqlField * field, const TQRect & 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 ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR"
+.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const TQRect & 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.