summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookpluginwidget.h
Unidiff
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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h
index 8988073..68af323 100644
--- a/core/pim/today/plugins/datebook/datebookpluginwidget.h
+++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h
@@ -1,51 +1,54 @@
1/* 1/*
2 * datebookpluginwidget.h 2 * datebookpluginwidget.h
3 * 3 *
4 * copyright : (c) 2002,2003 by Maximilian Reiß 4 * copyright : (c) 2002,2003 by Maximilian Reiß
5 * email : harlekin@handhelds.org 5 * email : harlekin@handhelds.org
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"
21
22#include <opie2/oclickablelabel.h>
23
24#include <qpe/datebookdb.h>
25
20#include <qlayout.h> 26#include <qlayout.h>
21#include <qguardedptr.h> 27#include <qguardedptr.h>
22#include <qlist.h> 28#include <qlist.h>
23 29
24#include <qpe/datebookdb.h> 30using namespace Opie;
25#include <opie/oclickablelabel.h>
26
27#include "datebookevent.h"
28 31
29class DatebookPluginWidget : public QWidget { 32class DatebookPluginWidget : public QWidget {
30 33
31 Q_OBJECT 34 Q_OBJECT
32 35
33public: 36public:
34 DatebookPluginWidget( QWidget *parent, const char *name ); 37 DatebookPluginWidget( QWidget *parent, const char *name );
35 ~DatebookPluginWidget(); 38 ~DatebookPluginWidget();
36 void refresh(); 39 void refresh();
37 void reinitialize(); 40 void reinitialize();
38 41
39private: 42private:
40 DateBookDB* db; 43 DateBookDB* db;
41 QGuardedPtr<QVBoxLayout> m_layoutDates; 44 QGuardedPtr<QVBoxLayout> m_layoutDates;
42 QList<QWidget> m_eventsList; 45 QList<QWidget> m_eventsList;
43 void readConfig(); 46 void readConfig();
44 void getDates(); 47 void getDates();
45 48
46 49
47 // how many lines should be showed in the datebook section 50 // how many lines should be showed in the datebook section
48 int m_max_lines_meet; 51 int m_max_lines_meet;
49 // If location is to be showed too, 1 to activate it. 52 // If location is to be showed too, 1 to activate it.
50 bool m_show_location; 53 bool m_show_location;
51 // if notes should be shown 54 // if notes should be shown