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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h index 68af323..f8ed89e 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.h +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -6,58 +6,57 @@ | |||
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
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 "datebookevent.h" | 20 | #include "datebookevent.h" |
21 | 21 | ||
22 | #include <opie2/oclickablelabel.h> | 22 | #include <opie2/oclickablelabel.h> |
23 | 23 | ||
24 | #include <qpe/datebookdb.h> | 24 | #include <qpe/datebookdb.h> |
25 | 25 | ||
26 | #include <qlayout.h> | 26 | #include <qlayout.h> |
27 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
28 | #include <qlist.h> | 28 | #include <qlist.h> |
29 | 29 | ||
30 | using namespace Opie; | ||
31 | 30 | ||
32 | class DatebookPluginWidget : public QWidget { | 31 | class DatebookPluginWidget : public QWidget { |
33 | 32 | ||
34 | Q_OBJECT | 33 | Q_OBJECT |
35 | 34 | ||
36 | public: | 35 | public: |
37 | DatebookPluginWidget( QWidget *parent, const char *name ); | 36 | DatebookPluginWidget( QWidget *parent, const char *name ); |
38 | ~DatebookPluginWidget(); | 37 | ~DatebookPluginWidget(); |
39 | void refresh(); | 38 | void refresh(); |
40 | void reinitialize(); | 39 | void reinitialize(); |
41 | 40 | ||
42 | private: | 41 | private: |
43 | DateBookDB* db; | 42 | DateBookDB* db; |
44 | QGuardedPtr<QVBoxLayout> m_layoutDates; | 43 | QGuardedPtr<QVBoxLayout> m_layoutDates; |
45 | QList<QWidget> m_eventsList; | 44 | QList<QWidget> m_eventsList; |
46 | void readConfig(); | 45 | void readConfig(); |
47 | void getDates(); | 46 | void getDates(); |
48 | 47 | ||
49 | 48 | ||
50 | // how many lines should be showed in the datebook section | 49 | // how many lines should be showed in the datebook section |
51 | int m_max_lines_meet; | 50 | int m_max_lines_meet; |
52 | // If location is to be showed too, 1 to activate it. | 51 | // If location is to be showed too, 1 to activate it. |
53 | bool m_show_location; | 52 | bool m_show_location; |
54 | // if notes should be shown | 53 | // if notes should be shown |
55 | bool m_show_notes; | 54 | bool m_show_notes; |
56 | // should only later appointments be shown or all for the current day. | 55 | // should only later appointments be shown or all for the current day. |
57 | bool m_onlyLater; | 56 | bool m_onlyLater; |
58 | int m_moreDays; | 57 | int m_moreDays; |
59 | // true if time of an appointment should be an extra line | 58 | // true if time of an appointment should be an extra line |
60 | bool m_timeExtraLine; | 59 | bool m_timeExtraLine; |
61 | }; | 60 | }; |
62 | 61 | ||
63 | #endif | 62 | #endif |