ExtractCallback Classclass Lib7z::ExtractCallback
Provides a callback for archive extraction. More...
|virtual bool||prepareForFile(const QString &filename)|
|virtual LONG||setCompleted(quint64, quint64)|
|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
Sets carc as archive.
[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.