summaryrefslogtreecommitdiff
path: root/core/pim/todo/todomanager.h
Unidiff
Diffstat (limited to 'core/pim/todo/todomanager.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/todomanager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/todo/todomanager.h b/core/pim/todo/todomanager.h
index b03b598..8544277 100644
--- a/core/pim/todo/todomanager.h
+++ b/core/pim/todo/todomanager.h
@@ -73,26 +73,31 @@ namespace Todo {
73 OTodoAccess* todoDB(); 73 OTodoAccess* todoDB();
74 bool saveAll(); 74 bool saveAll();
75 75
76 76
77 signals: 77 signals:
78 void update(); 78 void update();
79 void updateCategories(); 79 void updateCategories();
80 80
81 public slots: 81 public slots:
82 void add( const OTodo& ); 82 void add( const OTodo& );
83 void update( int uid, const SmallTodo& ); 83 void update( int uid, const SmallTodo& );
84 void update( int uid, const OTodo& ); 84 void update( int uid, const OTodo& );
85 void remove( int uid ); 85 bool remove( int uid );
86 void remove( const QArray<int>& ); 86 void remove( const QArray<int>& );
87
88 /**
89 * remove all completed
90 */
91 void removeCompleted();
87 void removeAll(); 92 void removeAll();
88 void reload(); 93 void reload();
89 void save(); 94 void save();
90 95
91 private: 96 private:
92 OTodoAccess* m_db; 97 OTodoAccess* m_db;
93 OTodoAccess::List m_list; 98 OTodoAccess::List m_list;
94 OTodoAccess::List::Iterator m_it; 99 OTodoAccess::List::Iterator m_it;
95 OTodoAccess::List m_sorted; 100 OTodoAccess::List m_sorted;
96 Categories m_cat; 101 Categories m_cat;
97 int m_ca; 102 int m_ca;
98 /* sort cat */ 103 /* sort cat */