22 #include "qgis_core.h" 23 #include <QStringList> 24 #include <QTemporaryFile> 25 #include <QTemporaryDir> 60 bool zip(
const QString &zipFilename );
68 virtual bool unzip(
const QString &zipFilename );
81 void addFile(
const QString &filename );
88 bool removeFile(
const QString &filename );
93 QStringList files()
const;
105 std::unique_ptr<QTemporaryDir> mDir;
125 bool unzip(
const QString &zipFilename )
override;
130 QString projectFile()
const;
136 bool clearProjectFile();
142 QString auxiliaryStorageFile()
const;
Class allowing to manage the zip/unzip actions.
Class allowing to manage the zip/unzip actions on project file.
CORE_EXPORT bool unzip(const QString &zip, const QString &dir, QStringList &files)
Unzip a zip file in an output directory.
virtual bool unzip(const QString &zipFilename)
Clear the current content of this archive and unzip.
CORE_EXPORT bool zip(const QString &zip, const QStringList &files)
Zip the list of files in the zip file.