blob: 665f23f0f1b7fa406efbdde24e499efe89114e3c (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#include <settings.h>
#include "mythdialogs.h"
#include "libmyth/mythdialogs.h"
#include "libmyth/mythwidgets.h"
#include "installsettings.h"
class UserManagement: public VerticalConfigurationGroup {
Q_OBJECT
public:
UserManagement();
TransComboBoxSetting *userlist;
TransLineEditSetting *userpass1;
TransButtonSetting *userapplyButton;
TransButtonSetting *usercreateButton;
TransButtonSetting *userdeleteButton;
TransButtonSetting *passToggleButton;
TransLabelSetting *info;
TransCheckBoxSetting *lockaccount;
HostCheckBox *rootSSH;
void user_fillselection(void);
bool user_exisit_check(QString);
bool user_valid_check(QString);
public slots:
void applychanges();
void userchanged();
void usercreatepopup();
void userdeletepopup();
void togglepass();
};
class WebPassword: public
TriggeredConfigurationGroup {
Q_OBJECT
public:
WebPassword();
HostLineEdit *webuser;
HostLineEdit *webpassword;
HostCheckBox *webAuth;
TransButtonSetting *webpassToggleButton;
TransLabelSetting *info;
bool valid_check(QString);
TransButtonSetting *webapplyButton;
public slots:
void webpassword_gathersettings();
void togglepass();
};
class WebPasswordFrame: public
VerticalConfigurationGroup {
Q_OBJECT
public:
WebPasswordFrame();
TransButtonSetting *webapplyButton;
};
|