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