summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlistview.3qt
diff options
context:
space:
mode:
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 737d4d28d..6bd5e0451 100644
--- a/doc/man/man3/tqlistview.3qt
+++ b/doc/man/man3/tqlistview.3qt
@@ -166,7 +166,7 @@ Inherits QScrollView.
.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 QListView::adjustColumn ( int col )\fC [slot]\fR"
Adjusts the column \fIcol\fR to its preferred width
.SH "bool QListView::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 QListView::childCount () const"
Returns the number of parentless (top-level) QListViewItem objects in this QListView. See the "childCount" property for details.
.SH "void QListView::clear ()\fC [virtual slot]\fR"
@@ -699,7 +699,7 @@ Examples:
.SH "void QListView::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 QListView::insertItem ( QListViewItem * i )\fC [virtual]\fR"
@@ -709,15 +709,15 @@ See also QListViewItem::takeItem() and takeItem().
.SH "void QListView::invertSelection ()\fC [virtual slot]\fR"
Inverts the selection. Only works in Multi and Extended selection modes.
.SH "bool QListView::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 QListView::isOpen ( const QListViewItem * item ) const"
Identical to \fIitem\fR->isOpen(). Provided for completeness.
.PP
See also setOpen().
.SH "bool QListView::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 QListView::isSelected ( const QListViewItem * 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 QListViewItem::isSelected().
.SH "QListViewItem * QListView::itemAt ( const QPoint & viewPos ) const"
@@ -833,7 +833,7 @@ Repaints \fIitem\fR on the screen if \fIitem\fR is currently visible. Takes care
.SH "void QListView::resizeEvent ( QResizeEvent * e )\fC [virtual protected]\fR"
Ensures that the header is correctly sized and positioned when the resize event \fIe\fR occurs.
.SH "ResizeMode QListView::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 QListView::returnPressed ( QListViewItem * )\fC [signal]\fR"
This signal is emitted when Enter or Return is pressed. The argument is the currentItem().
.SH "void QListView::rightButtonClicked ( QListViewItem *, const QPoint &, 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 QListView::rightButtonPressed ( QListViewItem *, const QPoint &, int )\fC [signal]\fR"
This signal is emitted when the right button is pressed. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
.SH "bool QListView::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 QListView::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 "QListViewItem * QListView::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 QListView::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 QListView::setOpen ( QListViewItem * 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 QListViewItem::setOpen() and QListViewItem::setExpandable().
.SH "void QListView::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 QListView::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 QListView::setSelected ( QListViewItem * 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 QListViewItem::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 QListViewItem::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 QListView::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 QListView::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 QListView::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 QListView::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 QListView::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 QListView::sort ()\fC [virtual]\fR"
Sorts the list view using the last sorting configuration (sort column and ascending/descending).
.SH "int QListView::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 QHeader::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"