-rw-r--r-- | core/pim/todo/todotable.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/todo/todotable.h b/core/pim/todo/todotable.h index 32df514..6917e04 100644 --- a/core/pim/todo/todotable.h +++ b/core/pim/todo/todotable.h | |||
@@ -93,6 +93,7 @@ class DueTextItem : public QTableItem | |||
93 | 93 | ||
94 | 94 | ||
95 | enum journal_action { ACTION_ADD, ACTION_REMOVE, ACTION_REPLACE }; | 95 | enum journal_action { ACTION_ADD=0, ACTION_REMOVE, ACTION_REPLACE }; |
96 | 96 | ||
97 | class XMLElement; | ||
97 | class TodoTable : public QTable | 98 | class TodoTable : public QTable |
98 | { | 99 | { |
@@ -121,6 +122,9 @@ public: | |||
121 | bool save( const QString &fn ); | 122 | bool save( const QString &fn ); |
122 | void load( const QString &fn ); | 123 | void load( const QString &fn ); |
124 | void applyJournal( ); | ||
123 | void clear(); | 125 | void clear(); |
124 | void removeCurrentEntry(); | 126 | void removeCurrentEntry(); |
127 | void removeAllEntries() { clear(); }; | ||
128 | //void removeAllEntriesInCategory(const QString &category ); | ||
125 | 129 | ||
126 | void setPaintingEnabled( bool e ); | 130 | void setPaintingEnabled( bool e ); |
@@ -154,4 +158,5 @@ private: | |||
154 | inline void realignTable( int row ); | 158 | inline void realignTable( int row ); |
155 | void loadFile( const QString &strFile, bool fromJournal = false ); | 159 | void loadFile( const QString &strFile, bool fromJournal = false ); |
160 | void doApply(XMLElement *el ); | ||
156 | 161 | ||
157 | private slots: | 162 | private slots: |