|
| KTar (const QString &filename, const QString &mimetype=QString()) |
|
| KTar (QIODevice *dev) |
|
| ~KTar () override |
|
void | setOrigFileName (const QByteArray &fileName) |
|
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 | errorString () const |
|
QString | fileName () const |
|
bool | finishWriting (qint64 size) |
|
bool | isOpen () const |
|
QIODevice::OpenMode | mode () const |
|
virtual bool | open (QIODevice::OpenMode mode) |
|
bool | prepareWriting (const QString &name, const QString &user, const QString &group, qint64 size, mode_t perm=0100644, const QDateTime &atime=QDateTime(), const QDateTime &mtime=QDateTime(), const QDateTime &ctime=QDateTime()) |
|
bool | writeData (const char *data, qint64 size) |
|
bool | writeData (QByteArrayView data) |
|
bool | writeDir (const QString &name, const QString &user=QString(), const QString &group=QString(), mode_t perm=040755, const QDateTime &atime=QDateTime(), const QDateTime &mtime=QDateTime(), const QDateTime &ctime=QDateTime()) |
|
bool | writeFile (const QString &name, QByteArrayView data, mode_t perm=0100644, const QString &user=QString(), const QString &group=QString(), const QDateTime &atime=QDateTime(), const QDateTime &mtime=QDateTime(), const QDateTime &ctime=QDateTime()) |
|
bool | writeSymLink (const QString &name, const QString &target, const QString &user=QString(), const QString &group=QString(), mode_t perm=0120755, const QDateTime &atime=QDateTime(), const QDateTime &mtime=QDateTime(), const QDateTime &ctime=QDateTime()) |
|
|
bool | closeArchive () override |
|
bool | createDevice (QIODevice::OpenMode mode) override |
|
bool | doFinishWriting (qint64 size) override |
|
bool | doPrepareWriting (const QString &name, const QString &user, const QString &group, qint64 size, mode_t perm, const QDateTime &atime, const QDateTime &mtime, const QDateTime &ctime) override |
|
bool | doWriteDir (const QString &name, const QString &user, const QString &group, mode_t perm, const QDateTime &atime, const QDateTime &mtime, const QDateTime &ctime) override |
|
bool | doWriteSymLink (const QString &name, const QString &target, const QString &user, const QString &group, mode_t perm, const QDateTime &atime, const QDateTime &mtime, const QDateTime &ctime) override |
|
bool | openArchive (QIODevice::OpenMode mode) override |
|
void | virtual_hook (int id, void *data) override |
|
| KArchive (const QString &fileName) |
|
| KArchive (QIODevice *dev) |
|
virtual bool | doWriteData (const char *data, qint64 size) |
|
KArchiveDirectory * | findOrCreate (const QString &path) |
|
virtual KArchiveDirectory * | rootDir () |
|
void | setDevice (QIODevice *dev) |
|
void | setErrorString (const QString &errorStr) |
|
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 22 of file ktar.h.