-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 | |||
@@ -52,8 +52,18 @@ namespace Todo { | |||
52 | virtual int current() = 0; | 52 | virtual int current() = 0; |
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 | */ |
59 | virtual void updateView() = 0; | 69 | virtual void updateView() = 0; |
@@ -110,8 +120,10 @@ namespace Todo { | |||
110 | void edit( int uid ); | 120 | void edit( int uid ); |
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: |
117 | MainWindow *m_main; | 129 | MainWindow *m_main; |