summaryrefslogtreecommitdiffstats
path: root/cervisia/progressdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cervisia/progressdlg.cpp')
-rw-r--r--cervisia/progressdlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/progressdlg.cpp b/cervisia/progressdlg.cpp
index 674642f9..abf23d1a 100644
--- a/cervisia/progressdlg.cpp
+++ b/cervisia/progressdlg.cpp
@@ -20,7 +20,7 @@
#include "progressdlg.h"
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqtimer.h>
@@ -90,8 +90,8 @@ void ProgressDialog::setupGui(const TQString& heading)
TQHBoxLayout* hboxLayout = new TQHBoxLayout(headingBox);
TQLabel* textLabel = new TQLabel(heading, headingBox);
- textLabel->setMinimumWidth(textLabel->sizeHint().width());
- textLabel->setFixedHeight(textLabel->sizeHint().height());
+ textLabel->setMinimumWidth(textLabel->tqsizeHint().width());
+ textLabel->setFixedHeight(textLabel->tqsizeHint().height());
hboxLayout->addWidget(textLabel);
hboxLayout->addStretch();
@@ -104,7 +104,7 @@ void ProgressDialog::setupGui(const TQString& heading)
TQFontMetrics fm(d->resultbox->fontMetrics());
d->resultbox->setMinimumSize(fm.width("0")*70, fm.lineSpacing()*8);
- resize(sizeHint());
+ resize(tqsizeHint());
}