-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtfsserverwizardpage.cpp
47 lines (31 loc) · 970 Bytes
/
tfsserverwizardpage.cpp
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "tfsserverwizardpage.h"
namespace Tfs {
namespace Internal {
#include <coreplugin/icore.h>
#include <QSettings>
#include <QVBoxLayout>
#include "tfsserverwidget.h"
static const char settingsGroupC[] = "Tfs";
static TfsServerWidget *createServerWidget()
{
// const QSettings *settings = Core::ICore::settings();
// const QString group = QLatin1String(settingsGroupC);
//restoreSettings(group, settings);
// Now create widget
TfsServerWidget *rc = new TfsServerWidget;
// rc->restoreSettings(group, settings);
return rc;
}
TfsServerWizardPage::TfsServerWizardPage(QWidget *parent) :
QWizardPage(parent),
m_widget(createServerWidget())
{
connect(m_widget, SIGNAL(validChanged()), this, SIGNAL(completeChanged()));
QVBoxLayout *lt = new QVBoxLayout;
lt->addWidget(m_widget);
setLayout(lt);
setTitle(tr("Host"));
setSubTitle(tr("Select a host."));
}
} // namespace Internal
} // namespace Tfs