summaryrefslogtreecommitdiff
path: root/core/pim/todo/todomanager.cpp
authorzecke <zecke>2002-11-30 11:20:47 (UTC)
committer zecke <zecke>2002-11-30 11:20:47 (UTC)
commitfdda15344fdf7f71fd9e1e4db15ecc5e12224ddb (patch) (side-by-side diff)
tree32e68b5b483dd3ce8041542e7d95f0b6d8dbf644 /core/pim/todo/todomanager.cpp
parentbd692f7ebe04e23151cce39baf311b925ccf91b1 (diff)
downloadopie-fdda15344fdf7f71fd9e1e4db15ecc5e12224ddb.zip
opie-fdda15344fdf7f71fd9e1e4db15ecc5e12224ddb.tar.gz
opie-fdda15344fdf7f71fd9e1e4db15ecc5e12224ddb.tar.bz2
Back from hospital with new power
This versions clean up m failure on templates with Qt... in todoview Implements Recurrance( backends to not safe it yet ) OPimState and Maintainer mode in some ways and much more This one also implements the OPimMainWindow specs and has a small Memu replacement to get the toolbar in one line
Diffstat (limited to 'core/pim/todo/todomanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/todomanager.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/todo/todomanager.cpp b/core/pim/todo/todomanager.cpp
index 1f81539..b5b87de 100644
--- a/core/pim/todo/todomanager.cpp
+++ b/core/pim/todo/todomanager.cpp
@@ -85,12 +85,15 @@ void TodoManager::update( int, const SmallTodo& ) {
void TodoManager::update( int, const OTodo& ev) {
m_db->replace( ev );
}
-void TodoManager::remove( int uid ) {
- m_db->remove( uid );
+bool TodoManager::remove( int uid ) {
+ return m_db->remove( uid );
}
void TodoManager::removeAll() {
m_db->clear();
}
+void TodoManager::removeCompleted() {
+ m_db->removeAllCompleted();
+}
void TodoManager::save() {
m_db->save();
}