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/tqprogressdialog.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'doc/html/tqprogressdialog.html') diff --git a/doc/html/tqprogressdialog.html b/doc/html/tqprogressdialog.html index 54125a361..92e2d0390 100644 --- a/doc/html/tqprogressdialog.html +++ b/doc/html/tqprogressdialog.html @@ -37,8 +37,8 @@ body { background: #ffffff; color: black; }

List of all member functions.

Public Members

The creator argument is the widget to use as the dialog's parent. The name, modal, and the widget flags, f, are -passed to the TQDialog::TQDialog() constructor. If modal is FALSE (the +passed to the TQDialog::TQDialog() constructor. If modal is false (the default), you must have an event loop proceeding for any redrawing -of the dialog to occur. If modal is TRUE, the dialog ensures that +of the dialog to occur. If modal is true, the dialog ensures that events are processed when needed.

See also labelText, setLabel(), setCancelButtonText(), setCancelButton(), and totalSteps. -

TQProgressDialog::TQProgressDialog ( const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 ) +

TQProgressDialog::TQProgressDialog ( const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator = 0, const char * name = 0, bool modal = false, WFlags f = 0 )

Constructs a progress dialog.

The labelText is text used to remind the user what is progressing. @@ -209,9 +209,9 @@ processed call setProgress(1), setProgress(2), etc., finally calling setProgress(50) after examining the last file.

The creator argument is the widget to use as the dialog's parent. The name, modal, and widget flags, f, are passed to the -TQDialog::TQDialog() constructor. If modal is FALSE (the default), +TQDialog::TQDialog() constructor. If modal is false (the default), you will must have an event loop proceeding for any redrawing of -the dialog to occur. If modal is TRUE, the dialog ensures that +the dialog to occur. If modal is true, the dialog ensures that events are processed when needed.

See also labelText, setLabel(), setCancelButtonText(), setCancelButton(), and totalSteps. @@ -220,14 +220,14 @@ events are processed when needed. Destroys the progress dialog.

bool TQProgressDialog::autoClose () const -

Returns TRUE if the dialog gets hidden by reset(); otherwise returns FALSE. +

Returns true if the dialog gets hidden by reset(); otherwise returns false. See the "autoClose" property for details.

bool TQProgressDialog::autoReset () const -

Returns TRUE if the progress dialog calls reset() as soon as progress() equals totalSteps(); otherwise returns FALSE. +

Returns true if the progress dialog calls reset() as soon as progress() equals totalSteps(); otherwise returns false. See the "autoReset" property for details.

void TQProgressDialog::cancel () [slot]

-Resets the progress dialog. wasCanceled() becomes TRUE until +Resets the progress dialog. wasCanceled() becomes true until the progress dialog is reset. The progress dialog becomes hidden. @@ -263,7 +263,7 @@ See the "progress" property fo

void TQProgressDialog::reset () [slot]

Resets the progress dialog. -The progress dialog becomes hidden if autoClose() is TRUE. +The progress dialog becomes hidden if autoClose() is true.

See also autoClose and autoReset.

Example: network/ftpclient/ftpmainwindow.ui.h. @@ -330,21 +330,21 @@ need to call this yourself.

Returns the total number of steps. See the "totalSteps" property for details.

bool TQProgressDialog::wasCanceled () const -

Returns TRUE if the dialog was canceled; otherwise returns FALSE. +

Returns true if the dialog was canceled; otherwise returns false. See the "wasCanceled" property for details.

bool TQProgressDialog::wasCancelled () const -

Returns TRUE if the dialog was canceled; otherwise returns FALSE. +

Returns true if the dialog was canceled; otherwise returns false. See the "wasCancelled" property for details.


Property Documentation

bool autoClose

This property holds whether the dialog gets hidden by reset(). -

The default is TRUE. +

The default is true.

See also autoReset.

Set this property's value with setAutoClose() and get this property's value with autoClose().

bool autoReset

This property holds whether the progress dialog calls reset() as soon as progress() equals totalSteps(). -

The default is TRUE. +

The default is true.

See also autoClose.

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