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