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 9d273b3a0..180ff1394 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -128,7 +128,7 @@ void KOTodoEditor::setupGeneral()
mGeneral->initHeader( topFrame, topLayout );
mGeneral->initTime(topFrame,topLayout);
- mGeneral->initStatus(topFrame,topLayout);
+ mGeneral->iniStatus(topFrame,topLayout);
mGeneral->initDescription(topFrame,topLayout);
mGeneral->initAttachments(topFrame,topLayout);
connect( mGeneral, TQT_SIGNAL( openURL( const KURL& ) ),
@@ -172,7 +172,7 @@ void KOTodoEditor::newTodo()
void KOTodoEditor::setTexts( const TQString &summary, const TQString &description )
{
- if ( description.isEmpty() && summary.contains("\n") ) {
+ if ( description.isEmpty() && summary.tqcontains("\n") ) {
mGeneral->setDescription( summary );
int pos = summary.find( "\n" );
mGeneral->setSummary( summary.left( pos ) );
@@ -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 );
}
}