DtkNetworkManager
NetworkManager DBus interface binding for Qt
|
Public 类型 | |
enum class | Mode { Tun , Tap } |
![]() | |
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 成员函数 | |
DTunSetting (const QSharedPointer< DTunSetting > &other) | |
QString | name () const override |
void | setGroup (const QString &group) |
QString | group () const |
void | setMode (Mode mode) |
Mode | mode () const |
void | setMultiQueue (bool multiQueue) |
bool | multiQueue () const |
void | setOwner (const QString &owner) |
QString | owner () const |
void | setPi (bool pi) |
bool | pi () const |
void | setVnetHdr (bool vnetHdr) |
bool | vnetHdr () const |
void | fromMap (const QVariantMap &setting) override |
QVariantMap | toMap () const override |
![]() | |
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< DTunSettingPrivate > | d_ptr |
![]() | |
QScopedPointer< DNMSettingPrivate > | d_ptr |
额外继承的成员函数 | |
![]() | |
static QString | typeToString (const SettingType type) |
static SettingType | stringToType (const QString &str) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |