|
DtkNetworkManager
NetworkManager DBus interface binding for Qt
|


Public 类型 | |
| enum class | PortType { Unknown = 0 , Tp , Aui , Bnc , Mii } |
| enum class | DuplexType { Unknown = 0 , Half , Full } |
| enum class | S390Nettype { Undefined = 0 , Qeth , Lcs , Ctc } |
| enum class | WakeOnLanFlag { Phy = 1 << 1 , Unicast = 1 << 2 , Multicast = 1 << 3 , Broadcast = 1 << 4 , Arp = 1 << 5 , Magic = 1 << 6 , Default = 1 << 0 , Ignore = 1 << 15 } |
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 成员函数 | |
| DWiredSetting (const QSharedPointer< DWiredSetting > &other) | |
| QString | name () const override |
| void | setPort (PortType port) |
| PortType | port () const |
| void | setSpeed (quint32 speed) |
| quint32 | speed () const |
| void | setDuplexType (DuplexType type) |
| DuplexType | duplexType () const |
| void | setAutoNegotiate (bool autoNegotiate) |
| bool | autoNegotiate () const |
| QString | generateMacAddressMask () const |
| void | setGenerateMacAddressMask (const QString &mask) |
| void | setMacAddress (const QByteArray &address) |
| QByteArray | macAddress () const |
| void | setMacAddressBlacklist (const QStringList &list) |
| QStringList | macAddressBlacklist () const |
| void | setMtu (quint32 mtu) |
| quint32 | mtu () const |
| void | setS390Subchannels (const QStringList &channels) |
| QStringList | s390Subchannels () const |
| void | setS390NetType (S390Nettype type) |
| S390Nettype | s390NetType () const |
| void | setS390Options (const QMap< QString, QString > &options) |
| QMap< QString, QString > | s390Options () const |
| WakeOnLanFlags | wakeOnLan () const |
| void | setWakeOnLan (WakeOnLanFlags wol) |
| QString | wakeOnLanPassword () const |
| void | setWakeOnLanPassword (const QString &password) |
| QString | assignedMacAddress () const |
| void | setAssignedMacAddress (const QString &assignedMacAddress) |
| 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< DWiredSettingPrivate > | 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 |