Diffstat (limited to 'libopie/pim/otodoaccessvcal.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/otodoaccessvcal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/pim/otodoaccessvcal.h b/libopie/pim/otodoaccessvcal.h index 489416b..2b17147 100644 --- a/libopie/pim/otodoaccessvcal.h +++ b/libopie/pim/otodoaccessvcal.h | |||
@@ -1,39 +1,40 @@ | |||
1 | #ifndef OPIE_OTODO_ACCESS_VCAL_H | 1 | #ifndef OPIE_OTODO_ACCESS_VCAL_H |
2 | #define OPIE_OTODO_ACCESS_VCAL_H | 2 | #define OPIE_OTODO_ACCESS_VCAL_H |
3 | 3 | ||
4 | #include "otodoaccessbackend.h" | 4 | #include "otodoaccessbackend.h" |
5 | 5 | ||
6 | class OTodoAccessVCal : public OTodoAccessBackend { | 6 | class OTodoAccessVCal : public OTodoAccessBackend { |
7 | public: | 7 | public: |
8 | OTodoAccessVCal(const QString& ); | 8 | OTodoAccessVCal(const QString& ); |
9 | ~OTodoAccessVCal(); | 9 | ~OTodoAccessVCal(); |
10 | 10 | ||
11 | bool load(); | 11 | bool load(); |
12 | bool reload(); | 12 | bool reload(); |
13 | bool save(); | 13 | bool save(); |
14 | 14 | ||
15 | QArray<int> allRecords()const; | 15 | QArray<int> allRecords()const; |
16 | QArray<int> matchRegexp(const QRegExp &r) const; | ||
16 | QArray<int> queryByExample( const OTodo& t, int sort, const QDateTime& d = QDateTime() ); | 17 | QArray<int> queryByExample( const OTodo& t, int sort, const QDateTime& d = QDateTime() ); |
17 | QArray<int> effectiveToDos( const QDate& start, | 18 | QArray<int> effectiveToDos( const QDate& start, |
18 | const QDate& end, | 19 | const QDate& end, |
19 | bool includeNoDates ); | 20 | bool includeNoDates ); |
20 | QArray<int> overDue(); | 21 | QArray<int> overDue(); |
21 | QArray<int> sorted( bool asc, int sortOrder, int sortFilter, | 22 | QArray<int> sorted( bool asc, int sortOrder, int sortFilter, |
22 | int cat ); | 23 | int cat ); |
23 | OTodo find(int uid)const; | 24 | OTodo find(int uid)const; |
24 | void clear(); | 25 | void clear(); |
25 | bool add( const OTodo& ); | 26 | bool add( const OTodo& ); |
26 | bool remove( int uid ); | 27 | bool remove( int uid ); |
27 | bool replace( const OTodo& ); | 28 | bool replace( const OTodo& ); |
28 | 29 | ||
29 | void removeAllCompleted(); | 30 | void removeAllCompleted(); |
30 | virtual QBitArray supports()const; | 31 | virtual QBitArray supports()const; |
31 | 32 | ||
32 | private: | 33 | private: |
33 | static QBitArray sup(); | 34 | static QBitArray sup(); |
34 | bool m_dirty : 1; | 35 | bool m_dirty : 1; |
35 | QString m_file; | 36 | QString m_file; |
36 | QMap<int, OTodo> m_map; | 37 | QMap<int, OTodo> m_map; |
37 | }; | 38 | }; |
38 | 39 | ||
39 | #endif | 40 | #endif |