summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoview.h
authoreilers <eilers>2003-08-01 14:22:29 (UTC)
committer eilers <eilers>2003-08-01 14:22:29 (UTC)
commit7d51872c86155fbbf27aeb8e49e7a336d909caac (patch) (unidiff)
tree55ecf3452d6711065e36c6bceab8ec52bd5525d8 /core/pim/todo/todoview.h
parent34991bac7d96b1c17601be6a5607819342571e0c (diff)
downloadopie-7d51872c86155fbbf27aeb8e49e7a336d909caac.zip
opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.gz
opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.bz2
Merging changes from BRANCH_1_0 to HEAD
Diffstat (limited to 'core/pim/todo/todoview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoview.h12
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
@@ -50,12 +50,22 @@ namespace Todo {
50 virtual QWidget* widget() = 0; 50 virtual QWidget* widget() = 0;
51 virtual QString type()const = 0; 51 virtual QString type()const = 0;
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;
60 70
61 virtual void addEvent( const OTodo& ) = 0; 71 virtual void addEvent( const OTodo& ) = 0;
@@ -108,12 +118,14 @@ namespace Todo {
108 */ 118 */
109 void showTodo( int uid ); 119 void showTodo( int uid );
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;
118 OTodoAccess::List m_sort; 130 OTodoAccess::List m_sort;
119 bool m_asc : 1; 131 bool m_asc : 1;