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 | |||
@@ -86,6 +86,36 @@ private: | |||
86 | IMAPviewItem *imap; | 86 | IMAPviewItem *imap; |
87 | }; | 87 | }; |
88 | 88 | ||
89 | class MBOXviewItem : public AccountViewItem | ||
90 | { | ||
91 | |||
92 | public: | ||
93 | // MBOXviewItem( MBOXaccount *a, QListView *parent ); | ||
94 | MBOXviewItem( const QString&aMboxPath, QListView *parent ); | ||
95 | ~MBOXviewItem(); | ||
96 | virtual void refresh( QList<RecMail> &target ); | ||
97 | virtual RecBody fetchBody( const RecMail &mail ); | ||
98 | AbstractMail *getWrapper(); | ||
99 | private: | ||
100 | // MBOXaccount *account; | ||
101 | QString m_Path; | ||
102 | AbstractMail *wrapper; | ||
103 | |||
104 | }; | ||
105 | |||
106 | class MBOXfolderItem : public AccountViewItem | ||
107 | { | ||
108 | |||
109 | public: | ||
110 | MBOXfolderItem( Folder *folder, MBOXviewItem *parent , QListViewItem*after ); | ||
111 | ~MBOXfolderItem(); | ||
112 | virtual void refresh(QList<RecMail>&); | ||
113 | virtual RecBody fetchBody(const RecMail&); | ||
114 | private: | ||
115 | Folder *folder; | ||
116 | MBOXviewItem *mbox; | ||
117 | }; | ||
118 | |||
89 | class AccountView : public QListView | 119 | class AccountView : public QListView |
90 | { | 120 | { |
91 | Q_OBJECT | 121 | Q_OBJECT |