diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:13:27 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-10 12:13:27 -0500 |
commit | d296f1d337dabfeae5191955fdadb874965dbbe9 (patch) | |
tree | 1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp | |
parent | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff) | |
download | experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip |
rename the following methods:
tqparent parent
tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp')
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp b/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp index 74bf69f..6e5da3f 100644 --- a/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp +++ b/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 |