summaryrefslogtreecommitdiffabout
path: root/kmicromail/selectstore.h
Unidiff
Diffstat (limited to 'kmicromail/selectstore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/selectstore.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/kmicromail/selectstore.h b/kmicromail/selectstore.h
new file mode 100644
index 0000000..447a6ae
--- a/dev/null
+++ b/kmicromail/selectstore.h
@@ -0,0 +1,33 @@
1#ifndef _SELECTSTORE_H
2#define _SELECTSTORE_H
3
4#include "selectstoreui.h"
5#include <qvaluelist.h>
6#include <qmap.h>
7#include <qstringlist.h>
8
9class AbstractMail;
10
11class Selectstore:public selectstoreui
12{
13 Q_OBJECT
14public:
15 Selectstore(QWidget* parent = 0, const char* name = 0);
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();
22
23protected slots:
24 virtual void slotCreateNewFolder();
25 virtual void slotMoveMail();
26 virtual void slotAccountselected(int);
27
28protected:
29 QMap<int,QStringList> folderMap;
30 QMap<int,AbstractMail*> mailMap;
31 AbstractMail*cMail;
32};
33#endif