NetworkManager::DnsConfiguration
#include <dnsconfiguration.h>
Public Member Functions | |
DnsConfiguration () | |
DnsConfiguration (const DnsConfiguration &other) | |
DnsConfiguration (const QStringList &searches, const QStringList &options, const QList< DnsDomain > domains) | |
~DnsConfiguration () | |
QList< DnsDomain > | domains () const |
void | fromMap (const QVariantMap &map) |
DnsConfiguration & | operator= (const DnsConfiguration &other) |
QStringList | options () const |
QStringList | searches () const |
void | setDomains (const QList< DnsDomain > &domains) |
void | setOptions (const QStringList &list) |
void | setSearches (const QStringList &list) |
QVariantMap | toMap () const |
Detailed Description
This class represents IP configuration.
Definition at line 26 of file dnsconfiguration.h.
Constructor & Destructor Documentation
◆ DnsConfiguration() [1/3]
NetworkManager::DnsConfiguration::DnsConfiguration | ( | const QStringList & | searches, |
const QStringList & | options, | ||
const QList< DnsDomain > | domains ) |
Constructs an initialized DnsConfiguration object.
Definition at line 36 of file dnsconfiguration.cpp.
◆ DnsConfiguration() [2/3]
NetworkManager::DnsConfiguration::DnsConfiguration | ( | ) |
Constructs an empty DnsConfiguration object.
Definition at line 41 of file dnsconfiguration.cpp.
◆ ~DnsConfiguration()
NetworkManager::DnsConfiguration::~DnsConfiguration | ( | ) |
Destroys this DnsConfiguration object.
Definition at line 52 of file dnsconfiguration.cpp.
◆ DnsConfiguration() [3/3]
NetworkManager::DnsConfiguration::DnsConfiguration | ( | const DnsConfiguration & | other | ) |
Constructs a DnsConfiguration object that is a copy of the object other
.
Definition at line 46 of file dnsconfiguration.cpp.
Member Function Documentation
◆ domains()
QList< NetworkManager::DnsDomain > NetworkManager::DnsConfiguration::domains | ( | ) | const |
Returns the list of domains.
Definition at line 77 of file dnsconfiguration.cpp.
◆ fromMap()
void NetworkManager::DnsConfiguration::fromMap | ( | const QVariantMap & | map | ) |
De-marshall from a map.
Definition at line 111 of file dnsconfiguration.cpp.
◆ operator=()
NetworkManager::DnsConfiguration & NetworkManager::DnsConfiguration::operator= | ( | const DnsConfiguration & | other | ) |
Makes a copy of the DnsConfiguration object other
.
Definition at line 132 of file dnsconfiguration.cpp.
◆ options()
QStringList NetworkManager::DnsConfiguration::options | ( | ) | const |
Returns the list of resolver options.
Definition at line 67 of file dnsconfiguration.cpp.
◆ searches()
QStringList NetworkManager::DnsConfiguration::searches | ( | ) | const |
Returns the list of search domains.
Definition at line 57 of file dnsconfiguration.cpp.
◆ setDomains()
Sets the list of domains.
Definition at line 82 of file dnsconfiguration.cpp.
◆ setOptions()
void NetworkManager::DnsConfiguration::setOptions | ( | const QStringList & | list | ) |
Sets the list of resolver options.
Definition at line 72 of file dnsconfiguration.cpp.
◆ setSearches()
void NetworkManager::DnsConfiguration::setSearches | ( | const QStringList & | list | ) |
Sets the list of search domains.
Definition at line 62 of file dnsconfiguration.cpp.
◆ toMap()
QVariantMap NetworkManager::DnsConfiguration::toMap | ( | ) | const |
Marshall into a map.
Definition at line 87 of file dnsconfiguration.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.