Diffstat (limited to 'noncore/net/mail/accountview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/accountview.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp index 1bde886..df9fc11 100644 --- a/noncore/net/mail/accountview.cpp +++ b/noncore/net/mail/accountview.cpp | |||
@@ -2,2 +2,3 @@ | |||
2 | #include "imapwrapper.h" | 2 | #include "imapwrapper.h" |
3 | #include "mailtypes.h" | ||
3 | #include "defines.h" | 4 | #include "defines.h" |
@@ -24,3 +25,3 @@ IMAPwrapper *IMAPviewItem::getWrapper() | |||
24 | 25 | ||
25 | void IMAPviewItem::refresh(Maillist&) | 26 | void IMAPviewItem::refresh(QList<RecMail>&) |
26 | { | 27 | { |
@@ -41,2 +42,6 @@ void IMAPviewItem::refresh(Maillist&) | |||
41 | 42 | ||
43 | RecBody IMAPviewItem::fetchBody(const RecMail&) | ||
44 | { | ||
45 | return RecBody(); | ||
46 | } | ||
42 | 47 | ||
@@ -56,3 +61,3 @@ IMAPfolderItem::IMAPfolderItem( IMAPFolder *folderInit, IMAPviewItem *parent ) | |||
56 | 61 | ||
57 | void IMAPfolderItem::refresh(Maillist&target) | 62 | void IMAPfolderItem::refresh(QList<RecMail>&target) |
58 | { | 63 | { |
@@ -61,3 +66,3 @@ void IMAPfolderItem::refresh(Maillist&target) | |||
61 | 66 | ||
62 | QString IMAPfolderItem::fetchBody(const RecMail&aMail) | 67 | RecBody IMAPfolderItem::fetchBody(const RecMail&aMail) |
63 | { | 68 | { |
@@ -90,3 +95,3 @@ void AccountView::refresh(QListViewItem *item) { | |||
90 | if ( item ) { | 95 | if ( item ) { |
91 | Maillist headerlist; | 96 | QList<RecMail> headerlist; |
92 | headerlist.setAutoDelete(true); | 97 | headerlist.setAutoDelete(true); |
@@ -103,7 +108,6 @@ void AccountView::refreshAll() | |||
103 | 108 | ||
104 | QString AccountView::fetchBody(const RecMail&aMail) | 109 | RecBody AccountView::fetchBody(const RecMail&aMail) |
105 | { | 110 | { |
106 | QString Body; | ||
107 | QListViewItem*item = selectedItem (); | 111 | QListViewItem*item = selectedItem (); |
108 | if (!item) return Body; | 112 | if (!item) return RecBody(); |
109 | AccountViewItem *view = static_cast<AccountViewItem *>(item); | 113 | AccountViewItem *view = static_cast<AccountViewItem *>(item); |