summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-09 21:20:36 (UTC)
committer zautrix <zautrix>2005-04-09 21:20:36 (UTC)
commit54f5fe5e6f4909109edf915513c02f7af3e7bb2d (patch) (side-by-side diff)
tree66c7bcdd8ce6dcbbb6710220c1c3503c83c33d3b
parentae58b2fe29fcd8b3690dcbb6d64976674f6294e0 (diff)
downloadkdepimpi-54f5fe5e6f4909109edf915513c02f7af3e7bb2d.zip
kdepimpi-54f5fe5e6f4909109edf915513c02f7af3e7bb2d.tar.gz
kdepimpi-54f5fe5e6f4909109edf915513c02f7af3e7bb2d.tar.bz2
fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/todo.cpp13
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()