summaryrefslogtreecommitdiffstats
path: root/kio/kio/passdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/passdlg.cpp')
-rw-r--r--kio/kio/passdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/passdlg.cpp b/kio/kio/passdlg.cpp
index dc72d3a1d..a71f7881f 100644
--- a/kio/kio/passdlg.cpp
+++ b/kio/kio/passdlg.cpp
@@ -22,9 +22,9 @@
#include <tqcheckbox.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqsimplerichtext.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <kcombobox.h>
#include <kconfig.h>
@@ -198,7 +198,7 @@ static void calculateLabelSize(TQLabel *label)
// Calculate a proper size for the text.
{
TQSimpleRichText rt(qt_text, label->font());
- TQRect d = KGlobalSettings::desktopGeometry(label->topLevelWidget());
+ TQRect d = KGlobalSettings::desktopGeometry(label->tqtopLevelWidget());
pref_width = d.width() / 4;
rt.setWidth(pref_width-10);