63 return m_pHostnameList;
68 return m_pIpAddressList;
87 void appendHostname(
const QString &
szHost);
88 void appendAddress(
const QString & szAddr);
96 Q_PROPERTY(
bool blockingDelete READ isRunning)
136 QString errorString();
137 const QString & firstHostname();
140 return firstHostname();
144 int ipAddressCount();
147 const QString & query();
148 bool isRunning()
const;
154 void * pData = m_pAuxData;
160 virtual bool event(QEvent *
e);
184 : QEvent(QEvent::User),
m_pResult(pResult)
Definition: KviDnsResolver.h:110
Definition: KviDnsResolver.h:177
KviDnsResolverResult * releaseResult()
Definition: KviDnsResolver.h:196
Definition: KviDnsResolver.h:36
Definition: KviHeapObject.h:124
This file contains the definition of the debug macros;.
KviError::Code error()
Definition: KviDnsResolver.cpp:424
char * NULL
Definition: KviIrcNumericCodes.h:391
const QString & query()
Definition: KviDnsResolver.h:71
KviPointerList< QString > * m_pIpAddressList
Definition: KviDnsResolver.h:50
State state()
Definition: KviDnsResolver.h:132
Definition: KviDnsResolver.h:104
void * m_pAuxData
Definition: KviDnsResolver.h:117
QString m_szQuery
Definition: KviDnsResolver.h:51
KviError::Code error()
Definition: KviDnsResolver.h:54
KviPointerList< QString > * hostnameList()
Definition: KviDnsResolver.h:61
KviDnsResolver * m_pParentDns
Definition: KviDnsResolver.h:215
KviDnsResolverThread * m_pSlaveThread
Definition: KviDnsResolver.h:118
void setAuxData(void *pAuxData)
Definition: KviDnsResolver.h:151
QString type()
Definition: KviRuntimeInfo.cpp:646
#define e
Definition: detector.cpp:69
virtual void run()
Definition: KviDnsResolver.cpp:158
Definition: KviDnsResolver.h:204
KviPointerList< QString > * m_pHostnameList
Definition: KviDnsResolver.h:49
void setQuery(const QString &szQuery)
Definition: KviDnsResolver.h:82
KviDnsResolverResult * m_pResult
Definition: KviDnsResolver.h:180
QString szHost
Definition: libkvisetup.cpp:45
KviDnsResolverResult * m_pDnsResult
Definition: KviDnsResolver.h:119
void setError(KviError::Code eError)
Definition: KviDnsResolver.h:77
Code
Contains all error codes.
Definition: KviError.h:47
void * releaseAuxData()
Definition: KviDnsResolver.h:152
KviDnsResolverThreadEvent(KviDnsResolverResult *pResult)
Definition: KviDnsResolver.h:183
void setQuery(const QString &szQuery, KviDnsResolver::QueryType type)
Definition: KviDnsResolver.h:218
Definition: KviDnsResolver.h:112
KviDnsResolver::QueryType m_queryType
Definition: KviDnsResolver.h:214
virtual ~KviDnsResolverThread()
The KviDnsResolver class.
Definition: KviDnsResolver.h:93
#define KVI_ASSERT(__condition__)
GNUC
Definition: kvi_debug.h:138
State m_state
Definition: KviDnsResolver.h:120
QString m_szQuery
Definition: KviDnsResolver.h:213
C++ Template based double linked pointer list class.
void postDnsError(KviDnsResolverResult *pDns, KviError::Code error)
Definition: KviDnsResolver.cpp:150
Definition: KviDnsResolver.h:105
QueryType
Definition: KviDnsResolver.h:102
KviPointerList< QString > * ipAddressList()
Definition: KviDnsResolver.h:66
KviError::Code translateDnsError(int iErr)
Definition: KviDnsResolver.cpp:93
virtual ~KviDnsResolverThreadEvent()
Definition: KviDnsResolver.h:189
KviError::Code m_eError
Definition: KviDnsResolver.h:48
KviDnsResolverThread(KviDnsResolver *pDns)
Definition: KviDnsResolver.cpp:84
const QString & hostName()
Definition: KviDnsResolver.h:138
Definition: KviDnsResolver.h:111
This file contains compile time settings.
#define KVILIB_API
Definition: kvi_settings.h:125
Helper functions for the QString class.
const QString & firstIpAddress()
State
Definition: KviDnsResolver.h:108
Definition: KviError.h:49