author | zautrix <zautrix> | 2004-07-03 16:33:12 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 16:33:12 (UTC) |
commit | e3b89230f065c48c84b48c88edb6eb088374c487 (patch) (side-by-side diff) | |
tree | 162ea2ef909a6f82ccfcedf45d80d6c821174912 /kmicromail/selectstore.h | |
parent | 2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (diff) | |
download | kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.zip kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.gz kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.bz2 |
Initial revision
-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 |