summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlistviewitem.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqlistviewitem.3qt')
-rw-r--r--doc/man/man3/tqlistviewitem.3qt54
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/man/man3/tqlistviewitem.3qt b/doc/man/man3/tqlistviewitem.3qt
index 14d46e0dd..e393be95e 100644
--- a/doc/man/man3/tqlistviewitem.3qt
+++ b/doc/man/man3/tqlistviewitem.3qt
@@ -306,7 +306,7 @@ l - l. Function Description text() Returns the text in a column. Many subclasses
.fi
</center>
.PP
-Some subclasses call setExpandable(TRUE) even when they have no children, and populate themselves when setup() or setOpen(TRUE) is called. The dirview/dirview.cpp example program uses this technique to start up quickly: The files and subdirectories in a directory aren't inserted into the tree until they're actually needed.
+Some subclasses call setExpandable(true) even when they have no children, and populate themselves when setup() or setOpen(true) is called. The dirview/dirview.cpp example program uses this technique to start up quickly: The files and subdirectories in a directory aren't inserted into the tree until they're actually needed.
.PP
<center>
.ce 1
@@ -347,9 +347,9 @@ See also setText().
.SH "TQListViewItem::~TQListViewItem ()\fC [virtual]\fR"
Destroys the item, deleting all its children and freeing up all allocated resources.
.SH "bool TQListViewItem::acceptDrop ( const TQMimeSource * mime ) const\fC [virtual]\fR"
-Returns TRUE if the item can accept drops of type TQMimeSource \fImime\fR; otherwise returns FALSE.
+Returns true if the item can accept drops of type TQMimeSource \fImime\fR; otherwise returns false.
.PP
-The default implementation does nothing and returns FALSE. A subclass must reimplement this to accept drops.
+The default implementation does nothing and returns false. A subclass must reimplement this to accept drops.
.SH "void TQListViewItem::activate ()\fC [virtual protected]\fR"
This virtual function is called whenever the user presses the mouse on this item or presses Space on it.
.PP
@@ -359,7 +359,7 @@ Reimplemented in TQCheckListItem.
.SH "bool TQListViewItem::activatedPos ( TQPoint & pos )\fC [protected]\fR"
When called from a reimplementation of activate(), this function gives information on how the item was activated. Otherwise the behavior is undefined.
.PP
-If activate() was caused by a mouse press, the function sets \fIpos\fR to where the user clicked and returns TRUE; otherwise it returns FALSE and does not change \fIpos\fR.
+If activate() was caused by a mouse press, the function sets \fIpos\fR to where the user clicked and returns true; otherwise it returns false and does not change \fIpos\fR.
.PP
\fIpos\fR is relative to the top-left corner of this item.
.PP
@@ -400,7 +400,7 @@ Returns the depth of this item.
.PP
Example: dirview/dirview.cpp.
.SH "bool TQListViewItem::dragEnabled () const"
-Returns TRUE if this item can be dragged; otherwise returns FALSE.
+Returns true if this item can be dragged; otherwise returns false.
.PP
See also setDragEnabled().
.SH "void TQListViewItem::dragEntered ()\fC [virtual protected]\fR"
@@ -412,7 +412,7 @@ This function is called when a drag leaves the item's bounding rectangle.
.PP
The default implementation does nothing, subclasses may need to reimplement this function.
.SH "bool TQListViewItem::dropEnabled () const"
-Returns TRUE if this item accepts drops; otherwise returns FALSE.
+Returns true if this item accepts drops; otherwise returns false.
.PP
See also setDropEnabled() and acceptDrop().
.SH "void TQListViewItem::dropped ( TQDropEvent * e )\fC [virtual protected]\fR"
@@ -444,27 +444,27 @@ Invalidates the cached total height of this item, including all open children.
.PP
See also setHeight(), height(), and totalHeight().
.SH "bool TQListViewItem::isEnabled () const"
-Returns TRUE if this item is enabled; otherwise returns FALSE.
+Returns true if this item is enabled; otherwise returns false.
.PP
See also setEnabled().
.SH "bool TQListViewItem::isExpandable () const"
-Returns TRUE if this item is expandable even when it has no children; otherwise returns FALSE.
+Returns true if this item is expandable even when it has no children; otherwise returns false.
.SH "bool TQListViewItem::isOpen () const"
-Returns TRUE if this list view item has children \fIand\fR they are not explicitly hidden; otherwise returns FALSE.
+Returns true if this list view item has children \fIand\fR they are not explicitly hidden; otherwise returns false.
.PP
See also setOpen().
.SH "bool TQListViewItem::isSelectable () const"
-Returns TRUE if the item is selectable (as it is by default); otherwise returns FALSE
+Returns true if the item is selectable (as it is by default); otherwise returns false
.PP
See also setSelectable().
.SH "bool TQListViewItem::isSelected () const"
-Returns TRUE if this item is selected; otherwise returns FALSE.
+Returns true if this item is selected; otherwise returns false.
.PP
See also setSelected(), TQListView::setSelected(), and TQListView::selectionChanged().
.PP
Example: listviews/listviews.cpp.
.SH "bool TQListViewItem::isVisible () const"
-Returns TRUE if the item is visible; otherwise returns FALSE.
+Returns true if the item is visible; otherwise returns false.
.PP
See also setVisible().
.SH "TQListViewItem * TQListViewItem::itemAbove ()"
@@ -502,7 +502,7 @@ Move the item to be after item \fIafter\fR, which must be one of the item's sibl
.PP
Note that this function will have no effect if sorting is enabled in the list view.
.SH "bool TQListViewItem::multiLinesEnabled () const"
-Returns TRUE if the item can display multiple lines of text in its columns; otherwise returns FALSE.
+Returns true if the item can display multiple lines of text in its columns; otherwise returns false.
.SH "TQListViewItem * TQListViewItem::nextSibling () const"
Returns the sibling item below this item, or 0 if there is no sibling item after this item.
.PP
@@ -565,7 +565,7 @@ Example: dirview/dirview.cpp.
.PP
This function has been renamed takeItem().
.SH "bool TQListViewItem::renameEnabled ( int col ) const"
-Returns TRUE if this item can be in-place renamed in column \fIcol\fR; otherwise returns FALSE.
+Returns true if this item can be in-place renamed in column \fIcol\fR; otherwise returns false.
.SH "void TQListViewItem::repaint () const"
Repaints this item on the screen if it is currently visible.
.PP
@@ -577,17 +577,17 @@ Make your derived classes return their own values for rtti(), so that you can di
.PP
Reimplemented in TQCheckListItem.
.SH "void TQListViewItem::setDragEnabled ( bool allow )\fC [virtual]\fR"
-If \fIallow\fR is TRUE, the list view starts a drag (see TQListView::dragObject()) when the user presses and moves the mouse on this item.
+If \fIallow\fR is true, the list view starts a drag (see TQListView::dragObject()) when the user presses and moves the mouse on this item.
.SH "void TQListViewItem::setDropEnabled ( bool allow )\fC [virtual]\fR"
-If \fIallow\fR is TRUE, the list view accepts drops onto the item; otherwise drops are not allowed.
+If \fIallow\fR is true, the list view accepts drops onto the item; otherwise drops are not allowed.
.SH "void TQListViewItem::setEnabled ( bool b )\fC [virtual]\fR"
-If \fIb\fR is TRUE the item is enabled; otherwise it is disabled. Disabled items are drawn differently (e.g. grayed-out) and are not accessible by the user.
+If \fIb\fR is true the item is enabled; otherwise it is disabled. Disabled items are drawn differently (e.g. grayed-out) and are not accessible by the user.
.SH "void TQListViewItem::setExpandable ( bool enable )\fC [virtual]\fR"
-Sets this item to be expandable even if it has no children if \fIenable\fR is TRUE, and to be expandable only if it has children if \fIenable\fR is FALSE (the default).
+Sets this item to be expandable even if it has no children if \fIenable\fR is true, and to be expandable only if it has children if \fIenable\fR is false (the default).
.PP
-The dirview example uses this in the canonical fashion. It checks whether the directory is empty in setup() and calls setExpandable(TRUE) if not; in setOpen() it reads the contents of the directory and inserts items accordingly. This strategy means that dirview can display the entire file system without reading very much at startup.
+The dirview example uses this in the canonical fashion. It checks whether the directory is empty in setup() and calls setExpandable(true) if not; in setOpen() it reads the contents of the directory and inserts items accordingly. This strategy means that dirview can display the entire file system without reading very much at startup.
.PP
-Note that root items are not expandable by the user unless TQListView::setRootIsDecorated() is set to TRUE.
+Note that root items are not expandable by the user unless TQListView::setRootIsDecorated() is set to true.
.PP
See also setSelectable().
.SH "void TQListViewItem::setHeight ( int height )\fC [virtual protected]\fR"
@@ -599,11 +599,11 @@ For best results in Windows style we suggest using an even number of pixels.
.PP
See also height(), totalHeight(), and isOpen().
.SH "void TQListViewItem::setMultiLinesEnabled ( bool b )\fC [virtual]\fR"
-If \fIb\fR is TRUE each of the item's columns may contain multiple lines of text; otherwise each of them may only contain a single line.
+If \fIb\fR is true each of the item's columns may contain multiple lines of text; otherwise each of them may only contain a single line.
.SH "void TQListViewItem::setOpen ( bool o )\fC [virtual]\fR"
Opens or closes an item, i.e. shows or hides an item's children.
.PP
-If \fIo\fR is TRUE all child items are shown initially. The user can hide them by clicking the \fB-\fR icon to the left of the item. If \fIo\fR is FALSE, the children of this item are initially hidden. The user can show them by clicking the \fB+\fR icon to the left of the item.
+If \fIo\fR is true all child items are shown initially. The user can hide them by clicking the \fB-\fR icon to the left of the item. If \fIo\fR is false, the children of this item are initially hidden. The user can show them by clicking the \fB+\fR icon to the left of the item.
.PP
See also height(), totalHeight(), and isOpen().
.PP
@@ -616,15 +616,15 @@ See also pixmap() and setText().
.PP
Example: dirview/dirview.cpp.
.SH "void TQListViewItem::setRenameEnabled ( int col, bool b )\fC [virtual]\fR"
-If \fIb\fR is TRUE, this item can be in-place renamed in the column \fIcol\fR by the user; otherwise it cannot be renamed in-place.
+If \fIb\fR is true, this item can be in-place renamed in the column \fIcol\fR by the user; otherwise it cannot be renamed in-place.
.SH "void TQListViewItem::setSelectable ( bool enable )\fC [virtual]\fR"
-Sets this item to be selectable if \fIenable\fR is TRUE (the default) or not to be selectable if \fIenable\fR is FALSE.
+Sets this item to be selectable if \fIenable\fR is true (the default) or not to be selectable if \fIenable\fR is false.
.PP
The user is not able to select a non-selectable item using either the keyboard or the mouse. This also applies for the application programmer (e.g. setSelected() respects this value).
.PP
See also isSelectable().
.SH "void TQListViewItem::setSelected ( bool s )\fC [virtual]\fR"
-If \fIs\fR is TRUE this item is selected; otherwise it is deselected.
+If \fIs\fR is true this item is selected; otherwise it is deselected.
.PP
This function does not maintain any invariants or repaint anything -- TQListView::setSelected() does that.
.PP
@@ -641,7 +641,7 @@ See also text() and key().
Examples:
.)l addressbook/centralwidget.cpp, qutlook/centralwidget.cpp, and xml/outliner/outlinetree.cpp.
.SH "void TQListViewItem::setVisible ( bool b )"
-If \fIb\fR is TRUE, the item is made visible; otherwise it is hidden.
+If \fIb\fR is true, the item is made visible; otherwise it is hidden.
.PP
If the item is not visible, itemAbove() and itemBelow() will never return this item, although you still can reach it by using e.g. TQListViewItemIterator.
.SH "void TQListViewItem::setup ()\fC [virtual]\fR"
@@ -655,7 +655,7 @@ Sorts all this item's child items using the current sorting configuration (sort
.PP
See also enforceSortOrder().
.SH "void TQListViewItem::sortChildItems ( int column, bool ascending )\fC [virtual]\fR"
-Sorts this item's children using column \fIcolumn\fR. This is done in ascending order if \fIascending\fR is TRUE and in descending order if \fIascending\fR is FALSE.
+Sorts this item's children using column \fIcolumn\fR. This is done in ascending order if \fIascending\fR is true and in descending order if \fIascending\fR is false.
.PP
Asks some of the children to sort their children. (TQListView and TQListViewItem ensure that all on-screen objects are properly sorted but may avoid or defer sorting other objects in order to be more responsive.)
.PP