diff options
Diffstat (limited to 'src/dialogs/qprogressdialog.cpp')
-rw-r--r-- | src/dialogs/qprogressdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dialogs/qprogressdialog.cpp b/src/dialogs/qprogressdialog.cpp index d0320af69..f7d1e1c5a 100644 --- a/src/dialogs/qprogressdialog.cpp +++ b/src/dialogs/qprogressdialog.cpp @@ -40,7 +40,7 @@ #include "ntqprogressdialog.h" -#ifndef QT_NO_PROGRESSDIALOG +#ifndef TQT_NO_PROGRESSDIALOG #include "ntqaccel.h" #include "ntqpainter.h" @@ -89,7 +89,7 @@ public: bool shown_once; bool cancellation_flag; TQTime starttime; -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQCursor parentCursor; #endif int showTime; @@ -298,7 +298,7 @@ TQProgressDialog::TQProgressDialog( const TQString &labelText, TQProgressDialog::~TQProgressDialog() { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR if ( d->creator ) d->creator->setCursor( d->parentCursor ); #endif @@ -411,7 +411,7 @@ void TQProgressDialog::setCancelButton( TQPushButton *cancelButton ) cancelButton->reparent( this, 0, TQPoint(0,0), FALSE ); } connect( d->cancel, SIGNAL(clicked()), this, SIGNAL(canceled()) ); -#ifndef QT_NO_ACCEL +#ifndef TQT_NO_ACCEL TQAccel *accel = new TQAccel( this ); accel->connectItem( accel->insertItem(Key_Escape), d->cancel, SIGNAL(clicked()) ); @@ -519,7 +519,7 @@ void TQProgressDialog::setTotalSteps( int totalSteps ) void TQProgressDialog::reset() { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR if ( progress() >= 0 ) { if ( d->creator ) d->creator->setCursor( d->parentCursor ); @@ -583,7 +583,7 @@ void TQProgressDialog::setProgress( int progress ) tqApp->processEvents(); } else { if ( progress == 0 ) { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR if ( d->creator ) { d->parentCursor = d->creator->cursor(); d->creator->setCursor( waitCursor ); |