summaryrefslogtreecommitdiff
path: root/noncore/net/mail/accountview.h
authoralwin <alwin>2003-12-09 16:59:57 (UTC)
committer alwin <alwin>2003-12-09 16:59:57 (UTC)
commit1999708f1480dbdd19e73671fbd9e422883839b6 (patch) (unidiff)
tree633887e98f12d63455faa5065c0f6a3cc0fb290d /noncore/net/mail/accountview.h
parentc6b105a7bf2bfffa847fd84c422ae9a3850c682f (diff)
downloadopie-1999708f1480dbdd19e73671fbd9e422883839b6.zip
opie-1999708f1480dbdd19e73671fbd9e422883839b6.tar.gz
opie-1999708f1480dbdd19e73671fbd9e422883839b6.tar.bz2
some interface changes
split class defines into more files
Diffstat (limited to 'noncore/net/mail/accountview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/accountview.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h
index 2bc8023..805c2b3 100644
--- a/noncore/net/mail/accountview.h
+++ b/noncore/net/mail/accountview.h
@@ -4,2 +4,3 @@
4#include <qlistview.h> 4#include <qlistview.h>
5#include <qlist.h>
5 6
@@ -9,2 +10,4 @@
9class IMAPwrapper; 10class IMAPwrapper;
11class RecMail;
12class RecBody;
10 13
@@ -16,4 +19,4 @@ public:
16 AccountViewItem( QListViewItem *parent ) : QListViewItem( parent ) {} 19 AccountViewItem( QListViewItem *parent ) : QListViewItem( parent ) {}
17 virtual void refresh(Maillist&)=0; 20 virtual void refresh(QList<RecMail>&)=0;
18 virtual QString fetchBody(const RecMail&)=0; 21 virtual RecBody fetchBody(const RecMail&)=0;
19}; 22};
@@ -26,4 +29,4 @@ public:
26 ~IMAPviewItem(); 29 ~IMAPviewItem();
27 virtual void refresh(Maillist&); 30 virtual void refresh(QList<RecMail>&);
28 virtual QString fetchBody(const RecMail&){return "";} 31 virtual RecBody fetchBody(const RecMail&);
29 IMAPwrapper *getWrapper(); 32 IMAPwrapper *getWrapper();
@@ -42,4 +45,4 @@ public:
42 ~IMAPfolderItem(); 45 ~IMAPfolderItem();
43 virtual void refresh(Maillist&); 46 virtual void refresh(QList<RecMail>&);
44 virtual QString fetchBody(const RecMail&); 47 virtual RecBody fetchBody(const RecMail&);
45 48
@@ -58,3 +61,3 @@ public:
58 void populate( QList<Account> list ); 61 void populate( QList<Account> list );
59 QString fetchBody(const RecMail&aMail); 62 RecBody fetchBody(const RecMail&aMail);
60 63
@@ -65,3 +68,3 @@ public slots:
65signals: 68signals:
66 void refreshMailview(Maillist*); 69 void refreshMailview(QList<RecMail>*);
67}; 70};