summaryrefslogtreecommitdiff
path: root/libopie/tododb.h
Side-by-side diff
Diffstat (limited to 'libopie/tododb.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/tododb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/tododb.h b/libopie/tododb.h
index 945f343..e77a0f4 100644
--- a/libopie/tododb.h
+++ b/libopie/tododb.h
@@ -15,30 +15,30 @@ class ToDoDB
~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);
+ ToDoResource *resource();
+ void setResource(ToDoResource* res);
private:
class ToDoDBPrivate;
ToDoDBPrivate *d;
QString m_fileName;
ToDoResource *m_res;
QValueList<ToDoEvent> m_todos;
void load();
};
#endif