Public Types | Public Member Functions | Static Public Member Functions

QHostInfo Class Reference

Search for all occurrences

Detailed Description

Definition at line 58 of file qhostinfo.h.

#include <qhostinfo.h>

List of all members.

Public Types

enum   HostInfoError { NoError, HostNotFound, UnknownError }

Public Member Functions

  QHostInfo (int lookupId=-1)
  QHostInfo (const QHostInfo &d)
QHostInfo operator= (const QHostInfo &d)
  ~QHostInfo ()
QString  hostName () const
void  setHostName (const QString &name)
QList< QHostAddress addresses () const
void  setAddresses (const QList< QHostAddress > &addresses)
HostInfoError  error () const
void  setError (HostInfoError error)
QString  errorString () const
void  setErrorString (const QString &errorString)
void  setLookupId (int id)
int  lookupId () const

Static Public Member Functions

static int  lookupHost (const QString &name, QObject *receiver, const char *member)
static void  abortHostLookup (int lookupId)
static QHostInfo  fromName (const QString &name)
static QString  localHostName ()
static QString  localDomainName ()

Member Enumeration Documentation


Constructor & Destructor Documentation

QHostInfo ( int  lookupId = -1 )
QHostInfo ( const QHostInfo d )
~QHostInfo ( )

Member Function Documentation

QHostInfo& operator= ( const QHostInfo d )
QString hostName ( ) const
void setHostName ( const QString name )
QList<QHostAddress> addresses ( ) const
void setAddresses ( const QList< QHostAddress > &  addresses )
HostInfoError error ( ) const
void setError ( HostInfoError  error )
QString errorString ( ) const
void setErrorString ( const QString errorString )
void setLookupId ( int  id )
int lookupId ( ) const
static int lookupHost ( const QString name,
QObject receiver,
const char *  member 
) [static]
static void abortHostLookup ( int  lookupId ) [static]
static QHostInfo fromName ( const QString name ) [static]
static QString localHostName ( ) [static]
static QString localDomainName ( ) [static]

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

QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo
QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo QHostInfo