summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtable.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/tqtable.3qt
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-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/tqtable.3qt')
-rw-r--r--doc/man/man3/tqtable.3qt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt
index ed03cdd78..ef46969a3 100644
--- a/doc/man/man3/tqtable.3qt
+++ b/doc/man/man3/tqtable.3qt
@@ -168,13 +168,13 @@ Inherited by TQDataTable.
.BI "virtual QRect \fBcellRect\fR ( int row, int col ) const"
.br
.ti -1c
-.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col, const QRect & cr, bool selected )"
+.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected )"
.br
.ti -1c
-.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg )"
+.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )"
.br
.ti -1c
-.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QRect & cr )"
+.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const QRect & cr )"
.br
.ti -1c
.BI "bool \fBisReadOnly\fR () const"
@@ -393,7 +393,7 @@ Inherited by TQDataTable.
.BI "enum \fBEditMode\fR { NotEditing, Editing, Replacing }"
.br
.ti -1c
-.BI "virtual void \fBdrawContents\fR ( QPainter * p, int cx, int cy, int cw, int ch )"
+.BI "virtual void \fBdrawContents\fR ( TQPainter * p, int cx, int cy, int cw, int ch )"
.br
.ti -1c
.BI "void \fBsetEditMode\fR ( EditMode mode, int row, int col )"
@@ -417,7 +417,7 @@ Inherited by TQDataTable.
.BI "virtual void \fBstartDrag\fR ()"
.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 \fBactivateNextCell\fR ()"
@@ -784,7 +784,7 @@ If the user presses the mouse on a selected cell, starts moving (i.e. dragging),
By default this function returns 0. You might reimplement it and create a TQDragObject depending on the selected items.
.PP
See also dropped().
-.SH "void QTable::drawContents ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR"
+.SH "void QTable::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR"
Draws the table contents on the painter \fIp\fR. This function is optimized so that it only draws the cells inside the \fIcw\fR pixels wide and \fIch\fR pixels high clipping rectangle at position \fIcx\fR, \fIcy\fR.
.PP
Additionally, drawContents() highlights the current cell.
@@ -930,7 +930,7 @@ Returns the number of rows in the table. See the "numRows" property for details.
Reimplemented in TQDataTable.
.SH "int QTable::numSelections () const"
Returns the number of selections. See the "numSelections" property for details.
-.SH "void QTable::paintCell ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg )\fC [virtual]\fR"
+.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )\fC [virtual]\fR"
Paints the cell at \fIrow\fR, \fIcol\fR on the painter \fIp\fR. The painter has already been translated to the cell's origin. \fIcr\fR describes the cell coordinates in the content coordinate system.
.PP
If \fIselected\fR is TRUE the cell is highlighted.
@@ -945,22 +945,22 @@ Note that the painter is not clipped by default in order to get maximum efficien
.PP
.nf
.br
- p->setClipRect( cellRect(row, col), QPainter::CoordPainter );
+ p->setClipRect( cellRect(row, col), TQPainter::CoordPainter );
.br
//... your drawing code
.br
p->setClipping( FALSE );
.br
.fi
-.SH "void QTable::paintCell ( QPainter * p, int row, int col, const QRect & cr, bool selected )\fC [virtual]\fR"
+.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Use the other paintCell() function. This function is only included for backwards compatibilty.
-.SH "void QTable::paintEmptyArea ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR"
+.SH "void QTable::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.
-.SH "void QTable::paintFocus ( QPainter * p, const QRect & cr )\fC [virtual]\fR"
+.SH "void QTable::paintFocus ( TQPainter * p, const QRect & cr )\fC [virtual]\fR"
Draws the focus rectangle of the current cell (see currentRow(), currentColumn()).
.PP
The painter \fIp\fR is already translated to the cell's origin, while \fIcr\fR specifies the cell's geometry in content coordinates.