#include <qhostinfo.h>
Definition at line 58 of file qhostinfo.h.
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 () |
| enum HostInfoError |
| Enumerator | |
|---|---|
| NoError | |
| HostNotFound | |
| UnknownError | |
Definition at line 61 of file qhostinfo.h.
| ~QHostInfo | ( | ) |
| QString hostName | ( | ) | const |
| QList<QHostAddress> addresses | ( | ) | const |
| void setAddresses | ( | const QList< QHostAddress > & | addresses | ) |
| HostInfoError error | ( | ) | const |
| void setError | ( | HostInfoError | error | ) |
| QString errorString | ( | ) | const |
| int lookupId | ( | ) | const |
|
static |
|
static |