summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/mail/mailplugin.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/today/plugins/mail/mailplugin.cpp b/core/pim/today/plugins/mail/mailplugin.cpp
index f590ebb..4cfb26c 100644
--- a/core/pim/today/plugins/mail/mailplugin.cpp
+++ b/core/pim/today/plugins/mail/mailplugin.cpp
@@ -1,69 +1,68 @@
1/* 1/*
2 * mailplugin.cpp 2 * mailplugin.cpp
3 * 3 *
4 * copyright : (c) 2002,2003,2004 by Maximilian Reiß 4 * copyright : (c) 2002,2003,2004 by Maximilian Rei� * email : harlekin@handhelds.org
5 * email : harlekin@handhelds.org
6 * 5 *
7 */ 6 */
8/*************************************************************************** 7/***************************************************************************
9 * * 8 * *
10 * This program is free software; you can redistribute it and/or modify * 9 * 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 * 10 * 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 * 11 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 12 * (at your option) any later version. *
14 * * 13 * *
15 ***************************************************************************/ 14 ***************************************************************************/
16 15
17 16
18#include "mailplugin.h" 17#include "mailplugin.h"
19 18
20MailPlugin::MailPlugin() { 19MailPlugin::MailPlugin() {
21 m_widget = 0l; 20 m_widget = 0l;
22} 21}
23 22
24MailPlugin::~MailPlugin() { 23MailPlugin::~MailPlugin() {
25} 24}
26 25
27QString MailPlugin::pluginName() const { 26QString MailPlugin::pluginName() const {
28 return QObject::tr( "Mail plugin" ); 27 return QObject::tr( "Mail plugin" );
29} 28}
30 29
31double MailPlugin::versionNumber() const { 30double MailPlugin::versionNumber() const {
32 return 0.6; 31 return 0.6;
33} 32}
34 33
35QString MailPlugin::pixmapNameWidget() const { 34QString MailPlugin::pixmapNameWidget() const {
36 return "opiemail/desktopicon"; 35 return "mail/desktopicon";
37} 36}
38 37
39QWidget* MailPlugin::widget( QWidget * wid ) { 38QWidget* MailPlugin::widget( QWidget * wid ) {
40 m_widget = new MailPluginWidget( wid, "Datebook" ); 39 m_widget = new MailPluginWidget( wid, "Datebook" );
41 return m_widget; 40 return m_widget;
42} 41}
43 42
44 43
45QString MailPlugin::pixmapNameConfig() const { 44QString MailPlugin::pixmapNameConfig() const {
46 return 0l; 45 return 0l;
47} 46}
48 47
49TodayConfigWidget* MailPlugin::configWidget( QWidget* ) { 48TodayConfigWidget* MailPlugin::configWidget( QWidget* ) {
50 return 0l; 49 return 0l;
51} 50}
52 51
53QString MailPlugin::appName() const { 52QString MailPlugin::appName() const {
54 return "opiemail"; 53 return "opiemail";
55} 54}
56 55
57 56
58bool MailPlugin::excludeFromRefresh() const { 57bool MailPlugin::excludeFromRefresh() const {
59 return false; 58 return false;
60} 59}
61 60
62void MailPlugin::refresh() { 61void MailPlugin::refresh() {
63 if ( m_widget ) { 62 if ( m_widget ) {
64 m_widget->refresh(); 63 m_widget->refresh();
65 } 64 }
66} 65}
67 66
68void MailPlugin::reinitialize() { 67void MailPlugin::reinitialize() {
69} 68}