Diffstat (limited to 'core/settings/security/security.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/security/security.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/security/security.h b/core/settings/security/security.h index 52d56de..b1a3eca 100644 --- a/core/settings/security/security.h +++ b/core/settings/security/security.h | |||
@@ -25,47 +25,48 @@ | |||
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 | static QString appName() { return QString::fromLatin1("security"); } | 32 | static QString appName() { return QString::fromLatin1("security"); } |
33 | Security( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 33 | Security( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
34 | ~Security(); | 34 | ~Security(); |
35 | 35 | ||
36 | void show(); | 36 | void show(); |
37 | 37 | ||
38 | protected: | 38 | protected: |
39 | void accept(); | 39 | void accept(); |
40 | void applySecurity(); | 40 | void applySecurity(); |
41 | void done(int); | 41 | void done(int); |
42 | 42 | ||
43 | private slots: | 43 | private slots: |
44 | void changePassCode(); | 44 | void changePassCode(); |
45 | void clearPassCode(); | 45 | void clearPassCode(); |
46 | void setSyncNet(const QString&); | 46 | void setSyncNet(const QString&); |
47 | void changeLoginName(int); | 47 | void changeLoginName(int); |
48 | void toggleAutoLogin(bool); | 48 | void toggleAutoLogin(bool); |
49 | void changeSyncApp(); | ||
49 | 50 | ||
50 | 51 | ||
51 | private: | 52 | private: |
52 | void loadUsers(void); | 53 | void loadUsers(void); |
53 | bool telnetAvailable() const; | 54 | bool telnetAvailable() const; |
54 | bool sshAvailable() const; | 55 | bool sshAvailable() const; |
55 | void updateGUI(); | 56 | void updateGUI(); |
56 | 57 | ||
57 | static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); | 58 | static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); |
58 | void selectNet(int auth_peer,int auth_peer_bits); | 59 | void selectNet(int auth_peer,int auth_peer_bits); |
59 | 60 | ||
60 | QString enterPassCode(const QString&); | 61 | QString enterPassCode(const QString&); |
61 | QString passcode; | 62 | QString passcode; |
62 | bool valid; | 63 | bool valid; |
63 | bool autoLogin; | 64 | bool autoLogin; |
64 | QString autoLoginName; | 65 | QString autoLoginName; |
65 | 66 | ||
66 | QPEDialogListener *dl; | 67 | QPEDialogListener *dl; |
67 | }; | 68 | }; |
68 | 69 | ||
69 | 70 | ||
70 | #endif // SECURITY_H | 71 | #endif // SECURITY_H |
71 | 72 | ||