-rw-r--r-- | libopie/pim/otodoaccess.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie/pim/otodoaccess.h b/libopie/pim/otodoaccess.h index 2bb87dc..a626731 100644 --- a/libopie/pim/otodoaccess.h +++ b/libopie/pim/otodoaccess.h | |||
@@ -47,41 +47,44 @@ public: | |||
47 | * start | 47 | * start |
48 | * end date taken from the currentDate() | 48 | * end date taken from the currentDate() |
49 | */ | 49 | */ |
50 | List effectiveToDos( const QDate& start, | 50 | List effectiveToDos( const QDate& start, |
51 | bool includeNoDates = true ); | 51 | bool includeNoDates = true ); |
52 | 52 | ||
53 | 53 | ||
54 | /** | 54 | /** |
55 | * return overdue OTodos | 55 | * return overdue OTodos |
56 | */ | 56 | */ |
57 | List overDue(); | 57 | List overDue(); |
58 | 58 | ||
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 | 71 | * delete all already completed items |
72 | */ | 72 | */ |
73 | void removeAllCompleted(); | 73 | void removeAllCompleted(); |
74 | 74 | ||
75 | signals: | 75 | signals: |
76 | /** | 76 | /** |
77 | * if the OTodoAccess was changed | 77 | * if the OTodoAccess was changed |
78 | */ | 78 | */ |
79 | void signalChanged( const OTodoAccess* ); | 79 | void changed( const OTodoAccess* ); |
80 | void changed( const OTodoAccess*, int uid ); | ||
81 | void added( const OTodoAccess*, int uid ); | ||
82 | void removed( const OTodoAccess*, int uid ); | ||
80 | private: | 83 | private: |
81 | int m_cat; | 84 | int m_cat; |
82 | OTodoAccessBackend* m_todoBackEnd; | 85 | OTodoAccessBackend* m_todoBackEnd; |
83 | class OTodoAccessPrivate; | 86 | class OTodoAccessPrivate; |
84 | OTodoAccessPrivate* d; | 87 | OTodoAccessPrivate* d; |
85 | }; | 88 | }; |
86 | 89 | ||
87 | #endif | 90 | #endif |