-rw-r--r-- | noncore/net/mail/viewmail.h | 7 |
1 files changed, 3 insertions, 4 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 @@ -36,8 +36,8 @@ public: void hide(); void exec(); - void setMail( RecMailP mail ); - void setBody( RecBody body ); + void setMail(const RecMailP&mail ); + void setBody(const RecBodyP&body); bool deleted; protected: @@ -59,7 +59,7 @@ private: bool _inLoop; QString m_mailHtml; bool m_gotBody; - RecBody m_body; + RecBodyP m_body; RecMailP m_recMail; bool m_showHtml; @@ -67,7 +67,6 @@ private: QMap <int,QString> m_mail; // 0 to 1 cc 2 bcc QMap <int,QStringList> m_mail2; - }; #endif |