diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqprogressdialog.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqprogressdialog.3qt')
-rw-r--r-- | doc/man/man3/tqprogressdialog.3qt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index aa1125a0b..d059f6246 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -16,10 +16,10 @@ Inherits TQDialog. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQProgressDialog\fR ( TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.BI "\fBTQProgressDialog\fR ( TQWidget * creator = 0, const char * name = 0, bool modal = false, WFlags f = 0 )" .br .ti -1c -.BI "\fBTQProgressDialog\fR ( const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.BI "\fBTQProgressDialog\fR ( const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator = 0, const char * name = 0, bool modal = false, WFlags f = 0 )" .br .ti -1c .BI "\fB~TQProgressDialog\fR ()" @@ -155,7 +155,7 @@ Using a modal TQProgressDialog is simpler for the programmer, but you must call .br TQProgressDialog progress( "Copying files...", "Abort Copy", numFiles, .br - this, "progress", TRUE ); + this, "progress", true ); .br for ( int i = 0; i < numFiles; i++ ) { .br @@ -239,7 +239,7 @@ In both modes the progress dialog may be customized by replacing the child widge .PP See also TQDialog, TQProgressBar, GUI Design Handbook: Progress Indicator, and Dialog Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQProgressDialog::TQProgressDialog ( TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.SH "TQProgressDialog::TQProgressDialog ( TQWidget * creator = 0, const char * name = 0, bool modal = false, WFlags f = 0 )" Constructs a progress dialog. .PP Default settings: @@ -250,10 +250,10 @@ The cancel button text is (translated) "Cancel". .TP The total number of steps is 100. .PP -The \fIcreator\fR argument is the widget to use as the dialog's parent. The \fIname\fR, \fImodal\fR, and the widget flags, \fIf\fR, are passed to the TQDialog::TQDialog() constructor. If \fImodal\fR is FALSE (the default), you must have an event loop proceeding for any redrawing of the dialog to occur. If \fImodal\fR is TRUE, the dialog ensures that events are processed when needed. +The \fIcreator\fR argument is the widget to use as the dialog's parent. The \fIname\fR, \fImodal\fR, and the widget flags, \fIf\fR, are passed to the TQDialog::TQDialog() constructor. If \fImodal\fR is false (the default), you must have an event loop proceeding for any redrawing of the dialog to occur. If \fImodal\fR is true, the dialog ensures that events are processed when needed. .PP See also labelText, setLabel(), setCancelButtonText(), setCancelButton(), and totalSteps. -.SH "TQProgressDialog::TQProgressDialog ( const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.SH "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. .PP The \fIlabelText\fR is text used to remind the user what is progressing. @@ -262,17 +262,17 @@ The \fIcancelButtonText\fR is the text to display on the cancel button, or 0 if .PP The \fItotalSteps\fR is the total number of steps in the operation for which this progress dialog shows progress. For example, if the operation is to examine 50 files, this value would be 50. Before examining the first file, call setProgress(0). As each file is processed call setProgress(1), setProgress(2), etc., finally calling setProgress(50) after examining the last file. .PP -The \fIcreator\fR argument is the widget to use as the dialog's parent. The \fIname\fR, \fImodal\fR, and widget flags, \fIf\fR, are passed to the TQDialog::TQDialog() constructor. If \fImodal\fR is FALSE (the default), you will must have an event loop proceeding for any redrawing of the dialog to occur. If \fImodal\fR is TRUE, the dialog ensures that events are processed when needed. +The \fIcreator\fR argument is the widget to use as the dialog's parent. The \fIname\fR, \fImodal\fR, and widget flags, \fIf\fR, are passed to the TQDialog::TQDialog() constructor. If \fImodal\fR is false (the default), you will must have an event loop proceeding for any redrawing of the dialog to occur. If \fImodal\fR is true, the dialog ensures that events are processed when needed. .PP See also labelText, setLabel(), setCancelButtonText(), setCancelButton(), and totalSteps. .SH "TQProgressDialog::~TQProgressDialog ()" Destroys the progress dialog. .SH "bool TQProgressDialog::autoClose () const" -Returns TRUE if the dialog gets hidden by reset(); otherwise returns FALSE. See the "autoClose" property for details. +Returns true if the dialog gets hidden by reset(); otherwise returns false. See the "autoClose" property for details. .SH "bool TQProgressDialog::autoReset () const" -Returns TRUE if the progress dialog calls reset() as soon as progress() equals totalSteps(); otherwise returns FALSE. See the "autoReset" property for details. +Returns true if the progress dialog calls reset() as soon as progress() equals totalSteps(); otherwise returns false. See the "autoReset" property for details. .SH "void TQProgressDialog::cancel ()\fC [slot]\fR" -Resets the progress dialog. wasCanceled() becomes TRUE until the progress dialog is reset. The progress dialog becomes hidden. +Resets the progress dialog. wasCanceled() becomes true until the progress dialog is reset. The progress dialog becomes hidden. .SH "void TQProgressDialog::canceled ()\fC [signal]\fR" This signal is emitted when the cancel button is clicked. It is connected to the cancel() slot by default. .PP @@ -295,7 +295,7 @@ Returns the time that must pass before the dialog appears. See the "minimumDurat .SH "int TQProgressDialog::progress () const" Returns the current amount of progress made. See the "progress" property for details. .SH "void TQProgressDialog::reset ()\fC [slot]\fR" -Resets the progress dialog. The progress dialog becomes hidden if autoClose() is TRUE. +Resets the progress dialog. The progress dialog becomes hidden if autoClose() is true. .PP See also autoClose and autoReset. .PP @@ -339,14 +339,14 @@ Returns a size that fits the contents of the progress dialog. The progress dialo .SH "int TQProgressDialog::totalSteps () const" Returns the total number of steps. See the "totalSteps" property for details. .SH "bool TQProgressDialog::wasCanceled () const" -Returns TRUE if the dialog was canceled; otherwise returns FALSE. See the "wasCanceled" property for details. +Returns true if the dialog was canceled; otherwise returns false. See the "wasCanceled" property for details. .SH "bool TQProgressDialog::wasCancelled () const" -Returns TRUE if the dialog was canceled; otherwise returns FALSE. See the "wasCancelled" property for details. +Returns true if the dialog was canceled; otherwise returns false. See the "wasCancelled" property for details. .SS "Property Documentation" .SH "bool autoClose" This property holds whether the dialog gets hidden by reset(). .PP -The default is TRUE. +The default is true. .PP See also autoReset. .PP @@ -354,7 +354,7 @@ Set this property's value with setAutoClose() and get this property's value with .SH "bool autoReset" This property holds whether the progress dialog calls reset() as soon as progress() equals totalSteps(). .PP -The default is TRUE. +The default is true. .PP See also autoClose. .PP |