-rw-r--r-- | libopie/pim/otodoaccess.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie/pim/otodoaccess.cpp b/libopie/pim/otodoaccess.cpp index c258de6..d860411 100644 --- a/libopie/pim/otodoaccess.cpp +++ b/libopie/pim/otodoaccess.cpp | |||
@@ -45,7 +45,8 @@ OTodoAccess::List OTodoAccess::overDue() { | |||
45 | return lis; | 45 | return lis; |
46 | } | 46 | } |
47 | void OTodoAccess::addAlarm( const OTodo& event) { | 47 | void OTodoAccess::addAlarm( const OTodo& event) { |
48 | if (!event.hasAlarmDateTime() ) | 48 | /* FIXME use the new notifier architecture |
49 | if (!event.hasAlarmDateTime() ) | ||
49 | return; | 50 | return; |
50 | 51 | ||
51 | QDateTime now = QDateTime::currentDateTime(); | 52 | QDateTime now = QDateTime::currentDateTime(); |
@@ -57,6 +58,7 @@ void OTodoAccess::addAlarm( const OTodo& event) { | |||
57 | "alarm(QDateTime,int)", event.uid() ); | 58 | "alarm(QDateTime,int)", event.uid() ); |
58 | 59 | ||
59 | } | 60 | } |
61 | */ | ||
60 | } | 62 | } |
61 | void OTodoAccess::delAlarm( int uid) { | 63 | void OTodoAccess::delAlarm( int uid) { |
62 | 64 | ||
@@ -79,3 +81,6 @@ OTodoAccess::List OTodoAccess::sorted( bool ascending, int sort,int filter, int | |||
79 | OTodoAccess::List list( ints, this ); | 81 | OTodoAccess::List list( ints, this ); |
80 | return list; | 82 | return list; |
81 | } | 83 | } |
84 | void OTodoAccess::removeAllCompleted() { | ||
85 | m_todoBackEnd->removeAllCompleted(); | ||
86 | } | ||