-rw-r--r-- | core/pim/today/today.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 812f8b5..ebcd2dd 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -7,48 +7,49 @@ | |||
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 | #define QTOPIA_INTERNAL_LANGLIST | 17 | #define QTOPIA_INTERNAL_LANGLIST |
18 | 18 | ||
19 | #include "today.h" | 19 | #include "today.h" |
20 | 20 | ||
21 | #include <qpe/config.h> | 21 | #include <qpe/config.h> |
22 | #include <qpe/qcopenvelope_qws.h> | 22 | #include <qpe/qcopenvelope_qws.h> |
23 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
24 | #include <qpe/qpeapplication.h> | 24 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/contact.h> | 25 | #include <qpe/contact.h> |
26 | 26 | ||
27 | #include <qdir.h> | 27 | #include <qdir.h> |
28 | #include <qtimer.h> | 28 | #include <qtimer.h> |
29 | #include <qwhatsthis.h> | 29 | #include <qwhatsthis.h> |
30 | 30 | ||
31 | using namespace Opie::Ui; | ||
31 | struct TodayPlugin { | 32 | struct TodayPlugin { |
32 | TodayPlugin() : library( 0 ), iface( 0 ), guiPart( 0 ), guiBox( 0 ) {} | 33 | TodayPlugin() : library( 0 ), iface( 0 ), guiPart( 0 ), guiBox( 0 ) {} |
33 | QLibrary *library; | 34 | QLibrary *library; |
34 | QInterfacePtr<TodayPluginInterface> iface; | 35 | QInterfacePtr<TodayPluginInterface> iface; |
35 | TodayPluginObject *guiPart; | 36 | TodayPluginObject *guiPart; |
36 | QWidget *guiBox; | 37 | QWidget *guiBox; |
37 | QString name; | 38 | QString name; |
38 | bool active; | 39 | bool active; |
39 | bool excludeRefresh; | 40 | bool excludeRefresh; |
40 | int pos; | 41 | int pos; |
41 | }; | 42 | }; |
42 | 43 | ||
43 | static QValueList<TodayPlugin> pluginList; | 44 | static QValueList<TodayPlugin> pluginList; |
44 | 45 | ||
45 | static QMap<QString, TodayPlugin> tempList; | 46 | static QMap<QString, TodayPlugin> tempList; |
46 | 47 | ||
47 | Today::Today( QWidget* parent, const char* name, WFlags fl ) | 48 | Today::Today( QWidget* parent, const char* name, WFlags fl ) |
48 | : TodayBase( parent, name, fl ) { | 49 | : TodayBase( parent, name, fl ) { |
49 | 50 | ||
50 | QObject::connect( (QObject*)ConfigButton, SIGNAL( clicked() ), this, SLOT( startConfig() ) ); | 51 | QObject::connect( (QObject*)ConfigButton, SIGNAL( clicked() ), this, SLOT( startConfig() ) ); |
51 | QObject::connect( (QObject*)OwnerField, SIGNAL( clicked() ), this, SLOT( editCard() ) ); | 52 | QObject::connect( (QObject*)OwnerField, SIGNAL( clicked() ), this, SLOT( editCard() ) ); |
52 | 53 | ||
53 | #if defined(Q_WS_QWS) | 54 | #if defined(Q_WS_QWS) |
54 | #if !defined(QT_NO_COP) | 55 | #if !defined(QT_NO_COP) |