From a7b03f9c31f515747663f07b6665744369e57ba8 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 07 Oct 2002 14:39:07 +0000 Subject: TodoView is a mess because I tried hard to make it work with templates... I've to clean this up Then I made the way free to use sorted my next step is to make the paint hack work --- (limited to 'core/pim/todo/todomanager.h') diff --git a/core/pim/todo/todomanager.h b/core/pim/todo/todomanager.h index 1f9e288..b03b598 100644 --- a/core/pim/todo/todomanager.h +++ b/core/pim/todo/todomanager.h @@ -56,9 +56,8 @@ namespace Todo { void updateList(); /** returns the iterator sorted if set sorted*/ - OTodoAccess::List::Iterator begin(); - OTodoAccess::List::Iterator end(); - OTodoAccess::List& list(); + OTodoAccess::List list()const; + OTodoAccess::List sorted( bool asc, int so, int f, int cat ); OTodoAccess::List::Iterator overDue(); OTodoAccess::List::Iterator fromTo( const QDate& start, -- cgit v0.9.0.2