Diffstat (limited to 'core/pim/today/plugins/mail/mailplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/mail/mailplugin.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/today/plugins/mail/mailplugin.h b/core/pim/today/plugins/mail/mailplugin.h index 7d6d5e8..1edffef 100644 --- a/core/pim/today/plugins/mail/mailplugin.h +++ b/core/pim/today/plugins/mail/mailplugin.h | |||
@@ -1,50 +1,53 @@ | |||
1 | /* | 1 | /* |
2 | * mailplugin.h | 2 | * mailplugin.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002,2004 by Maximilian Reiß | 4 | * copyright : (c) 2002,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 | #ifndef MAIL_PLUGIN_H | 18 | #ifndef MAIL_PLUGIN_H |
19 | #define MAIL_PLUGIN_H | 19 | #define MAIL_PLUGIN_H |
20 | 20 | ||
21 | #include "mailpluginwidget.h" | ||
22 | |||
23 | #include <opie2/todayplugininterface.h> | ||
24 | #include <opie2/todayconfigwidget.h> | ||
25 | |||
21 | #include <qwidget.h> | 26 | #include <qwidget.h> |
22 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
23 | 28 | ||
24 | #include <opie/todayplugininterface.h> | ||
25 | #include <opie/todayconfigwidget.h> | ||
26 | 29 | ||
27 | #include "mailpluginwidget.h" | 30 | |
28 | 31 | ||
29 | class MailPlugin : public TodayPluginObject { | 32 | class MailPlugin : public TodayPluginObject { |
30 | 33 | ||
31 | public: | 34 | public: |
32 | MailPlugin(); | 35 | MailPlugin(); |
33 | ~MailPlugin(); | 36 | ~MailPlugin(); |
34 | 37 | ||
35 | QString pluginName() const; | 38 | QString pluginName() const; |
36 | double versionNumber() const; | 39 | double versionNumber() const; |
37 | QString pixmapNameWidget() const; | 40 | QString pixmapNameWidget() const; |
38 | QWidget* widget(QWidget *); | 41 | QWidget* widget(QWidget *); |
39 | QString pixmapNameConfig() const; | 42 | QString pixmapNameConfig() const; |
40 | TodayConfigWidget* configWidget(QWidget *); | 43 | TodayConfigWidget* configWidget(QWidget *); |
41 | QString appName() const; | 44 | QString appName() const; |
42 | bool excludeFromRefresh() const; | 45 | bool excludeFromRefresh() const; |
43 | void refresh(); | 46 | void refresh(); |
44 | void reinitialize(); | 47 | void reinitialize(); |
45 | 48 | ||
46 | private: | 49 | private: |
47 | QGuardedPtr<MailPluginWidget> m_widget; | 50 | QGuardedPtr<MailPluginWidget> m_widget; |
48 | }; | 51 | }; |
49 | 52 | ||
50 | #endif | 53 | #endif |