From 07590207a8306d0184e3c331a71f41a58ccbc96f Mon Sep 17 00:00:00 2001 From: alwin Date: Mon, 15 Dec 2003 02:28:22 +0000 Subject: pop3wrapper now works in first stage and doesn't segfault anymore Display an INBOX folder for pop3 accounts to get an more monoton mail interface for different types of mail server. Inbox - Folder get another icon than the other. --- (limited to 'noncore/net/mail/accountview.h') diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h index 04f9b7a..d035af4 100644 --- a/noncore/net/mail/accountview.h +++ b/noncore/net/mail/accountview.h @@ -31,13 +31,26 @@ public: ~POP3viewItem(); virtual void refresh( QList &target ); virtual RecBody fetchBody( const RecMail &mail ); - + AbstractMail *getWrapper(); private: POP3account *account; AbstractMail *wrapper; }; +class POP3folderItem : public AccountViewItem +{ + +public: + POP3folderItem( Folder *folder, POP3viewItem *parent , QListViewItem*after ); + ~POP3folderItem(); + virtual void refresh(QList&); + virtual RecBody fetchBody(const RecMail&); +private: + Folder *folder; + POP3viewItem *pop3; +}; + class IMAPviewItem : public AccountViewItem { @@ -63,7 +76,6 @@ public: private: Folder *folder; IMAPviewItem *imap; - }; class AccountView : public QListView -- cgit v0.9.0.2