NetworkManager::ProxySetting
#include <proxysetting.h>
Public Types | |
typedef QList< Ptr > | List |
enum | Mode { None = 0 , Auto = 1 } |
typedef QSharedPointer< ProxySetting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
typedef QFlags< SecretFlagType > | SecretFlags |
enum | SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 } |
enum | SettingType { 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 } |
Public Member Functions | |
ProxySetting (const Ptr &other) | |
bool | browserOnly () const |
void | fromMap (const QVariantMap &setting) override |
Mode | method () const |
QString | name () const override |
QString | pacScript () const |
QString | pacUrl () const |
void | setBrowserOnly (bool browserOnly) |
void | setMethod (Mode method) |
void | setPacScript (const QString &script) |
void | setPacUrl (const QString &url) |
QVariantMap | toMap () const override |
Public Member Functions inherited from NetworkManager::Setting | |
Setting (const Ptr &setting) | |
Setting (SettingType type) | |
bool | isNull () const |
virtual QStringList | needSecrets (bool requestNew=false) const |
virtual void | secretsFromMap (const QVariantMap &map) |
virtual void | secretsFromStringMap (const NMStringMap &map) |
virtual QVariantMap | secretsToMap () const |
virtual NMStringMap | secretsToStringMap () const |
void | setInitialized (bool initialized) |
void | setType (SettingType type) |
SettingType | type () const |
Protected Attributes | |
ProxySettingPrivate * | d_ptr |
Protected Attributes inherited from NetworkManager::Setting | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
Static Public Member Functions inherited from NetworkManager::Setting | |
static QString | typeAsString (SettingType type) |
static SettingType | typeFromString (const QString &type) |
Detailed Description
Represents proxy setting.
Definition at line 22 of file proxysetting.h.
Member Typedef Documentation
◆ List
Definition at line 26 of file proxysetting.h.
◆ Ptr
Definition at line 25 of file proxysetting.h.
Member Enumeration Documentation
◆ Mode
enum NetworkManager::ProxySetting::Mode |
Definition at line 27 of file proxysetting.h.
Constructor & Destructor Documentation
◆ ProxySetting() [1/2]
NetworkManager::ProxySetting::ProxySetting | ( | ) |
Definition at line 27 of file proxysetting.cpp.
◆ ProxySetting() [2/2]
|
explicit |
Definition at line 33 of file proxysetting.cpp.
◆ ~ProxySetting()
|
override |
Definition at line 43 of file proxysetting.cpp.
Member Function Documentation
◆ browserOnly()
bool NetworkManager::ProxySetting::browserOnly | ( | ) | const |
Definition at line 62 of file proxysetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 111 of file proxysetting.cpp.
◆ method()
NetworkManager::ProxySetting::Mode NetworkManager::ProxySetting::method | ( | ) | const |
Definition at line 76 of file proxysetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 48 of file proxysetting.cpp.
◆ pacScript()
QString NetworkManager::ProxySetting::pacScript | ( | ) | const |
Definition at line 90 of file proxysetting.cpp.
◆ pacUrl()
QString NetworkManager::ProxySetting::pacUrl | ( | ) | const |
Definition at line 104 of file proxysetting.cpp.
◆ setBrowserOnly()
void NetworkManager::ProxySetting::setBrowserOnly | ( | bool | browserOnly | ) |
Definition at line 55 of file proxysetting.cpp.
◆ setMethod()
void NetworkManager::ProxySetting::setMethod | ( | Mode | method | ) |
Definition at line 69 of file proxysetting.cpp.
◆ setPacScript()
void NetworkManager::ProxySetting::setPacScript | ( | const QString & | script | ) |
Definition at line 83 of file proxysetting.cpp.
◆ setPacUrl()
void NetworkManager::ProxySetting::setPacUrl | ( | const QString & | url | ) |
Definition at line 97 of file proxysetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 130 of file proxysetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 55 of file proxysetting.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.