|
DtkNetworkManager
NetworkManager DBus interface binding for Qt
|


Public 类型 | |
| enum class | KeyMgmt { Unknown = -1 , Wep , Ieee8021x , WpaNone , WpaPsk , WpaEap , SAE , WpaEapSuiteB192 } |
| enum class | AuthAlg { None , Open , Shared , Leap } |
| enum class | WpaProtocolVersion { Wpa , Rsn } |
| enum class | WpaEncryptionCapabilities { Wep40 , Wep104 , Tkip , Ccmp } |
| enum class | WepKeyType { NotSpecified , Hex , Passphrase } |
| enum class | Pmf { Default , Disable , Optional , Required } |
Public 类型 继承自 Dtk::NetworkManager::DNMSetting | |
| enum class | SettingType { Unknown , Adsl , Cdma , Gsm , Infiniband , Ipv4 , Ipv6 , Ppp , Pppoe , Security8021x , Serial , Vpn , Wired , Wireless , WirelessSecurity , Bluetooth , OlpcMesh , Vlan , Wimax , Bond , Bridge , BridgePort , Team , Generic , Tun , Vxlan , IpTunnel , Proxy , User , OvsBridge , OvsInterface , OvsPatch , OvsPort , Match , Tc , TeamPort , Macsec , Dcb , WireGuard } |
| enum class | SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 } |
Public 成员函数 | |
| DWirelessSecuritySetting (const QSharedPointer< DWirelessSecuritySetting > &other) | |
| QString | name () const override |
| void | setKeyMgmt (KeyMgmt mgmt) |
| KeyMgmt | keyMgmt () const |
| void | setWepTxKeyindex (quint32 index) |
| quint32 | wepTxKeyindex () const |
| void | setAuthAlg (AuthAlg alg) |
| AuthAlg | authAlg () const |
| void | setProto (const QList< WpaProtocolVersion > &list) |
| QList< WpaProtocolVersion > | proto () const |
| void | setPairwise (const QList< WpaEncryptionCapabilities > &list) |
| QList< WpaEncryptionCapabilities > | pairwise () const |
| void | setGroup (const QList< WpaEncryptionCapabilities > &list) |
| QList< WpaEncryptionCapabilities > | group () const |
| void | setLeapUsername (const QString &username) |
| QString | leapUsername () const |
| void | setWepKey0 (const QString &key) |
| QString | wepKey0 () const |
| void | setWepKey1 (const QString &key) |
| QString | wepKey1 () const |
| void | setWepKey2 (const QString &key) |
| QString | wepKey2 () const |
| void | setWepKey3 (const QString &key) |
| QString | wepKey3 () const |
| void | setWepKeyFlags (SecretFlags type) |
| SecretFlags | wepKeyFlags () const |
| void | setWepKeyType (WepKeyType type) |
| WepKeyType | wepKeyType () const |
| void | setPsk (const QString &key) |
| QString | psk () const |
| void | setPskFlags (SecretFlags type) |
| SecretFlags | pskFlags () const |
| void | setLeapPassword (const QString &password) |
| QString | leapPassword () const |
| void | setLeapPasswordFlags (SecretFlags type) |
| SecretFlags | leapPasswordFlags () const |
| void | setPmf (Pmf pmf) |
| Pmf | pmf () const |
| void | mapToSecrets (const QVariantMap &secrets) override |
| QVariantMap | secretsToMap () const override |
| QStringList | needSecrets (bool requestNew=false) const override |
| void | fromMap (const QVariantMap &map) override |
| QVariantMap | toMap () const override |
Public 成员函数 继承自 Dtk::NetworkManager::DNMSetting | |
| DNMSetting (SettingType type) | |
| DNMSetting (const QSharedPointer< DNMSetting > &setting) | |
| virtual void | fromMap (const QVariantMap &map)=0 |
| virtual QVariantMap | toMap () const =0 |
| virtual QString | name () const =0 |
| void | setType (SettingType type) |
| SettingType | type () const |
| bool | isInit () const |
| void | setInit (bool init) |
| virtual QStringList | needSecrets (bool request=false) const |
| virtual QVariantMap | secretsToMap () const |
| virtual void | mapToSecrets (const QVariantMap &secrets) |
| virtual void | stringMapTosecrets (const QMap< QString, QString > &map) |
| virtual QMap< QString, QString > | secretsToStringMap () const |
Protected 属性 | |
| QScopedPointer< DWirelessSecuritySettingPrivate > | d_ptr |
Protected 属性 继承自 Dtk::NetworkManager::DNMSetting | |
| QScopedPointer< DNMSettingPrivate > | d_ptr |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Dtk::NetworkManager::DNMSetting | |
| static QString | typeToString (const SettingType type) |
| static SettingType | stringToType (const QString &str) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |