summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/searchdiag.h
blob: 5db57e3454a287329a7eb80c88bbc35e4bd0fc8f (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
#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