Diffstat (limited to 'libopie2/opiepim/core/otodoaccess.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/otodoaccess.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/otodoaccess.cpp b/libopie2/opiepim/core/otodoaccess.cpp index c258de6..d860411 100644 --- a/libopie2/opiepim/core/otodoaccess.cpp +++ b/libopie2/opiepim/core/otodoaccess.cpp @@ -44,8 +44,9 @@ OTodoAccess::List OTodoAccess::overDue() { List lis( m_todoBackEnd->overDue(), this ); return lis; } void OTodoAccess::addAlarm( const OTodo& event) { +/* FIXME use the new notifier architecture if (!event.hasAlarmDateTime() ) return; QDateTime now = QDateTime::currentDateTime(); @@ -56,8 +57,9 @@ void OTodoAccess::addAlarm( const OTodo& event) { "QPE/Application/todolist", "alarm(QDateTime,int)", event.uid() ); } +*/ } void OTodoAccess::delAlarm( int uid) { QDateTime schedule; // Create null DateTime @@ -78,4 +80,7 @@ OTodoAccess::List OTodoAccess::sorted( bool ascending, int sort,int filter, int filter, cat ); OTodoAccess::List list( ints, this ); return list; } +void OTodoAccess::removeAllCompleted() { + m_todoBackEnd->removeAllCompleted(); +} |