Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1886

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QAbstractFileEngine" doc="/**
&lt;p&gt;The &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; class provides an abstraction for accessing the filesystem.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QDir.html&quot;&gt;&lt;tt&gt;QDir&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFile.html&quot;&gt;&lt;tt&gt;QFile&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QFileInfo.html&quot;&gt;&lt;tt&gt;QFileInfo&lt;/tt&gt;&lt;/a&gt; classes all make use of a &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; internally. If you create your own &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; subclass (and register it with Qt by creating a &lt;a href=&quot;QAbstractFileEngineHandler.html&quot;&gt;&lt;tt&gt;QAbstractFileEngineHandler&lt;/tt&gt;&lt;/a&gt; subclass), your file engine will be used when the path is one that your file engine handles.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; refers to one file or one directory. If the referent is a file, the &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#rename(java.lang.String)&quot;&gt;&lt;tt&gt;rename&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractFileEngine.html#remove()&quot;&gt;&lt;tt&gt;remove&lt;/tt&gt;&lt;/a&gt; functions are applicable. If the referent is a directory the &lt;a href=&quot;QAbstractFileEngine.html#mkdir(java.lang.String, boolean)&quot;&gt;&lt;tt&gt;mkdir&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#rmdir(java.lang.String, boolean)&quot;&gt;&lt;tt&gt;rmdir&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractFileEngine.html#entryList(com.trolltech.qt.core.QDir.Filters, java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;entryList&lt;/tt&gt;&lt;/a&gt; functions are applicable. In all cases the &lt;a href=&quot;QAbstractFileEngine.html#caseSensitive()&quot;&gt;&lt;tt&gt;caseSensitive&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#isRelativePath()&quot;&gt;&lt;tt&gt;isRelativePath&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#fileFlags(com.trolltech.qt.core.QAbstractFileEngine.FileFlags)&quot;&gt;&lt;tt&gt;fileFlags&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#ownerId(com.trolltech.qt.core.QAbstractFileEngine.FileOwner)&quot;&gt;&lt;tt&gt;ownerId&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractFileEngine.html#owner(com.trolltech.qt.core.QAbstractFileEngine.FileOwner)&quot;&gt;&lt;tt&gt;owner&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractFileEngine.html#fileTime(com.trolltech.qt.core.QAbstractFileEngine.FileTime)&quot;&gt;&lt;tt&gt;fileTime&lt;/tt&gt;&lt;/a&gt; functions are applicable.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; subclass can be created to do synchronous network I/O based file system operations, local file system operations, or to operate as a resource system to access file based resources.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngineHandler.html&quot;&gt;&lt;tt&gt;QAbstractFileEngineHandler&lt;/tt&gt;&lt;/a&gt; */">
    <method name="protected QAbstractFileEngine()" doc="/**
&lt;p&gt;Constructs a new &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; that does not refer to any file or directory.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean atEnd()" doc="/**
&lt;p&gt;Returns true if the current position is at the end of the file; otherwise, returns false.&lt;/p&gt;
&lt;p&gt;This function bases its behavior on calling extension() with &lt;a href=&quot;QAbstractFileEngine.html#Extension-enum&quot;&gt;&lt;tt&gt;AtEndExtension&lt;/tt&gt;&lt;/a&gt;. If the engine does not support this extension, false is returned.&lt;/p&gt;

@see &lt;tt&gt;extension&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#supportsExtension(com.trolltech.qt.core.QAbstractFileEngine.Extension)&quot;&gt;&lt;tt&gt;supportsExtension&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFile::atEnd&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QFile.FileError error()" doc="/**
&lt;p&gt;Returns the QFile::FileError that resulted from the last failed operation. If QFile::UnspecifiedError is returned, &lt;a href=&quot;QFile.html&quot;&gt;&lt;tt&gt;QFile&lt;/tt&gt;&lt;/a&gt; will use its own idea of the error status.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setError(com.trolltech.qt.core.QFile.FileError, java.lang.String)&quot;&gt;&lt;tt&gt;setError&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFile::FileError&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String errorString()" doc="/**
&lt;p&gt;Returns the human-readable message appropriate to the current error reported by &lt;a href=&quot;QAbstractFileEngine.html#error()&quot;&gt;&lt;tt&gt;error&lt;/tt&gt;&lt;/a&gt;. If no suitable string is available, an empty string is returned.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#error()&quot;&gt;&lt;tt&gt;error&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void setError(com.trolltech.qt.core.QFile.FileError error, java.lang.String str)" doc="/**
&lt;p&gt;Sets the error type to &lt;tt&gt;error&lt;/tt&gt;, and the error string to &lt;tt&gt;str&lt;/tt&gt;. Call this function to set the error values returned by the higher-level classes.&lt;/p&gt;

@see &lt;tt&gt;QFile::error&lt;/tt&gt;
@see &lt;tt&gt;QIODevice::errorString&lt;/tt&gt;
@see &lt;tt&gt;QIODevice::setErrorString&lt;/tt&gt; */"/>
    <method name="public boolean caseSensitive()" doc="/**
&lt;p&gt;Should return true if the underlying file system is case-sensitive; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;
 */"/>
    <method name="public boolean close()" doc="/**
&lt;p&gt;Closes the file, returning true if successful; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The default implementation always returns false.&lt;/p&gt;
 */"/>
    <method name="public boolean copy(java.lang.String newName)" doc="/**
&lt;p&gt;Copies the contents of this file to a file with the name &lt;tt&gt;newName&lt;/tt&gt;. Returns true on success; otherwise, false is returned.&lt;/p&gt;
 */"/>
    <method name="public java.util.List&lt;java.lang.String&gt; entryList(com.trolltech.qt.core.QDir.Filters filters, java.util.List&lt;java.lang.String&gt; filterNames)" doc="/**
&lt;p&gt;Requests that a list of all the files matching the &lt;tt&gt;filters&lt;/tt&gt; list based on the &lt;tt&gt;filterNames&lt;/tt&gt; in the file engine's directory are returned.&lt;/p&gt;
&lt;p&gt;Should return an empty list if the file engine refers to a file rather than a directory, or if the directory is unreadable or does not exist or if nothing matches the specifications.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QAbstractFileEngine.FileFlags fileFlags(com.trolltech.qt.core.QAbstractFileEngine.FileFlags type)" doc="/**
&lt;p&gt;This function should return the set of OR'd flags that are true for the file engine's file, and that are in the &lt;tt&gt;type&lt;/tt&gt;'s OR'd members.&lt;/p&gt;
&lt;p&gt;In your reimplementation you can use the &lt;tt&gt;type&lt;/tt&gt; argument as an optimization hint and only return the OR'd set of members that are true and that match those in &lt;tt&gt;type&lt;/tt&gt;; in other words you can ignore any members not mentioned in &lt;tt&gt;type&lt;/tt&gt;, thus avoiding some potentially expensive lookups or system calls.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QAbstractFileEngine.FileFlags fileFlags()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractFileEngine.html#fileFlags(com.trolltech.qt.core.QAbstractFileEngine.FileFlags)&quot;&gt;&lt;tt&gt;fileFlags&lt;/tt&gt;&lt;/a&gt;(FileInfoAll). */"/>
    <method name="public java.lang.String fileName(com.trolltech.qt.core.QAbstractFileEngine.FileName file)" doc="/**
&lt;p&gt;Return the file engine's current file name in the format specified by &lt;tt&gt;file&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If you don't handle some &lt;tt&gt;FileName&lt;/tt&gt; possibilities, return the file name set in &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; when an unhandled format is requested.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#FileName-enum&quot;&gt;&lt;tt&gt;FileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String fileName()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractFileEngine.html#fileName(com.trolltech.qt.core.QAbstractFileEngine.FileName)&quot;&gt;&lt;tt&gt;fileName&lt;/tt&gt;&lt;/a&gt;(DefaultName). */"/>
    <method name="public com.trolltech.qt.core.QDateTime fileTime(com.trolltech.qt.core.QAbstractFileEngine.FileTime time)" doc="/**
&lt;p&gt;If &lt;tt&gt;time&lt;/tt&gt; is &lt;tt&gt;CreationTime&lt;/tt&gt;, return when the file was created. If &lt;tt&gt;time&lt;/tt&gt; is &lt;tt&gt;ModificationTime&lt;/tt&gt;, return when the file was most recently modified. If &lt;tt&gt;time&lt;/tt&gt; is &lt;tt&gt;AccessTime&lt;/tt&gt;, return when the file was most recently accessed (e.g&amp;#x2e; read or written). If the time cannot be determined return QDateTime() (an invalid date time).&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDateTime.html&quot;&gt;&lt;tt&gt;QDateTime&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDateTime::isValid&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#FileTime-enum&quot;&gt;&lt;tt&gt;FileTime&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean flush()" doc="/**
&lt;p&gt;Flushes the open file, returning true if successful; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The default implementation always returns false.&lt;/p&gt;
 */"/>
    <method name="public int handle()" doc="/**
&lt;p&gt;Returns the native file handle for this file engine. This handle must be used with care; its value and type are platform specific, and using it will most likely lead to non-portable code.&lt;/p&gt;
 */"/>
    <method name="public boolean isRelativePath()" doc="/**
&lt;p&gt;Return true if the file referred to by this file engine has a relative path; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean isSequential()" doc="/**
&lt;p&gt;Returns true if the file is a sequential access device; returns false if the file is a direct access device.&lt;/p&gt;
&lt;p&gt;Operations involving &lt;a href=&quot;QAbstractFileEngine.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; and seek(int) are not valid on sequential devices.&lt;/p&gt;
 */"/>
    <method name="public boolean link(java.lang.String newName)" doc="/**
&lt;p&gt;Creates a link from the file currently specified by &lt;a href=&quot;QAbstractFileEngine.html#fileName(com.trolltech.qt.core.QAbstractFileEngine.FileName)&quot;&gt;&lt;tt&gt;fileName&lt;/tt&gt;&lt;/a&gt; to &lt;tt&gt;newName&lt;/tt&gt;. What a link is depends on the underlying filesystem (be it a shortcut on Windows or a symbolic link on Unix). Returns true if successful; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public boolean mkdir(java.lang.String dirName, boolean createParentDirectories)" doc="/**
&lt;p&gt;Requests that the directory &lt;tt&gt;dirName&lt;/tt&gt; be created. If &lt;tt&gt;createParentDirectories&lt;/tt&gt; is true, then any sub-directories in &lt;tt&gt;dirName&lt;/tt&gt; that don't exist must be created. If &lt;tt&gt;createParentDirectories&lt;/tt&gt; is false then any sub-directories in &lt;tt&gt;dirName&lt;/tt&gt; must already exist for the function to succeed. If the operation succeeds return true; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#rmdir(java.lang.String, boolean)&quot;&gt;&lt;tt&gt;rmdir&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#isRelativePath()&quot;&gt;&lt;tt&gt;isRelativePath&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean open(com.trolltech.qt.core.QIODevice.OpenMode openMode)" doc="/**
&lt;p&gt;Opens the file in the specified &lt;tt&gt;openMode&lt;/tt&gt;. Returns true if the file was successfully opened; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;openMode&lt;/tt&gt; is an OR combination of QIODevice::OpenMode and QIODevice::HandlingMode values.&lt;/p&gt;
 */"/>
    <method name="public java.lang.String owner(com.trolltech.qt.core.QAbstractFileEngine.FileOwner arg__1)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; is &lt;tt&gt;OwnerUser&lt;/tt&gt; return the name of the user who owns the file. If &lt;tt&gt;arg__1&lt;/tt&gt; is &lt;tt&gt;OwnerGroup&lt;/tt&gt; return the name of the group that own the file. If you can't determine the owner return &lt;a href=&quot;%2E%2E/porting4.html#qstring&quot;&gt;&lt;tt&gt;QString&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#ownerId(com.trolltech.qt.core.QAbstractFileEngine.FileOwner)&quot;&gt;&lt;tt&gt;ownerId&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#FileOwner-enum&quot;&gt;&lt;tt&gt;FileOwner&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int ownerId(com.trolltech.qt.core.QAbstractFileEngine.FileOwner arg__1)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; is &lt;tt&gt;OwnerUser&lt;/tt&gt; return the ID of the user who owns the file. If &lt;tt&gt;arg__1&lt;/tt&gt; is &lt;tt&gt;OwnerGroup&lt;/tt&gt; return the ID of the group that own the file. If you can't determine the owner return -2.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#owner(com.trolltech.qt.core.QAbstractFileEngine.FileOwner)&quot;&gt;&lt;tt&gt;owner&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#FileOwner-enum&quot;&gt;&lt;tt&gt;FileOwner&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public long pos()" doc="/**
&lt;p&gt;Returns the current file position.&lt;/p&gt;
&lt;p&gt;This is the position of the data read/write head of the file.&lt;/p&gt;
 */"/>
    <method name="public long read(com.trolltech.qt.QNativePointer data, long maxlen)" doc="/**
&lt;p&gt;Reads a number of characters from the file into &lt;tt&gt;data&lt;/tt&gt;. At most &lt;tt&gt;maxlen&lt;/tt&gt; characters will be read.&lt;/p&gt;
&lt;p&gt;Returns -1 if a fatal error occurs, or 0 if there are no bytes to read.&lt;/p&gt;
 */"/>
    <method name="public long readLine(com.trolltech.qt.QNativePointer data, long maxlen)" doc="/**
&lt;p&gt;This function reads one line, terminated by a '\n' character, from the file info &lt;tt&gt;data&lt;/tt&gt;. At most &lt;tt&gt;maxlen&lt;/tt&gt; characters will be read. The end-of-line character is included.&lt;/p&gt;
 */"/>
    <method name="public boolean remove()" doc="/**
&lt;p&gt;Requests that the file is deleted from the file system. If the operation succeeds return true; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#rmdir(java.lang.String, boolean)&quot;&gt;&lt;tt&gt;rmdir&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean rename(java.lang.String newName)" doc="/**
&lt;p&gt;Requests that the file be renamed to &lt;tt&gt;newName&lt;/tt&gt; in the file system. If the operation succeeds return true; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean rmdir(java.lang.String dirName, boolean recurseParentDirectories)" doc="/**
&lt;p&gt;Requests that the directory &lt;tt&gt;dirName&lt;/tt&gt; is deleted from the file system. When &lt;tt&gt;recurseParentDirectories&lt;/tt&gt; is true, then any empty parent-directories in &lt;tt&gt;dirName&lt;/tt&gt; must also be deleted. If &lt;tt&gt;recurseParentDirectories&lt;/tt&gt; is false, only the &lt;tt&gt;dirName&lt;/tt&gt; leaf-node should be deleted. In most file systems a directory cannot be deleted using this function if it is non-empty. If the operation succeeds return true; otherwise return false.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#remove()&quot;&gt;&lt;tt&gt;remove&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#mkdir(java.lang.String, boolean)&quot;&gt;&lt;tt&gt;mkdir&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#isRelativePath()&quot;&gt;&lt;tt&gt;isRelativePath&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean seek(long pos)" doc="/**
&lt;p&gt;Sets the file position to the given &lt;tt&gt;pos&lt;/tt&gt;. Returns true if the position was successfully set; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The offset is from the beginning of the file, unless the file is sequential.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#isSequential()&quot;&gt;&lt;tt&gt;isSequential&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setFileName(java.lang.String file)" doc="/**
&lt;p&gt;Sets the file engine's file name to &lt;tt&gt;file&lt;/tt&gt;. This file name is the file that the rest of the virtual functions will operate on.&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#fileName(com.trolltech.qt.core.QAbstractFileEngine.FileName)&quot;&gt;&lt;tt&gt;fileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#rename(java.lang.String)&quot;&gt;&lt;tt&gt;rename&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean setPermissions(int perms)" doc="/**
&lt;p&gt;Requests that the file's permissions be set to &lt;tt&gt;perms&lt;/tt&gt;. The argument perms will be set to the OR-ed together combination of QAbstractFileEngine::FileInfo, with only the QAbstractFileEngine::PermsMask being honored. If the operations succceeds return true; otherwise return false;&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean setSize(long size)" doc="/**
&lt;p&gt;Requests that the file be set to size &lt;tt&gt;size&lt;/tt&gt;. If &lt;tt&gt;size&lt;/tt&gt; is larger than the current file then it is filled with 0's, if smaller it is simply truncated. If the operations succceeds return true; otherwise return false;&lt;/p&gt;
&lt;p&gt;This virtual function must be reimplemented by all subclasses.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public long size()" doc="/**
&lt;p&gt;Returns the size of the file.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setSize(long)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean supportsExtension(com.trolltech.qt.core.QAbstractFileEngine.Extension extension)" doc="/**
&lt;p&gt;This virtual function returns true if the file engine supports &lt;tt&gt;extension&lt;/tt&gt;; otherwise, false is returned. By default, no extensions are supported.&lt;/p&gt;

@see &lt;tt&gt;extension&lt;/tt&gt; */"/>
    <method name="public long write(com.trolltech.qt.QNativePointer data, long len)" doc="/**
&lt;p&gt;Writes &lt;tt&gt;len&lt;/tt&gt; bytes from &lt;tt&gt;data&lt;/tt&gt; to the file. Returns the number of characters written on success; otherwise returns -1.&lt;/p&gt;
 */"/>
    <method name="public native static com.trolltech.qt.core.QAbstractFileEngine create(java.lang.String fileName)" doc="/**
&lt;p&gt;Creates and returns a &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; suitable for processing &lt;tt&gt;fileName&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;You should not need to call this function; use &lt;a href=&quot;QFile.html&quot;&gt;&lt;tt&gt;QFile&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFileInfo.html&quot;&gt;&lt;tt&gt;QFileInfo&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDir.html&quot;&gt;&lt;tt&gt;QDir&lt;/tt&gt;&lt;/a&gt; directly instead.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngineHandler.html&quot;&gt;&lt;tt&gt;QAbstractFileEngineHandler&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="FileName" doc="/**
&lt;p&gt;These values are used to request a file name in a particular format.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#fileName(com.trolltech.qt.core.QAbstractFileEngine.FileName)&quot;&gt;&lt;tt&gt;fileName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="DefaultName" doc="/**
&lt;p&gt;The same filename that was passed to the &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="BaseName" doc="/**
&lt;p&gt;The name of the file excluding the path.&lt;/p&gt;
 */"/>
        <enum-value name="PathName" doc="/**
&lt;p&gt;The path to the file excluding the base name.&lt;/p&gt;
 */"/>
        <enum-value name="AbsoluteName" doc="/**
&lt;p&gt;The absolute path to the file (including the base name).&lt;/p&gt;
 */"/>
        <enum-value name="AbsolutePathName" doc="/**
&lt;p&gt;The absolute path to the file (excluding the base name).&lt;/p&gt;
 */"/>
        <enum-value name="LinkName" doc="/**
&lt;p&gt;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.)&lt;/p&gt;
 */"/>
        <enum-value name="CanonicalName" doc="/**
&lt;p&gt;Often very similar to &lt;a href=&quot;QAbstractFileEngine.html#FileName-enum&quot;&gt;&lt;tt&gt;LinkName&lt;/tt&gt;&lt;/a&gt;. Will return the true path to the file.&lt;/p&gt;
 */"/>
        <enum-value name="CanonicalPathName" doc="/**
&lt;p&gt;Same as &lt;a href=&quot;QAbstractFileEngine.html#FileName-enum&quot;&gt;&lt;tt&gt;CanonicalName&lt;/tt&gt;&lt;/a&gt;, excluding the base name.&lt;/p&gt;
 */"/>
        <enum-value name="BundleName" doc="/**
&lt;p&gt;Returns the name of the bundle implies &lt;a href=&quot;QAbstractFileEngine.html#FileFlag-enum&quot;&gt;&lt;tt&gt;BundleType&lt;/tt&gt;&lt;/a&gt; is set.&lt;/p&gt;
 */"/>
</enum>
    <enum name="FileTime" doc="/**
&lt;p&gt;These are used by the &lt;a href=&quot;QAbstractFileEngine.html#fileTime(com.trolltech.qt.core.QAbstractFileEngine.FileTime)&quot;&gt;&lt;tt&gt;fileTime&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="CreationTime" doc="/**
&lt;p&gt;When the file was created.&lt;/p&gt;
 */"/>
        <enum-value name="ModificationTime" doc="/**
&lt;p&gt;When the file was most recently modified.&lt;/p&gt;
 */"/>
        <enum-value name="AccessTime" doc="/**
&lt;p&gt;When the file was most recently accessed (e.g&amp;#x2e; read or written to).&lt;/p&gt;
 */"/>
</enum>
    <enum name="FileOwner">
        <enum-value name="OwnerUser" doc="/**
&lt;p&gt;The user who owns the file.&lt;/p&gt;
 */"/>
        <enum-value name="OwnerGroup" doc="/**
&lt;p&gt;The group who owns the file.&lt;/p&gt;
 */"/>
</enum>
    <enum name="Extension" doc="/**
&lt;p&gt;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&amp;#x2e;, call &lt;a href=&quot;QAbstractFileEngine.html#supportsExtension(com.trolltech.qt.core.QAbstractFileEngine.Extension)&quot;&gt;&lt;tt&gt;supportsExtension&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
 */">
        <enum-value name="AtEndExtension" doc="/**
&lt;p&gt;Whether the current file position is at the end of the file or not. This extension allows file engines that implement local buffering to report end-of-file status without having to check the size of the file. It is also useful for sequential files, where the size of the file cannot be used to determine whether or not you have reached the end. This extension returns true if the file is at the end; otherwise it returns false. The input and output arguments to extension() are ignored.&lt;/p&gt;
 */"/>
        <enum-value name="FastReadLineExtension" doc="/**
&lt;p&gt;Whether the file engine provides a fast implementation for &lt;a href=&quot;QAbstractFileEngine.html#readLine(com.trolltech.qt.QNativePointer, long)&quot;&gt;&lt;tt&gt;readLine&lt;/tt&gt;&lt;/a&gt; or not. If &lt;a href=&quot;QAbstractFileEngine.html#readLine(com.trolltech.qt.QNativePointer, long)&quot;&gt;&lt;tt&gt;readLine&lt;/tt&gt;&lt;/a&gt; remains unimplemented in the file engine, &lt;a href=&quot;QAbstractFileEngine.html#QAbstractFileEngine()&quot;&gt;&lt;tt&gt;QAbstractFileEngine&lt;/tt&gt;&lt;/a&gt; will provide an implementation based on calling &lt;a href=&quot;QAbstractFileEngine.html#read(com.trolltech.qt.QNativePointer, long)&quot;&gt;&lt;tt&gt;read&lt;/tt&gt;&lt;/a&gt; repeatedly. If &lt;a href=&quot;QAbstractFileEngine.html#supportsExtension(com.trolltech.qt.core.QAbstractFileEngine.Extension)&quot;&gt;&lt;tt&gt;supportsExtension&lt;/tt&gt;&lt;/a&gt; returns false for this extension, however, &lt;a href=&quot;QIODevice.html&quot;&gt;&lt;tt&gt;QIODevice&lt;/tt&gt;&lt;/a&gt; can provide a faster implementation by making use of its internal buffer. For engines that already provide a fast &lt;a href=&quot;QAbstractFileEngine.html#readLine(com.trolltech.qt.QNativePointer, long)&quot;&gt;&lt;tt&gt;readLine&lt;/tt&gt;&lt;/a&gt; implementation, returning false for this extension can avoid unnnecessary double-buffering in &lt;a href=&quot;QIODevice.html&quot;&gt;&lt;tt&gt;QIODevice&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</enum>
    <enum name="FileFlag" doc="/**
&lt;p&gt;The permissions and types of a file, suitable for OR'ing together.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractFileEngine.html#fileFlags(com.trolltech.qt.core.QAbstractFileEngine.FileFlags)&quot;&gt;&lt;tt&gt;fileFlags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractFileEngine.html#setFileName(java.lang.String)&quot;&gt;&lt;tt&gt;setFileName&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="ReadOwnerPerm" doc="/**
&lt;p&gt;The owner of the file has permission to read it.&lt;/p&gt;
 */"/>
        <enum-value name="WriteOwnerPerm" doc="/**
&lt;p&gt;The owner of the file has permission to write to it.&lt;/p&gt;
 */"/>
        <enum-value name="ExeOwnerPerm" doc="/**
&lt;p&gt;The owner of the file has permission to execute it.&lt;/p&gt;
 */"/>
        <enum-value name="ReadUserPerm" doc="/**
&lt;p&gt;The current user has permission to read the file.&lt;/p&gt;
 */"/>
        <enum-value name="WriteUserPerm" doc="/**
&lt;p&gt;The current user has permission to write to the file.&lt;/p&gt;
 */"/>
        <enum-value name="ExeUserPerm" doc="/**
&lt;p&gt;The current user has permission to execute the file.&lt;/p&gt;
 */"/>
        <enum-value name="ReadGroupPerm" doc="/**
&lt;p&gt;Members of the current user's group have permission to read the file.&lt;/p&gt;
 */"/>
        <enum-value name="WriteGroupPerm" doc="/**
&lt;p&gt;Members of the current user's group have permission to write to the file.&lt;/p&gt;
 */"/>
        <enum-value name="ExeGroupPerm" doc="/**
&lt;p&gt;Members of the current user's group have permission to execute the file.&lt;/p&gt;
 */"/>
        <enum-value name="ReadOtherPerm" doc="/**
&lt;p&gt;All users have permission to read the file.&lt;/p&gt;
 */"/>
        <enum-value name="WriteOtherPerm" doc="/**
&lt;p&gt;All users have permission to write to the file.&lt;/p&gt;
 */"/>
        <enum-value name="ExeOtherPerm" doc="/**
&lt;p&gt;All users have permission to execute the file.&lt;/p&gt;
 */"/>
        <enum-value name="LinkType" doc="/**
&lt;p&gt;The file is a link to another file (or link) in the file system (i.e&amp;#x2e; not a file or directory).&lt;/p&gt;
 */"/>
        <enum-value name="FileType" doc="/**
&lt;p&gt;The file is a regular file to the file system (i.e&amp;#x2e; not a link or directory)&lt;/p&gt;
 */"/>
        <enum-value name="DirectoryType" doc="/**
&lt;p&gt;The file is a directory in the file system (i.e&amp;#x2e; not a link or file).&lt;/p&gt;
 */"/>
        <enum-value name="BundleType" doc="/**
&lt;p&gt;The file is a Mac OS X bundle implies &lt;a href=&quot;QAbstractFileEngine.html#FileFlag-enum&quot;&gt;&lt;tt&gt;DirectoryType&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;
 */"/>
        <enum-value name="HiddenFlag" doc="/**
&lt;p&gt;The file is hidden.&lt;/p&gt;
 */"/>
        <enum-value name="LocalDiskFlag" doc="/**
&lt;p&gt;The file resides on the local disk and can be passed to standard file functions.&lt;/p&gt;
 */"/>
        <enum-value name="ExistsFlag" doc="/**
&lt;p&gt;The file actually exists in the file system.&lt;/p&gt;
 */"/>
        <enum-value name="RootFlag" doc="/**
&lt;p&gt;The file or the file pointed to is the root of the filesystem.&lt;/p&gt;
 */"/>
        <enum-value name="Refresh" doc="/**
&lt;p&gt;Passing this flag will force the file engine to refresh all flags.&lt;/p&gt;
 */"/>
        <enum-value name="PermsMask" doc="/**
Internal. */"/>
        <enum-value name="TypesMask" doc="/**
Internal. */"/>
        <enum-value name="FlagsMask" doc="/**
Internal. */"/>
        <enum-value name="FileInfoAll" doc="/**
Internal. */"/>
</enum>
</class>