diff options
Diffstat (limited to 'src/gui/widgets/ProgressDialog.cpp')
-rw-r--r-- | src/gui/widgets/ProgressDialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/ProgressDialog.cpp b/src/gui/widgets/ProgressDialog.cpp index 715e9ae..e8ff6ee 100644 --- a/src/gui/widgets/ProgressDialog.cpp +++ b/src/gui/widgets/ProgressDialog.cpp @@ -45,7 +45,7 @@ ProgressDialog::ProgressDialog(TQWidget *creator, const char *name, bool modal): KProgressDialog(creator, name, - i18n("Processing..."), TQString::null, modal), + i18n("Processing..."), TQString(), modal), m_wasVisible(false), m_frozen(false), m_modal(modal) @@ -107,9 +107,9 @@ ProgressDialog::polish() KProgressDialog::polish(); if (allowCancel()) - setCursor(Qt::ArrowCursor); + setCursor(TQt::ArrowCursor); else - TQApplication::setOverrideCursor(TQCursor(Qt::waitCursor)); + TQApplication::setOverrideCursor(TQCursor(TQt::waitCursor)); } void ProgressDialog::hideEvent(TQHideEvent* e) @@ -128,10 +128,10 @@ ProgressDialog::slotSetOperationName(TQString name) // << name << ") visible : " << isVisible() << endl; setLabel(name); - // Little trick stolen from QProgressDialog + // Little trick stolen from TQProgressDialog // increase resize only, never shrink - int w = QMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = QMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); } @@ -199,7 +199,7 @@ void ProgressDialog::processEvents() // RG_DEBUG << "ProgressDialog::processEvents: modalVisible is " // << m_modalVisible << endl; if (m_modalVisible) { - kapp->processEvents(50); + kapp->tqprocessEvents(50); } else { rgapp->refreshGUI(50); } |