Pages
API Documentation
On this page

NetworkManager::DnsDomain Class

This 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)

List of all members, including inherited members

Public Functions

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.