summaryrefslogtreecommitdiff
path: root/core/settings/security/multiauthconfig.h
Unidiff
Diffstat (limited to 'core/settings/security/multiauthconfig.h') (more/less context) (show whitespace changes)
-rw-r--r--core/settings/security/multiauthconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/security/multiauthconfig.h b/core/settings/security/multiauthconfig.h
index 649815d..5287083 100644
--- a/core/settings/security/multiauthconfig.h
+++ b/core/settings/security/multiauthconfig.h
@@ -76,69 +76,70 @@ private slots:
76}; 76};
77 77
78/// the whole configuration dialog 78/// the whole configuration dialog
79class MultiauthConfig : public QDialog 79class MultiauthConfig : public QDialog
80{ 80{
81 Q_OBJECT 81 Q_OBJECT
82 82
83public: 83public:
84 static QString appName() { return QString::fromLatin1("security"); } 84 static QString appName() { return QString::fromLatin1("security"); }
85 MultiauthConfig(QWidget *parent, const char* name, WFlags fl); 85 MultiauthConfig(QWidget *parent, const char* name, WFlags fl);
86 virtual ~MultiauthConfig(); 86 virtual ~MultiauthConfig();
87 void writeConfig(); 87 void writeConfig();
88 QList<Opie::Security::MultiauthConfigWidget> configWidgetList; 88 QList<Opie::Security::MultiauthConfigWidget> configWidgetList;
89 89
90protected slots: 90protected slots:
91 void accept(); 91 void accept();
92 void done(int r); 92 void done(int r);
93 void pluginsChanged(); 93 void pluginsChanged();
94 void moveSelectedUp(); 94 void moveSelectedUp();
95 void moveSelectedDown(); 95 void moveSelectedDown();
96 96
97private slots: 97private slots:
98 // Login and Sync stuff 98 // Login and Sync stuff
99 void setSyncNet(const QString&); 99 void setSyncNet(const QString&);
100 void changeLoginName(int); 100 void changeLoginName(int);
101 void toggleAutoLogin(bool); 101 void toggleAutoLogin(bool);
102 void restoreDefaults(); 102 void restoreDefaults();
103 void insertDefaultRanges(); 103 void insertDefaultRanges();
104 void deleteListEntry(); 104 void deleteListEntry();
105 105
106private: 106private:
107 /// the widget holding all the tabs (or pages) 107 /// the widget holding all the tabs (or pages)
108 Opie::Ui::OTabWidget *m_mainTW; 108 Opie::Ui::OTabWidget *m_mainTW;
109 /// list of authentication plugins in the "Plugins" page 109 /// list of authentication plugins in the "Plugins" page
110 QListView *m_pluginListView; 110 QListView *m_pluginListView;
111 QStringList m_allPlugins, m_excludePlugins; 111 QStringList m_allPlugins, m_excludePlugins;
112 QMap<QString,QCheckListItem*> m_plugins; 112 QMap<QString,QCheckListItem*> m_plugins;
113 /// plugin list page 113 /// plugin list page
114 QWidget *m_pluginListWidget; 114 QWidget *m_pluginListWidget;
115 /// misc config page 115 /// misc config page
116 MultiauthGeneralConfig *m_generalConfig; 116 MultiauthGeneralConfig *m_generalConfig;
117 /// login (root / ...) choice page 117 /// login (root / ...) choice page
118 LoginBase *m_loginWidget; 118 LoginBase *m_loginWidget;
119 /// synchronization settings page 119 /// synchronization settings page
120 SyncBase *m_syncWidget; 120 SyncBase *m_syncWidget;
121 121
122 int m_nbSuccessReq; 122 int m_nbSuccessReq;
123 bool m_plugins_changed; 123 bool m_plugins_changed;
124 bool m_pluginsInstalled;
124 125
125 void readConfig(); 126 void readConfig();
126 void loadPlugins(); 127 void loadPlugins();
127 128
128 // Login and Sync stuff 129 // Login and Sync stuff
129 void loadUsers(); 130 void loadUsers();
130 bool telnetAvailable() const; 131 bool telnetAvailable() const;
131 bool sshAvailable() const; 132 bool sshAvailable() const;
132 void updateGUI(); 133 void updateGUI();
133 134
134 static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits); 135 static void parseNet(const QString& sn,int& auth_peer,int& auth_peer_bits);
135 void selectNet(int auth_peer,int auth_peer_bits,bool update); 136 void selectNet(int auth_peer,int auth_peer_bits,bool update);
136 137
137 138
138 bool autoLogin; 139 bool autoLogin;
139 QString autoLoginName; 140 QString autoLoginName;
140}; 141};
141 142
142 143
143#endif // MULTIAUTHCONFIG_H 144#endif // MULTIAUTHCONFIG_H
144 145