Lib7z::ExtractCallback Class
class Lib7z::ExtractCallbackProvides a callback for archive extraction. More...
Header: | #include <ExtractCallback> |
Public Functions
void | setArchive(CArc *carc) |
void | setTarget(const QString &dir) |
Protected Functions
virtual bool | prepareForFile(const QString &filename) |
virtual LONG | setCompleted(quint64 completed, quint64 total) |
virtual void | setCurrentFile(const QString &filename) |
Member Function Documentation
[virtual protected]
bool ExtractCallback::prepareForFile(const QString &filename)
Implement to prepare for file filename to be extracted, e.g. by renaming existing files. Return true
if the preparation was successful and extraction can be continued. If false
is returned, the extraction will be aborted. The default implementation returns true
.
void ExtractCallback::setArchive(CArc *carc)
Sets carc as archive.
[virtual protected]
LONG ExtractCallback::setCompleted(quint64 completed, quint64 total)
Always returns true
.
[virtual protected]
void ExtractCallback::setCurrentFile(const QString &filename)
Sets the current file to filename.
void ExtractCallback::setTarget(const QString &dir)
Sets the target directory to dir.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.