Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp index 9e95bcd..1b11d1b 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |||
@@ -1,48 +1,45 @@ | |||
1 | /* | 1 | /* |
2 | * datebookpluginwidget.cpp | 2 | * datebookpluginwidget.cpp |
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 | 17 | ||
18 | #include "datebookpluginwidget.h" | 18 | #include "datebookpluginwidget.h" |
19 | 19 | ||
20 | #include <qpe/timestring.h> | ||
21 | #include <qpe/config.h> | 20 | #include <qpe/config.h> |
22 | 21 | ||
23 | #include <qdatetime.h> | ||
24 | #include <qlabel.h> | ||
25 | #include <qtl.h> | 22 | #include <qtl.h> |
26 | 23 | ||
27 | DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name ) | 24 | DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name ) |
28 | : QWidget(parent, name ) { | 25 | : QWidget(parent, name ) { |
29 | 26 | ||
30 | db = 0l; | 27 | db = 0l; |
31 | m_layoutDates = 0l; | 28 | m_layoutDates = 0l; |
32 | 29 | ||
33 | if ( m_layoutDates ) { | 30 | if ( m_layoutDates ) { |
34 | delete m_layoutDates; | 31 | delete m_layoutDates; |
35 | } | 32 | } |
36 | m_layoutDates = new QVBoxLayout( this ); | 33 | m_layoutDates = new QVBoxLayout( this ); |
37 | m_layoutDates->setAutoAdd( true ); | 34 | m_layoutDates->setAutoAdd( true ); |
38 | 35 | ||
39 | m_eventsList.setAutoDelete( true ); | 36 | m_eventsList.setAutoDelete( true ); |
40 | 37 | ||
41 | readConfig(); | 38 | readConfig(); |
42 | getDates(); | 39 | getDates(); |
43 | } | 40 | } |
44 | 41 | ||
45 | DatebookPluginWidget::~DatebookPluginWidget() { | 42 | DatebookPluginWidget::~DatebookPluginWidget() { |
46 | delete db; | 43 | delete db; |
47 | delete m_layoutDates; | 44 | delete m_layoutDates; |
48 | } | 45 | } |