-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptionspage.h
63 lines (38 loc) · 904 Bytes
/
optionspage.h
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
48
49
50
51
52
53
54
55
#ifndef OPTIONSPAGE_H
#define OPTIONSPAGE_H
#include "ui_optionpage.h"
#include <vcsbase/vcsbaseoptionspage.h>
#include <QWidget>
#include <QPointer>
namespace Tfs {
namespace Internal {
class TfsSettings;
class OptionsPageWidget : public QWidget
{
Q_OBJECT
public:
explicit OptionsPageWidget(QWidget *parent = 0);
TfsSettings settings() const;
void setSettings(const TfsSettings &s);
QString searchKeywords() const;
private:
Ui::OptionsPage m_ui;
};
class OptionsPage : public VcsBase::VcsBaseOptionsPage
{
Q_OBJECT
public:
OptionsPage();
QWidget *widget();
void apply();
void finish();
// bool matches(const QString &s) const;
signals:
void settingsChanged();
private:
QString m_searchKeywords;
QPointer<OptionsPageWidget> optionsPageWidget;
};
} // namespace Internal
} // namespace Mercurial
#endif // OPTIONSPAGE_H