summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskdefaultpanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskdefaultpanel.cc')
-rw-r--r--kplato/kpttaskdefaultpanel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kpttaskdefaultpanel.cc b/kplato/kpttaskdefaultpanel.cc
index 5d5c779a..3fd5472b 100644
--- a/kplato/kpttaskdefaultpanel.cc
+++ b/kplato/kpttaskdefaultpanel.cc
@@ -38,7 +38,7 @@
#include <kabc/addresseedialog.h>
#include <kdatewidget.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqdatetime.h>
#include <tqdatetimeedit.h>
@@ -81,7 +81,7 @@ void TaskDefaultPanel::setStartValues(Task &task, StandardWorktime *workTime) {
if (task.constraintStartTime().isValid()) {
setStartDateTime(task.constraintStartTime());
} else {
- TQDate date = TQDate::currentDate();
+ TQDate date = TQDate::tqcurrentDate();
setStartDateTime(TQDateTime(date, TQTime()));
}
if (task.constraintEndTime().isValid()) {