-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 | |||
@@ -94,4 +94,5 @@ class DueTextItem : public QTableItem | |||
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 |
@@ -122,4 +123,7 @@ public: | |||
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 | ||
@@ -155,2 +159,3 @@ private: | |||
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 | ||