QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
22 #include "qgis_core.h"
24 #include <QStringList>
25 #include <QTemporaryFile>
26 #include <QTemporaryDir>
61 bool zip(
const QString &zipFilename );
69 virtual bool unzip(
const QString &zipFilename );
82 void addFile(
const QString &filename );
89 bool removeFile(
const QString &filename );
94 QStringList files()
const;
106 std::unique_ptr<QTemporaryDir> mDir;
126 bool unzip(
const QString &zipFilename )
override;
131 QString projectFile()
const;
137 bool clearProjectFile();
143 QString auxiliaryStorageFile()
const;
virtual bool unzip(const QString &zipFilename)
Clear the current content of this archive and unzip.
CORE_EXPORT bool unzip(const QString &zip, const QString &dir, QStringList &files)
Unzip a zip file in an output directory.
Class allowing to manage the zip/unzip actions on project file.
Class allowing to manage the zip/unzip actions.
CORE_EXPORT bool zip(const QString &zip, const QStringList &files)
Zip the list of files in the zip file.
virtual ~QgsArchive()=default
Destructor.