-rw-r--r-- | kmicromail/viewmail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kmicromail/viewmail.h b/kmicromail/viewmail.h index 561989e..fc5edcf 100644 --- a/kmicromail/viewmail.h +++ b/kmicromail/viewmail.h | |||
@@ -2,15 +2,17 @@ | |||
2 | #define VIEWMAIL_H | 2 | #define VIEWMAIL_H |
3 | 3 | ||
4 | #include "viewmailbase.h" | 4 | #include "viewmailbase.h" |
5 | #include <libmailwrapper/mailtypes.h> | 5 | #include <libmailwrapper/mailtypes.h> |
6 | 6 | ||
7 | #include <qdialog.h> | 7 | #include <qdialog.h> |
8 | #include <qapplication.h> | ||
8 | 9 | ||
9 | #include <qlistview.h> | 10 | #include <qlistview.h> |
10 | #include <qmap.h> | 11 | #include <qmap.h> |
12 | #include <klocale.h> | ||
11 | #include <qstringlist.h> | 13 | #include <qstringlist.h> |
12 | #include <qvaluelist.h> | 14 | #include <qvaluelist.h> |
13 | 15 | ||
14 | //namespace Opie { namespace MM { class OImageScrollView; } } | 16 | //namespace Opie { namespace MM { class OImageScrollView; } } |
15 | 17 | ||
16 | class AttachItem : public QListViewItem | 18 | class AttachItem : public QListViewItem |
@@ -49,13 +51,13 @@ public: | |||
49 | protected: | 51 | protected: |
50 | QString deHtml(const QString &string); | 52 | QString deHtml(const QString &string); |
51 | AttachItem* searchParent(const QValueList<int>&path); | 53 | AttachItem* searchParent(const QValueList<int>&path); |
52 | AttachItem* lastChild(AttachItem*parent); | 54 | AttachItem* lastChild(AttachItem*parent); |
53 | 55 | ||
54 | protected slots: | 56 | protected slots: |
55 | void slotNextMail() { emit showNextMail(this); }; | 57 | void slotNextMail() { setCaption(i18n("Displaying next mail...please wait!")); qApp->processEvents();emit showNextMail(this); }; |
56 | void slotReply(); | 58 | void slotReply(); |
57 | void slotForward(); | 59 | void slotForward(); |
58 | void setText(); | 60 | void setText(); |
59 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); | 61 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); |
60 | void slotDeleteMail( ); | 62 | void slotDeleteMail( ); |
61 | void slotShowHtml( bool ); | 63 | void slotShowHtml( bool ); |