|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.network.QHostInfo.HostInfoError
public static final class QHostInfo.HostInfoError
This enum describes the various errors that can occur when trying to resolve a host name.
error()
, and setError()
.
Field Summary | |
---|---|
static QHostInfo.HostInfoError |
HostNotFound
No IP addresses were found for the host. |
static QHostInfo.HostInfoError |
NoError
The lookup was successful. |
static QHostInfo.HostInfoError |
UnknownError
An unknown error occurred. |
Method Summary | |
---|---|
static QHostInfo.HostInfoError |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QHostInfo.HostInfoError |
valueOf(java.lang.String name)
|
static QHostInfo.HostInfoError[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QHostInfo.HostInfoError NoError
public static final QHostInfo.HostInfoError HostNotFound
public static final QHostInfo.HostInfoError UnknownError
Method Detail |
---|
public static QHostInfo.HostInfoError[] values()
public static QHostInfo.HostInfoError valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QHostInfo.HostInfoError resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |