|
DtkNetworkManager
NetworkManager DBus interface binding for Qt
|


Public 成员函数 | |
| DIpv4Setting (const QSharedPointer< DIpv4Setting > &other) | |
| QString | name () const override |
| void | setMethod (NMConfigMethod method) |
| NMConfigMethod | method () const |
| void | setDns (const QList< QHostAddress > &dns) |
| QList< QHostAddress > | dns () const |
| void | setDnsSearch (const QStringList &domains) |
| QStringList | dnsSearch () const |
| void | setRouteMetric (int metric) |
| int | routeMetric () const |
| void | setIgnoreAutoRoutes (bool ignore) |
| bool | ignoreAutoRoutes () const |
| void | setIgnoreAutoDns (bool ignore) |
| bool | ignoreAutoDns () const |
| void | setDhcpClientId (const QString &id) |
| QString | dhcpClientId () const |
| void | setDhcpSendHostname (bool send) |
| bool | dhcpSendHostname () const |
| void | setDhcpHostname (const QString &hostname) |
| QString | dhcpHostname () const |
| void | setNeverDefault (bool neverDefault) |
| bool | neverDefault () const |
| void | setMayFail (bool mayFail) |
| bool | mayFail () const |
| void | setDadTimeout (qint32 timeout) |
| qint32 | dadTimeout () const |
| void | setDhcpFqdn (const QString &fqdn) |
| QString | dhcpFqdn () const |
| void | setDnsOptions (const QStringList &options) |
| QStringList | dnsOptions () const |
| void | setDnsPriority (qint32 priority) |
| qint32 | dnsPriority () const |
| void | setGateway (const QString &gateway) |
| QString | gateway () const |
| void | setAddressData (const QList< Config > &addressData) |
| QList< Config > | addressData () const |
| void | setRouteData (const QList< Config > &routeData) |
| QList< Config > | routeData () const |
| void | fromMap (const Config &setting) override |
| Config | 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< DIpv4SettingPrivate > | d_ptr |
Protected 属性 继承自 Dtk::NetworkManager::DNMSetting | |
| QScopedPointer< DNMSettingPrivate > | d_ptr |
额外继承的成员函数 | |
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 成员函数 继承自 Dtk::NetworkManager::DNMSetting | |
| static QString | typeToString (const SettingType type) |
| static SettingType | stringToType (const QString &str) |
|
overridevirtual |
|
overridevirtual |