Diffstat (limited to 'core/settings/security/security.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/security/security.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/settings/security/security.h b/core/settings/security/security.h index efc83a2..2f18f91 100644 --- a/core/settings/security/security.h +++ b/core/settings/security/security.h | |||
@@ -22,43 +22,49 @@ | |||
22 | 22 | ||
23 | #include "securitybase.h" | 23 | #include "securitybase.h" |
24 | 24 | ||
25 | class QPEDialogListener; | 25 | class QPEDialogListener; |
26 | 26 | ||
27 | class Security : public SecurityBase | 27 | class Security : public SecurityBase |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | 30 | ||
31 | public: | 31 | public: |
32 | Security( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 32 | Security( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
33 | ~Security(); | 33 | ~Security(); |
34 | 34 | ||
35 | void show(); | 35 | void show(); |
36 | 36 | ||
37 | protected: | 37 | protected: |
38 | void accept(); | 38 | void accept(); |
39 | void applySecurity(); | 39 | void applySecurity(); |
40 | void done(int); | 40 | void done(int); |
41 | 41 | ||
42 | private slots: | 42 | private slots: |
43 | void changePassCode(); | 43 | void changePassCode(); |
44 | void clearPassCode(); | 44 | void clearPassCode(); |
45 | void setSyncNet(const QString&); | 45 | void setSyncNet(const QString&); |
46 | void changeLoginName(int); | ||
47 | void toggleAutoLogin(bool); | ||
48 | |||
46 | 49 | ||
47 | private: | 50 | private: |
51 | void loadUsers(void); | ||
48 | bool telnetAvailable() const; | 52 | bool telnetAvailable() const; |
49 | bool sshAvailable() const; | 53 | bool sshAvailable() const; |
50 | void updateGUI(); | 54 | void updateGUI(); |
51 | 55 | ||
52 | static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); | 56 | static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); |
53 | void selectNet(int auth_peer,int auth_peer_bits); | 57 | void selectNet(int auth_peer,int auth_peer_bits); |
54 | 58 | ||
55 | QString enterPassCode(const QString&); | 59 | QString enterPassCode(const QString&); |
56 | QString passcode; | 60 | QString passcode; |
57 | bool valid; | 61 | bool valid; |
62 | bool autoLogin; | ||
63 | QString autoLoginName; | ||
58 | 64 | ||
59 | QPEDialogListener *dl; | 65 | QPEDialogListener *dl; |
60 | }; | 66 | }; |
61 | 67 | ||
62 | 68 | ||
63 | #endif // SECURITY_H | 69 | #endif // SECURITY_H |
64 | 70 | ||