-rw-r--r-- | core/pim/today/config.in | 2 | ||||
-rw-r--r-- | core/pim/today/main.cpp | 1 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 1 | ||||
-rw-r--r-- | core/pim/today/today.h | 1 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 1 | ||||
-rw-r--r-- | core/pim/today/todaybase.h | 5 | ||||
-rw-r--r-- | core/pim/today/todayconfig.cpp | 1 | ||||
-rw-r--r-- | core/pim/today/todayconfig.h | 2 |
8 files changed, 8 insertions, 6 deletions
diff --git a/core/pim/today/config.in b/core/pim/today/config.in index cdebdcb..5166d15 100644 --- a/core/pim/today/config.in +++ b/core/pim/today/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config TODAY | 1 | config TODAY |
2 | boolean "opie-today (today gives an overview of appointments and todos)" | 2 | boolean "opie-today (today gives an overview of appointments and todos)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIEUI2 && LIBOPIEPIM2 |
diff --git a/core/pim/today/main.cpp b/core/pim/today/main.cpp index 974c050..d63bc30 100644 --- a/core/pim/today/main.cpp +++ b/core/pim/today/main.cpp | |||
@@ -16,9 +16,10 @@ | |||
16 | * (at your option) any later version. * | 16 | * (at your option) any later version. * |
17 | * * | 17 | * * |
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | 19 | ||
20 | #include "today.h" | 20 | #include "today.h" |
21 | 21 | ||
22 | #include <opie2/oapplicationfactory.h> | 22 | #include <opie2/oapplicationfactory.h> |
23 | 23 | ||
24 | using namespace Opie::Core; | ||
24 | OPIE_EXPORT_APP( OApplicationFactory<Today> ) | 25 | OPIE_EXPORT_APP( OApplicationFactory<Today> ) |
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 | |||
@@ -23,16 +23,17 @@ | |||
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; |
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 972731c..89170e1 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -23,17 +23,16 @@ | |||
23 | #include <opie2/todayplugininterface.h> | 23 | #include <opie2/todayplugininterface.h> |
24 | #include <opie2/oclickablelabel.h> | 24 | #include <opie2/oclickablelabel.h> |
25 | 25 | ||
26 | #include <qpe/qlibrary.h> | 26 | #include <qpe/qlibrary.h> |
27 | 27 | ||
28 | #include <qscrollview.h> | 28 | #include <qscrollview.h> |
29 | #include <qvbox.h> | 29 | #include <qvbox.h> |
30 | 30 | ||
31 | using namespace Opie; | ||
32 | 31 | ||
33 | class QVBoxLayout; | 32 | class QVBoxLayout; |
34 | 33 | ||
35 | class Today : public TodayBase { | 34 | class Today : public TodayBase { |
36 | 35 | ||
37 | Q_OBJECT | 36 | Q_OBJECT |
38 | 37 | ||
39 | public: | 38 | public: |
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 7f1915c..cb809d3 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -16,16 +16,17 @@ | |||
16 | 16 | ||
17 | #include "todaybase.h" | 17 | #include "todaybase.h" |
18 | 18 | ||
19 | #include <qpe/resource.h> | 19 | #include <qpe/resource.h> |
20 | 20 | ||
21 | #include <qvbox.h> | 21 | #include <qvbox.h> |
22 | #include <qwhatsthis.h> | 22 | #include <qwhatsthis.h> |
23 | 23 | ||
24 | using namespace Opie::Ui; | ||
24 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | 25 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) |
25 | : QWidget( parent, name, WStyle_ContextHelp ) { | 26 | : QWidget( parent, name, WStyle_ContextHelp ) { |
26 | 27 | ||
27 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo | 28 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo |
28 | QImage opiezillaimage = QImage( Resource::loadImage("logo/opielogo" ) ); | 29 | QImage opiezillaimage = QImage( Resource::loadImage("logo/opielogo" ) ); |
29 | opiezillaimage = opiezillaimage.smoothScale( 45, 45 ); | 30 | opiezillaimage = opiezillaimage.smoothScale( 45, 45 ); |
30 | QPixmap opiezilla; //the opiezilla | 31 | QPixmap opiezilla; //the opiezilla |
31 | opiezilla.convertFromImage( opiezillaimage ); | 32 | opiezilla.convertFromImage( opiezillaimage ); |
diff --git a/core/pim/today/todaybase.h b/core/pim/today/todaybase.h index b737351..6ee9bb2 100644 --- a/core/pim/today/todaybase.h +++ b/core/pim/today/todaybase.h | |||
@@ -24,33 +24,32 @@ | |||
24 | class QVBox; | 24 | class QVBox; |
25 | class QGridLayout; | 25 | class QGridLayout; |
26 | class QFrame; | 26 | class QFrame; |
27 | class QLabel; | 27 | class QLabel; |
28 | class QPushButton; | 28 | class QPushButton; |
29 | class QBoxLayout; | 29 | class QBoxLayout; |
30 | 30 | ||
31 | 31 | ||
32 | using namespace Opie; | ||
33 | 32 | ||
34 | 33 | ||
35 | class TodayBase : public QWidget | 34 | class TodayBase : public QWidget |
36 | { | 35 | { |
37 | Q_OBJECT | 36 | Q_OBJECT |
38 | 37 | ||
39 | public: | 38 | public: |
40 | TodayBase( QWidget* parent = 0, const char* name = 0, WFlags = 0 ); | 39 | TodayBase( QWidget* parent = 0, const char* name = 0, WFlags = 0 ); |
41 | ~TodayBase(); | 40 | ~TodayBase(); |
42 | 41 | ||
43 | QFrame* Frame4; | 42 | QFrame* Frame4; |
44 | QPushButton* DatesButton; | 43 | QPushButton* DatesButton; |
45 | QVBoxLayout* layout; | 44 | QVBoxLayout* layout; |
46 | Opie::OClickableLabel* OwnerField; | 45 | Opie::Ui::OClickableLabel* OwnerField; |
47 | QLabel* Frame; | 46 | QLabel* Frame; |
48 | QLabel* DateLabel; | 47 | QLabel* DateLabel; |
49 | QFrame* Frame15; | 48 | QFrame* Frame15; |
50 | QLabel* Opiezilla; | 49 | QLabel* Opiezilla; |
51 | QLabel* TodayLabel; | 50 | QLabel* TodayLabel; |
52 | OClickableLabel* ConfigButton; | 51 | Opie::Ui::OClickableLabel* ConfigButton; |
53 | 52 | ||
54 | }; | 53 | }; |
55 | 54 | ||
56 | #endif | 55 | #endif |
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp index a6f53e1..4f0877c 100644 --- a/core/pim/today/todayconfig.cpp +++ b/core/pim/today/todayconfig.cpp | |||
@@ -25,16 +25,17 @@ | |||
25 | #include <qlabel.h> | 25 | #include <qlabel.h> |
26 | #include <qspinbox.h> | 26 | #include <qspinbox.h> |
27 | #include <qlayout.h> | 27 | #include <qlayout.h> |
28 | #include <qheader.h> | 28 | #include <qheader.h> |
29 | #include <qvbox.h> | 29 | #include <qvbox.h> |
30 | #include <qtoolbutton.h> | 30 | #include <qtoolbutton.h> |
31 | #include <qwhatsthis.h> | 31 | #include <qwhatsthis.h> |
32 | 32 | ||
33 | using namespace Opie::Ui; | ||
33 | class ToolButton : public QToolButton { | 34 | class ToolButton : public QToolButton { |
34 | 35 | ||
35 | public: | 36 | public: |
36 | ToolButton( QWidget *parent, const char *name, const QString& icon, QObject *handler, const QString& slot, bool t = FALSE ) | 37 | ToolButton( QWidget *parent, const char *name, const QString& icon, QObject *handler, const QString& slot, bool t = FALSE ) |
37 | : QToolButton( parent, name ) { | 38 | : QToolButton( parent, name ) { |
38 | setPixmap( Resource::loadPixmap( icon ) ); | 39 | setPixmap( Resource::loadPixmap( icon ) ); |
39 | setAutoRaise( TRUE ); | 40 | setAutoRaise( TRUE ); |
40 | setFocusPolicy( QWidget::NoFocus ); | 41 | setFocusPolicy( QWidget::NoFocus ); |
diff --git a/core/pim/today/todayconfig.h b/core/pim/today/todayconfig.h index 3b585c9..2b6c507 100644 --- a/core/pim/today/todayconfig.h +++ b/core/pim/today/todayconfig.h | |||
@@ -33,17 +33,17 @@ class QTabWidget; | |||
33 | class TodayConfig : public QDialog { | 33 | class TodayConfig : public QDialog { |
34 | 34 | ||
35 | Q_OBJECT | 35 | Q_OBJECT |
36 | 36 | ||
37 | public: | 37 | public: |
38 | TodayConfig( QWidget* parent = 0, const char* name = 0, bool modal = FALSE ); | 38 | TodayConfig( QWidget* parent = 0, const char* name = 0, bool modal = FALSE ); |
39 | ~TodayConfig(); | 39 | ~TodayConfig(); |
40 | 40 | ||
41 | OTabWidget* TabWidget3; | 41 | Opie::Ui::OTabWidget* TabWidget3; |
42 | 42 | ||
43 | void writeConfig(); | 43 | void writeConfig(); |
44 | void pluginManagement( QString libName, QString name, QPixmap icon ); | 44 | void pluginManagement( QString libName, QString name, QPixmap icon ); |
45 | 45 | ||
46 | 46 | ||
47 | protected slots: | 47 | protected slots: |
48 | void appletChanged(); | 48 | void appletChanged(); |
49 | void moveSelectedUp(); | 49 | void moveSelectedUp(); |