111 Q_DECLARE_OPERATORS_FOR_FLAGS(Zip::CompressionOptions)
113 #endif // OSDAB_ZIP__H
ErrorCode createArchive(const QString &file, bool overwrite=true)
void setPassword(const QString &pwd)
void setArchiveComment(const QString &comment)
QString archiveComment() const
Do not store paths. All the files are put in the (evtl. user defined) root of the zip file...
QString password() const
Returns the currently used password.
ErrorCode addDirectory(const QString &path, CompressionOptions options=RelativePaths, CompressionLevel level=AutoFull)
ErrorCode addDirectoryContents(const QString &path, CompressionLevel level=AutoFull)
void clearPassword()
Convenience method, clears the current password.
QString formatError(ErrorCode c) const
Does not preserve absolute paths in the zip file when adding a file/directory (default) ...