21 Q_DECLARE_TR_FUNCTIONS(
KRcc)
29 KRcc(
const QString &filename);
47 const QDateTime &atime,
48 const QDateTime &mtime,
49 const QDateTime &ctime)
override;
65 const QDateTime &atime,
66 const QDateTime &mtime,
67 const QDateTime &ctime)
override;
74 const QString &target,
78 const QDateTime &atime,
79 const QDateTime &mtime,
80 const QDateTime &ctime)
override;
93 void virtual_hook(
int id,
void *data)
override;
KArchive is a base class for reading and writing archives.
Definition karchive.h:40
KRcc is a class for reading dynamic binary resources created by Qt's rcc tool from a ....
Definition krcc.h:20
bool doWriteDir(const QString &name, const QString &user, const QString &group, mode_t perm, const QDateTime &atime, const QDateTime &mtime, const QDateTime &ctime) override
Write a directory to the archive.
bool doFinishWriting(qint64 size) override
Called after writing the data.
KRcc(const QString &filename)
Creates an instance that operates on the given filename.
bool closeArchive() override
Unregisters the .rcc resource from the QResource system.
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
Writes a symbolic link to the archive.
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
This virtual method must be implemented by subclasses.
bool openArchive(QIODevice::OpenMode mode) override
Registers the .rcc resource in the QResource system under a unique identifier, then lists that,...
~KRcc() override
If the rcc file is still opened, then it will be closed automatically by the destructor.