summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/searchdiag.h
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/mail2/searchdiag.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/searchdiag.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/searchdiag.h b/noncore/unsupported/mail2/searchdiag.h
new file mode 100644
index 0000000..5db57e3
--- a/dev/null
+++ b/noncore/unsupported/mail2/searchdiag.h
@@ -0,0 +1,32 @@
+#ifndef SEARCHDIAG_H
+#define SEARCHDIAG_H
+
+#include "searchdiagbase.h"
+#include "mailtable.h"
+
+class IMAPResponse;
+
+class SearchDiag : public SearchDiagBase
+{
+ Q_OBJECT
+
+public:
+ SearchDiag(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
+
+protected slots:
+ void accept();
+ void slotInItemActivated(int index);
+ void folderSelected(Folder folder);
+ void slotMailClicked(IMAPResponseFETCH response, IMAPHandler *);
+
+ void slotIMAPSelect(IMAPResponse &);
+ void slotIMAPSearch(IMAPResponse &);
+ void slotIMAPFetch(IMAPResponse &);
+
+private:
+ bool _selected;
+ Folder _folder;
+
+};
+
+#endif