NetworkManager::DnsDomain Class
class NetworkManager::DnsDomainThis class represents the configuration for a DNS domain. More...
Header: | #include <NetworkManagerQt/DnsDomain> |
CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt) target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
Public Functions
DnsDomain() | |
DnsDomain(const QString &name, const QList<QHostAddress> &servers, const QStringList &options) | |
DnsDomain(const NetworkManager::DnsDomain &other) | |
~DnsDomain() | |
QString | name() const |
QStringList | options() const |
QList<QHostAddress> | servers() const |
void | setName(const QString &name) |
void | setOptions(const QStringList &list) |
void | setServers(const QList<QHostAddress> &list) |
NetworkManager::DnsDomain & | operator=(const NetworkManager::DnsDomain &other) |
Detailed Description
Member Function Documentation
DnsDomain::DnsDomain()
Constructs a DnsDomain object
DnsDomain::DnsDomain(const QString &name, const QList<QHostAddress> &servers, const QStringList &options)
Constructs a DnsDomain object with a list of
DnsDomain::DnsDomain(const NetworkManager::DnsDomain &other)
Constructs a DnsDomain object that is a copy of the object other.
[noexcept]
DnsDomain::~DnsDomain()
Destroys this DnsDomain object.
QString DnsDomain::name() const
Returns the domain name
See also setName().
QStringList DnsDomain::options() const
Returns the list of resolver options
See also setOptions().
QList<QHostAddress> DnsDomain::servers() const
Returns the list of servers
See also setServers().
void DnsDomain::setName(const QString &name)
Sets the domain name
See also name().
void DnsDomain::setOptions(const QStringList &list)
Sets the list of resolver options
See also options().
void DnsDomain::setServers(const QList<QHostAddress> &list)
Sets the list of servers
See also servers().
NetworkManager::DnsDomain &DnsDomain::operator=(const NetworkManager::DnsDomain &other)
Makes a copy of the DnsDomain object other.