summaryrefslogtreecommitdiff
path: root/core/settings/security/security.h
Unidiff
Diffstat (limited to 'core/settings/security/security.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/security/security.h74
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
25class QPEDialogListener;
26
27class Security : public SecurityBase
28{
29 Q_OBJECT
30
31public:
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
38protected:
39 void accept();
40 void applySecurity();
41 void done(int);
42
43private 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
53private:
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