diff options
Diffstat (limited to 'doc/man/man3/tqprogressdialog.3qt')
-rw-r--r-- | doc/man/man3/tqprogressdialog.3qt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index f1ee4a73f..3bfd25acf 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -16,10 +16,10 @@ Inherits QDialog. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQProgressDialog\fR ( QWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.BI "\fBQProgressDialog\fR ( TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" .br .ti -1c -.BI "\fBQProgressDialog\fR ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.BI "\fBQProgressDialog\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~QProgressDialog\fR ()" @@ -49,7 +49,7 @@ Inherits QDialog. .BI "virtual QSize \fBsizeHint\fR () const" .br .ti -1c -.BI "QString \fBlabelText\fR () const" +.BI "TQString \fBlabelText\fR () const" .br .ti -1c .BI "void \fBsetAutoReset\fR ( bool b )" @@ -85,10 +85,10 @@ Inherits QDialog. .BI "void \fBsetProgress\fR ( int progress, int totalSteps )" .br .ti -1c -.BI "void \fBsetLabelText\fR ( const QString & )" +.BI "void \fBsetLabelText\fR ( const TQString & )" .br .ti -1c -.BI "void \fBsetCancelButtonText\fR ( const QString & cancelButtonText )" +.BI "void \fBsetCancelButtonText\fR ( const TQString & cancelButtonText )" .br .ti -1c .BI "void \fBsetMinimumDuration\fR ( int ms )" @@ -112,7 +112,7 @@ Inherits QDialog. .BI "bool \fBautoReset\fR - whether the progress dialog calls reset() as soon as progress() equals totalSteps()" .br .ti -1c -.BI "QString \fBlabelText\fR - the label's text" +.BI "TQString \fBlabelText\fR - the label's text" .br .ti -1c .BI "int \fBminimumDuration\fR - the time that must pass before the dialog appears" @@ -175,15 +175,15 @@ for ( int i = 0; i < numFiles; i++ ) { progress.setProgress( numFiles ); .fi .PP -A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the application. Such operations are typically based on QTimer (or QObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. +A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the application. Such operations are typically based on QTimer (or TQObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. .PP You need to have an event loop to be running, connect the canceled() signal to a slot that stops the operation, and call setProgress() at intervals. For example: .PP .nf .br -Operation::Operation( QObject *parent = 0 ) +Operation::Operation( TQObject *parent = 0 ) .br - : QObject( parent ), steps( 0 ) + : TQObject( parent ), steps( 0 ) .br { .br @@ -239,7 +239,7 @@ In both modes the progress dialog may be customized by replacing the child widge .PP See also QDialog, QProgressBar, GUI Design Handbook: Progress Indicator, and Dialog Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QProgressDialog::QProgressDialog ( QWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.SH "QProgressDialog::QProgressDialog ( TQWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" Constructs a progress dialog. .PP Default settings: @@ -253,7 +253,7 @@ The total number of steps is 100. 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 QDialog::QDialog() 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 "QProgressDialog::QProgressDialog ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )" +.SH "QProgressDialog::QProgressDialog ( 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. @@ -288,7 +288,7 @@ Examples: Shows the dialog if it is still hidden after the algorithm has been started and minimumDuration milliseconds have passed. .PP See also minimumDuration. -.SH "QString QProgressDialog::labelText () const" +.SH "TQString QProgressDialog::labelText () const" Returns the label's text. See the "labelText" property for details. .SH "int QProgressDialog::minimumDuration () const" Returns the time that must pass before the dialog appears. See the "minimumDuration" property for details. @@ -310,7 +310,7 @@ Sets the progress bar widget to \fIbar\fR. The progress dialog resizes to fit. T Sets the cancel button to the push button, \fIcancelButton\fR. The progress dialog takes ownership of this button which will be deleted when necessary, so do not pass the address of an object that is on the stack, i.e. use new() to create the button. .PP See also setCancelButtonText(). -.SH "void QProgressDialog::setCancelButtonText ( const QString & cancelButtonText )\fC [slot]\fR" +.SH "void QProgressDialog::setCancelButtonText ( const TQString & cancelButtonText )\fC [slot]\fR" Sets the cancel button's text to \fIcancelButtonText\fR. .PP See also setCancelButton(). @@ -320,7 +320,7 @@ Sets the label to \fIlabel\fR. The progress dialog resizes to fit. The label bec See also labelText. .PP Example: progress/progress.cpp. -.SH "void QProgressDialog::setLabelText ( const QString & )\fC [slot]\fR" +.SH "void QProgressDialog::setLabelText ( const TQString & )\fC [slot]\fR" Sets the label's text. See the "labelText" property for details. .SH "void QProgressDialog::setMinimumDuration ( int ms )\fC [slot]\fR" Sets the time that must pass before the dialog appears to \fIms\fR. See the "minimumDuration" property for details. @@ -359,10 +359,10 @@ The default is TRUE. See also autoClose. .PP Set this property's value with setAutoReset() and get this property's value with autoReset(). -.SH "QString labelText" +.SH "TQString labelText" This property holds the label's text. .PP -The default text is QString::null. +The default text is TQString::null. .PP Set this property's value with setLabelText() and get this property's value with labelText(). .SH "int minimumDuration" |