author | alwin <alwin> | 2003-12-21 21:33:49 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-21 21:33:49 (UTC) |
commit | 6e7358f954618d8fdbbe852df7df862c3c132bbd (patch) (side-by-side diff) | |
tree | 0e2a94a0a42393b811d85172677c117517db5fd4 /noncore/net/mail/accountview.h | |
parent | fafcc882ba0d797d5aa8ed7f2f8d5518ba6d2960 (diff) | |
download | opie-6e7358f954618d8fdbbe852df7df862c3c132bbd.zip opie-6e7358f954618d8fdbbe852df7df862c3c132bbd.tar.gz opie-6e7358f954618d8fdbbe852df7df862c3c132bbd.tar.bz2 |
- mbox-wrapper mostly finished
- special-folders "Local Folders" will be displayed
ToDo:
"STORE" - method for all wrapper, but mostly for mbox for
send queue.
Diffstat (limited to 'noncore/net/mail/accountview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/accountview.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h index 64abed9..35499ac 100644 --- a/noncore/net/mail/accountview.h +++ b/noncore/net/mail/accountview.h @@ -83,12 +83,42 @@ public: bool matchName(const QString&name)const; private: Folder *folder; IMAPviewItem *imap; }; +class MBOXviewItem : public AccountViewItem +{ + +public: +// MBOXviewItem( MBOXaccount *a, QListView *parent ); + MBOXviewItem( const QString&aMboxPath, QListView *parent ); + ~MBOXviewItem(); + virtual void refresh( QList<RecMail> &target ); + virtual RecBody fetchBody( const RecMail &mail ); + AbstractMail *getWrapper(); +private: +// MBOXaccount *account; + QString m_Path; + AbstractMail *wrapper; + +}; + +class MBOXfolderItem : public AccountViewItem +{ + +public: + MBOXfolderItem( Folder *folder, MBOXviewItem *parent , QListViewItem*after ); + ~MBOXfolderItem(); + virtual void refresh(QList<RecMail>&); + virtual RecBody fetchBody(const RecMail&); +private: + Folder *folder; + MBOXviewItem *mbox; +}; + class AccountView : public QListView { Q_OBJECT public: AccountView( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |