|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFile.FileError>
com.trolltech.qt.core.QFile.FileError
public static enum QFile.FileError
This enum describes the errors that may be returned by the error function.
Enum Constant Summary | |
---|---|
AbortError
The operation was aborted. |
|
CopyError
The file could not be copied. |
|
FatalError
A fatal error occurred. |
|
NoError
No error occurred. |
|
OpenError
The file could not be opened. |
|
PermissionsError
The file could not be accessed. |
|
PositionError
The position in the file could not be changed. |
|
ReadError
An error occurred when reading from the file. |
|
RemoveError
The file could not be removed. |
|
RenameError
The file could not be renamed. |
|
ResizeError
The file could not be resized. |
|
ResourceError
Internal. |
|
TimeOutError
A timeout occurred. |
|
UnspecifiedError
An unspecified error occurred. |
|
WriteError
An error occurred when writing to the file. |
Method Summary | |
---|---|
static QFile.FileError |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFile.FileError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFile.FileError[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final QFile.FileError NoError
No error occurred.
public static final QFile.FileError ReadError
An error occurred when reading from the file.
public static final QFile.FileError WriteError
An error occurred when writing to the file.
public static final QFile.FileError FatalError
A fatal error occurred.
public static final QFile.FileError ResourceError
public static final QFile.FileError OpenError
The file could not be opened.
public static final QFile.FileError AbortError
The operation was aborted.
public static final QFile.FileError TimeOutError
A timeout occurred.
public static final QFile.FileError UnspecifiedError
An unspecified error occurred.
public static final QFile.FileError RemoveError
The file could not be removed.
public static final QFile.FileError RenameError
The file could not be renamed.
public static final QFile.FileError PositionError
The position in the file could not be changed.
public static final QFile.FileError ResizeError
The file could not be resized.
public static final QFile.FileError PermissionsError
The file could not be accessed.
public static final QFile.FileError CopyError
The file could not be copied.
Method Detail |
---|
public static QFile.FileError[] values()
for (QFile.FileError c : QFile.FileError.values()) System.out.println(c);
public static QFile.FileError 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QFile.FileError resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |