From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqsizepolicy.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'doc/html/tqsizepolicy.html') diff --git a/doc/html/tqsizepolicy.html b/doc/html/tqsizepolicy.html index 83cd2bc4f..89ac17269 100644 --- a/doc/html/tqsizepolicy.html +++ b/doc/html/tqsizepolicy.html @@ -40,8 +40,8 @@ and vertical resizing policy.
  • enum SizeType { Fixed = 0, Minimum = MayGrow, Maximum = MayShrink, Preferred = MayGrow | MayShrink, MinimumExpanding = MayGrow | ExpMask, Expanding = MayGrow | MayShrink | ExpMask, Ignored = ExpMask }
  • enum ExpandData { NoDirection = 0, Horizontally = 1, Vertically = 2, Horizontal = Horizontally, Vertical = Vertically, BothDirections = Horizontally | Vertically }
  • TQSizePolicy ()
  • -
  • TQSizePolicy ( SizeType hor, SizeType ver, bool hfw = FALSE )
  • -
  • TQSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE )
  • +
  • TQSizePolicy ( SizeType hor, SizeType ver, bool hfw = false )
  • +
  • TQSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = false )
  • SizeType horData () const
  • SizeType verData () const
  • bool mayShrinkHorizontally () const
  • @@ -135,7 +135,7 @@ much space as possible.

    Constructs a minimally initialized TQSizePolicy. -

    TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, bool hfw = FALSE ) +

    TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, bool hfw = false )

    @@ -145,18 +145,18 @@ subclass.

    It constructs a TQSizePolicy with independent horizontal and vertical sizing types, hor and ver respectively. These sizing types affect how the widget is treated by the layout engine. -

    If hfw is TRUE, the preferred height of the widget is dependent +

    If hfw is true, the preferred height of the widget is dependent on the width of the widget (for example, a TQLabel with line wrapping).

    See also horData(), verData(), and hasHeightForWidth(). -

    TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE ) +

    TQSizePolicy::TQSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = false )

    Constructs a TQSizePolicy with independent horizontal and vertical sizing types hor and ver, and stretch factors horStretch and verStretch. -

    If hfw is TRUE, the preferred height of the widget is dependent on the +

    If hfw is true, the preferred height of the widget is dependent on the width of the widget.

    See also horStretch() and verStretch(). @@ -172,8 +172,8 @@ it wants to grow in both dimensions.

    bool TQSizePolicy::hasHeightForWidth () const

    -

    Returns TRUE if the widget's preferred height depends on its -width; otherwise returns FALSE. +

    Returns true if the widget's preferred height depends on its +width; otherwise returns false.

    See also setHeightForWidth().

    SizeType TQSizePolicy::horData () const @@ -191,43 +191,43 @@ width; otherwise returns FALSE.

    bool TQSizePolicy::mayGrowHorizontally () const

    -

    Returns TRUE if the widget can sensibly be wider than its -sizeHint(); otherwise returns FALSE. +

    Returns true if the widget can sensibly be wider than its +sizeHint(); otherwise returns false.

    See also mayGrowVertically() and mayShrinkHorizontally().

    bool TQSizePolicy::mayGrowVertically () const

    -

    Returns TRUE if the widget can sensibly be taller than its -sizeHint(); otherwise returns FALSE. +

    Returns true if the widget can sensibly be taller than its +sizeHint(); otherwise returns false.

    See also mayGrowHorizontally() and mayShrinkVertically().

    bool TQSizePolicy::mayShrinkHorizontally () const

    -

    Returns TRUE if the widget can sensibly be narrower than its -sizeHint(); otherwise returns FALSE. +

    Returns true if the widget can sensibly be narrower than its +sizeHint(); otherwise returns false.

    See also mayShrinkVertically() and mayGrowHorizontally().

    bool TQSizePolicy::mayShrinkVertically () const

    -

    Returns TRUE if the widget can sensibly be shorter than its -sizeHint(); otherwise returns FALSE. +

    Returns true if the widget can sensibly be shorter than its +sizeHint(); otherwise returns false.

    See also mayShrinkHorizontally() and mayGrowVertically().

    bool TQSizePolicy::operator!= ( const TQSizePolicy & s ) const

    -

    Returns TRUE if this policy is different from s; otherwise -returns FALSE. +

    Returns true if this policy is different from s; otherwise +returns false.

    See also operator==().

    bool TQSizePolicy::operator== ( const TQSizePolicy & s ) const

    -

    Returns TRUE if this policy is equal to s; otherwise returns -FALSE. +

    Returns true if this policy is equal to s; otherwise returns +false.

    See also operator!=().

    void TQSizePolicy::setHeightForWidth ( bool b ) -- cgit v1.2.3