diff options
Diffstat (limited to 'doc/man/man3/tqtableitem.3qt')
-rw-r--r-- | doc/man/man3/tqtableitem.3qt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqtableitem.3qt b/doc/man/man3/tqtableitem.3qt index 9ffef04ff..563a3908d 100644 --- a/doc/man/man3/tqtableitem.3qt +++ b/doc/man/man3/tqtableitem.3qt @@ -27,19 +27,19 @@ Inherited by QComboTableItem and QCheckTableItem. .BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text )" .br .ti -1c -.BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text, const QPixmap & p )" +.BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text, const TQPixmap & p )" .br .ti -1c .BI "virtual \fB~QTableItem\fR ()" .br .ti -1c -.BI "virtual QPixmap \fBpixmap\fR () const" +.BI "virtual TQPixmap \fBpixmap\fR () const" .br .ti -1c .BI "virtual TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & p )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & p )" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & str )" @@ -99,7 +99,7 @@ Inherited by QComboTableItem and QCheckTableItem. .BI "int \fBcol\fR () const" .br .ti -1c -.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & cr, bool selected )" +.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected )" .br .ti -1c .BI "virtual void \fBsetEnabled\fR ( bool b )" @@ -215,7 +215,7 @@ Creates a table item that is a child of table \fItable\fR with text \fItext\fR. The table item will use a QLineEdit for its editor, will not word-wrap and will occupy a single cell. Insert the table item into a table with QTable::setItem(). .PP The table takes ownership of the table item, so a table item should not be inserted into more than one table at a time. -.SH "QTableItem::QTableItem ( QTable * table, EditType et, const TQString & text, const QPixmap & p )" +.SH "QTableItem::QTableItem ( QTable * table, EditType et, const TQString & text, const TQPixmap & p )" Creates a table item that is a child of table \fItable\fR with text \fItext\fR and pixmap \fIp\fR. The item has the EditType \fIet\fR. .PP The table item will display the pixmap to the left of the text. It will use a QLineEdit for editing the text, will not word-wrap and will occupy a single cell. Insert the table item into a table with QTable::setItem(). @@ -294,7 +294,7 @@ See also setReplaceable() and EditType. This virtual function returns the key that should be used for sorting. The default implementation returns the text() of the relevant item. .PP See also QTable::sorting. -.SH "void QTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected )\fC [virtual]\fR" This virtual function is used to paint the contents of an item using the painter \fIp\fR in the rectangular area \fIcr\fR using the color group \fIcg\fR. .PP If \fIselected\fR is TRUE the cell is displayed in a way that indicates that it is highlighted. @@ -316,7 +316,7 @@ Note that the painter is not clipped by default in order to get maximum efficien .fi .PP Example: table/statistics/statistics.cpp. -.SH "QPixmap QTableItem::pixmap () const\fC [virtual]\fR" +.SH "TQPixmap QTableItem::pixmap () const\fC [virtual]\fR" Returns the table item's pixmap or a null pixmap if no pixmap has been set. .PP See also setPixmap() and text(). @@ -377,7 +377,7 @@ If \fIb\fR is TRUE, the table item is enabled; if \fIb\fR is FALSE the table ite A disabled item doesn't respond to user interaction. .PP See also isEnabled(). -.SH "void QTableItem::setPixmap ( const QPixmap & p )\fC [virtual]\fR" +.SH "void QTableItem::setPixmap ( const TQPixmap & p )\fC [virtual]\fR" Sets pixmap \fIp\fR to be this item's pixmap. .PP Note that setPixmap() does not update the cell the table item belongs to. Use QTable::updateCell() to repaint the cell's contents. |