|
DtkNetworkManager
NetworkManager DBus interface binding for Qt
|


Public 类型 | |
| enum class | NetworkMode { Infrastructure = 0 , Adhoc , Ap } |
| enum class | FrequencyBand { Automatic = 0 , A , Bg } |
| enum class | PowerSave { Default = 0 , Ignore , Disable , Enable } |
| enum class | MacAddressRandomization { Default = 0 , Never , Always } |
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 成员函数 | |
| DWirelessSetting (const QSharedPointer< DWirelessSetting > &other) | |
| QString | name () const override |
| void | setSsid (const QByteArray &ssid) |
| QByteArray | ssid () const |
| void | setMode (NetworkMode mode) |
| NetworkMode | mode () const |
| void | setBand (FrequencyBand band) |
| FrequencyBand | band () const |
| void | setChannel (quint32 channel) |
| quint32 | channel () const |
| void | setBssid (const QByteArray &bssid) |
| QByteArray | bssid () const |
| void | setRate (quint32 rate) |
| quint32 | rate () const |
| void | setTxPower (quint32 power) |
| quint32 | txPower () const |
| void | setAssignedMacAddress (const QString &assignedMacAddress) |
| QString | assignedMacAddress () const |
| void | setMacAddress (const QByteArray &address) |
| QByteArray | macAddress () const |
| void | setGenerateMacAddressMask (const QString &macAddressMask) |
| QString | generateMacAddressMask () const |
| void | setMacAddressBlacklist (const QStringList &list) |
| QStringList | macAddressBlacklist () const |
| void | setMacAddressRandomization (MacAddressRandomization randomization) |
| MacAddressRandomization | macAddressRandomization () const |
| void | setMtu (quint32 mtu) |
| quint32 | mtu () const |
| void | setSeenBssids (const QStringList &list) |
| QStringList | seenBssids () const |
| void | setPowerSave (PowerSave powersave) |
| PowerSave | powerSave () const |
| void | setHidden (bool hidden) |
| bool | hidden () const |
| void | fromMap (const QVariantMap &setting) 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< DWirelessSettingPrivate > | 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 |