-rw-r--r-- | noncore/net/mail/opiemail.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/net/mail/opiemail.h b/noncore/net/mail/opiemail.h index c9d758d..75a0b2d 100644 --- a/noncore/net/mail/opiemail.h +++ b/noncore/net/mail/opiemail.h | |||
@@ -1,47 +1,51 @@ | |||
1 | #ifndef OPIEMAIL_H | 1 | #ifndef OPIEMAIL_H |
2 | #define OPIEMAIL_H | 2 | #define OPIEMAIL_H |
3 | 3 | ||
4 | #include "mainwindow.h" | 4 | #include "mainwindow.h" |
5 | #include <libmailwrapper/settings.h> | 5 | #include <libmailwrapper/settings.h> |
6 | #include <libmailwrapper/mailtypes.h> | ||
6 | 7 | ||
7 | #include <opie2/osmartpointer.h> | 8 | #include <opie2/osmartpointer.h> |
8 | #include <libmailwrapper/mailtypes.h> | 9 | |
10 | #include <qmap.h> | ||
9 | 11 | ||
10 | class OpieMail : public MainWindow | 12 | class OpieMail : public MainWindow |
11 | { | 13 | { |
12 | Q_OBJECT | 14 | Q_OBJECT |
13 | 15 | ||
14 | public: | 16 | public: |
15 | OpieMail( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 17 | OpieMail( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
16 | virtual ~OpieMail(); | 18 | virtual ~OpieMail(); |
17 | static QString appName() { return QString::fromLatin1("opiemail"); } | 19 | static QString appName() { return QString::fromLatin1("opiemail"); } |
18 | 20 | ||
19 | public slots: | 21 | public slots: |
20 | virtual void slotwriteMail(const QString&name,const QString&email); | 22 | virtual void slotwriteMail(const QString&name,const QString&email); |
21 | virtual void slotComposeMail(); | 23 | virtual void slotComposeMail(); |
22 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 24 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
23 | void setDocument(const QString&); | 25 | void setDocument(const QString&); |
24 | 26 | ||
25 | protected slots: | 27 | protected slots: |
26 | virtual void slotSendQueued(); | 28 | virtual void slotSendQueued(); |
27 | virtual void slotSearchMails(); | 29 | virtual void slotSearchMails(); |
28 | virtual void slotEditSettings(); | 30 | virtual void slotEditSettings(); |
29 | virtual void slotEditAccounts(); | 31 | virtual void slotEditAccounts(); |
30 | virtual void displayMail(); | 32 | virtual void displayMail(); |
31 | virtual void slotDeleteMail(); | 33 | virtual void slotDeleteMail(); |
32 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 34 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
33 | virtual void slotShowFolders( bool show ); | 35 | virtual void slotShowFolders( bool show ); |
34 | virtual void refreshMailView(const QValueList<RecMailP>&); | 36 | virtual void refreshMailView(const QValueList<RecMailP>&); |
35 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); | 37 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); |
36 | virtual void slotMoveCopyMail(); | 38 | virtual void slotMoveCopyMail(); |
37 | virtual void reEditMail(); | 39 | virtual void reEditMail(); |
40 | virtual void serverSelected(int); | ||
41 | virtual void refreshMenu(int); | ||
38 | 42 | ||
39 | protected: | 43 | protected: |
40 | void setup_signalblocking(); | 44 | void setup_signalblocking(); |
41 | 45 | ||
42 | private: | 46 | private: |
43 | Settings *settings; | 47 | Settings *settings; |
44 | 48 | ||
45 | }; | 49 | }; |
46 | 50 | ||
47 | #endif | 51 | #endif |