summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoeditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/kotodoeditor.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 );
}
}