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.3qt64
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt
index ec7933a6e..ab0278ec2 100644
--- a/doc/man/man3/tqiconviewitem.3qt
+++ b/doc/man/man3/tqiconviewitem.3qt
@@ -136,10 +136,10 @@ Inherits Qt.
.BI "TQPoint \fBpos\fR () const"
.br
.ti -1c
-.BI "TQRect \fBtextRect\fR ( bool relative = TRUE ) const"
+.BI "TQRect \fBtextRect\fR ( bool relative = true ) const"
.br
.ti -1c
-.BI "TQRect \fBpixmapRect\fR ( bool relative = TRUE ) const"
+.BI "TQRect \fBpixmapRect\fR ( bool relative = true ) const"
.br
.ti -1c
.BI "bool \fBcontains\fR ( const TQPoint & pnt ) const"
@@ -166,10 +166,10 @@ Inherits Qt.
.BI "virtual void \fBsetPicture\fR ( const TQPicture & icon )"
.br
.ti -1c
-.BI "virtual void \fBsetText\fR ( const TQString & text, bool recalc, bool redraw = TRUE )"
+.BI "virtual void \fBsetText\fR ( const TQString & text, bool recalc, bool redraw = true )"
.br
.ti -1c
-.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & 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 )"
@@ -230,7 +230,7 @@ The simplest way to create a TQIconViewItem and insert it into a TQIconView is t
.br
.fi
.PP
-By default the text of an icon view item may not be edited by the user but calling setRenameEnabled(TRUE) will allow the user to perform in-place editing of the item's text.
+By default the text of an icon view item may not be edited by the user but calling setRenameEnabled(true) will allow the user to perform in-place editing of the item's text.
.PP
When the icon view is deleted all items in it are deleted automatically.
.PP
@@ -283,9 +283,9 @@ Constructs an icon view item and inserts it into the icon view \fIparent\fR usin
.SH "TQIconViewItem::~TQIconViewItem ()\fC [virtual]\fR"
Destroys the icon view item and tells the parent icon view that the item has been destroyed.
.SH "bool TQIconViewItem::acceptDrop ( const TQMimeSource * mime ) const\fC [virtual]\fR"
-Returns TRUE if you can drop things with a TQMimeSource of \fImime\fR onto this item; otherwise returns FALSE.
+Returns true if you can drop things with a TQMimeSource of \fImime\fR onto this item; otherwise returns false.
.PP
-The default implementation always returns FALSE. You must subclass TQIconViewItem and reimplement acceptDrop() to accept drops.
+The default implementation always returns false. You must subclass TQIconViewItem and reimplement acceptDrop() to accept drops.
.PP
Examples:
.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
@@ -312,9 +312,9 @@ The default implementation compares the item keys (key()) using TQString::locale
.PP
See also key(), TQString::localeAwareCompare(), and TQString::compare().
.SH "bool TQIconViewItem::contains ( const TQPoint & pnt ) const"
-Returns TRUE if the item contains the point \fIpnt\fR (in contents coordinates); otherwise returns FALSE.
+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.
+Returns true if the user is allowed to drag the icon view item; otherwise returns false.
.PP
See also setDragEnabled().
.SH "void TQIconViewItem::dragEntered ()\fC [virtual protected]\fR"
@@ -330,7 +330,7 @@ The default implementation does nothing; subclasses may reimplement this functio
.PP
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.
+Returns true if the user is allowed to drop something onto the item; otherwise returns false.
.PP
See also setDropEnabled().
.SH "void TQIconViewItem::dropped ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )\fC [virtual protected]\fR"
@@ -347,13 +347,13 @@ 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 TQRect & r ) const"
-Returns TRUE if the item intersects the rectangle \fIr\fR (in contents coordinates); otherwise returns FALSE.
+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.
+Returns true if the item is selectable; otherwise returns false.
.PP
See also setSelectable().
.SH "bool TQIconViewItem::isSelected () const"
-Returns TRUE if the item is selected; otherwise returns FALSE.
+Returns true if the item is selected; otherwise returns false.
.PP
See also setSelected().
.PP
@@ -410,10 +410,10 @@ Returns the icon of the icon view item if it is a pixmap, or 0 if it is a pictur
See also setPixmap().
.PP
Example: fileiconview/tqfileiconview.cpp.
-.SH "TQRect 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.
+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 "TQPoint TQIconViewItem::pos () const"
@@ -435,7 +435,7 @@ See also setRenameEnabled().
.PP
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.
+Returns true if the item can be renamed by the user with in-place renaming; otherwise returns false.
.PP
See also setRenameEnabled().
.PP
@@ -447,9 +447,9 @@ Returns 0.
.PP
Make your derived classes return their own values for rtti(), so that you can distinguish between icon view item types. You should use values greater than 1000, preferably a large random number, to allow for extensions to this class.
.SH "void TQIconViewItem::setDragEnabled ( bool allow )\fC [virtual]\fR"
-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.
+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.
+If \fIallow\fR is true, the icon view lets the user drop something on this icon view item.
.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
@@ -470,10 +470,10 @@ Sets \fIicon\fR as the item's icon in the icon view. This function might be a no
\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 TQPixmap & 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.
+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.
.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
@@ -483,12 +483,12 @@ Sets the bounding rectangle of the item's icon to \fIr\fR. This function is prov
.PP
See also calcRect(), pixmapRect(), setItemRect(), and setTextRect().
.SH "void TQIconViewItem::setRenameEnabled ( bool allow )\fC [virtual]\fR"
-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.
+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/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.
+Sets this item to be selectable if \fIenable\fR is true (the default) or unselectable if \fIenable\fR is false.
.PP
The user is unable to select a non-selectable item using either the keyboard or the mouse. (The application programmer can select an item in code regardless of this setting.)
.PP
@@ -496,15 +496,15 @@ See also isSelectable().
.SH "void TQIconViewItem::setSelected ( bool s, bool cb )\fC [virtual]\fR"
Selects or unselects the item, depending on \fIs\fR; it may also unselect other items, depending on TQIconView::selectionMode() and \fIcb\fR.
.PP
-If \fIs\fR is FALSE, the item is unselected.
+If \fIs\fR is false, the item is unselected.
.PP
-If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCSingle\fR, the item is selected and the item previously selected is unselected.
+If \fIs\fR is true and TQIconView::selectionMode() is \fCSingle\fR, the item is selected and the item previously selected is unselected.
.PP
-If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCExtended\fR, the item is selected. If \fIcb\fR is TRUE, the selection state of the other items is left unchanged. If \fIcb\fR is FALSE (the default) all other items are unselected.
+If \fIs\fR is true and TQIconView::selectionMode() is \fCExtended\fR, the item is selected. If \fIcb\fR is true, the selection state of the other items is left unchanged. If \fIcb\fR is false (the default) all other items are unselected.
.PP
-If \fIs\fR is TRUE and TQIconView::selectionMode() is \fCMulti\fR, the item is selected.
+If \fIs\fR is true and TQIconView::selectionMode() is \fCMulti\fR, the item is selected.
.PP
-Note that \fIcb\fR is used only if TQIconView::selectionMode() is \fCExtended\fR; cb defaults to FALSE.
+Note that \fIcb\fR is used only if TQIconView::selectionMode() is \fCExtended\fR; cb defaults to false.
.PP
All items whose selection status changes repaint themselves.
.PP
@@ -512,17 +512,17 @@ 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
-This variant is equivalent to calling the other variant with \fIcb\fR set to FALSE.
+This variant is equivalent to calling the other variant with \fIcb\fR set to false.
.SH "void TQIconViewItem::setText ( const TQString & text )\fC [virtual]\fR"
Sets \fItext\fR as the text of the icon view item. This function might be a no-op if you reimplement text().
.PP
See also text().
.PP
Example: fileiconview/tqfileiconview.cpp.
-.SH "void TQIconViewItem::setText ( const TQString & text, bool recalc, bool redraw = TRUE )\fC [virtual]\fR"
+.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
-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.
+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 TQRect & r )\fC [protected]\fR"
@@ -537,10 +537,10 @@ 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 "TQRect 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.
+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/tqfileiconview.cpp.
.SH "int TQIconViewItem::width () const"