diff options
Diffstat (limited to 'doc/man/man3/tqgridview.3qt')
-rw-r--r-- | doc/man/man3/tqgridview.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqgridview.3qt b/doc/man/man3/tqgridview.3qt index 94157c630..24c79d3df 100644 --- a/doc/man/man3/tqgridview.3qt +++ b/doc/man/man3/tqgridview.3qt @@ -88,10 +88,10 @@ Inherits QScrollView. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col ) = 0" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col ) = 0" .br .ti -1c -.BI "virtual void \fBpaintEmptyArea\fR ( QPainter * p, int cx, int cy, int cw, int ch )" +.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, int cx, int cy, int cw, int ch )" .br .ti -1c .BI "virtual void \fBdimensionChange\fR ( int oldNumRows, int oldNumCols )" @@ -146,7 +146,7 @@ Returns the size of the grid in pixels. Returns the number of columns in the grid. See the "numCols" property for details. .SH "int QGridView::numRows () const" Returns the number of rows in the grid. See the "numRows" property for details. -.SH "void QGridView::paintCell ( QPainter * p, int row, int col )\fC [pure virtual protected]\fR" +.SH "void QGridView::paintCell ( TQPainter * p, int row, int col )\fC [pure virtual protected]\fR" This pure virtual function is called to paint the single cell at (\fIrow\fR, \fIcol\fR) using painter \fIp\fR. The painter must be open when paintCell() is called and must remain open. .PP The coordinate system is translated so that the origin is at the top-left corner of the cell to be painted, i.e. \fIcell\fR coordinates. Do not scale or shear the coordinate system (or if you do, restore the transformation matrix before you return). @@ -155,7 +155,7 @@ The painter is not clipped by default in order to get maximum efficiency. If you .PP .nf .br - p->setClipRect( cellRect(), QPainter::CoordPainter ); + p->setClipRect( cellRect(), TQPainter::CoordPainter ); .br //... your drawing code .br @@ -163,7 +163,7 @@ The painter is not clipped by default in order to get maximum efficiency. If you .br .br .fi -.SH "void QGridView::paintEmptyArea ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void QGridView::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" This function fills the \fIcw\fR pixels wide and \fIch\fR pixels high rectangle starting at position (\fIcx\fR, \fIcy\fR) with the background color using the painter \fIp\fR. .PP paintEmptyArea() is invoked by drawContents() to erase or fill unused areas. |