-rw-r--r-- | libopie/tododb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie/tododb.h b/libopie/tododb.h index 6478363..945f343 100644 --- a/libopie/tododb.h +++ b/libopie/tododb.h @@ -8,2 +8,3 @@ +class ToDoResource; class ToDoDB @@ -12,3 +13,3 @@ class ToDoDB // if no argument is supplied pick the default book - ToDoDB(const QString &fileName = QString::null ); + ToDoDB(const QString &fileName = QString::null, ToDoResource* resource= 0 ); ~ToDoDB(); @@ -29,2 +30,4 @@ class ToDoDB bool save(); + ToDoResource *resource(); + void setResource(ToDoResource* res); @@ -34,2 +37,3 @@ class ToDoDB QString m_fileName; + ToDoResource *m_res; QValueList<ToDoEvent> m_todos; |