-rw-r--r-- | libkcal/todo.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index c008fe1..8794f7a 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -78,24 +78,37 @@ void Todo::setRunning( bool run ) void Todo::saveRunningInfoToFile() { qDebug("Todo::saveRunningInfoToFile() %s", summary().latin1()); QString dir = KGlobalSettings::timeTrackerDir(); qDebug("%s ", dir.latin1()); QString file = "%1-%2-%3-%4-%5-%6-%7.tt"; file = file.arg( mRunStart.date().year(), 4).arg( mRunStart.date().month(),2 ).arg( mRunStart.date().day(), 2 ).arg( mRunStart.time().hour(),2 ).arg( mRunStart.time().minute(),2 ).arg( mRunStart.time().second(),2 ).arg( mRunStart.time().msec(), 3 ); file.replace ( QRegExp (" "), "0" ); file = dir +"/" +file; qDebug("%s ", file.latin1()); + QStringList dataList; + + //Summary + //Category + //CategoryColor + //StartRuntime + //Runtime + //Due + //Start + //Prio + //Erledigt + //Uid + //Parents uids } int Todo::runTime() { if ( !mRunning ) return 0; return mRunStart.secsTo( QDateTime::currentDateTime() ); } bool Todo::hasRunningSub() |