Definition at line 58 of file qhostinfo.h.
#include <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 |
Definition at line 61 of file qhostinfo.h.
{
NoError,
HostNotFound,
UnknownError
};
| QHostInfo | ( | int | lookupId = -1 |
) |
| ~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 void abortHostLookup | ( | int | lookupId | ) | [static] |
| static QString localHostName | ( | ) | [static] |
| static QString localDomainName | ( | ) | [static] |