QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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;
112 std::unique_ptr<QTemporaryDir> mDir;
132 bool unzip(
const QString &zipFilename )
override;
137 QString projectFile()
const;
143 bool clearProjectFile();
149 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.