-rw-r--r-- | libopie/pim/otodoaccess.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libopie/pim/otodoaccess.h b/libopie/pim/otodoaccess.h index 390ab0e..c079155 100644 --- a/libopie/pim/otodoaccess.h +++ b/libopie/pim/otodoaccess.h | |||
@@ -59,35 +59,40 @@ public: | |||
59 | /** | 59 | /** |
60 | * | 60 | * |
61 | */ | 61 | */ |
62 | List sorted( bool ascending, int sortOrder, int sortFilter, int cat ); | 62 | List sorted( bool ascending, int sortOrder, int sortFilter, int cat ); |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * merge a list of OTodos into | 65 | * merge a list of OTodos into |
66 | * the resource | 66 | * the resource |
67 | */ | 67 | */ |
68 | void mergeWith( const QValueList<OTodo>& ); | 68 | void mergeWith( const QValueList<OTodo>& ); |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * delete all already completed items | ||
72 | */ | ||
73 | void removeAllCompleted(); | ||
74 | |||
75 | signals: | ||
76 | /** | ||
77 | * if the OTodoAccess was changed | ||
78 | */ | ||
79 | void signalChanged( const OTodoAccess* ); | ||
80 | private: | ||
81 | /** | ||
71 | * add an Alarm to the AlarmServer | 82 | * add an Alarm to the AlarmServer |
72 | */ | 83 | */ |
73 | void addAlarm( const OTodo& ); | 84 | void addAlarm( const OTodo& ); |
74 | 85 | ||
75 | /** | 86 | /** |
76 | * delete an alarm with the uid from | 87 | * delete an alarm with the uid from |
77 | * the alarm server | 88 | * the alarm server |
78 | */ | 89 | */ |
79 | void delAlarm( int uid ); | 90 | void delAlarm( int uid ); |
80 | 91 | ||
81 | signals: | ||
82 | /** | ||
83 | * if the OTodoAccess was changed | ||
84 | */ | ||
85 | void signalChanged( const OTodoAccess* ); | ||
86 | private: | ||
87 | int m_cat; | 92 | int m_cat; |
88 | OTodoAccessBackend* m_todoBackEnd; | 93 | OTodoAccessBackend* m_todoBackEnd; |
89 | class OTodoAccessPrivate; | 94 | class OTodoAccessPrivate; |
90 | OTodoAccessPrivate* d; | 95 | OTodoAccessPrivate* d; |
91 | }; | 96 | }; |
92 | 97 | ||
93 | #endif | 98 | #endif |