summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/mail
Unidiff
Diffstat (limited to 'core/pim/today/plugins/mail') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/mail/mailpluginwidget.cpp1
-rw-r--r--core/pim/today/plugins/mail/mailpluginwidget.h5
2 files changed, 3 insertions, 3 deletions
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
@@ -9,24 +9,25 @@
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#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
21using namespace Opie::Ui;
21MailPluginWidget::MailPluginWidget( QWidget *parent, const char* name) 22MailPluginWidget::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;
29 } 30 }
30 m_mailLabel = new OClickableLabel( this ); 31 m_mailLabel = new OClickableLabel( this );
31 connect( m_mailLabel, SIGNAL( clicked() ), this, SLOT( startMail() ) ); 32 connect( m_mailLabel, SIGNAL( clicked() ), this, SLOT( startMail() ) );
32 33
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
@@ -12,41 +12,40 @@
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 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
24using namespace Opie;
25 24
26class MailPluginWidget : public QWidget { 25class MailPluginWidget : public QWidget {
27 26
28 Q_OBJECT 27 Q_OBJECT
29 28
30public: 29public:
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
36protected slots: 35protected slots:
37 void startMail(); 36 void startMail();
38 37
39private: 38private:
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
48private slots: 47private slots:
49 void channelReceived(const QCString &msg, const QByteArray & data); 48 void channelReceived(const QCString &msg, const QByteArray & data);
50}; 49};
51 50
52#endif 51#endif