summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/password_manage.h
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/mythinstall/password_manage.h
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/mythinstall/password_manage.h')
-rwxr-xr-xabs/core/mythinstall/password_manage.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/abs/core/mythinstall/password_manage.h b/abs/core/mythinstall/password_manage.h
new file mode 100755
index 0000000..665f23f
--- /dev/null
+++ b/abs/core/mythinstall/password_manage.h
@@ -0,0 +1,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;
+
+};