summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotodoeditor.cpp')
-rw-r--r--korganizer/kotodoeditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp
index 9640e1b7..c3eee2ee 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -27,7 +27,7 @@
#include <tqtooltip.h>
#include <tqframe.h>
#include <tqpixmap.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqdatetime.h>
#include <kiconloader.h>
@@ -128,7 +128,7 @@ void KOTodoEditor::setupGeneral()
mGeneral->initHeader( topFrame, topLayout );
mGeneral->initTime(topFrame,topLayout);
- mGeneral->iniStatus(topFrame,topLayout);
+ mGeneral->initqStatus(topFrame,topLayout);
mGeneral->initDescription(topFrame,topLayout);
mGeneral->initAttachments(topFrame,topLayout);
connect( mGeneral, TQT_SIGNAL( openURL( const KURL& ) ),
@@ -185,7 +185,7 @@ void KOTodoEditor::setTexts( const TQString &summary, const TQString &descriptio
void KOTodoEditor::loadDefaults()
{
kdDebug(5850) << k_funcinfo << endl;
- setDates( TQDateTime::currentDateTime().addDays( 7 ), true, 0 );
+ setDates( TQDateTime::tqcurrentDateTime().addDays( 7 ), true, 0 );
mGeneral->toggleAlarm( KOPrefs::instance()->defaultTodoReminders() );
}
@@ -271,7 +271,7 @@ void KOTodoEditor::setDates( const TQDateTime &due, bool allDay, Todo *relatedEv
if ( mTodo ) {
mRecurrence->setDefaults( mTodo->dtStart(), due, false );
} else {
- mRecurrence->setDefaults( TQDateTime::currentDateTime(), due, false );
+ mRecurrence->setDefaults( TQDateTime::tqcurrentDateTime(), due, false );
}
}