author | clem <clem> | 2004-09-30 15:09:46 (UTC) |
---|---|---|
committer | clem <clem> | 2004-09-30 15:09:46 (UTC) |
commit | 5cb30454d4a974bacfae126a5b8b321bae8ca600 (patch) (unidiff) | |
tree | 5b41b4061f3cac560d3a92baf2b31a7df4ab4a0f /core/settings/security/security.h | |
parent | 2e8fce2a890725ba45241d5f4b3ebcdca5b8d352 (diff) | |
download | opie-5cb30454d4a974bacfae126a5b8b321bae8ca600.zip opie-5cb30454d4a974bacfae126a5b8b321bae8ca600.tar.gz opie-5cb30454d4a974bacfae126a5b8b321bae8ca600.tar.bz2 |
removing files from the old opie-security implem.
Diffstat (limited to 'core/settings/security/security.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/security/security.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/core/settings/security/security.h b/core/settings/security/security.h deleted file mode 100644 index ed25ce1..0000000 --- a/core/settings/security/security.h +++ b/dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | #ifndef SECURITY_H | ||
21 | #define SECURITY_H | ||
22 | |||
23 | #include "securitybase.h" | ||
24 | |||
25 | class QPEDialogListener; | ||
26 | |||
27 | class Security : public SecurityBase | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | static QString appName() { return QString::fromLatin1("security"); } | ||
33 | Security( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
34 | ~Security(); | ||
35 | |||
36 | void show(); | ||
37 | |||
38 | protected: | ||
39 | void accept(); | ||
40 | void applySecurity(); | ||
41 | void done(int); | ||
42 | |||
43 | private slots: | ||
44 | void changePassCode(); | ||
45 | void clearPassCode(); | ||
46 | void setSyncNet(const QString&); | ||
47 | void changeLoginName(int); | ||
48 | void toggleAutoLogin(bool); | ||
49 | void restoreDefaults(); | ||
50 | void insertDefaultRanges(); | ||
51 | void deleteListEntry(); | ||
52 | |||
53 | private: | ||
54 | void loadUsers(void); | ||
55 | bool telnetAvailable() const; | ||
56 | bool sshAvailable() const; | ||
57 | void updateGUI(); | ||
58 | |||
59 | static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); | ||
60 | void selectNet(int auth_peer,int auth_peer_bits,bool update); | ||
61 | |||
62 | |||
63 | QString enterPassCode(const QString&); | ||
64 | QString passcode; | ||
65 | bool valid; | ||
66 | bool autoLogin; | ||
67 | QString autoLoginName; | ||
68 | |||
69 | QPEDialogListener *dl; | ||
70 | }; | ||
71 | |||
72 | |||
73 | #endif // SECURITY_H | ||
74 | |||