diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp b/experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp index 74bf69fe9..6e5da3f60 100644 --- a/experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp +++ b/experimental/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp @@ -68,10 +68,10 @@ static const int spacing = 4; class TQProgressDialogData { public: - TQProgressDialogData( TQProgressDialog* that, TQWidget* tqparent, + TQProgressDialogData( TQProgressDialog* that, TQWidget* parent, const TQString& labelText, int totalSteps ) : - creator( tqparent ), + creator( parent ), label( new TQLabel(labelText,that,"label") ), cancel( 0 ), bar( new TQProgressBar(totalSteps,that,"bar") ), @@ -163,8 +163,8 @@ progress.setProgress( numFiles ); canceled() signal to a slot that stops the operation, and call \l setProgress() at intervals. For example: \code -Operation::Operation( TQObject *tqparent = 0 ) - : TQObject( tqparent ), steps( 0 ) +Operation::Operation( TQObject *parent = 0 ) + : TQObject( parent ), steps( 0 ) { pd = new TQProgressDialog( "Operation in progress.", "Cancel", 100 ); connect( pd, TQT_SIGNAL(canceled()), this, TQT_SLOT(cancel()) ); @@ -236,7 +236,7 @@ TQProgressBar *TQProgressDialog::bar() const \i The total number of steps is 100. \endlist - The \a creator argument is the widget to use as the dialog's tqparent. + The \a creator argument is the widget to use as the dialog's parent. The \a name, \a modal, and the widget flags, \a f, are passed to the TQDialog::TQDialog() constructor. If \a modal is FALSE (the default), you must have an event loop proceeding for any redrawing @@ -269,7 +269,7 @@ TQProgressDialog::TQProgressDialog( TQWidget *creator, const char *name, processed call setProgress(1), setProgress(2), etc., finally calling setProgress(50) after examining the last file. - The \a creator argument is the widget to use as the dialog's tqparent. + The \a creator argument is the widget to use as the dialog's parent. The \a name, \a modal, and widget flags, \a f, are passed to the TQDialog::TQDialog() constructor. If \a modal is FALSE (the default), you will must have an event loop proceeding for any redrawing of |