author | alwin <alwin> | 2004-04-14 22:36:20 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-14 22:36:20 (UTC) |
commit | 6439d07d42e10b0804a3a31fdfd6645b36d2fad5 (patch) (unidiff) | |
tree | 07ff558875de1ebe8235badaa3cab4205fa82089 /noncore/net/mail/viewmail.h | |
parent | 1b8fac62de40773977e9b3e800cf22cc42603ced (diff) | |
download | opie-6439d07d42e10b0804a3a31fdfd6645b36d2fad5.zip opie-6439d07d42e10b0804a3a31fdfd6645b36d2fad5.tar.gz opie-6439d07d42e10b0804a3a31fdfd6645b36d2fad5.tar.bz2 |
opiemail now displays images send with mail
-rw-r--r-- | noncore/net/mail/viewmail.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index b60fb8e..297836b 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h | |||
@@ -1,14 +1,17 @@ | |||
1 | #ifndef VIEWMAIL_H | 1 | #ifndef VIEWMAIL_H |
2 | #define VIEWMAIL_H | 2 | #define VIEWMAIL_H |
3 | 3 | ||
4 | #include "viewmailbase.h" | ||
5 | #include <libmailwrapper/mailtypes.h> | ||
6 | |||
7 | #include <opie2/odialog.h> | ||
8 | |||
4 | #include <qlistview.h> | 9 | #include <qlistview.h> |
5 | #include <qmap.h> | 10 | #include <qmap.h> |
6 | #include <qstringlist.h> | 11 | #include <qstringlist.h> |
7 | #include <qvaluelist.h> | 12 | #include <qvaluelist.h> |
8 | 13 | ||
9 | #include "viewmailbase.h" | 14 | namespace Opie { namespace MM { class OImageScrollView; } } |
10 | #include <libmailwrapper/mailtypes.h> | ||
11 | |||
12 | 15 | ||
13 | class AttachItem : public QListViewItem | 16 | class AttachItem : public QListViewItem |
14 | { | 17 | { |
@@ -69,4 +72,15 @@ private: | |||
69 | QMap <int,QStringList> m_mail2; | 72 | QMap <int,QStringList> m_mail2; |
70 | }; | 73 | }; |
71 | 74 | ||
75 | class MailImageDlg:public Opie::Ui::ODialog | ||
76 | { | ||
77 | Q_OBJECT | ||
78 | public: | ||
79 | MailImageDlg(const QString&,QWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0); | ||
80 | ~MailImageDlg(); | ||
81 | void setName(const QString&); | ||
82 | protected: | ||
83 | Opie::MM::OImageScrollView*m_imageview; | ||
84 | }; | ||
85 | |||
72 | #endif | 86 | #endif |