diff options
Diffstat (limited to 'doc/man/man3/tqlayout.3qt')
| -rw-r--r-- | doc/man/man3/tqlayout.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqlayout.3qt b/doc/man/man3/tqlayout.3qt index ffeb4db22..f3c3b403e 100644 --- a/doc/man/man3/tqlayout.3qt +++ b/doc/man/man3/tqlayout.3qt @@ -206,7 +206,7 @@ Returns the rectangle that should be covered when the geometry of this layout is .PP The result is derived from sizeHint() and expanding(). It is never larger than \fIr\fR. .SH "bool QLayout::autoAdd () const" -Returns TRUE if this layout automatically grabs all new mainWidget()'s new children and adds them as defined by addItem(); otherwise returns FALSE. This has effect only for top-level layouts, i.e. layouts that are direct children of their mainWidget(). +Returns true if this layout automatically grabs all new mainWidget()'s new children and adds them as defined by addItem(); otherwise returns false. This has effect only for top-level layouts, i.e. layouts that are direct children of their mainWidget(). .PP autoAdd() is disabled by default. .PP @@ -233,15 +233,15 @@ Reimplemented from QLayoutItem. .PP Reimplemented in QGridLayout and QBoxLayout. .SH "bool QLayout::isEmpty () const\fC [virtual]\fR" -Returns TRUE if this layout is empty. The default implementation returns FALSE. +Returns true if this layout is empty. The default implementation returns false. .PP Reimplemented from QLayoutItem. .SH "bool QLayout::isEnabled () const" -Returns TRUE if the layout is enabled; otherwise returns FALSE. +Returns true if the layout is enabled; otherwise returns false. .PP See also setEnabled(). .SH "bool QLayout::isTopLevel () const" -Returns TRUE if this layout is a top-level layout, i.e. not a child of another layout; otherwise returns FALSE. +Returns true if this layout is a top-level layout, i.e. not a child of another layout; otherwise returns false. .SH "QLayoutIterator QLayout::iterator ()\fC [pure virtual]\fR" Implemented in subclasses to return an iterator that iterates over this layout's children. .PP @@ -304,7 +304,7 @@ See also remove() and addItem(). .SH "ResizeMode QLayout::resizeMode () const" Returns the resize mode of the layout. See the "resizeMode" property for details. .SH "void QLayout::setAutoAdd ( bool b )\fC [virtual]\fR" -If \fIb\fR is TRUE, auto-add is enabled; otherwise auto-add is disabled. +If \fIb\fR is true, auto-add is enabled; otherwise auto-add is disabled. .PP \fBWarning:\fR If auto-add is enabled, you cannot set stretch factors on the child widgets until the widgets are actually inserted in the layout (after control returned to the event loop). We therefore recommend that you avoid the auto-add feature in new programs. .PP @@ -313,7 +313,7 @@ See also autoAdd(). Examples: .)l hierarchy/objects.cpp and i18n/main.cpp. .SH "void QLayout::setEnabled ( bool enable )" -Enables this layout if \fIenable\fR is TRUE, otherwise disables it. +Enables this layout if \fIenable\fR is true, otherwise disables it. .PP An enabled layout adjusts dynamically to changes; a disabled layout acts as if it did not exist. .PP @@ -345,15 +345,15 @@ Sets the resize mode of the layout. See the "resizeMode" property for details. .SH "void QLayout::setSpacing ( int )\fC [virtual]\fR" Sets the spacing between widgets inside the layout. See the "spacing" property for details. .SH "void QLayout::setSupportsMargin ( bool b )\fC [protected]\fR" -Sets the value returned by supportsMargin(). If \fIb\fR is TRUE, margin() handling is implemented by the subclass. If \fIb\fR is FALSE (the default), QLayout will add margin() around top-level layouts. +Sets the value returned by supportsMargin(). If \fIb\fR is true, margin() handling is implemented by the subclass. If \fIb\fR is false (the default), QLayout will add margin() around top-level layouts. .PP -If \fIb\fR is TRUE, margin handling needs to be implemented in setGeometry(), maximumSize(), minimumSize(), sizeHint() and heightForWidth(). +If \fIb\fR is true, margin handling needs to be implemented in setGeometry(), maximumSize(), minimumSize(), sizeHint() and heightForWidth(). .PP See also supportsMargin(). .SH "int QLayout::spacing () const" Returns the spacing between widgets inside the layout. See the "spacing" property for details. .SH "bool QLayout::supportsMargin () const" -Returns TRUE if this layout supports QLayout::margin on non-top-level layouts; otherwise returns FALSE. +Returns true if this layout supports QLayout::margin on non-top-level layouts; otherwise returns false. .PP See also margin. .SS "Property Documentation" |
