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 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h new file mode 100644 index 0000000..e0213ec --- a/dev/null +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | * datebookpluginwidget.h | ||
3 | * | ||
4 | * copyright : (c) 2002 by Maximilian Reiß | ||
5 | * email : harlekin@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
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 * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | #ifndef DATEBOOK_PLUGIN_WIDGET_H | ||
18 | #define DATEBOOK_PLUGIN_WIDGET_H | ||
19 | |||
20 | #include <qstring.h> | ||
21 | #include <qwidget.h> | ||
22 | |||
23 | #include <qpe/datebookdb.h> | ||
24 | #include <opie/oclickablelabel.h> | ||
25 | |||
26 | |||
27 | class DatebookPluginWidget : public QWidget { | ||
28 | |||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | DatebookPluginWidget( QWidget *parent, const char *name ); | ||
33 | ~DatebookPluginWidget(); | ||
34 | |||
35 | |||
36 | private: | ||
37 | DateBookDB* db; | ||
38 | void readConfig(); | ||
39 | void getDates(); | ||
40 | |||
41 | // how many lines should be showed in the datebook section | ||
42 | int m_max_lines_meet; | ||
43 | // If location is to be showed too, 1 to activate it. | ||
44 | int m_show_location; | ||
45 | // if notes should be shown | ||
46 | int m_show_notes; | ||
47 | // should only later appointments be shown or all for the current day. | ||
48 | int m_onlyLater; | ||
49 | |||
50 | }; | ||
51 | |||
52 | #endif | ||