summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoview.h
authordrw <drw>2004-02-25 16:32:24 (UTC)
committer drw <drw>2004-02-25 16:32:24 (UTC)
commitbea97f98bfb31994425908e7ce982b2450696706 (patch) (side-by-side diff)
tree2f2bc2f55d4656b7c63a06cdce6bc35346d9388f /core/pim/todo/todoview.h
parentf84a46fce6c1b7702ec1eaebd40e363b67253649 (diff)
downloadopie-bea97f98bfb31994425908e7ce982b2450696706.zip
opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz
opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2
Todo: libopie->libopie2
Diffstat (limited to 'core/pim/todo/todoview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoview.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/core/pim/todo/todoview.h b/core/pim/todo/todoview.h
index e5ed66f..a5ea9f5 100644
--- a/core/pim/todo/todoview.h
+++ b/core/pim/todo/todoview.h
@@ -34,10 +34,12 @@
#include <qvaluelist.h>
#include <qwidget.h>
-#include <opie/otodoaccess.h>
+#include <opie2/otodoaccess.h>
#include "smalltodo.h"
+using Opie::OPimTodo;
+using Opie::OPimTodoAccess;
namespace Todo {
class MainWindow;
@@ -68,8 +70,8 @@ namespace Todo {
*/
virtual void updateView() = 0;
- virtual void addEvent( const OTodo& ) = 0;
- virtual void replaceEvent( const OTodo& ) = 0;
+ virtual void addEvent( const OPimTodo& ) = 0;
+ virtual void replaceEvent( const OPimTodo& ) = 0;
virtual void removeEvent( int uid ) = 0;
virtual void setShowCompleted( bool ) = 0;
virtual void setShowDeadline( bool ) = 0;
@@ -104,9 +106,9 @@ namespace Todo {
protected:
MainWindow* todoWindow();
- OTodo event(int uid );
- OTodoAccess::List list();
- OTodoAccess::List sorted()const;
+ OPimTodo event(int uid );
+ OPimTodoAccess::List list();
+ OPimTodoAccess::List sorted()const;
void sort();
void sort(int sort );
void setSortOrder( int order );
@@ -119,15 +121,15 @@ namespace Todo {
void showTodo( int uid );
void edit( int uid );
void update(int uid, const SmallTodo& to );
- void update(int uid, const OTodo& ev);
+ void update(int uid, const OPimTodo& ev);
void remove( int uid );
/* will ask the user if the item should be deleted */
void removeQuery(int uid );
void complete( int uid );
- void complete( const OTodo& ev );
+ void complete( const OPimTodo& ev );
private:
MainWindow *m_main;
- OTodoAccess::List m_sort;
+ OPimTodoAccess::List m_sort;
bool m_asc : 1;
int m_sortOrder;
};