summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/password_manage.h
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:56:22 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:56:22 (GMT)
commit3f300e50406f82e3fde4f48dd7c14fa79cbcd99a (patch)
treebf1e47d23befa44bba74f5d47c109fe3dfbc069e /abs/core-testing/mythinstall/password_manage.h
parentd5b30b14e06db375bcf5069f23f47213a65adeed (diff)
downloadlinhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.zip
linhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.tar.gz
linhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.tar.bz2
LinHES-config mythinstall: add mythinstall with changes for tz autodetect
Diffstat (limited to 'abs/core-testing/mythinstall/password_manage.h')
-rwxr-xr-xabs/core-testing/mythinstall/password_manage.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/abs/core-testing/mythinstall/password_manage.h b/abs/core-testing/mythinstall/password_manage.h
new file mode 100755
index 0000000..665f23f
--- /dev/null
+++ b/abs/core-testing/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;
+
+};