summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/dateedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/dateedit.cpp')
-rw-r--r--lib/koproperty/editors/dateedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/koproperty/editors/dateedit.cpp b/lib/koproperty/editors/dateedit.cpp
index d6e5c751..0df8532a 100644
--- a/lib/koproperty/editors/dateedit.cpp
+++ b/lib/koproperty/editors/dateedit.cpp
@@ -23,7 +23,7 @@
#include <tqdatetimeedit.h>
#include <tqrangecontrol.h>
#include <tqobjectlist.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvariant.h>
#include <tqpainter.h>
@@ -37,7 +37,7 @@ DateEdit::DateEdit(Property *property, TQWidget *parent, const char *name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQDateEdit(this);
- m_edit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ m_edit->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
m_edit->setMinimumHeight(5);
l->addWidget(m_edit);