|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.QFile.Permission
public static final class QFile.Permission
This enum is used by the permission() function to report the permissions and ownership of a file. The values may be OR-ed together to test multiple permissions and ownership values. Warning: Because of differences in the platforms supported by Qt, the semantics of ReadUser
, WriteUser
and ExeUser
are platform-dependent: On Unix, the rights of the owner of the file are returned and on Windows the rights of the current user are returned. This behavior might change in a future Qt version.
Field Summary | |
---|---|
static QFile.Permission |
ExeGroup
The file is executable by the group. |
static QFile.Permission |
ExeOther
The file is executable by anyone. |
static QFile.Permission |
ExeOwner
The file is executable by the owner of the file. |
static QFile.Permission |
ExeUser
The file is executable by the user. |
static QFile.Permission |
ReadGroup
The file is readable by the group. |
static QFile.Permission |
ReadOther
The file is readable by anyone. |
static QFile.Permission |
ReadOwner
The file is readable by the owner of the file. |
static QFile.Permission |
ReadUser
The file is readable by the user. |
static QFile.Permission |
WriteGroup
The file is writable by the group. |
static QFile.Permission |
WriteOther
The file is writable by anyone. |
static QFile.Permission |
WriteOwner
The file is writable by the owner of the file. |
static QFile.Permission |
WriteUser
The file is writable by the user. |
Method Summary | |
---|---|
static QFile.Permissions |
createQFlags(QFile.Permission[] values)
|
static QFile.Permission |
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.Permission |
valueOf(java.lang.String name)
|
static QFile.Permission[] |
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 QFile.Permission ReadOwner
public static final QFile.Permission WriteOwner
public static final QFile.Permission ExeOwner
public static final QFile.Permission ReadUser
public static final QFile.Permission WriteUser
public static final QFile.Permission ExeUser
public static final QFile.Permission ReadGroup
public static final QFile.Permission WriteGroup
public static final QFile.Permission ExeGroup
public static final QFile.Permission ReadOther
public static final QFile.Permission WriteOther
public static final QFile.Permission ExeOther
Method Detail |
---|
public static QFile.Permission[] values()
public static QFile.Permission valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QFile.Permissions createQFlags(QFile.Permission[] values)
public static QFile.Permission resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |