summaryrefslogtreecommitdiff
path: root/noncore/net/mail/selectstore.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/selectstore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/selectstore.h18
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
@@ -2,6 +2,11 @@
#define _SELECTSTORE_H
#include "selectstoreui.h"
+#include <qvaluelist.h>
+#include <qmap.h>
+#include <qstringlist.h>
+
+class AbstractMail;
class Selectstore:public selectstoreui
{
@@ -9,11 +14,20 @@ class Selectstore:public selectstoreui
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:
+protected slots:
virtual void slotCreateNewFolder();
virtual void slotMoveMail();
-protected slots:
+ virtual void slotAccountselected(int);
+protected:
+ QMap<int,QStringList> folderMap;
+ QMap<int,AbstractMail*> mailMap;
+ AbstractMail*cMail;
};
#endif