summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskgeneralpanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskgeneralpanel.cc')
-rw-r--r--kplato/kpttaskgeneralpanel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kpttaskgeneralpanel.cc b/kplato/kpttaskgeneralpanel.cc
index c40554de..6dd1dad2 100644
--- a/kplato/kpttaskgeneralpanel.cc
+++ b/kplato/kpttaskgeneralpanel.cc
@@ -39,7 +39,7 @@
#include <kabc/addresseedialog.h>
#include <kdatewidget.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqdatetime.h>
#include <tqdatetimeedit.h>
@@ -93,7 +93,7 @@ void TaskGeneralPanel::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()) {