Lib7z Namespace
The Lib7z namespace contains miscellaneous identifiers used throughout the Lib7z library. More...
Header: | #include <Lib7z> |
Classes
class | ExtractCallback |
class | PercentPrinter |
class | SevenZipException |
Types
typedef | Compression |
typedef | File |
enum | TmpFile { No, Yes } |
Functions
void | createArchive(QFileDevice *archive, const QStringList &sources, Lib7z::Compression level = Compression::Normal, Lib7z::UpdateCallback *callback = 0) |
void | createArchive(const QString &archive, const QStringList &sources, Lib7z::TmpFile mode, Lib7z::Compression level = Compression::Normal, Lib7z::UpdateCallback *callback = 0) |
void | extractArchive(QFileDevice *archive, const QString &targetDirectory, Lib7z::ExtractCallback *callback = 0) |
void | initSevenZ() |
bool | isSupportedArchive(QFileDevice *archive) |
bool | isSupportedArchive(const QString &archive) |
QVector<Lib7z::File> | listArchive(QFileDevice *archive) |
Detailed Description
The Lib7z namespace contains miscellaneous identifiers used throughout the Lib7z library.
Classes
class ExtractCallback
Provides a callback for archive extraction. More...
class PercentPrinter
The PercentPrinter class displays the archiving process. More...
class SevenZipException
The SevenZipException provides a class for lib7z exceptions. More...
Type Documentation
typedef Lib7z::Compression
Synonym for QInstaller::CompressionLevel
typedef Lib7z::File
Synonym for QInstaller::ArchiveEntry
enum Lib7z::TmpFile
This enum type holds the temp file mode:
Constant | Value | Description |
---|---|---|
Lib7z::No | 0 | File is not a temporary file. |
Lib7z::Yes | 1 | File is a tmp file. |