|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFtp.Error>
com.trolltech.qt.network.QFtp.Error
public static enum QFtp.Error
This enum identifies the error that occurred.
Enum Constant Summary | |
---|---|
ConnectionRefused
The server refused the connection. |
|
HostNotFound
The host name lookup failed. |
|
NoError
No error occurred. |
|
NotConnected
Tried to send a command, but there is no connection to a server. |
|
UnknownError
An error other than those specified above occurred. |
Method Summary | |
---|---|
static QFtp.Error |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFtp.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFtp.Error[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFtp.Error NoError
No error occurred.
public static final QFtp.Error UnknownError
An error other than those specified above occurred.
public static final QFtp.Error HostNotFound
The host name lookup failed.
public static final QFtp.Error ConnectionRefused
The server refused the connection.
public static final QFtp.Error NotConnected
Tried to send a command, but there is no connection to a server.
Method Detail |
---|
public static final QFtp.Error[] values()
for(QFtp.Error c : QFtp.Error.values()) System.out.println(c);
public static QFtp.Error valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QFtp.Error resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |