summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlistview.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqlistview.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqlistview.3qt')
-rw-r--r--doc/man/man3/tqlistview.3qt46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt
index 604d2eaba..8a2d6f053 100644
--- a/doc/man/man3/tqlistview.3qt
+++ b/doc/man/man3/tqlistview.3qt
@@ -166,7 +166,7 @@ Inherits TQScrollView.
.BI "bool \fBrootIsDecorated\fR () const"
.br
.ti -1c
-.BI "virtual void \fBsetSorting\fR ( int column, bool ascending = TRUE )"
+.BI "virtual void \fBsetSorting\fR ( int column, bool ascending = true )"
.br
.ti -1c
.BI "int \fBsortColumn\fR () const"
@@ -433,7 +433,7 @@ Further nodes can be added to the list view object (the root of the tree) or as
.PP
The main setup functions are: <center>.nf
.TS
-l - l. Function Action addColumn() Adds a column with a text label and perhaps width. Columns are counted from the left starting with column 0. setColumnWidthMode() Sets the column to be resized automatically or not. setAllColumnsShowFocus() Sets whether items should show keyboard focus using all columns or just column 0. The default is to show focus just using column 0. setRootIsDecorated() Sets whether root items should show open/close decoration to their left. The default is FALSE. setTreeStepSize() Sets how many pixels an item's children are indented relative to their parent. The default is 20. This is mostly a matter of taste. setSorting()
+l - l. Function Action addColumn() Adds a column with a text label and perhaps width. Columns are counted from the left starting with column 0. setColumnWidthMode() Sets the column to be resized automatically or not. setAllColumnsShowFocus() Sets whether items should show keyboard focus using all columns or just column 0. The default is to show focus just using column 0. setRootIsDecorated() Sets whether root items should show open/close decoration to their left. The default is false. setTreeStepSize() Sets how many pixels an item's children are indented relative to their parent. The default is 20. This is mostly a matter of taste. setSorting()
.TE
.fi
</center>
@@ -543,7 +543,7 @@ See also setColumnText(), setColumnWidth(), and setColumnWidthMode().
.SH "void TQListView::adjustColumn ( int col )\fC [slot]\fR"
Adjusts the column \fIcol\fR to its preferred width
.SH "bool TQListView::allColumnsShowFocus () const"
-Returns TRUE if items should show keyboard focus using all columns; otherwise returns FALSE. See the "allColumnsShowFocus" property for details.
+Returns true if items should show keyboard focus using all columns; otherwise returns false. See the "allColumnsShowFocus" property for details.
.SH "int TQListView::childCount () const"
Returns the number of parentless (top-level) TQListViewItem objects in this TQListView. See the "childCount" property for details.
.SH "void TQListView::clear ()\fC [virtual slot]\fR"
@@ -699,7 +699,7 @@ Examples:
.SH "void TQListView::hideColumn ( int column )"
Hides the column specified at \fIcolumn\fR. This is a convenience function that calls setColumnWidth( \fIcolumn\fR, 0 ).
.PP
-Note: The user may still be able to resize the hidden column using the header handles. To prevent this, call setResizeEnabled(FALSE, \fIcolumn\fR) on the list views header.
+Note: The user may still be able to resize the hidden column using the header handles. To prevent this, call setResizeEnabled(false, \fIcolumn\fR) on the list views header.
.PP
See also setColumnWidth().
.SH "void TQListView::insertItem ( TQListViewItem * i )\fC [virtual]\fR"
@@ -709,15 +709,15 @@ See also TQListViewItem::takeItem() and takeItem().
.SH "void TQListView::invertSelection ()\fC [virtual slot]\fR"
Inverts the selection. Only works in Multi and Extended selection modes.
.SH "bool TQListView::isMultiSelection () const"
-Returns TRUE if the list view is in multi-selection or extended-selection mode; otherwise returns FALSE. See the "multiSelection" property for details.
+Returns true if the list view is in multi-selection or extended-selection mode; otherwise returns false. See the "multiSelection" property for details.
.SH "bool TQListView::isOpen ( const TQListViewItem * item ) const"
Identical to \fIitem\fR->isOpen(). Provided for completeness.
.PP
See also setOpen().
.SH "bool TQListView::isRenaming () const"
-Returns TRUE if an item is being renamed; otherwise returns FALSE.
+Returns true if an item is being renamed; otherwise returns false.
.SH "bool TQListView::isSelected ( const TQListViewItem * i ) const"
-Returns TRUE if the list view item \fIi\fR is selected; otherwise returns FALSE.
+Returns true if the list view item \fIi\fR is selected; otherwise returns false.
.PP
See also TQListViewItem::isSelected().
.SH "TQListViewItem * TQListView::itemAt ( const TQPoint & viewPos ) const"
@@ -833,7 +833,7 @@ Repaints \fIitem\fR on the screen if \fIitem\fR is currently visible. Takes care
.SH "void TQListView::resizeEvent ( TQResizeEvent * e )\fC [virtual protected]\fR"
Ensures that the header is correctly sized and positioned when the resize event \fIe\fR occurs.
.SH "ResizeMode TQListView::resizeMode () const"
-Returns TRUE if all, none or the only the last column should be resized; otherwise returns FALSE. See the "resizeMode" property for details.
+Returns true if all, none or the only the last column should be resized; otherwise returns false. See the "resizeMode" property for details.
.SH "void TQListView::returnPressed ( TQListViewItem * )\fC [signal]\fR"
This signal is emitted when Enter or Return is pressed. The argument is the currentItem().
.SH "void TQListView::rightButtonClicked ( TQListViewItem *, const TQPoint &, int )\fC [signal]\fR"
@@ -841,9 +841,9 @@ This signal is emitted when the right button is clicked (i.e. when it's released
.SH "void TQListView::rightButtonPressed ( TQListViewItem *, const TQPoint &, int )\fC [signal]\fR"
This signal is emitted when the right button is pressed. The arguments are the relevant TQListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
.SH "bool TQListView::rootIsDecorated () const"
-Returns TRUE if the list view shows open/close signs on root items; otherwise returns FALSE. See the "rootIsDecorated" property for details.
+Returns true if the list view shows open/close signs on root items; otherwise returns false. See the "rootIsDecorated" property for details.
.SH "void TQListView::selectAll ( bool select )\fC [virtual slot]\fR"
-If \fIselect\fR is TRUE, all the items get selected; otherwise all the items get unselected. This only works in the selection modes Multi and Extended. In Single and NoSelection mode the selection of the current item is just set to \fIselect\fR.
+If \fIselect\fR is true, all the items get selected; otherwise all the items get unselected. This only works in the selection modes Multi and Extended. In Single and NoSelection mode the selection of the current item is just set to \fIselect\fR.
.SH "TQListViewItem * TQListView::selectedItem () const"
Returns the selected item if the list view is in Single selection mode and an item is selected.
.PP
@@ -911,7 +911,7 @@ Sets the advisory item margin that list items may use. See the "itemMargin" prop
.SH "void TQListView::setMultiSelection ( bool enable )\fC [virtual]\fR"
Sets whether the list view is in multi-selection or extended-selection mode to \fIenable\fR. See the "multiSelection" property for details.
.SH "void TQListView::setOpen ( TQListViewItem * item, bool open )\fC [virtual]\fR"
-Sets \fIitem\fR to be open if \fIopen\fR is TRUE and \fIitem\fR is expandable, and to be closed if \fIopen\fR is FALSE. Repaints accordingly.
+Sets \fIitem\fR to be open if \fIopen\fR is true and \fIitem\fR is expandable, and to be closed if \fIopen\fR is false. Repaints accordingly.
.PP
See also TQListViewItem::setOpen() and TQListViewItem::setExpandable().
.SH "void TQListView::setResizeMode ( ResizeMode m )\fC [virtual]\fR"
@@ -919,9 +919,9 @@ Sets whether all, none or the only the last column should be resized to \fIm\fR.
.SH "void TQListView::setRootIsDecorated ( bool )\fC [virtual]\fR"
Sets whether the list view shows open/close signs on root items. See the "rootIsDecorated" property for details.
.SH "void TQListView::setSelected ( TQListViewItem * item, bool selected )\fC [virtual]\fR"
-If \fIselected\fR is TRUE the \fIitem\fR is selected; otherwise it is unselected.
+If \fIselected\fR is true the \fIitem\fR is selected; otherwise it is unselected.
.PP
-If the list view is in Single selection mode and \fIselected\fR is TRUE, the currently selected item is unselected and \fIitem\fR is made current. Unlike TQListViewItem::setSelected(), this function updates the list view as necessary and emits the selectionChanged() signals.
+If the list view is in Single selection mode and \fIselected\fR is true, the currently selected item is unselected and \fIitem\fR is made current. Unlike TQListViewItem::setSelected(), this function updates the list view as necessary and emits the selectionChanged() signals.
.PP
See also isSelected(), multiSelection, multiSelection, setCurrentItem(), and setSelectionAnchor().
.PP
@@ -948,16 +948,16 @@ See also setSorting().
Sets the sort order for the items in the list view to \fIorder\fR.
.PP
See also setSorting().
-.SH "void TQListView::setSorting ( int column, bool ascending = TRUE )\fC [virtual]\fR"
-Sets the list view to be sorted by column \fIcolumn\fR in ascending order if \fIascending\fR is TRUE or descending order if it is FALSE.
+.SH "void TQListView::setSorting ( int column, bool ascending = true )\fC [virtual]\fR"
+Sets the list view to be sorted by column \fIcolumn\fR in ascending order if \fIascending\fR is true or descending order if it is false.
.PP
If \fIcolumn\fR is -1, sorting is disabled and the user cannot sort columns by clicking on the column headers. If \fIcolumn\fR is larger than the number of columns the user must click on a column header to sort the list view.
.SH "void TQListView::setTreeStepSize ( int )\fC [virtual]\fR"
Sets the number of pixels a child is offset from its parent. See the "treeStepSize" property for details.
.SH "bool TQListView::showSortIndicator () const"
-Returns TRUE if the list view header should display a sort indicator; otherwise returns FALSE. See the "showSortIndicator" property for details.
+Returns true if the list view header should display a sort indicator; otherwise returns false. See the "showSortIndicator" property for details.
.SH "bool TQListView::showToolTips () const"
-Returns TRUE if this list view should show tooltips for truncated column texts; otherwise returns FALSE. See the "showToolTips" property for details.
+Returns true if this list view should show tooltips for truncated column texts; otherwise returns false. See the "showToolTips" property for details.
.SH "void TQListView::sort ()\fC [virtual]\fR"
Sorts the list view using the last sorting configuration (sort column and ascending/descending).
.SH "int TQListView::sortColumn () const"
@@ -988,11 +988,11 @@ Updates the sizes of the viewport, header, scroll bars and so on.
.SH "bool allColumnsShowFocus"
This property holds whether items should show keyboard focus using all columns.
.PP
-If this property is TRUE all columns will show focus and selection states, otherwise only column 0 will show focus.
+If this property is true all columns will show focus and selection states, otherwise only column 0 will show focus.
.PP
-The default is FALSE.
+The default is false.
.PP
-Setting this to TRUE if it's not necessary may cause noticeable flicker.
+Setting this to true if it's not necessary may cause noticeable flicker.
.PP
Set this property's value with setAllColumnsShowFocus() and get this property's value with allColumnsShowFocus().
.SH "int childCount"
@@ -1048,7 +1048,7 @@ Set this property's value with setResizeMode() and get this property's value wit
.SH "bool rootIsDecorated"
This property holds whether the list view shows open/close signs on root items.
.PP
-Open/close signs are small \fB+\fR or \fB-\fR symbols in windows style, or arrows in Motif style. The default is FALSE.
+Open/close signs are small \fB+\fR or \fB-\fR symbols in windows style, or arrows in Motif style. The default is false.
.PP
Set this property's value with setRootIsDecorated() and get this property's value with rootIsDecorated().
.SH "SelectionMode selectionMode"
@@ -1062,7 +1062,7 @@ Set this property's value with setSelectionMode() and get this property's value
.SH "bool showSortIndicator"
This property holds whether the list view header should display a sort indicator.
.PP
-If this property is TRUE, an arrow is drawn in the header of the list view to indicate the sort order of the list view contents. The arrow will be drawn in the correct column and will point up or down, depending on the current sort direction. The default is FALSE (don't show an indicator).
+If this property is true, an arrow is drawn in the header of the list view to indicate the sort order of the list view contents. The arrow will be drawn in the correct column and will point up or down, depending on the current sort direction. The default is false (don't show an indicator).
.PP
See also TQHeader::setSortIndicator().
.PP
@@ -1070,7 +1070,7 @@ Set this property's value with setShowSortIndicator() and get this property's va
.SH "bool showToolTips"
This property holds whether this list view should show tooltips for truncated column texts.
.PP
-The default is TRUE.
+The default is true.
.PP
Set this property's value with setShowToolTips() and get this property's value with showToolTips().
.SH "int treeStepSize"