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