-rw-r--r-- | libopie/pim/otodoaccessvcal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/pim/otodoaccessvcal.h b/libopie/pim/otodoaccessvcal.h index 4499a7e..452f602 100644 --- a/libopie/pim/otodoaccessvcal.h +++ b/libopie/pim/otodoaccessvcal.h | |||
@@ -17,19 +17,21 @@ public: | |||
17 | QArray<int> effectiveToDos( const QDate& start, | 17 | QArray<int> effectiveToDos( const QDate& start, |
18 | const QDate& end, | 18 | const QDate& end, |
19 | bool includeNoDates ); | 19 | bool includeNoDates ); |
20 | QArray<int> overDue(); | 20 | QArray<int> overDue(); |
21 | QArray<int> sorted( bool asc, int sortOrder, int sortFilter, | 21 | QArray<int> sorted( bool asc, int sortOrder, int sortFilter, |
22 | int cat ); | 22 | int cat ); |
23 | OTodo find(int uid)const; | 23 | OTodo find(int uid)const; |
24 | void clear(); | 24 | void clear(); |
25 | bool add( const OTodo& ); | 25 | bool add( const OTodo& ); |
26 | bool remove( int uid ); | 26 | bool remove( int uid ); |
27 | bool replace( const OTodo& ); | 27 | bool replace( const OTodo& ); |
28 | 28 | ||
29 | void removeAllCompleted(); | ||
30 | |||
29 | private: | 31 | private: |
30 | bool m_dirty : 1; | 32 | bool m_dirty : 1; |
31 | QString m_file; | 33 | QString m_file; |
32 | QMap<int, OTodo> m_map; | 34 | QMap<int, OTodo> m_map; |
33 | }; | 35 | }; |
34 | 36 | ||
35 | #endif | 37 | #endif |