summaryrefslogtreecommitdiff
path: root/libopie/pim/otodoaccess.cpp
Side-by-side diff
Diffstat (limited to 'libopie/pim/otodoaccess.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodoaccess.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/libopie/pim/otodoaccess.cpp b/libopie/pim/otodoaccess.cpp
index 8ec09bc..f51da29 100644
--- a/libopie/pim/otodoaccess.cpp
+++ b/libopie/pim/otodoaccess.cpp
@@ -63,9 +63,15 @@ void OTodoAccess::delAlarm( int uid) {
// If not: I have to rethink how to remove already
// scheduled events... (se)
// it should be fine -zecke
// qWarning("Removing alarm for event with uid %d", uid );
AlarmServer::deleteAlarm( schedule ,
"QPE/Application/todolist",
"alarm(QDateTime,int)", uid );
}
-
+/* sort order */
+OTodoAccess::List OTodoAccess::sorted( bool ascending, int sort,int filter, int cat ) {
+ QArray<int> ints = m_todoBackEnd->sorted( ascending, sort,
+ filter, cat );
+ OTodoAccess::List list( ints, this );
+ return list;
+}