summaryrefslogtreecommitdiffabout
path: root/libkcal/calendarlocal.cpp
Side-by-side diff
Diffstat (limited to 'libkcal/calendarlocal.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/calendarlocal.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp
index 8c4dde1..18f1af8 100644
--- a/libkcal/calendarlocal.cpp
+++ b/libkcal/calendarlocal.cpp
@@ -147,6 +147,12 @@ bool CalendarLocal::save( const QString &fileName, CalFormat *format )
return storage.save();
}
+void CalendarLocal::stopAllTodos()
+{
+ for ( Todo *it = mTodoList.first(); it; it = mTodoList.next() )
+ it->setRunning( false );
+
+}
void CalendarLocal::close()
{