diff options
Diffstat (limited to 'doc/man/man3/tqlistviewitem.3qt')
-rw-r--r-- | doc/man/man3/tqlistviewitem.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqlistviewitem.3qt b/doc/man/man3/tqlistviewitem.3qt index 110579a94..5b46ae97a 100644 --- a/doc/man/man3/tqlistviewitem.3qt +++ b/doc/man/man3/tqlistviewitem.3qt @@ -63,7 +63,7 @@ Inherited by QCheckListItem. .BI "int \fBtotalHeight\fR () const" .br .ti -1c -.BI "virtual int \fBwidth\fR ( const QFontMetrics & fm, const QListView * lv, int c ) const" +.BI "virtual int \fBwidth\fR ( const TQFontMetrics & fm, const QListView * lv, int c ) const" .br .ti -1c .BI "void \fBwidthChanged\fR ( int c = -1 ) const" @@ -111,13 +111,13 @@ Inherited by QCheckListItem. .BI "bool \fBisSelected\fR () const" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, const QColorGroup & cg, int column, int width, int align )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )" .br .ti -1c -.BI "virtual void \fBpaintBranches\fR ( QPainter * p, const QColorGroup & cg, int w, int y, int h )" +.BI "virtual void \fBpaintBranches\fR ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QColorGroup & cg, const QRect & r )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & r )" .br .ti -1c .BI "QListViewItem * \fBfirstChild\fR () const" @@ -515,7 +515,7 @@ Example: xml/tagreader-with-features/structureparser.cpp. This function is called if the user presses Enter during in-place renaming of the item in column \fIcol\fR. .PP See also cancelRename(). -.SH "void QListViewItem::paintBranches ( QPainter * p, const QColorGroup & cg, int w, int y, int h )\fC [virtual]\fR" +.SH "void QListViewItem::paintBranches ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h )\fC [virtual]\fR" Paints a set of branches from this item to (some of) its children. .PP Painter \fIp\fR is set up with clipping and translation so that you can only draw in the rectangle that needs redrawing; \fIcg\fR is the color group to use; the update rectangle is at (0, 0) and has size width \fIw\fR by height \fIh\fR. The top of the rectangle you own is at \fIy\fR (which is never greater than 0 but can be outside the window system's allowed coordinate range). @@ -523,10 +523,10 @@ Painter \fIp\fR is set up with clipping and translation so that you can only dra The update rectangle is in an undefined state when this function is called; this function must draw on \fIall\fR of the pixels. .PP See also paintCell() and QListView::drawContentsOffset(). -.SH "void QListViewItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" +.SH "void QListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" This virtual function paints the contents of one column of an item and aligns it as described by \fIalign\fR. .PP -\fIp\fR is a QPainter open on the relevant paint device. \fIp\fR is translated so (0, 0) is the top-left pixel in the cell and \fIwidth-1\fR, height()-1 is the bottom-right pixel \fIin\fR the cell. The other properties of \fIp\fR (pen, brush, etc) are undefined. \fIcg\fR is the color group to use. \fIcolumn\fR is the logical column number within the item that is to be painted; 0 is the column which may contain a tree. +\fIp\fR is a TQPainter open on the relevant paint device. \fIp\fR is translated so (0, 0) is the top-left pixel in the cell and \fIwidth-1\fR, height()-1 is the bottom-right pixel \fIin\fR the cell. The other properties of \fIp\fR (pen, brush, etc) are undefined. \fIcg\fR is the color group to use. \fIcolumn\fR is the logical column number within the item that is to be painted; 0 is the column which may contain a tree. .PP This function may use QListView::itemMargin() for readability spacing on the left and right sides of data such as text, and should honor isSelected() and QListView::allColumnsShowFocus(). .PP @@ -539,7 +539,7 @@ See also paintBranches() and QListView::drawContentsOffset(). Example: listviews/listviews.cpp. .PP Reimplemented in QCheckListItem. -.SH "void QListViewItem::paintFocus ( QPainter * p, const QColorGroup & cg, const QRect & r )\fC [virtual]\fR" +.SH "void QListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const QRect & r )\fC [virtual]\fR" Paints a focus indicator on the rectangle \fIr\fR using painter \fIp\fR and colors \fIcg\fR. .PP \fIp\fR is already clipped. @@ -687,7 +687,7 @@ Returns the total height of this object, including any visible children. This he Functions which can affect the total height are, setHeight() which is used to set an item's height, setOpen() to show or hide an item's children, and invalidateHeight() to invalidate the cached height. .PP See also height(). -.SH "int QListViewItem::width ( const QFontMetrics & fm, const QListView * lv, int c ) const\fC [virtual]\fR" +.SH "int QListViewItem::width ( const TQFontMetrics & fm, const QListView * lv, int c ) const\fC [virtual]\fR" Returns the number of pixels of width required to draw column \fIc\fR of list view \fIlv\fR, using the metrics \fIfm\fR without cropping. The list view containing this item may use this information depending on the QListView::WidthMode settings for the column. .PP The default implementation returns the width of the bounding rectangle of the text of column \fIc\fR. |