summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.h
Side-by-side diff
Diffstat (limited to 'core/pim/datebook/datebook.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebook.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/datebook/datebook.h b/core/pim/datebook/datebook.h
index 2ffcdbe..d1fe90d 100644
--- a/core/pim/datebook/datebook.h
+++ b/core/pim/datebook/datebook.h
@@ -31,12 +31,17 @@ class DateBookWeek;
class DateBookWeekLst;
class DateBookMonth;
class Event;
class QDate;
class Ir;
+class DateBookDBHack : public DateBookDB {
+ public:
+ Event eventByUID(int id);
+};
+
class DateBook : public QMainWindow
{
Q_OBJECT
public:
DateBook( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
@@ -96,13 +101,13 @@ private:
void initWeekLst();
void initMonth();
void loadSettings();
void saveSettings();
private:
- DateBookDB *db;
+ DateBookDBHack *db;
QWidgetStack *views;
DateBookDay *dayView;
DateBookWeek *weekView;
DateBookMonth *monthView;
DateBookWeekLst *weekLstView;
QAction *dayAction, *weekAction, *weekLstAction, *monthAction;