author | simon <simon> | 2002-03-20 21:34:11 (UTC) |
---|---|---|
committer | simon <simon> | 2002-03-20 21:34:11 (UTC) |
commit | 011c84e728826d6f90ff6b15198308f3f9b9135a (patch) (side-by-side diff) | |
tree | 17a732f43b79c38a310c84193f4b262082370b76 /include/opie/tododb.h | |
parent | a209ccfd83698cf14ec7302275f7425f5023d81f (diff) | |
download | opie-011c84e728826d6f90ff6b15198308f3f9b9135a.zip opie-011c84e728826d6f90ff6b15198308f3f9b9135a.tar.gz opie-011c84e728826d6f90ff6b15198308f3f9b9135a.tar.bz2 |
- these files have been moved back to libopie/ (copied directly on the CVS
server to preserve history) . They will be symlinked into this directory
from there
-rw-r--r-- | include/opie/tododb.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/opie/tododb.h b/include/opie/tododb.h deleted file mode 100644 index 945f343..0000000 --- a/include/opie/tododb.h +++ b/dev/null @@ -1,44 +0,0 @@ - -#ifndef tododb_h -#define tododb_h - -#include <qvaluelist.h> - -#include <opie/todoevent.h> - -class ToDoResource; -class ToDoDB -{ - public: - // if no argument is supplied pick the default book - ToDoDB(const QString &fileName = QString::null, ToDoResource* resource= 0 ); - ~ToDoDB(); - QValueList<ToDoEvent> effectiveToDos(const QDate &from, - const QDate &to, - bool includeNoDates = true); - QValueList<ToDoEvent> effectiveToDos(const QDate &start, bool includeNoDates = true ); - QValueList<ToDoEvent> rawToDos(); // all events - QValueList<ToDoEvent> overDue(); - - void addEvent(const ToDoEvent &event ); - void editEvent(const ToDoEvent &editEvent ); - void removeEvent(const ToDoEvent &event); - - void reload(); - void setFileName(const QString & ); - QString fileName()const; - bool save(); - ToDoResource *resource(); - void setResource(ToDoResource* res); - - private: - class ToDoDBPrivate; - ToDoDBPrivate *d; - QString m_fileName; - ToDoResource *m_res; - QValueList<ToDoEvent> m_todos; - void load(); -}; - - -#endif |