class KArchiveFile |
|
Represents a file entry in a KArchive.
A file in an archive.
See also KArchive See also KArchiveDirectory |
|
Creates a new file entry. Do not call this, KArchive takes care of it.
archive - the entries archive name - the name of the entry access - the permissions in unix format date - the date (in seconds since 1970) user - the user that owns the entry group - the group that owns the entry symlink - the symlink, or QString() pos - the position of the file in the directory size - the size of the file |
|
Extracts the file to the directory dest
dest - the directory to extract to |
|
This method returns QIODevice (internal class: KLimitedIODevice)
on top of the underlying QIODevice. This is obviously for reading only.
WARNING: Note that the ownership of the device is being transferred to the caller, who will have to delete it. The returned device auto-opens (in readonly mode), no need to open it. Returns the QIODevice of the file |
|
Returns the data of the file. Call data() with care (only once per file), this data isn't cached. Returns the content of this file. |
|
Checks whether this entry is a file. Returns true, since this entry is a file |
|
Position of the data in the [uncompressed] archive. Returns the position of the file |
|
Set size of data, usually after writing the file.
s - the new size of the file |
|
Size of the data. Returns the size of the file |
|