summaryrefslogtreecommitdiffstats
blob: 70618f989861edd832c2bd140683655a000418d9 (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
/*
 * Copyright (c) 2010 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <QWizardPage>

#include <Swift/QtUI/QtFormWidget.h>

#include <Swift/QtUI/UserSearch/ui_QtUserSearchFieldsPage.h>

namespace Swift {
	class QtUserSearchFieldsPage : public QWizardPage, public Ui::QtUserSearchFieldsPage {
		Q_OBJECT
		public:
			QtUserSearchFieldsPage();
			virtual bool isComplete() const;

			QtFormWidget* getFormWidget();
			void setFormWidget(QtFormWidget *widget);

		public slots:
			void emitCompletenessCheck();

		private:
			QtFormWidget *formWidget_;
	};
}