Diffstat (limited to 'core/pim/today/plugins/mail/mailpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/mail/mailpluginimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/plugins/mail/mailpluginimpl.cpp b/core/pim/today/plugins/mail/mailpluginimpl.cpp index dfd3a64..fac27f4 100644 --- a/core/pim/today/plugins/mail/mailpluginimpl.cpp +++ b/core/pim/today/plugins/mail/mailpluginimpl.cpp | |||
@@ -1,48 +1,48 @@ | |||
1 | /* | 1 | /* |
2 | * mailpluginimpl.cpp | 2 | * mailpluginimpl.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002 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 | 18 | ||
19 | #include "mailplugin.h" | 19 | #include "mailplugin.h" |
20 | #include "mailpluginimpl.h" | 20 | #include "mailpluginimpl.h" |
21 | 21 | ||
22 | MailPluginImpl::MailPluginImpl() { | 22 | MailPluginImpl::MailPluginImpl() { |
23 | mailPlugin = new MailPlugin(); | 23 | mailPlugin = new MailPlugin(); |
24 | } | 24 | } |
25 | 25 | ||
26 | MailPluginImpl::~MailPluginImpl() { | 26 | MailPluginImpl::~MailPluginImpl() { |
27 | delete mailPlugin; | 27 | delete mailPlugin; |
28 | } | 28 | } |
29 | 29 | ||
30 | 30 | ||
31 | TodayPluginObject* MailPluginImpl::guiPart() { | 31 | TodayPluginObject* MailPluginImpl::guiPart() { |
32 | return mailPlugin; | 32 | return mailPlugin; |
33 | } | 33 | } |
34 | 34 | ||
35 | QRESULT MailPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { | 35 | QRESULT MailPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { |
36 | *iface = 0; | 36 | *iface = 0; |
37 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { | 37 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { |
38 | *iface = this, (*iface)->addRef(); | 38 | *iface = this, (*iface)->addRef(); |
39 | }else | 39 | }else |
40 | return QS_FALSE; | 40 | return QS_FALSE; |
41 | 41 | ||
42 | return QS_OK; | 42 | return QS_OK; |
43 | 43 | ||
44 | } | 44 | } |
45 | 45 | ||
46 | Q_EXPORT_INTERFACE() { | 46 | Q_EXPORT_INTERFACE() { |
47 | Q_CREATE_INSTANCE( MailPluginImpl ); | 47 | Q_CREATE_INSTANCE( MailPluginImpl ); |
48 | } | 48 | } |