summaryrefslogtreecommitdiff
path: root/core/pim/today
Unidiff
Diffstat (limited to 'core/pim/today') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginwidget.cpp4
-rw-r--r--core/pim/today/plugins/todolist/todoplugin.h1
-rw-r--r--core/pim/today/today.cpp8
-rw-r--r--core/pim/today/today.h7
-rw-r--r--core/pim/today/todaybase.cpp1
5 files changed, 3 insertions, 18 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
index 3a7360d..97fb77e 100644
--- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
+++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
@@ -18,26 +18,26 @@
18#include "datebookpluginwidget.h" 18#include "datebookpluginwidget.h"
19 19
20#include <qpe/timestring.h> 20#include <qpe/timestring.h>
21#include <qpe/config.h> 21#include <qpe/config.h>
22 22
23#include <qdatetime.h> 23#include <qdatetime.h>
24#include <qlabel.h> 24#include <qlabel.h>
25#include <qlayout.h> 25#include <qlayout.h>
26#include <qtl.h> 26#include <qtl.h>
27#include <qscrollview.h> 27#include <qscrollview.h>
28#include <qtimer.h> 28#include <qtimer.h>
29 29
30DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name) 30DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name )
31 : QWidget(parent, name ) { 31 : QWidget(parent, name ) {
32 32
33 db = 0l; 33 db = 0l;
34 m_layoutDates = 0l; 34 m_layoutDates = 0l;
35 35
36 if ( db ) { 36 if ( db ) {
37 delete db; 37 delete db;
38 } 38 }
39 db = new DateBookDB; 39 db = new DateBookDB;
40 40
41 if ( m_layoutDates ) { 41 if ( m_layoutDates ) {
42 delete m_layoutDates; 42 delete m_layoutDates;
43 } 43 }
diff --git a/core/pim/today/plugins/todolist/todoplugin.h b/core/pim/today/plugins/todolist/todoplugin.h
index 7a2235c..d7b51b4 100644
--- a/core/pim/today/plugins/todolist/todoplugin.h
+++ b/core/pim/today/plugins/todolist/todoplugin.h
@@ -12,25 +12,24 @@
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 TODOLIST_PLUGIN_H 17#ifndef TODOLIST_PLUGIN_H
18#define TODOLIST_PLUGIN_H 18#define TODOLIST_PLUGIN_H
19 19
20#include <qstring.h> 20#include <qstring.h>
21#include <qguardedptr.h> 21#include <qguardedptr.h>
22#include <qwidget.h> 22#include <qwidget.h>
23 23
24#include <opie/tododb.h>
25#include <opie/oclickablelabel.h> 24#include <opie/oclickablelabel.h>
26#include <opie/todayplugininterface.h> 25#include <opie/todayplugininterface.h>
27 26
28#include "todopluginwidget.h" 27#include "todopluginwidget.h"
29 28
30class TodolistPlugin : public TodayPluginObject { 29class TodolistPlugin : public TodayPluginObject {
31 30
32public: 31public:
33 TodolistPlugin(); 32 TodolistPlugin();
34 ~TodolistPlugin(); 33 ~TodolistPlugin();
35 34
36 QString pluginName() const; 35 QString pluginName() const;
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 2497ee1..5e5d373 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -10,43 +10,35 @@
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 18
19#define QTOPIA_INTERNAL_LANGLIST 19#define QTOPIA_INTERNAL_LANGLIST
20 20
21#include "today.h" 21#include "today.h"
22#include <opie/todayconfigwidget.h>
23 22
24#include <qpe/config.h> 23#include <qpe/config.h>
25#include <qpe/qcopenvelope_qws.h> 24#include <qpe/qcopenvelope_qws.h>
26#include <qpe/resource.h> 25#include <qpe/resource.h>
27#include <qpe/global.h> 26#include <qpe/global.h>
28#include <qpe/qpeapplication.h> 27#include <qpe/qpeapplication.h>
29#include <qpe/contact.h> 28#include <qpe/contact.h>
30 29
31#include <qdir.h> 30#include <qdir.h>
32#include <qfile.h> 31#include <qfile.h>
33#include <qpushbutton.h>
34#include <qlabel.h>
35#include <qtimer.h> 32#include <qtimer.h>
36#include <qpixmap.h>
37#include <qlayout.h>
38#include <qhbox.h>
39#include <opie/otabwidget.h>
40#include <qdialog.h>
41#include <qwhatsthis.h> 33#include <qwhatsthis.h>
42#include <qtranslator.h> 34#include <qtranslator.h>
43 35
44struct TodayPlugin { 36struct TodayPlugin {
45 TodayPlugin() : library( 0 ), iface( 0 ), guiPart( 0 ), guiBox( 0 ) {} 37 TodayPlugin() : library( 0 ), iface( 0 ), guiPart( 0 ), guiBox( 0 ) {}
46 QLibrary *library; 38 QLibrary *library;
47 QInterfacePtr<TodayPluginInterface> iface; 39 QInterfacePtr<TodayPluginInterface> iface;
48 TodayPluginObject *guiPart; 40 TodayPluginObject *guiPart;
49 QWidget *guiBox; 41 QWidget *guiBox;
50 QString name; 42 QString name;
51 bool active; 43 bool active;
52 bool excludeRefresh; 44 bool excludeRefresh;
diff --git a/core/pim/today/today.h b/core/pim/today/today.h
index 24f5611..3802feb 100644
--- a/core/pim/today/today.h
+++ b/core/pim/today/today.h
@@ -9,35 +9,30 @@
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#ifndef TODAY_H 18#ifndef TODAY_H
19#define TODAY_H 19#define TODAY_H
20 20
21#include <opie/tododb.h>
22
23#include <qdatetime.h>
24#include <qlist.h>
25#include <qhbox.h>
26 21
27#include <qpe/qlibrary.h> 22#include <qpe/qlibrary.h>
28#include <qpe/event.h>
29 23
30#include "todayconfig.h" 24#include "todayconfig.h"
31#include "todaybase.h" 25#include "todaybase.h"
26
32#include <opie/todayplugininterface.h> 27#include <opie/todayplugininterface.h>
33 28
34class QVBoxLayout; 29class QVBoxLayout;
35class OClickableLabel; 30class OClickableLabel;
36 31
37 32
38class Today : public TodayBase { 33class Today : public TodayBase {
39 34
40 Q_OBJECT 35 Q_OBJECT
41 36
42 public: 37 public:
43 Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 38 Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 9a93b56..826e253 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -7,25 +7,24 @@
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 "todaybase.h" 17#include "todaybase.h"
18 18
19#include <qframe.h>
20#include <qlabel.h> 19#include <qlabel.h>
21#include <qimage.h> 20#include <qimage.h>
22#include <qpixmap.h> 21#include <qpixmap.h>
23#include <qapplication.h> 22#include <qapplication.h>
24#include <qwhatsthis.h> 23#include <qwhatsthis.h>
25 24
26#include <qpe/resource.h> 25#include <qpe/resource.h>
27 26
28 27
29TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) 28TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
30 : QWidget( parent, name, WStyle_ContextHelp ) { 29 : QWidget( parent, name, WStyle_ContextHelp ) {
31 30