Diffstat (limited to 'noncore/net/mail/accountview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/accountview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h index a57935f..64abed9 100644 --- a/noncore/net/mail/accountview.h +++ b/noncore/net/mail/accountview.h | |||
@@ -42,33 +42,39 @@ class POP3folderItem : public AccountViewItem | |||
42 | { | 42 | { |
43 | 43 | ||
44 | public: | 44 | public: |
45 | POP3folderItem( Folder *folder, POP3viewItem *parent , QListViewItem*after ); | 45 | POP3folderItem( Folder *folder, POP3viewItem *parent , QListViewItem*after ); |
46 | ~POP3folderItem(); | 46 | ~POP3folderItem(); |
47 | virtual void refresh(QList<RecMail>&); | 47 | virtual void refresh(QList<RecMail>&); |
48 | virtual RecBody fetchBody(const RecMail&); | 48 | virtual RecBody fetchBody(const RecMail&); |
49 | private: | 49 | private: |
50 | Folder *folder; | 50 | Folder *folder; |
51 | POP3viewItem *pop3; | 51 | POP3viewItem *pop3; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | class IMAPfolderItem; | ||
55 | |||
54 | class IMAPviewItem : public AccountViewItem | 56 | class IMAPviewItem : public AccountViewItem |
55 | { | 57 | { |
56 | 58 | ||
57 | public: | 59 | public: |
58 | IMAPviewItem( IMAPaccount *a, QListView *parent ); | 60 | IMAPviewItem( IMAPaccount *a, QListView *parent ); |
59 | ~IMAPviewItem(); | 61 | ~IMAPviewItem(); |
60 | virtual void refresh(QList<RecMail>&); | 62 | virtual void refresh(QList<RecMail>&); |
61 | virtual RecBody fetchBody(const RecMail&); | 63 | virtual RecBody fetchBody(const RecMail&); |
62 | AbstractMail *getWrapper(); | 64 | AbstractMail *getWrapper(); |
65 | |||
66 | protected: | ||
67 | IMAPfolderItem*findSubItem(const QString&path,IMAPfolderItem*start=0); | ||
68 | |||
63 | private: | 69 | private: |
64 | IMAPaccount *account; | 70 | IMAPaccount *account; |
65 | AbstractMail *wrapper; | 71 | AbstractMail *wrapper; |
66 | }; | 72 | }; |
67 | 73 | ||
68 | class IMAPfolderItem : public AccountViewItem | 74 | class IMAPfolderItem : public AccountViewItem |
69 | { | 75 | { |
70 | 76 | ||
71 | public: | 77 | public: |
72 | IMAPfolderItem( Folder *folder, IMAPviewItem *parent , QListViewItem*after ); | 78 | IMAPfolderItem( Folder *folder, IMAPviewItem *parent , QListViewItem*after ); |
73 | IMAPfolderItem( Folder *folder, IMAPfolderItem *parent , QListViewItem*after, IMAPviewItem *master ); | 79 | IMAPfolderItem( Folder *folder, IMAPfolderItem *parent , QListViewItem*after, IMAPviewItem *master ); |
74 | ~IMAPfolderItem(); | 80 | ~IMAPfolderItem(); |