summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqiconviewitem.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqiconviewitem.3qt')
-rw-r--r--doc/man/man3/tqiconviewitem.3qt34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt
index 2206b962..9b680ba4 100644
--- a/doc/man/man3/tqiconviewitem.3qt
+++ b/doc/man/man3/tqiconviewitem.3qt
@@ -288,7 +288,7 @@ Returns TRUE if you can drop things with a TQMimeSource of \fImime\fR onto this
The default implementation always returns FALSE. You must subclass TQIconViewItem and reimplement acceptDrop() to accept drops.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
.SH "void TQIconViewItem::calcRect ( const TQString & text_ = TQString::null )\fC [virtual protected]\fR"
This virtual function is responsible for calculating the rectangles returned by rect(), textRect() and pixmapRect(). setRect(), setTextRect() and setPixmapRect() are provided mainly for reimplementations of this function.
.PP
@@ -322,13 +322,13 @@ This function is called when a drag enters the item's bounding rectangle.
.PP
The default implementation does nothing; subclasses may reimplement this function.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::dragLeft ()\fC [virtual protected]\fR"
This function is called when a drag leaves the item's bounding rectangle.
.PP
The default implementation does nothing; subclasses may reimplement this function.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQIconViewItem::dropEnabled () const"
Returns TRUE if the user is allowed to drop something onto the item; otherwise returns FALSE.
.PP
@@ -339,7 +339,7 @@ This function is called when something is dropped on the item. \fIe\fR provides
The default implementation does nothing; subclasses may reimplement this function.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
.SH "int TQIconViewItem::height () const"
Returns the height of the item.
.SH "TQIconView * TQIconViewItem::iconView () const"
@@ -357,7 +357,7 @@ Returns TRUE if the item is selected; otherwise returns FALSE.
.PP
See also setSelected().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "TQString TQIconViewItem::key () const\fC [virtual]\fR"
Returns the key of the icon view item or text() if no key has been explicitly set.
.PP
@@ -393,13 +393,13 @@ Example:
.PP
See also prevItem().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::paintFocus ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR"
Paints the focus rectangle of the item using the painter \fIp\fR and the color group \fIcg\fR.
.SH "void TQIconViewItem::paintItem ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR"
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/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QPicture * 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
@@ -409,13 +409,13 @@ Returns the icon of the icon view item if it is a pixmap, or 0 if it is a pictur
.PP
See also setPixmap().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QRect 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/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QPoint TQIconViewItem::pos () const"
Returns the position of the item (in contents coordinates).
.SH "TQIconViewItem * TQIconViewItem::prevItem () const"
@@ -433,13 +433,13 @@ This function sets up the icon view so that the user can edit the item text, and
.PP
See also setRenameEnabled().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "bool TQIconViewItem::renameEnabled () const"
Returns TRUE if the item can be renamed by the user with in-place renaming; otherwise returns FALSE.
.PP
See also setRenameEnabled().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::repaint ()\fC [virtual]\fR"
Repaints the item.
.SH "int TQIconViewItem::rtti () const\fC [virtual]\fR"
@@ -459,7 +459,7 @@ Sets \fIk\fR as the sort key of the icon view item. By default text() is used fo
.PP
See also compare().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setPicture ( const QPicture & 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
@@ -486,7 +486,7 @@ See also calcRect(), pixmapRect(), setItemRect(), and setTextRect().
If \fIallow\fR is TRUE, the user can rename the icon view item by clicking on the text (or pressing F2) while the item is selected (in-place renaming). If \fIallow\fR is FALSE, in-place renaming is not possible.
.PP
Examples:
-.)l fileiconview/qfileiconview.cpp, iconview/main.cpp, and iconview/simple_dd/main.cpp.
+.)l fileiconview/tqfileiconview.cpp, iconview/main.cpp, and iconview/simple_dd/main.cpp.
.SH "void TQIconViewItem::setSelectable ( bool enable )\fC [virtual]\fR"
Sets this item to be selectable if \fIenable\fR is TRUE (the default) or unselectable if \fIenable\fR is FALSE.
.PP
@@ -508,7 +508,7 @@ Note that \fIcb\fR is used only if TQIconView::selectionMode() is \fCExtended\fR
.PP
All items whose selection status changes repaint themselves.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setSelected ( bool s )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -518,7 +518,7 @@ Sets \fItext\fR as the text of the icon view item. This function might be a no-o
.PP
See also text().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "void TQIconViewItem::setText ( const TQString & text, 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
@@ -536,13 +536,13 @@ Returns the text of the icon view item. Normally you set the text of the item wi
.PP
See also setText().
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "QRect 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.
.PP
-Example: fileiconview/qfileiconview.cpp.
+Example: fileiconview/tqfileiconview.cpp.
.SH "int TQIconViewItem::width () const"
Returns the width of the item.
.SH "int TQIconViewItem::x () const"