summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp12
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