|
|||||||||
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.QAbstractFileEngine.Extension
public static final class QAbstractFileEngine.Extension
This enum describes the types of extensions that the file engine can support. Before using these extensions, you must verify that the extension is supported (i.e., call supportsExtension()
).
Field Summary | |
---|---|
static QAbstractFileEngine.Extension |
AtEndExtension
Whether the current file position is at the end of the file or not. |
static QAbstractFileEngine.Extension |
CustomEnum
|
static QAbstractFileEngine.Extension |
FastReadLineExtension
Whether the file engine provides a fast implementation for readLine() or not. |
static QAbstractFileEngine.Extension |
MapExtension
Whether the file engine provides the ability to map a file to memory. |
static QAbstractFileEngine.Extension |
UnMapExtension
Whether the file engine provides the ability to unmap memory that was previously mapped. |
Method Summary | |
---|---|
static QAbstractFileEngine.Extension |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QAbstractFileEngine.Extension |
valueOf(java.lang.String name)
|
static QAbstractFileEngine.Extension[] |
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 QAbstractFileEngine.Extension AtEndExtension
public static final QAbstractFileEngine.Extension FastReadLineExtension
readLine()
or not. If readLine()
remains unimplemented in the file engine, QAbstractFileEngine
will provide an implementation based on calling read()
repeatedly. If supportsExtension()
returns false for this extension, however, QIODevice
can provide a faster implementation by making use of its internal buffer. For engines that already provide a fast readLine()
implementation, returning false for this extension can avoid unnnecessary double-buffering in QIODevice
.
public static final QAbstractFileEngine.Extension MapExtension
public static final QAbstractFileEngine.Extension UnMapExtension
public static final QAbstractFileEngine.Extension CustomEnum
Method Detail |
---|
public static QAbstractFileEngine.Extension[] values()
public static QAbstractFileEngine.Extension valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QAbstractFileEngine.Extension resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |