From 1450fdc10ca35a40b47054f418ff25b1ebba6503 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 29 May 2025 13:40:11 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- qtjava/javalib/examples/textedit/example.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtjava/javalib/examples/textedit/example.html') diff --git a/qtjava/javalib/examples/textedit/example.html b/qtjava/javalib/examples/textedit/example.html index 3b803cba..f01cc597 100644 --- a/qtjava/javalib/examples/textedit/example.html +++ b/qtjava/javalib/examples/textedit/example.html @@ -138,7 +138,7 @@ constructor.

See also setAlignment().

bool TQLabel::autoResize () const

This function is obsolete. It is provided to keep old source working, and will probably be removed in a future version of Qt. We strongly advise against using it in new code.

-

Returns TRUE if auto-resizing is enabled, or FALSE if auto-resizing +

Returns true if auto-resizing is enabled, or false if auto-resizing is disabled.

Auto-resizing is disabled by default.

See also setAutoResize(). @@ -187,7 +187,7 @@ returns 0.

The alignment must be a bitwise OR of TQt::AlignmentFlags values. The WordBreak, ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains a plain text, and are otherwise ignored. The DontClip flag is always ignored. -

If the label has a buddy, the ShowPrefix flag is forced to TRUE. +

If the label has a buddy, the ShowPrefix flag is forced to true.

The default alignment is AlignLeft | AlignVCenter | ExpandTabs if the label doesn't have a buddy and AlignLeft | AlignVCenter | ExpandTabs | ShowPrefix if @@ -204,7 +204,7 @@ the label has a buddy.

Reimplemented from TQWidget.

void TQLabel::setAutoResize ( bool enable ) [virtual]

This function is obsolete. It is provided to keep old source working, and will probably be removed in a future version of Qt. We strongly advise against using it in new code.

-Enables auto-resizing if enable is TRUE, or disables it if enable is FALSE. +Enables auto-resizing if enable is true, or disables it if enable is false.

When auto-resizing is enabled, the label will resize itself to fit the contents whenever the contents change. The top left corner is not moved. This is useful for TQLabel widgets that are not managed by @@ -279,7 +279,7 @@ the label. Any previous content is cleared.

The label resizes itself if auto-resizing is enabled.

See also pixmap() and setBuddy().

void TQLabel::setScaledContents ( bool enable )

-

When called with enable == TRUE, and the label shows a pixmap, +

When called with enable == true, and the label shows a pixmap, it will scale the pixmap to fill available space.

See also hasScaledContents().

void TQLabel::setText ( const TQString & text ) [virtual slot]

-- cgit v1.2.3