author | harlekin <harlekin> | 2004-01-04 01:09:19 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-01-04 01:09:19 (UTC) |
commit | 4c9f71fba68fcf98b0b4c9b14b699282dfe962e5 (patch) (unidiff) | |
tree | d4e9b3e13a512152432fe7e3b28eff9b1d25c4d8 | |
parent | 726450b119e6d9f2bd33f70068afc54605c134ee (diff) | |
download | opie-4c9f71fba68fcf98b0b4c9b14b699282dfe962e5.zip opie-4c9f71fba68fcf98b0b4c9b14b699282dfe962e5.tar.gz opie-4c9f71fba68fcf98b0b4c9b14b699282dfe962e5.tar.bz2 |
also update the icon etc
-rw-r--r-- | core/pim/today/plugins/mail/mailplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/plugins/mail/mailplugin.cpp b/core/pim/today/plugins/mail/mailplugin.cpp index 7ba54ea..b30d2a2 100644 --- a/core/pim/today/plugins/mail/mailplugin.cpp +++ b/core/pim/today/plugins/mail/mailplugin.cpp | |||
@@ -1,72 +1,72 @@ | |||
1 | /* | 1 | /* |
2 | * mailplugin.cpp | 2 | * mailplugin.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002,2003 by Maximilian Reiß | 4 | * copyright : (c) 2002,2003,2004 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
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 | 16 | ||
17 | 17 | ||
18 | #include "mailplugin.h" | 18 | #include "mailplugin.h" |
19 | 19 | ||
20 | MailPlugin::MailPlugin() { | 20 | MailPlugin::MailPlugin() { |
21 | m_widget = 0l; | 21 | m_widget = 0l; |
22 | } | 22 | } |
23 | 23 | ||
24 | MailPlugin::~MailPlugin() { | 24 | MailPlugin::~MailPlugin() { |
25 | delete (MailPluginWidget*)m_widget; | 25 | delete (MailPluginWidget*)m_widget; |
26 | } | 26 | } |
27 | 27 | ||
28 | QString MailPlugin::pluginName() const { | 28 | QString MailPlugin::pluginName() const { |
29 | return QObject::tr( "Mail plugin" ); | 29 | return QObject::tr( "Mail plugin" ); |
30 | } | 30 | } |
31 | 31 | ||
32 | double MailPlugin::versionNumber() const { | 32 | double MailPlugin::versionNumber() const { |
33 | return 0.6; | 33 | return 0.6; |
34 | } | 34 | } |
35 | 35 | ||
36 | QString MailPlugin::pixmapNameWidget() const { | 36 | QString MailPlugin::pixmapNameWidget() const { |
37 | return "opiemail/desktopicon"; | 37 | return "opiemail/desktopicon"; |
38 | } | 38 | } |
39 | 39 | ||
40 | QWidget* MailPlugin::widget( QWidget * wid ) { | 40 | QWidget* MailPlugin::widget( QWidget * wid ) { |
41 | if(!m_widget) { | 41 | if(!m_widget) { |
42 | m_widget = new MailPluginWidget( wid, "Datebook" ); | 42 | m_widget = new MailPluginWidget( wid, "Datebook" ); |
43 | } | 43 | } |
44 | return m_widget; | 44 | return m_widget; |
45 | } | 45 | } |
46 | 46 | ||
47 | 47 | ||
48 | QString MailPlugin::pixmapNameConfig() const { | 48 | QString MailPlugin::pixmapNameConfig() const { |
49 | return 0l; | 49 | return 0l; |
50 | } | 50 | } |
51 | 51 | ||
52 | TodayConfigWidget* MailPlugin::configWidget( QWidget* ) { | 52 | TodayConfigWidget* MailPlugin::configWidget( QWidget* ) { |
53 | return 0l; | 53 | return 0l; |
54 | } | 54 | } |
55 | 55 | ||
56 | QString MailPlugin::appName() const { | 56 | QString MailPlugin::appName() const { |
57 | return "opiemail"; | 57 | return "opiemail"; |
58 | } | 58 | } |
59 | 59 | ||
60 | 60 | ||
61 | bool MailPlugin::excludeFromRefresh() const { | 61 | bool MailPlugin::excludeFromRefresh() const { |
62 | return false; | 62 | return false; |
63 | } | 63 | } |
64 | 64 | ||
65 | void MailPlugin::refresh() { | 65 | void MailPlugin::refresh() { |
66 | if ( m_widget ) { | 66 | if ( m_widget ) { |
67 | m_widget->refresh(); | 67 | m_widget->refresh(); |
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | void MailPlugin::reinitialize() { | 71 | void MailPlugin::reinitialize() { |
72 | } | 72 | } |