|
|
See also: KArchive, KArchiveDirectory
KArchiveFile ( KArchive* archive, const QString& name, int access, int date,
const QString& user, const QString& group, const QString &symlink,
int pos, int size )
| KArchiveFile |
~KArchiveFile ()
| ~KArchiveFile |
[virtual]
int position ()
| position |
[const]
Position of the data in the [uncompressed] archive.
int size ()
| size |
[const]
Size of the data.
QByteArray data ()
| data |
[const virtual]
Returns: the content of this file. Call data() with care (only once per file), this data isn't cached.
QIODevice * device ()
| device |
[const]
This method returns QIODevice (internal class: KLimitedIODevice) on top of the underlying QIODevice. This is obviously for reading only. 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.
bool isFile ()
| isFile |
[const virtual]
Returns: true, since this entry is a file
Reimplemented from KArchiveEntry.
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KArchiveEntry.
Generated by: dfaure on faure on Tue Apr 16 08:49:48 2002, using kdoc 2.0a53. |