diff options
Diffstat (limited to 'depends/quazip/JlCompress.h')
-rw-r--r-- | depends/quazip/JlCompress.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/depends/quazip/JlCompress.h b/depends/quazip/JlCompress.h index 9679de7c..3ee8c25a 100644 --- a/depends/quazip/JlCompress.h +++ b/depends/quazip/JlCompress.h @@ -16,6 +16,13 @@ */ class QUAZIP_EXPORT JlCompress { private: + /// Remove some files. + /** + \param listFile The list of files to remove. + \return true if success, false otherwise. + */ + static bool removeFile(QStringList listFile); +public: /// Compress a single file. /** \param zip Opened zip to compress the file to. @@ -34,7 +41,7 @@ private: files. \return true if success, false otherwise. */ - static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true); + static bool compressSubDir( QuaZip* parentZip, QString dir, QString parentDir, bool recursive, QSet< QString >& added ); /// Extract a single file. /** \param zip The opened zip archive to extract from. @@ -43,14 +50,7 @@ private: \return true if success, false otherwise. */ static bool extractFile(QuaZip* zip, QString fileName, QString fileDest); - /// Remove some files. - /** - \param listFile The list of files to remove. - \return true if success, false otherwise. - */ - static bool removeFile(QStringList listFile); -public: /// copy data from inFile to outFile static bool copyData(QIODevice &inFile, QIODevice &outFile); /// Compress a single file. |