summaryrefslogtreecommitdiff
path: root/noncore/net/mail
authorharlekin <harlekin>2003-12-13 21:49:53 (UTC)
committer harlekin <harlekin>2003-12-13 21:49:53 (UTC)
commit8290f1a524b6f0051e49f8045d24e508d46868e2 (patch) (unidiff)
tree6c2acfab918834961c82558224c28b00077bc86f /noncore/net/mail
parentc0e86973b0cd2d01163ccf60340c8d295aa645f4 (diff)
downloadopie-8290f1a524b6f0051e49f8045d24e508d46868e2.zip
opie-8290f1a524b6f0051e49f8045d24e508d46868e2.tar.gz
opie-8290f1a524b6f0051e49f8045d24e508d46868e2.tar.bz2
possible to show all kind of text attachemnts now
Diffstat (limited to 'noncore/net/mail') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/viewmail.cpp6
-rw-r--r--noncore/net/mail/viewmail.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp
index c24d5d3..a73dac5 100644
--- a/noncore/net/mail/viewmail.cpp
+++ b/noncore/net/mail/viewmail.cpp
@@ -12,2 +12,3 @@
12#include "viewmail.h" 12#include "viewmail.h"
13#include "abstractmail.h"
13 14
@@ -132,3 +133,2 @@ void ViewMail::slotItemClicked( QListViewItem * item , const QPoint & point, int
132 case 1: 133 case 1:
133
134 qDebug( QString( "Test selected" ).arg( ( ( AttachItem* )item )->Partnumber() ) ); 134 qDebug( QString( "Test selected" ).arg( ( ( AttachItem* )item )->Partnumber() ) );
@@ -137,3 +137,3 @@ void ViewMail::slotItemClicked( QListViewItem * item , const QPoint & point, int
137 } else { 137 } else {
138 browser->setText( ( m_body.Parts()[( ( AttachItem* )item )->Partnumber() ] ).Identifier() ); 138 browser->setText( m_recMail.Wrapper()->fetchPart( m_recMail, m_body.Parts()[ ( ( AttachItem* )item )->Partnumber() ] ) );
139 } 139 }
@@ -147,2 +147,4 @@ void ViewMail::setMail( RecMail mail ) {
147 147
148m_recMail = mail;
149
148m_mail[0] = mail.getFrom(); 150m_mail[0] = mail.getFrom();
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h
index 0e85839..bc12da1 100644
--- a/noncore/net/mail/viewmail.h
+++ b/noncore/net/mail/viewmail.h
@@ -47,2 +47,3 @@ private:
47 RecBody m_body; 47 RecBody m_body;
48 RecMail m_recMail;
48 49