summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/pfontcombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/pfontcombo.cpp')
-rw-r--r--lib/widgets/propeditor/pfontcombo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/pfontcombo.cpp b/lib/widgets/propeditor/pfontcombo.cpp
index 51b44e8c..2e5a5da3 100644
--- a/lib/widgets/propeditor/pfontcombo.cpp
+++ b/lib/widgets/propeditor/pfontcombo.cpp
@@ -25,7 +25,7 @@
#include <tqcombobox.h>
#endif
-#include <tqlayout.h>
+#include <layout.h>
#ifdef PURE_QT
#include <tqfontdatabase.h>
@@ -38,7 +38,7 @@ PFontCombo::PFontCombo(MultiProperty *property, TQWidget *parent, const char *na
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new KFontCombo(this);
- m_edit->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ m_edit->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
l->addWidget(m_edit);
/*adymo: KFontCombo seems to have a bug: when it is not editable, the signals