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

#pragma once

#include <QWizardPage>

#include <Swift/QtUI/UserSearch/ui_QtUserSearchFirstPage.h>
#include <Swift/Controllers/UIInterfaces/UserSearchWindow.h>

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

namespace Swift {
	class UserSearchModel;
	class UserSearchDelegate;
	class UserSearchResult;
	class UIEventStream;

	class QtUserSearchFirstPage : public QWizardPage, public Ui::QtUserSearchFirstPage {
		Q_OBJECT
		public:
			QtUserSearchFirstPage(UserSearchWindow::Type type, const QString& title, SettingsProvider* settings);
			virtual bool isComplete() const;
		public slots:
			void emitCompletenessCheck();
		public:
			QtSuggestingJIDInput* jid_;
			QLabel* jidWarning_;
	};
}