author | alwin <alwin> | 2004-03-18 18:00:18 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-18 18:00:18 (UTC) |
commit | fef9cec046fcf21a4f762c36454b8f253dd3e25e (patch) (side-by-side diff) | |
tree | b87ee38164e1e9ce635dde34c13677f09388c058 /noncore/net/mail/viewmail.h | |
parent | 69fa0e7b5cab5f4cdfdac736e31ff0fd0fbf4312 (diff) | |
download | opie-fef9cec046fcf21a4f762c36454b8f253dd3e25e.zip opie-fef9cec046fcf21a4f762c36454b8f253dd3e25e.tar.gz opie-fef9cec046fcf21a4f762c36454b8f253dd3e25e.tar.bz2 |
some (hopeful) improvements
-rw-r--r-- | noncore/net/mail/viewmail.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index 6875e3c..b60fb8e 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h @@ -33,41 +33,40 @@ class ViewMail : public ViewMailBase public: ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0); ~ViewMail(); void hide(); void exec(); - void setMail( RecMailP mail ); - void setBody( RecBody body ); - bool deleted; + void setMail(const RecMailP&mail ); + void setBody(const RecBodyP&body); + bool deleted; protected: QString deHtml(const QString &string); AttachItem* searchParent(const QValueList<int>&path); AttachItem* lastChild(AttachItem*parent); protected slots: void slotReply(); void slotForward(); - void setText(); - void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); - void slotDeleteMail( ); + void setText(); + void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); + void slotDeleteMail( ); void slotShowHtml( bool ); private: void readConfig(); bool _inLoop; QString m_mailHtml; bool m_gotBody; - RecBody m_body; - RecMailP m_recMail; + RecBodyP m_body; + RecMailP m_recMail; bool m_showHtml; - // 0 from 1 subject 2 bodytext 3 date - QMap <int,QString> m_mail; - // 0 to 1 cc 2 bcc - QMap <int,QStringList> m_mail2; - + // 0 from 1 subject 2 bodytext 3 date + QMap <int,QString> m_mail; + // 0 to 1 cc 2 bcc + QMap <int,QStringList> m_mail2; }; #endif |