-rw-r--r-- | core/pim/today/plugins/mail/mailplugin.cpp | 5 |
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 | ||
20 | MailPlugin::MailPlugin() { | 19 | MailPlugin::MailPlugin() { |
21 | m_widget = 0l; | 20 | m_widget = 0l; |
22 | } | 21 | } |
23 | 22 | ||
24 | MailPlugin::~MailPlugin() { | 23 | MailPlugin::~MailPlugin() { |
25 | } | 24 | } |
26 | 25 | ||
27 | QString MailPlugin::pluginName() const { | 26 | QString MailPlugin::pluginName() const { |
28 | return QObject::tr( "Mail plugin" ); | 27 | return QObject::tr( "Mail plugin" ); |
29 | } | 28 | } |
30 | 29 | ||
31 | double MailPlugin::versionNumber() const { | 30 | double MailPlugin::versionNumber() const { |
32 | return 0.6; | 31 | return 0.6; |
33 | } | 32 | } |
34 | 33 | ||
35 | QString MailPlugin::pixmapNameWidget() const { | 34 | QString MailPlugin::pixmapNameWidget() const { |
36 | return "opiemail/desktopicon"; | 35 | return "mail/desktopicon"; |
37 | } | 36 | } |
38 | 37 | ||
39 | QWidget* MailPlugin::widget( QWidget * wid ) { | 38 | QWidget* 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 | ||
45 | QString MailPlugin::pixmapNameConfig() const { | 44 | QString MailPlugin::pixmapNameConfig() const { |
46 | return 0l; | 45 | return 0l; |
47 | } | 46 | } |
48 | 47 | ||
49 | TodayConfigWidget* MailPlugin::configWidget( QWidget* ) { | 48 | TodayConfigWidget* MailPlugin::configWidget( QWidget* ) { |
50 | return 0l; | 49 | return 0l; |
51 | } | 50 | } |
52 | 51 | ||
53 | QString MailPlugin::appName() const { | 52 | QString MailPlugin::appName() const { |
54 | return "opiemail"; | 53 | return "opiemail"; |
55 | } | 54 | } |
56 | 55 | ||
57 | 56 | ||
58 | bool MailPlugin::excludeFromRefresh() const { | 57 | bool MailPlugin::excludeFromRefresh() const { |
59 | return false; | 58 | return false; |
60 | } | 59 | } |
61 | 60 | ||
62 | void MailPlugin::refresh() { | 61 | void MailPlugin::refresh() { |
63 | if ( m_widget ) { | 62 | if ( m_widget ) { |
64 | m_widget->refresh(); | 63 | m_widget->refresh(); |
65 | } | 64 | } |
66 | } | 65 | } |
67 | 66 | ||
68 | void MailPlugin::reinitialize() { | 67 | void MailPlugin::reinitialize() { |
69 | } | 68 | } |