4 files changed, 5 insertions, 7 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h index 68af323..f8ed89e 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.h +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -22,17 +22,16 @@ | |||
22 | #include <opie2/oclickablelabel.h> | 22 | #include <opie2/oclickablelabel.h> |
23 | 23 | ||
24 | #include <qpe/datebookdb.h> | 24 | #include <qpe/datebookdb.h> |
25 | 25 | ||
26 | #include <qlayout.h> | 26 | #include <qlayout.h> |
27 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
28 | #include <qlist.h> | 28 | #include <qlist.h> |
29 | 29 | ||
30 | using namespace Opie; | ||
31 | 30 | ||
32 | class DatebookPluginWidget : public QWidget { | 31 | class DatebookPluginWidget : public QWidget { |
33 | 32 | ||
34 | Q_OBJECT | 33 | Q_OBJECT |
35 | 34 | ||
36 | public: | 35 | public: |
37 | DatebookPluginWidget( QWidget *parent, const char *name ); | 36 | DatebookPluginWidget( QWidget *parent, const char *name ); |
38 | ~DatebookPluginWidget(); | 37 | ~DatebookPluginWidget(); |
@@ -41,17 +40,17 @@ public: | |||
41 | 40 | ||
42 | private: | 41 | private: |
43 | DateBookDB* db; | 42 | DateBookDB* db; |
44 | QGuardedPtr<QVBoxLayout> m_layoutDates; | 43 | QGuardedPtr<QVBoxLayout> m_layoutDates; |
45 | QList<QWidget> m_eventsList; | 44 | QList<QWidget> m_eventsList; |
46 | void readConfig(); | 45 | void readConfig(); |
47 | void getDates(); | 46 | void getDates(); |
48 | 47 | ||
49 | 48 | ||
50 | // how many lines should be showed in the datebook section | 49 | // how many lines should be showed in the datebook section |
51 | int m_max_lines_meet; | 50 | int m_max_lines_meet; |
52 | // If location is to be showed too, 1 to activate it. | 51 | // If location is to be showed too, 1 to activate it. |
53 | bool m_show_location; | 52 | bool m_show_location; |
54 | // if notes should be shown | 53 | // if notes should be shown |
55 | bool m_show_notes; | 54 | bool m_show_notes; |
56 | // should only later appointments be shown or all for the current day. | 55 | // should only later appointments be shown or all for the current day. |
57 | bool m_onlyLater; | 56 | bool m_onlyLater; |
diff --git a/core/pim/today/plugins/mail/mailpluginwidget.cpp b/core/pim/today/plugins/mail/mailpluginwidget.cpp index a8e4c41..a71c477 100644 --- a/core/pim/today/plugins/mail/mailpluginwidget.cpp +++ b/core/pim/today/plugins/mail/mailpluginwidget.cpp | |||
@@ -13,16 +13,17 @@ | |||
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | #include "mailpluginwidget.h" | 16 | #include "mailpluginwidget.h" |
17 | 17 | ||
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qpe/qcopenvelope_qws.h> | 19 | #include <qpe/qcopenvelope_qws.h> |
20 | 20 | ||
21 | using namespace Opie::Ui; | ||
21 | MailPluginWidget::MailPluginWidget( QWidget *parent, const char* name) | 22 | MailPluginWidget::MailPluginWidget( QWidget *parent, const char* name) |
22 | : QWidget(parent, name ) { | 23 | : QWidget(parent, name ) { |
23 | 24 | ||
24 | m_mailLabel = 0l; | 25 | m_mailLabel = 0l; |
25 | m_layout = 0l; | 26 | m_layout = 0l; |
26 | 27 | ||
27 | if ( m_mailLabel ) { | 28 | if ( m_mailLabel ) { |
28 | delete m_mailLabel; | 29 | delete m_mailLabel; |
diff --git a/core/pim/today/plugins/mail/mailpluginwidget.h b/core/pim/today/plugins/mail/mailpluginwidget.h index 0ad8738..2c6104f 100644 --- a/core/pim/today/plugins/mail/mailpluginwidget.h +++ b/core/pim/today/plugins/mail/mailpluginwidget.h | |||
@@ -16,33 +16,32 @@ | |||
16 | 16 | ||
17 | #ifndef MAIL_PLUGIN_WIDGET_H | 17 | #ifndef MAIL_PLUGIN_WIDGET_H |
18 | #define MAIL_PLUGIN_WIDGET_H | 18 | #define MAIL_PLUGIN_WIDGET_H |
19 | 19 | ||
20 | #include <qlayout.h> | 20 | #include <qlayout.h> |
21 | 21 | ||
22 | #include <opie2/oclickablelabel.h> | 22 | #include <opie2/oclickablelabel.h> |
23 | 23 | ||
24 | using namespace Opie; | ||
25 | 24 | ||
26 | class MailPluginWidget : public QWidget { | 25 | class MailPluginWidget : public QWidget { |
27 | 26 | ||
28 | Q_OBJECT | 27 | Q_OBJECT |
29 | 28 | ||
30 | public: | 29 | public: |
31 | MailPluginWidget( QWidget *parent, const char *name ); | 30 | MailPluginWidget( QWidget *parent, const char *name ); |
32 | ~MailPluginWidget(); | 31 | ~MailPluginWidget(); |
33 | 32 | ||
34 | void refresh(); | 33 | void refresh(); |
35 | 34 | ||
36 | protected slots: | 35 | protected slots: |
37 | void startMail(); | 36 | void startMail(); |
38 | 37 | ||
39 | private: | 38 | private: |
40 | OClickableLabel* m_mailLabel; | 39 | Opie::Ui::OClickableLabel* m_mailLabel; |
41 | QHBoxLayout* m_layout; | 40 | QHBoxLayout* m_layout; |
42 | void readConfig(); | 41 | void readConfig(); |
43 | void getInfo(); | 42 | void getInfo(); |
44 | 43 | ||
45 | int m_newMails; | 44 | int m_newMails; |
46 | int m_outgoing; | 45 | int m_outgoing; |
47 | 46 | ||
48 | private slots: | 47 | private slots: |
diff --git a/core/pim/today/plugins/todolist/todoplugin.h b/core/pim/today/plugins/todolist/todoplugin.h index bea15d5..976dbf7 100644 --- a/core/pim/today/plugins/todolist/todoplugin.h +++ b/core/pim/today/plugins/todolist/todoplugin.h | |||
@@ -22,24 +22,23 @@ | |||
22 | 22 | ||
23 | #include <opie2/oclickablelabel.h> | 23 | #include <opie2/oclickablelabel.h> |
24 | #include <opie2/todayplugininterface.h> | 24 | #include <opie2/todayplugininterface.h> |
25 | 25 | ||
26 | #include <qstring.h> | 26 | #include <qstring.h> |
27 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
28 | #include <qwidget.h> | 28 | #include <qwidget.h> |
29 | 29 | ||
30 | using namespace Opie; | ||
31 | 30 | ||
32 | class TodolistPlugin : public TodayPluginObject { | 31 | class TodolistPlugin : public TodayPluginObject { |
33 | 32 | ||
34 | public: | 33 | public: |
35 | TodolistPlugin(); | 34 | TodolistPlugin(); |
36 | ~TodolistPlugin(); | 35 | ~TodolistPlugin(); |
37 | 36 | ||
38 | QString pluginName() const; | 37 | QString pluginName() const; |
39 | double versionNumber() const; | 38 | double versionNumber() const; |
40 | QString pixmapNameWidget() const; | 39 | QString pixmapNameWidget() const; |
41 | QWidget* widget(QWidget *); | 40 | QWidget* widget(QWidget *); |
42 | QString pixmapNameConfig() const; | 41 | QString pixmapNameConfig() const; |
43 | TodayConfigWidget* configWidget(QWidget *); | 42 | TodayConfigWidget* configWidget(QWidget *); |
44 | QString appName() const; | 43 | QString appName() const; |
45 | bool excludeFromRefresh() const; | 44 | bool excludeFromRefresh() const; |