summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookevent.cpp2
-rw-r--r--core/pim/today/plugins/datebook/datebookplugin.cpp1
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginconfig.cpp4
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginwidget.cpp3
4 files changed, 0 insertions, 10 deletions
diff --git a/core/pim/today/plugins/datebook/datebookevent.cpp b/core/pim/today/plugins/datebook/datebookevent.cpp
index e595047..e19a690 100644
--- a/core/pim/today/plugins/datebook/datebookevent.cpp
+++ b/core/pim/today/plugins/datebook/datebookevent.cpp
@@ -7,27 +7,25 @@
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#include "datebookevent.h" 17#include "datebookevent.h"
18#include <qpe/config.h> 18#include <qpe/config.h>
19#include <qpe/timestring.h>
20#include <qpe/qcopenvelope_qws.h> 19#include <qpe/qcopenvelope_qws.h>
21#include <qpe/qpeapplication.h>
22#include <qpe/calendar.h> 20#include <qpe/calendar.h>
23 21
24#include <opie/odevice.h> 22#include <opie/odevice.h>
25 23
26using namespace Opie; 24using namespace Opie;
27 25
28DateBookEvent::DateBookEvent(const EffectiveEvent &ev, 26DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
29 QWidget* parent, 27 QWidget* parent,
30 bool show_location, 28 bool show_location,
31 bool show_notes, 29 bool show_notes,
32 bool timeExtraLine, 30 bool timeExtraLine,
33 int maxCharClip, 31 int maxCharClip,
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp
index f77e440..8dfa52f 100644
--- a/core/pim/today/plugins/datebook/datebookplugin.cpp
+++ b/core/pim/today/plugins/datebook/datebookplugin.cpp
@@ -8,25 +8,24 @@
8 */ 8 */
9/*************************************************************************** 9/***************************************************************************
10 * * 10 * *
11 * This program is free software; you can redistribute it and/or modify * 11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by * 12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 14 * (at your option) any later version. *
15 * * 15 * *
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18 18
19 19
20#include "datebookevent.h"
21#include "datebookplugin.h" 20#include "datebookplugin.h"
22#include "datebookpluginconfig.h" 21#include "datebookpluginconfig.h"
23 22
24 23
25DatebookPlugin::DatebookPlugin() { 24DatebookPlugin::DatebookPlugin() {
26} 25}
27 26
28DatebookPlugin::~DatebookPlugin() { 27DatebookPlugin::~DatebookPlugin() {
29 delete (DatebookPluginWidget*)m_widget; 28 delete (DatebookPluginWidget*)m_widget;
30} 29}
31 30
32QString DatebookPlugin::pluginName() const { 31QString DatebookPlugin::pluginName() const {
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp
index 54f820b..8ead40d 100644
--- a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp
+++ b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp
@@ -11,28 +11,24 @@
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 "datebookpluginconfig.h" 18#include "datebookpluginconfig.h"
19 19
20#include <qpe/config.h> 20#include <qpe/config.h>
21 21
22#include <qlayout.h> 22#include <qlayout.h>
23#include <qlabel.h>
24#include <qhbox.h>
25#include <qwhatsthis.h>
26#include <qvbox.h>
27 23
28DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) 24DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name)
29 : TodayConfigWidget( parent, name ) { 25 : TodayConfigWidget( parent, name ) {
30 26
31 QVBoxLayout *layout = new QVBoxLayout( this ); 27 QVBoxLayout *layout = new QVBoxLayout( this );
32 28
33 m_gui = new DatebookPluginConfigBase( this ); 29 m_gui = new DatebookPluginConfigBase( this );
34 30
35 layout->addWidget( m_gui ); 31 layout->addWidget( m_gui );
36 32
37 readConfig(); 33 readConfig();
38} 34}
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
@@ -8,29 +8,26 @@
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
27DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name ) 24DatebookPluginWidget::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 );