summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/projectview/koprojectview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/projectview/koprojectview.cpp')
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 6c45ff424..d5abb1f42 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -107,8 +107,8 @@ KOProjectView::KOProjectView(Calendar *calendar,TQWidget* parent,
void KOProjectView::createMainTask()
{
mMainTask = new KGanttItem(0,i18n("main task"),
- TQDateTime::currentDateTime(),
- TQDateTime::currentDateTime());
+ TQDateTime::tqcurrentDateTime(),
+ TQDateTime::tqcurrentDateTime());
mMainTask->setMode(KGanttItem::Rubberband);
mMainTask->setStyle(KGanttItem::DrawBorder | KGanttItem::DrawText |
KGanttItem::DrawHandle);
@@ -154,8 +154,8 @@ void KOProjectView::updateView()
#if 0
KGanttItem* t1 = new KGanttItem(mGantt->getMainTask(), "task 1, no subtasks",
- TQDateTime::currentDateTime().addDays(10),
- TQDateTime::currentDateTime().addDays(20) );
+ TQDateTime::tqcurrentDateTime().addDays(10),
+ TQDateTime::tqcurrentDateTime().addDays(20) );
KGanttItem* t2 = new KGanttItem(mGantt->getMainTask(), "task 2, subtasks, no rubberband",
TQDateTime(TQDate(2000,10,1)),
@@ -188,7 +188,7 @@ void KOProjectView::updateView()
mTodoMap.clear();
Todo::List::ConstIterator it;
for( it = todoList.begin(); it != todoList.end(); ++it ) {
- if ( !mTodoMap.contains( *it ) ) {
+ if ( !mTodoMap.tqcontains( *it ) ) {
insertTodoItem( *it );
}
}
@@ -224,14 +224,14 @@ KGanttItem *KOProjectView::createTask(KGanttItem *parent,Todo *todo)
if (todo->hasStartDate() && !todo->hasDueDate()) {
// start date but no due date
startDt = todo->dtStart();
- endDt = TQDateTime::currentDateTime();
+ endDt = TQDateTime::tqcurrentDateTime();
} else if (!todo->hasStartDate() && todo->hasDueDate()) {
// due date but no start date
startDt = todo->dtDue();
endDt = todo->dtDue();
} else if (!todo->hasStartDate() || !todo->hasDueDate()) {
- startDt = TQDateTime::currentDateTime();
- endDt = TQDateTime::currentDateTime();
+ startDt = TQDateTime::tqcurrentDateTime();
+ endDt = TQDateTime::tqcurrentDateTime();
} else {
startDt = todo->dtStart();
endDt = todo->dtDue();