author | alwin <alwin> | 2004-01-07 19:27:47 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-07 19:27:47 (UTC) |
commit | 24a62e8789083f446138aebfa11409b73886aa88 (patch) (unidiff) | |
tree | 177bd3de4ad46fd29e93b87c6a0423a4ca132682 /noncore/net/mail/selectstore.h | |
parent | 7fdc50c5ff3fe42aba6d940165e99ed7150df4f1 (diff) | |
download | opie-24a62e8789083f446138aebfa11409b73886aa88.zip opie-24a62e8789083f446138aebfa11409b73886aa88.tar.gz opie-24a62e8789083f446138aebfa11409b73886aa88.tar.bz2 |
download mail mostly finished
accounts can be switched "offline"
Diffstat (limited to 'noncore/net/mail/selectstore.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/selectstore.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/noncore/net/mail/selectstore.h b/noncore/net/mail/selectstore.h index 8b8e8ee..447a6ae 100644 --- a/noncore/net/mail/selectstore.h +++ b/noncore/net/mail/selectstore.h | |||
@@ -1,19 +1,33 @@ | |||
1 | #ifndef _SELECTSTORE_H | 1 | #ifndef _SELECTSTORE_H |
2 | #define _SELECTSTORE_H | 2 | #define _SELECTSTORE_H |
3 | 3 | ||
4 | #include "selectstoreui.h" | 4 | #include "selectstoreui.h" |
5 | #include <qvaluelist.h> | ||
6 | #include <qmap.h> | ||
7 | #include <qstringlist.h> | ||
8 | |||
9 | class AbstractMail; | ||
5 | 10 | ||
6 | class Selectstore:public selectstoreui | 11 | class Selectstore:public selectstoreui |
7 | { | 12 | { |
8 | Q_OBJECT | 13 | Q_OBJECT |
9 | public: | 14 | public: |
10 | Selectstore(QWidget* parent = 0, const char* name = 0); | 15 | Selectstore(QWidget* parent = 0, const char* name = 0); |
11 | virtual ~Selectstore(); | 16 | virtual ~Selectstore(); |
17 | virtual void addAccounts(AbstractMail*mail,const QStringList&folders); | ||
18 | virtual QString currentFolder(); | ||
19 | virtual AbstractMail*currentMail(); | ||
20 | bool newFolder(); | ||
21 | bool moveMails(); | ||
12 | 22 | ||
13 | protected: | 23 | protected slots: |
14 | virtual void slotCreateNewFolder(); | 24 | virtual void slotCreateNewFolder(); |
15 | virtual void slotMoveMail(); | 25 | virtual void slotMoveMail(); |
16 | protected slots: | 26 | virtual void slotAccountselected(int); |
17 | 27 | ||
28 | protected: | ||
29 | QMap<int,QStringList> folderMap; | ||
30 | QMap<int,AbstractMail*> mailMap; | ||
31 | AbstractMail*cMail; | ||
18 | }; | 32 | }; |
19 | #endif | 33 | #endif |