KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviDnsResolverThread Class Reference

#include <KviDnsResolver.h>

+ Inheritance diagram for KviDnsResolverThread:

Public Member Functions

void setQuery (const QString &szQuery, KviDnsResolver::QueryType type)
 

Protected Member Functions

 KviDnsResolverThread (KviDnsResolver *pDns)
 
void postDnsError (KviDnsResolverResult *pDns, KviError::Code error)
 
virtual void run ()
 
KviError::Code translateDnsError (int iErr)
 
virtual ~KviDnsResolverThread ()
 

Protected Attributes

KviDnsResolverm_pParentDns
 
KviDnsResolver::QueryType m_queryType
 
QString m_szQuery
 

Friends

class KviDnsResolver
 

Constructor & Destructor Documentation

KviDnsResolverThread::KviDnsResolverThread ( KviDnsResolver pDns)
protected

References m_pParentDns.

KviDnsResolverThread::~KviDnsResolverThread ( )
protectedvirtualdefault

Member Function Documentation

void KviDnsResolverThread::postDnsError ( KviDnsResolverResult pDns,
KviError::Code  error 
)
protected

References m_pParentDns, and KviDnsResolverResult::setError().

Referenced by run().

void KviDnsResolverThread::run ( )
protectedvirtual
void KviDnsResolverThread::setQuery ( const QString &  szQuery,
KviDnsResolver::QueryType  type 
)
inline
KviError::Code KviDnsResolverThread::translateDnsError ( int  iErr)
protected

Friends And Related Function Documentation

friend class KviDnsResolver
friend

Member Data Documentation

KviDnsResolver* KviDnsResolverThread::m_pParentDns
protected
KviDnsResolver::QueryType KviDnsResolverThread::m_queryType
protected

Referenced by run(), and setQuery().

QString KviDnsResolverThread::m_szQuery
protected

The documentation for this class was generated from the following files: