summaryrefslogtreecommitdiffstats
blob: 2e73e9ed5698a3a1ca9d564a22d6f6e766a581e0 (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-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <QWizardPage>

#include <Swift/Controllers/UIInterfaces/UserSearchWindow.h>

#include <Swift/QtUI/UserSearch/QtSuggestingJIDInput.h>
#include <Swift/QtUI/UserSearch/ui_QtUserSearchFirstPage.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_;
    };
}