Pages
API Documentation
On this page

NetworkManager::DnsConfiguration Class

This class represents IP configuration. More...

  • Header: #include <NetworkManagerQt/DnsConfiguration>
  • 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

DnsConfiguration::DnsConfiguration()

Constructs an empty DnsConfiguration object

DnsConfiguration::DnsConfiguration(const QStringList &searches, const QStringList &options, const QList<NetworkManager::DnsDomain> domains)

Constructs an initialized DnsConfiguration object

DnsConfiguration::DnsConfiguration(const NetworkManager::DnsConfiguration &other)

Constructs a DnsConfiguration object that is a copy of the object other.

[noexcept] DnsConfiguration::~DnsConfiguration()

Destroys this DnsConfiguration object.

QList<NetworkManager::DnsDomain> DnsConfiguration::domains() const

Returns the list of domains

See also setDomains()

void DnsConfiguration::fromMap(const QVariantMap &map)

De-marshall from a map

QStringList DnsConfiguration::options() const

Returns the list of resolver options

See also setOptions()

QStringList DnsConfiguration::searches() const

Returns the list of search domains

See also setSearches()

void DnsConfiguration::setDomains(const QList<NetworkManager::DnsDomain> &domains)

Sets the list of domains

See also domains()

void DnsConfiguration::setOptions(const QStringList &list)

Sets the list of resolver options

See also options()

void DnsConfiguration::setSearches(const QStringList &list)

Sets the list of search domains

See also searches()

QVariantMap DnsConfiguration::toMap() const

Marshall into a map

NetworkManager::DnsConfiguration &DnsConfiguration::operator=(const NetworkManager::DnsConfiguration &other)

Makes a copy of the DnsConfiguration 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.