author | zautrix <zautrix> | 2004-12-05 14:38:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-05 14:38:15 (UTC) |
commit | ea023772f18fa52d2b3d523a68d707576629326f (patch) (unidiff) | |
tree | 5c41a05954c543fefb49a27f256f2995a5a67b2a /kmicromail/viewmail.h | |
parent | 06bebf5be01898145c4f721a8d002519141e7f3b (diff) | |
download | kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.zip kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.tar.gz kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.tar.bz2 |
ompi mail view fix
-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 194ac8e..c2c2ce3 100644 --- a/kmicromail/viewmail.h +++ b/kmicromail/viewmail.h | |||
@@ -29,39 +29,41 @@ private: | |||
29 | QValueList<int> _path; | 29 | QValueList<int> _path; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | class ViewMail : public ViewMailBase | 32 | class ViewMail : public ViewMailBase |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | 35 | ||
36 | public: | 36 | public: |
37 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0); | 37 | ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0); |
38 | ~ViewMail(); | 38 | ~ViewMail(); |
39 | 39 | ||
40 | void hide(); | 40 | void hide(); |
41 | void exec(); | 41 | void exec(); |
42 | void setMail(const RecMailP&mail ); | 42 | void setMail(const RecMailP&mail ); |
43 | void setBody(const RecBodyP&body); | 43 | void setBody(const RecBodyP&body); |
44 | bool deleted; | 44 | bool deleted; |
45 | 45 | signals: | |
46 | void showNextMail(ViewMail*); | ||
46 | protected: | 47 | protected: |
47 | QString deHtml(const QString &string); | 48 | QString deHtml(const QString &string); |
48 | AttachItem* searchParent(const QValueList<int>&path); | 49 | AttachItem* searchParent(const QValueList<int>&path); |
49 | AttachItem* lastChild(AttachItem*parent); | 50 | AttachItem* lastChild(AttachItem*parent); |
50 | 51 | ||
51 | protected slots: | 52 | protected slots: |
53 | void slotNextMail() { emit showNextMail(this); }; | ||
52 | void slotReply(); | 54 | void slotReply(); |
53 | void slotForward(); | 55 | void slotForward(); |
54 | void setText(); | 56 | void setText(); |
55 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); | 57 | void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); |
56 | void slotDeleteMail( ); | 58 | void slotDeleteMail( ); |
57 | void slotShowHtml( bool ); | 59 | void slotShowHtml( bool ); |
58 | 60 | ||
59 | private: | 61 | private: |
60 | void readConfig(); | 62 | void readConfig(); |
61 | 63 | ||
62 | bool _inLoop; | 64 | bool _inLoop; |
63 | QString m_mailHtml; | 65 | QString m_mailHtml; |
64 | bool m_gotBody; | 66 | bool m_gotBody; |
65 | RecBodyP m_body; | 67 | RecBodyP m_body; |
66 | RecMailP m_recMail; | 68 | RecMailP m_recMail; |
67 | bool m_showHtml; | 69 | bool m_showHtml; |