blob: 447a6ae554f46002a9363702ffbeb8f45d534aab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef _SELECTSTORE_H
#define _SELECTSTORE_H
#include "selectstoreui.h"
#include <qvaluelist.h>
#include <qmap.h>
#include <qstringlist.h>
class AbstractMail;
class Selectstore:public selectstoreui
{
Q_OBJECT
public:
Selectstore(QWidget* parent = 0, const char* name = 0);
virtual ~Selectstore();
virtual void addAccounts(AbstractMail*mail,const QStringList&folders);
virtual QString currentFolder();
virtual AbstractMail*currentMail();
bool newFolder();
bool moveMails();
protected slots:
virtual void slotCreateNewFolder();
virtual void slotMoveMail();
virtual void slotAccountselected(int);
protected:
QMap<int,QStringList> folderMap;
QMap<int,AbstractMail*> mailMap;
AbstractMail*cMail;
};
#endif
|