-rw-r--r-- | core/pim/todo/todoview.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/pim/todo/todoview.h b/core/pim/todo/todoview.h index e73e808..e5ed66f 100644 --- a/core/pim/todo/todoview.h +++ b/core/pim/todo/todoview.h | |||
@@ -53,6 +53,16 @@ namespace Todo { | |||
53 | virtual QString currentRepresentation() = 0; | 53 | virtual QString currentRepresentation() = 0; |
54 | virtual void showOverDue( bool ) = 0; | 54 | virtual void showOverDue( bool ) = 0; |
55 | 55 | ||
56 | /** | ||
57 | * the next record in the view or 0 if none is there | ||
58 | */ | ||
59 | virtual int next() = 0; | ||
60 | |||
61 | /** | ||
62 | * the previous record or 0 if none is there.. | ||
63 | */ | ||
64 | virtual int prev() = 0; | ||
65 | |||
56 | /* | 66 | /* |
57 | * update the view | 67 | * update the view |
58 | */ | 68 | */ |
@@ -111,6 +121,8 @@ namespace Todo { | |||
111 | void update(int uid, const SmallTodo& to ); | 121 | void update(int uid, const SmallTodo& to ); |
112 | void update(int uid, const OTodo& ev); | 122 | void update(int uid, const OTodo& ev); |
113 | void remove( int uid ); | 123 | void remove( int uid ); |
124 | /* will ask the user if the item should be deleted */ | ||
125 | void removeQuery(int uid ); | ||
114 | void complete( int uid ); | 126 | void complete( int uid ); |
115 | void complete( const OTodo& ev ); | 127 | void complete( const OTodo& ev ); |
116 | private: | 128 | private: |