summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookpluginwidget.h
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginwidget.h8
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
@@ -10,43 +10,49 @@
10 * This program is free software; you can redistribute it and/or modify * 10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by * 11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17#ifndef DATEBOOK_PLUGIN_WIDGET_H 17#ifndef DATEBOOK_PLUGIN_WIDGET_H
18#define DATEBOOK_PLUGIN_WIDGET_H 18#define DATEBOOK_PLUGIN_WIDGET_H
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
27class DatebookPluginWidget : public QWidget { 30class DatebookPluginWidget : public QWidget {
28 31
29 Q_OBJECT 32 Q_OBJECT
30 33
31public: 34public:
32 DatebookPluginWidget( QWidget *parent, const char *name ); 35 DatebookPluginWidget( QWidget *parent, const char *name );
33 ~DatebookPluginWidget(); 36 ~DatebookPluginWidget();
34 37 void refresh();
35 38
36private: 39private:
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.
44 bool m_show_location; 50 bool m_show_location;
45 // if notes should be shown 51 // if notes should be shown
46 bool m_show_notes; 52 bool m_show_notes;
47 // should only later appointments be shown or all for the current day. 53 // should only later appointments be shown or all for the current day.
48 bool m_onlyLater; 54 bool m_onlyLater;
49 int m_moreDays; 55 int m_moreDays;
50 56
51}; 57};
52 58