-rw-r--r-- | core/pim/todo/todotable.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/core/pim/todo/todotable.h b/core/pim/todo/todotable.h index 4f3a064..2746ce7 100644 --- a/core/pim/todo/todotable.h +++ b/core/pim/todo/todotable.h @@ -25,3 +25,4 @@ #include <qpe/stringutil.h> -#include <qpe/task.h> +//#include <qpe/task.h> +#include <opie/todoevent.h> @@ -88,7 +89,7 @@ public: TodoTable( QWidget *parent = 0, const char * name = 0 ); - void addEntry( const Task &todo ); + void addEntry( const ToDoEvent &todo ); void clearFindRow() { currFindRow = -2; } - Task currentEntry() const; - void replaceCurrentEntry( const Task &todo, bool fromTableItem = false ); + ToDoEvent currentEntry() const; + void replaceCurrentEntry( const ToDoEvent &todo, bool fromTableItem = false ); @@ -130,7 +131,7 @@ private: void viewportPaintEvent( QPaintEvent * ); - void internalAddEntries( QList<Task> &list); - inline void insertIntoTable( Task *todo, int row ); - void updateJournal( const Task &todo, journal_action action, int row = -1); + void internalAddEntries( QList<ToDoEvent> &list); + inline void insertIntoTable( ToDoEvent *todo, int row ); + void updateJournal( const ToDoEvent &todo, journal_action action, int row = -1); void mergeJournal(); - void journalFreeReplaceEntry( const Task &todo, int row ); + void journalFreeReplaceEntry( const ToDoEvent &todo, int row ); void journalFreeRemoveEntry( int row ); @@ -152,3 +153,3 @@ private: - QMap<CheckItem*, Task *> todoList; + QMap<CheckItem*, ToDoEvent *> todoList; QStringList categoryList; @@ -163,3 +164,3 @@ private: -inline void TodoTable::insertIntoTable( Task *todo, int row ) +inline void TodoTable::insertIntoTable( ToDoEvent *todo, int row ) { |