|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QAbstractFileEngine.FileName>
com.trolltech.qt.core.QAbstractFileEngine.FileName
public static enum QAbstractFileEngine.FileName
These values are used to request a file name in a particular format.
Enum Constant Summary | |
---|---|
AbsoluteName
The absolute path to the file (including the base name). |
|
AbsolutePathName
The absolute path to the file (excluding the base name). |
|
BaseName
The name of the file excluding the path. |
|
BundleName
Returns the name of the bundle implies BundleType is set. |
|
CanonicalName
Often very similar to LinkName. |
|
CanonicalPathName
Same as CanonicalName, excluding the base name. |
|
DefaultName
The same filename that was passed to the QAbstractFileEngine. |
|
LinkName
The full file name of the file that this file is a link to. |
|
PathName
The path to the file excluding the base name. |
Method Summary | |
---|---|
static QAbstractFileEngine.FileName |
resolve(int value)
|
int |
value()
|
static QAbstractFileEngine.FileName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QAbstractFileEngine.FileName[] |
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 QAbstractFileEngine.FileName DefaultName
The same filename that was passed to the QAbstractFileEngine.
public static final QAbstractFileEngine.FileName BaseName
The name of the file excluding the path.
public static final QAbstractFileEngine.FileName PathName
The path to the file excluding the base name.
public static final QAbstractFileEngine.FileName AbsoluteName
The absolute path to the file (including the base name).
public static final QAbstractFileEngine.FileName AbsolutePathName
The absolute path to the file (excluding the base name).
public static final QAbstractFileEngine.FileName LinkName
The full file name of the file that this file is a link to. (This will be empty if this file is not a link.)
public static final QAbstractFileEngine.FileName CanonicalName
Often very similar to LinkName. Will return the true path to the file.
public static final QAbstractFileEngine.FileName CanonicalPathName
Same as CanonicalName, excluding the base name.
public static final QAbstractFileEngine.FileName BundleName
Returns the name of the bundle implies BundleType is set.
Method Detail |
---|
public static final QAbstractFileEngine.FileName[] values()
for(QAbstractFileEngine.FileName c : QAbstractFileEngine.FileName.values()) System.out.println(c);
public static QAbstractFileEngine.FileName 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()
value
in interface QtEnumerator
public static QAbstractFileEngine.FileName resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |