|
| KTar (const QString &filename, const QString &mimetype=QString()) |
|
| KTar (QIODevice *dev) |
|
virtual | ~KTar () |
|
void | setOrigFileName (const QByteArray &fileName) |
|
virtual | ~KArchive () |
|
bool | addLocalDirectory (const QString &path, const QString &destName) |
|
bool | addLocalFile (const QString &fileName, const QString &destName) |
|
virtual bool | close () |
|
QIODevice * | device () const |
|
const KArchiveDirectory * | directory () const |
|
QString | fileName () const |
|
virtual bool | finishWriting (qint64 size) |
|
bool | isOpen () const |
|
QIODevice::OpenMode | mode () const |
|
virtual bool | open (QIODevice::OpenMode mode) |
|
virtual bool | prepareWriting (const QString &name, const QString &user, const QString &group, qint64 size, mode_t perm=0100644, time_t atime=UnknownTime, time_t mtime=UnknownTime, time_t ctime=UnknownTime) |
|
virtual bool | writeData (const char *data, qint64 size) |
|
virtual bool | writeDir (const QString &name, const QString &user, const QString &group, mode_t perm=040755, time_t atime=UnknownTime, time_t mtime=UnknownTime, time_t ctime=UnknownTime) |
|
virtual bool | writeFile (const QString &name, const QString &user, const QString &group, const char *data, qint64 size, mode_t perm=0100644, time_t atime=UnknownTime, time_t mtime=UnknownTime, time_t ctime=UnknownTime) |
|
virtual bool | writeSymLink (const QString &name, const QString &target, const QString &user, const QString &group, mode_t perm=0120755, time_t atime=UnknownTime, time_t mtime=UnknownTime, time_t ctime=UnknownTime) |
|
|
virtual bool | closeArchive () |
|
virtual bool | createDevice (QIODevice::OpenMode mode) |
|
virtual bool | doFinishWriting (qint64 size) |
|
virtual bool | doPrepareWriting (const QString &name, const QString &user, const QString &group, qint64 size, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
|
virtual bool | doWriteDir (const QString &name, const QString &user, const QString &group, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
|
virtual bool | doWriteSymLink (const QString &name, const QString &target, const QString &user, const QString &group, mode_t perm, time_t atime, time_t mtime, time_t ctime) |
|
virtual bool | openArchive (QIODevice::OpenMode mode) |
|
virtual void | virtual_hook (int id, void *data) |
|
| KArchive (const QString &fileName) |
|
| KArchive (QIODevice *dev) |
|
KArchiveDirectory * | findOrCreate (const QString &path) |
|
virtual KArchiveDirectory * | rootDir () |
|
void | setDevice (QIODevice *dev) |
|
void | setRootDir (KArchiveDirectory *rootDir) |
|
A class for reading / writing (optionally compressed) tar archives.
KTar allows you to read and write tar archives, including those that are compressed using gzip, bzip2 or xz.
- Author
- Torben Weis weis@.nosp@m.kde..nosp@m.org, David Faure faure.nosp@m.@kde.nosp@m..org
Definition at line 32 of file ktar.h.