NetworkManager::DnsDomain

Search for usage in LXR

NetworkManager::DnsDomain Class Reference

#include <dnsdomain.h>

Public Member Functions

 DnsDomain ()
 
 DnsDomain (const DnsDomain &other)
 
 DnsDomain (const QString &name, const QList< QHostAddress > &servers, const QStringList &options)
 
 ~DnsDomain ()
 
QString name () const
 
DnsDomainoperator= (const DnsDomain &other)
 
QStringList options () const
 
QList< QHostAddressservers () const
 
void setName (const QString &name)
 
void setOptions (const QStringList &list)
 
void setServers (const QList< QHostAddress > &list)
 

Detailed Description

This class represents the configuration for a DNS domain.

Definition at line 27 of file dnsdomain.h.

Constructor & Destructor Documentation

◆ DnsDomain() [1/3]

NetworkManager::DnsDomain::DnsDomain ( const QString & name,
const QList< QHostAddress > & servers,
const QStringList & options )

Constructs a DnsDomain object with a list of.

Definition at line 34 of file dnsdomain.cpp.

◆ DnsDomain() [2/3]

NetworkManager::DnsDomain::DnsDomain ( )

Constructs a DnsDomain object.

Definition at line 39 of file dnsdomain.cpp.

◆ ~DnsDomain()

NetworkManager::DnsDomain::~DnsDomain ( )

Destroys this DnsDomain object.

Definition at line 50 of file dnsdomain.cpp.

◆ DnsDomain() [3/3]

NetworkManager::DnsDomain::DnsDomain ( const DnsDomain & other)

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

Definition at line 44 of file dnsdomain.cpp.

Member Function Documentation

◆ name()

QString NetworkManager::DnsDomain::name ( ) const

Returns the domain name.

Definition at line 55 of file dnsdomain.cpp.

◆ operator=()

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

Makes a copy of the DnsDomain object other.

Definition at line 85 of file dnsdomain.cpp.

◆ options()

QStringList NetworkManager::DnsDomain::options ( ) const

Returns the list of resolver options.

Definition at line 75 of file dnsdomain.cpp.

◆ servers()

QList< QHostAddress > NetworkManager::DnsDomain::servers ( ) const

Returns the list of servers.

Definition at line 65 of file dnsdomain.cpp.

◆ setName()

void NetworkManager::DnsDomain::setName ( const QString & name)

Sets the domain name.

Definition at line 60 of file dnsdomain.cpp.

◆ setOptions()

void NetworkManager::DnsDomain::setOptions ( const QStringList & list)

Sets the list of resolver options.

Definition at line 80 of file dnsdomain.cpp.

◆ setServers()

void NetworkManager::DnsDomain::setServers ( const QList< QHostAddress > & list)

Sets the list of servers.

Definition at line 70 of file dnsdomain.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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.