diff options
Diffstat (limited to 'knetworkconf/knetworkconf/kdnsinfo.cpp')
-rw-r--r-- | knetworkconf/knetworkconf/kdnsinfo.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/knetworkconf/knetworkconf/kdnsinfo.cpp b/knetworkconf/knetworkconf/kdnsinfo.cpp index 357bc49..724118c 100644 --- a/knetworkconf/knetworkconf/kdnsinfo.cpp +++ b/knetworkconf/knetworkconf/kdnsinfo.cpp @@ -21,33 +21,33 @@ KDNSInfo::KDNSInfo(){ } KDNSInfo::~KDNSInfo(){ } -QStringList KDNSInfo::getNameServers(){ +TQStringList KDNSInfo::getNameServers(){ return nameServers; } -QString KDNSInfo::getDomainName(){ +TQString KDNSInfo::getDomainName(){ return domainName; } -QString KDNSInfo::getMachineName(){ +TQString KDNSInfo::getMachineName(){ return machineName; } -QStringList KDNSInfo::getSearchDomains(){ +TQStringList KDNSInfo::getSearchDomains(){ return searchDomains; } -void KDNSInfo::setNameServers(const QStringList &nameServers){ +void KDNSInfo::setNameServers(const TQStringList &nameServers){ KDNSInfo::nameServers = nameServers; } -void KDNSInfo::setDomainName(const QString &domain){ +void KDNSInfo::setDomainName(const TQString &domain){ KDNSInfo::domainName = domain; } -void KDNSInfo::setMachineName(const QString &machine){ +void KDNSInfo::setMachineName(const TQString &machine){ KDNSInfo::machineName = machine; } -void KDNSInfo::setSearchDomains(const QStringList &searchDomains){ +void KDNSInfo::setSearchDomains(const TQStringList &searchDomains){ KDNSInfo::searchDomains = searchDomains; } -QPtrList<KKnownHostInfo> KDNSInfo::getKnownHostsList(){ +TQPtrList<KKnownHostInfo> KDNSInfo::getKnownHostsList(){ return knownHosts; } void KDNSInfo::addKnownHost(KKnownHostInfo *host){ @@ -56,6 +56,6 @@ void KDNSInfo::addKnownHost(KKnownHostInfo *host){ bool KDNSInfo::removeKnownHost(int index){ return knownHosts.remove(index); } -void KDNSInfo::setKnownHostsList(QPtrList<KKnownHostInfo> hostsList){ +void KDNSInfo::setKnownHostsList(TQPtrList<KKnownHostInfo> hostsList){ KDNSInfo::knownHosts = hostsList; } |