1
// This file is generated by kconfig_compiler from 802-11-wireless-security.kcfg.
2
// All changes you do to this file will be lost.
3
#ifndef KNM_WIRELESSSECURITYSETTING_H
4
#define KNM_WIRELESSSECURITYSETTING_H
8
#include <kcoreconfigskeleton.h>
10
#include "knm_export.h"
13
class KNM_EXPORT WirelessSecuritySetting : public Setting
16
class EnumSecurityType
19
enum type { None, WEP40, WEP128, DynamicWEP, WPAPSK, WPAEAP, COUNT };
24
enum type { None, Ieee8021x, WPANone, WPAPSK, WPAEAP, COUNT };
29
enum type { open, shared, leap, COUNT };
32
WirelessSecuritySetting( );
33
~WirelessSecuritySetting();
37
bool hasSecrets() const;
42
void setSecurityType( int v )
50
int securityType() const
58
void setKeymgmt( int v )
74
void setWeptxkeyindex( uint v )
82
uint weptxkeyindex() const
84
return mWeptxkeyindex;
88
Set Authentication algorithm
90
void setAuthalg( int v )
96
Get Authentication algorithm
106
void setProto( const QStringList & v )
114
QStringList proto() const
122
void setPairwise( const QStringList & v )
130
QStringList pairwise() const
138
void setGroup( const QStringList & v )
146
QStringList group() const
154
void setLeapusername( const QString & v )
162
QString leapusername() const
164
return mLeapusername;
170
void setWepkey0( const QString & v )
178
QString wepkey0() const
186
void setWepkey1( const QString & v )
194
QString wepkey1() const
202
void setWepkey2( const QString & v )
210
QString wepkey2() const
218
void setWepkey3( const QString & v )
226
QString wepkey3() const
234
void setPsk( const QString & v )
250
void setLeappassword( const QString & v )
258
QString leappassword() const
260
return mLeappassword;
266
void setWeppassphrase( const QString & v )
274
QString weppassphrase() const
276
return mWeppassphrase;
281
// 802-11-wireless-security
287
QStringList mPairwise;
289
QString mLeapusername;
295
QString mLeappassword;
296
QString mWeppassphrase;