-rw-r--r-- | kmicromail/selectstore.h | 33 |
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 @@ +#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 |