20 Q_DECLARE_TR_FUNCTIONS(
K7Zip)
29 explicit K7Zip(
const QString &filename);
50 const QString &target,
54 const QDateTime &atime,
55 const QDateTime &mtime,
56 const QDateTime &ctime)
override;
62 const QDateTime &atime,
63 const QDateTime &mtime,
64 const QDateTime &ctime)
override;
71 const QDateTime &atime,
72 const QDateTime &mtime,
73 const QDateTime &ctime)
override;
78 bool writeData(
const char *data, qint64 size)
override;
90 void virtual_hook(
int id,
void *data)
override;
94 K7ZipPrivate *
const d;
A class for reading / writing p7zip archives.
Definition k7zip.h:19
bool doWriteDir(const QString &name, const QString &user, const QString &group, mode_t perm, const QDateTime &atime, const QDateTime &mtime, const QDateTime &ctime) override
Reimplemented from KArchive.
bool doFinishWriting(qint64 size) override
Reimplemented from KArchive.
bool openArchive(QIODevice::OpenMode mode) override
Opens the archive for reading.
bool closeArchive() override
Closes the archive.
K7Zip(QIODevice *dev)
Creates an instance that operates on the given device.
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
Reimplemented from KArchive.
~K7Zip() override
If the archive is still opened, then it will be closed automatically by the destructor.
bool writeData(const char *data, qint64 size) override
Reimplemented from KArchive.
K7Zip(const QString &filename)
Creates an instance that operates on the given filename using the compression filter associated to gi...
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
Reimplemented from KArchive.
KArchive is a base class for reading and writing archives.
Definition karchive.h:40