diff options
Diffstat (limited to 'doc/man/man3/tqiconviewitem.3qt')
-rw-r--r-- | doc/man/man3/tqiconviewitem.3qt | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt index 615e1964f..83b7e23b1 100644 --- a/doc/man/man3/tqiconviewitem.3qt +++ b/doc/man/man3/tqiconviewitem.3qt @@ -28,16 +28,16 @@ Inherits Qt. .BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const TQPixmap & icon )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPixmap & icon )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const TQPicture & picture )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPicture & picture )" .br .ti -1c .BI "virtual \fB~TQIconViewItem\fR ()" @@ -55,10 +55,10 @@ Inherits Qt. .BI "virtual TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual QPixmap * \fBpixmap\fR () const" +.BI "virtual TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual QPicture * \fBpicture\fR () const" +.BI "virtual TQPicture * \fBpicture\fR () const" .br .ti -1c .BI "virtual TQString \fBkey\fR () const" @@ -109,13 +109,13 @@ Inherits Qt. .BI "virtual void \fBmoveBy\fR ( int dx, int dy )" .br .ti -1c -.BI "virtual bool \fBmove\fR ( const QPoint & pnt )" +.BI "virtual bool \fBmove\fR ( const TQPoint & pnt )" .br .ti -1c -.BI "virtual void \fBmoveBy\fR ( const QPoint & pnt )" +.BI "virtual void \fBmoveBy\fR ( const TQPoint & pnt )" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -133,19 +133,19 @@ Inherits Qt. .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QPoint \fBpos\fR () const" +.BI "TQPoint \fBpos\fR () const" .br .ti -1c -.BI "QRect \fBtextRect\fR ( bool relative = TRUE ) const" +.BI "TQRect \fBtextRect\fR ( bool relative = TRUE ) const" .br .ti -1c -.BI "QRect \fBpixmapRect\fR ( bool relative = TRUE ) const" +.BI "TQRect \fBpixmapRect\fR ( bool relative = TRUE ) const" .br .ti -1c -.BI "bool \fBcontains\fR ( const QPoint & pnt ) const" +.BI "bool \fBcontains\fR ( const TQPoint & pnt ) const" .br .ti -1c -.BI "bool \fBintersects\fR ( const QRect & r ) const" +.BI "bool \fBintersects\fR ( const TQRect & r ) const" .br .ti -1c .BI "virtual bool \fBacceptDrop\fR ( const TQMimeSource * mime ) const" @@ -160,16 +160,16 @@ Inherits Qt. .BI "virtual void \fBsetText\fR ( const TQString & text )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & icon )" .br .ti -1c -.BI "virtual void \fBsetPicture\fR ( const QPicture & icon )" +.BI "virtual void \fBsetPicture\fR ( const TQPicture & icon )" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & text, bool recalc, bool redraw = TRUE )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon, bool recalc, bool redraw = TRUE )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & icon, bool recalc, bool redraw = TRUE )" .br .ti -1c .BI "virtual void \fBsetKey\fR ( const TQString & k )" @@ -202,13 +202,13 @@ Inherits Qt. .BI "virtual void \fBdragLeft\fR ()" .br .ti -1c -.BI "void \fBsetItemRect\fR ( const QRect & r )" +.BI "void \fBsetItemRect\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBsetTextRect\fR ( const QRect & r )" +.BI "void \fBsetTextRect\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBsetPixmapRect\fR ( const QRect & r )" +.BI "void \fBsetPixmapRect\fR ( const TQRect & r )" .br .in -1c .SH DESCRIPTION @@ -270,15 +270,15 @@ Constructs a TQIconViewItem and inserts it into the icon view \fIparent\fR with Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon. .SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon, after the icon view item \fIafter\fR. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const TQPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon, after the icon view item \fIafter\fR. .PP See also setPixmap(). -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const TQPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon, after the icon view item \fIafter\fR. .SH "TQIconViewItem::~TQIconViewItem ()\fC [virtual]\fR" Destroys the icon view item and tells the parent icon view that the item has been destroyed. @@ -311,7 +311,7 @@ The default implementation compares the item keys (key()) using TQString::locale .fi .PP See also key(), TQString::localeAwareCompare(), and TQString::compare(). -.SH "bool TQIconViewItem::contains ( const QPoint & pnt ) const" +.SH "bool TQIconViewItem::contains ( const TQPoint & pnt ) const" Returns TRUE if the item contains the point \fIpnt\fR (in contents coordinates); otherwise returns FALSE. .SH "bool TQIconViewItem::dragEnabled () const" Returns TRUE if the user is allowed to drag the icon view item; otherwise returns FALSE. @@ -346,7 +346,7 @@ Returns the height of the item. Returns a pointer to this item's icon view parent. .SH "int TQIconViewItem::index () const" Returns the index of this item in the icon view, or -1 if an error occurred. -.SH "bool TQIconViewItem::intersects ( const QRect & r ) const" +.SH "bool TQIconViewItem::intersects ( const TQRect & r ) const" Returns TRUE if the item intersects the rectangle \fIr\fR (in contents coordinates); otherwise returns FALSE. .SH "bool TQIconViewItem::isSelectable () const" Returns TRUE if the item is selectable; otherwise returns FALSE. @@ -364,13 +364,13 @@ Returns the key of the icon view item or text() if no key has been explicitly se See also setKey() and compare(). .SH "bool TQIconViewItem::move ( int x, int y )\fC [virtual]\fR" Moves the item to position (\fIx\fR, \fIy\fR) in the icon view (these are contents coordinates). -.SH "bool TQIconViewItem::move ( const QPoint & pnt )\fC [virtual]\fR" +.SH "bool TQIconViewItem::move ( const TQPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item to the point \fIpnt\fR. .SH "void TQIconViewItem::moveBy ( int dx, int dy )\fC [virtual]\fR" Moves the item \fIdx\fR pixels in the x-direction and \fIdy\fR pixels in the y-direction. -.SH "void TQIconViewItem::moveBy ( const QPoint & pnt )\fC [virtual]\fR" +.SH "void TQIconViewItem::moveBy ( const TQPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item by the x, y values in point \fIpnt\fR. @@ -400,29 +400,29 @@ Paints the focus rectangle of the item using the painter \fIp\fR and the color g Paints the item using the painter \fIp\fR and the color group \fIcg\fR. If you want the item to be drawn with a different font or color, reimplement this function, change the values of the color group or the painter's font, and then call the TQIconViewItem::paintItem() with the changed values. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QPicture * TQIconViewItem::picture () const\fC [virtual]\fR" +.SH "TQPicture * TQIconViewItem::picture () const\fC [virtual]\fR" Returns the icon of the icon view item if it is a picture, or 0 if it is a pixmap. In the latter case use pixmap() instead. Normally you set the picture of the item with setPicture(), but sometimes it's inconvenient to call setPicture() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's picture. If you do this, you \fImust\fR call calcRect() manually each time the size of this picture changes. .PP See also setPicture(). -.SH "QPixmap * TQIconViewItem::pixmap () const\fC [virtual]\fR" +.SH "TQPixmap * TQIconViewItem::pixmap () const\fC [virtual]\fR" Returns the icon of the icon view item if it is a pixmap, or 0 if it is a picture. In the latter case use picture() instead. Normally you set the pixmap of the item with setPixmap(), but sometimes it's inconvenient to call setPixmap() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's pixmap. If you do this, you \fImust\fR call calcRect() manually each time the size of this pixmap changes. .PP See also setPixmap(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const" +.SH "TQRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's icon. .PP If \fIrelative\fR is TRUE, (the default), the rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QPoint TQIconViewItem::pos () const" +.SH "TQPoint TQIconViewItem::pos () const" Returns the position of the item (in contents coordinates). .SH "TQIconViewItem * TQIconViewItem::prevItem () const" Returns a pointer to the previous item, or 0 if this is the first item in the icon view. .PP See also nextItem() and TQIconView::firstItem(). -.SH "QRect TQIconViewItem::rect () const" +.SH "TQRect TQIconViewItem::rect () const" Returns the bounding rectangle of the item (in contents coordinates). .SH "void TQIconViewItem::removeRenameBox ()\fC [virtual protected]\fR" Removes the editbox that is used for in-place renaming. @@ -450,7 +450,7 @@ Make your derived classes return their own values for rtti(), so that you can di If \fIallow\fR is TRUE, the icon view permits the user to drag the icon view item either to another position within the icon view or to somewhere outside of it. If \fIallow\fR is FALSE, the item cannot be dragged. .SH "void TQIconViewItem::setDropEnabled ( bool allow )\fC [virtual]\fR" If \fIallow\fR is TRUE, the icon view lets the user drop something on this icon view item. -.SH "void TQIconViewItem::setItemRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setItemRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the whole item to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setTextRect(), pixmapRect(), and setPixmapRect(). @@ -460,17 +460,17 @@ Sets \fIk\fR as the sort key of the icon view item. By default text() is used fo See also compare(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "void TQIconViewItem::setPicture ( const QPicture & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPicture ( const TQPicture & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement picture(). .PP See also picture(). -.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const TQPixmap & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement pixmap(). .PP \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const TQPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. @@ -478,7 +478,7 @@ Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, th \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void TQIconViewItem::setPixmapRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setPixmapRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's icon to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), pixmapRect(), setItemRect(), and setTextRect(). @@ -525,7 +525,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Sets \fItext\fR as the text of the icon view item. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. .PP See also text(). -.SH "void TQIconViewItem::setTextRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setTextRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's text to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setItemRect(), and setPixmapRect(). @@ -537,7 +537,7 @@ Returns the text of the icon view item. Normally you set the text of the item wi See also setText(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QRect TQIconViewItem::textRect ( bool relative = TRUE ) const" +.SH "TQRect TQIconViewItem::textRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's text. .PP If \fIrelative\fR is TRUE, (the default), the returned rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. |