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/tqprogressbar.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/tqprogressbar.html') diff --git a/doc/html/tqprogressbar.html b/doc/html/tqprogressbar.html index 130b9e718..d33b2f120 100644 --- a/doc/html/tqprogressbar.html +++ b/doc/html/tqprogressbar.html @@ -116,13 +116,13 @@ call setProgress(50) after examining the last file.

See also totalSteps and progress.

bool TQProgressBar::centerIndicator () const -

Returns TRUE if the indicator string should be centered; otherwise returns FALSE. +

Returns true if the indicator string should be centered; otherwise returns false. See the "centerIndicator" property for details.

bool TQProgressBar::indicatorFollowsStyle () const -

Returns TRUE if the display of the indicator string should follow the GUI style; otherwise returns FALSE. +

Returns true if the display of the indicator string should follow the GUI style; otherwise returns false. See the "indicatorFollowsStyle" property for details.

bool TQProgressBar::percentageVisible () const -

Returns TRUE if the current progress value is displayed; otherwise returns FALSE. +

Returns true if the current progress value is displayed; otherwise returns false. See the "percentageVisible" property for details.

int TQProgressBar::progress () const

Returns the current amount of progress. @@ -150,7 +150,7 @@ blank in the reset state. The percentage is calculated based on the progress and totalSteps. You can set the indicator text if you wish.

To allow efficient repainting of the progress bar, this method -should return FALSE if the string is unchanged from the last call +should return false if the string is unchanged from the last call to this function.

void TQProgressBar::setIndicatorFollowsStyle ( bool ) @@ -179,18 +179,18 @@ See the "totalSteps" property f

bool centerIndicator

This property holds whether the indicator string should be centered.

Changing this property sets TQProgressBar::indicatorFollowsStyle -to FALSE. The default is TRUE. +to false. The default is true.

Set this property's value with setCenterIndicator() and get this property's value with centerIndicator().

bool indicatorFollowsStyle

This property holds whether the display of the indicator string should follow the GUI style. -

The default is TRUE. +

The default is true.

See also centerIndicator.

Set this property's value with setIndicatorFollowsStyle() and get this property's value with indicatorFollowsStyle().

bool percentageVisible

This property holds whether the current progress value is displayed. -

The default is TRUE. +

The default is true.

See also centerIndicator and indicatorFollowsStyle.

Set this property's value with setPercentageVisible() and get this property's value with percentageVisible(). -- cgit v1.2.3