summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/ProgressDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/ProgressDialog.cpp')
-rw-r--r--src/gui/widgets/ProgressDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/ProgressDialog.cpp b/src/gui/widgets/ProgressDialog.cpp
index e8ff6ee..7cef518 100644
--- a/src/gui/widgets/ProgressDialog.cpp
+++ b/src/gui/widgets/ProgressDialog.cpp
@@ -130,8 +130,8 @@ ProgressDialog::slotSetOperationName(TQString name)
setLabel(name);
// Little trick stolen from TQProgressDialog
// increase resize only, never shrink
- int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() );
- int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() );
+ int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() );
+ int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() );
resize( w, h );
}
@@ -199,7 +199,7 @@ void ProgressDialog::processEvents()
// RG_DEBUG << "ProgressDialog::processEvents: modalVisible is "
// << m_modalVisible << endl;
if (m_modalVisible) {
- kapp->tqprocessEvents(50);
+ kapp->processEvents(50);
} else {
rgapp->refreshGUI(50);
}