summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/pdateedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/pdateedit.cpp')
-rw-r--r--lib/widgets/propeditor/pdateedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/pdateedit.cpp b/lib/widgets/propeditor/pdateedit.cpp
index ef96e430..64bbde18 100644
--- a/lib/widgets/propeditor/pdateedit.cpp
+++ b/lib/widgets/propeditor/pdateedit.cpp
@@ -21,7 +21,7 @@
#include <tqdatetimeedit.h>
#include <tqpainter.h>
-#include <layout.h>
+#include <tqlayout.h>
namespace PropertyLib{
@@ -30,7 +30,7 @@ PDateEdit::PDateEdit(MultiProperty* property, TQWidget* parent, const char* name
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
m_edit = new TQDateEdit(this);
- m_edit->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ m_edit->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
l->addWidget(m_edit);
connect(m_edit, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(updateProperty(const TQDate&)));