Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h index 3ebbc3d..8380bc7 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.h +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -19,10 +19,13 @@ | |||
19 | 19 | ||
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | #include <qwidget.h> | 21 | #include <qwidget.h> |
22 | #include <qlayout.h> | ||
23 | #include <qlist.h> | ||
22 | 24 | ||
23 | #include <qpe/datebookdb.h> | 25 | #include <qpe/datebookdb.h> |
24 | #include <opie/oclickablelabel.h> | 26 | #include <opie/oclickablelabel.h> |
25 | 27 | ||
28 | #include "datebookevent.h" | ||
26 | 29 | ||
27 | class DatebookPluginWidget : public QWidget { | 30 | class DatebookPluginWidget : public QWidget { |
28 | 31 | ||
@@ -31,13 +34,16 @@ class DatebookPluginWidget : public QWidget { | |||
31 | public: | 34 | public: |
32 | DatebookPluginWidget( QWidget *parent, const char *name ); | 35 | DatebookPluginWidget( QWidget *parent, const char *name ); |
33 | ~DatebookPluginWidget(); | 36 | ~DatebookPluginWidget(); |
34 | 37 | void refresh(); | |
35 | 38 | ||
36 | private: | 39 | private: |
37 | DateBookDB* db; | 40 | DateBookDB* db; |
41 | QVBoxLayout* m_layoutDates; | ||
42 | QList<DateBookEvent> m_eventsList; | ||
38 | void readConfig(); | 43 | void readConfig(); |
39 | void getDates(); | 44 | void getDates(); |
40 | 45 | ||
46 | |||
41 | // how many lines should be showed in the datebook section | 47 | // how many lines should be showed in the datebook section |
42 | int m_max_lines_meet; | 48 | int m_max_lines_meet; |
43 | // If location is to be showed too, 1 to activate it. | 49 | // If location is to be showed too, 1 to activate it. |