NetworkManagerQt
7#ifndef NETWORKMANAGERQT_WIRELESSSECURITY_SETTING_H
8#define NETWORKMANAGERQT_WIRELESSSECURITY_SETTING_H
11#include <networkmanagerqt/networkmanagerqt_export.h>
17class WirelessSecuritySettingPrivate;
22class NETWORKMANAGERQT_EXPORT WirelessSecuritySetting :
public Setting
44 enum WpaProtocolVersion {
48 enum WpaEncryptionCapabilities {
66 WirelessSecuritySetting();
67 explicit WirelessSecuritySetting(
const Ptr &other);
68 ~WirelessSecuritySetting()
override;
72 void setKeyMgmt(KeyMgmt mgmt);
73 KeyMgmt keyMgmt()
const;
75 void setWepTxKeyindex(quint32 index);
76 quint32 wepTxKeyindex()
const;
78 void setAuthAlg(AuthAlg alg);
79 AuthAlg authAlg()
const;
90 void setLeapUsername(
const QString &username);
93 void setWepKey0(
const QString key);
96 void setWepKey1(
const QString key);
99 void setWepKey2(
const QString key);
102 void setWepKey3(
const QString key);
105 void setWepKeyFlags(SecretFlags type);
106 SecretFlags wepKeyFlags()
const;
108 void setWepKeyType(WepKeyType type);
109 WepKeyType wepKeyType()
const;
111 void setPsk(
const QString &key);
114 void setPskFlags(SecretFlags type);
115 SecretFlags pskFlags()
const;
117 void setLeapPassword(
const QString &password);
120 void setLeapPasswordFlags(SecretFlags type);
121 SecretFlags leapPasswordFlags()
const;
123 void setPmf(Pmf pmf);
126 void secretsFromMap(
const QVariantMap &secrets)
override;
128 QVariantMap secretsToMap()
const override;
130 QStringList needSecrets(
bool requestNew =
false)
const override;
132 void fromMap(
const QVariantMap &map)
override;
134 QVariantMap
toMap()
const override;
137 WirelessSecuritySettingPrivate *d_ptr;
140 Q_DECLARE_PRIVATE(WirelessSecuritySetting)
Represents wireless security setting.
QString name() const override
Must be reimplemented, default implementationd does nothing.
void fromMap(const QVariantMap &map) override
Must be reimplemented, default implementation does nothing.
QVariantMap toMap() const override
Must be reimplemented, default implementationd does nothing.
This class allows querying the underlying system to discover the available network interfaces and rea...
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:04:57 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.