FileUnzip Class Reference
Extract files from a zip archive. More...
#include <fileunzip.h>
Public Member Functions | |
| FileUnzip (QString zipFilePath) | |
| ~FileUnzip () | |
| QString | getFile (QString name) |
Private Attributes | |
| QString | zipFile |
Detailed Description
Extract files from a zip archive.FileUnzip can be used to extract a known file from a zip archive. constructor FileUnzip(QString) takes a zip file as a parameter and method getFile(QString) extracts the path to the extracted file.
Definition at line 43 of file fileunzip.h.
Constructor & Destructor Documentation
| FileUnzip::FileUnzip | ( | QString | zipFilePath | ) |
| FileUnzip::~FileUnzip | ( | ) |
Definition at line 104 of file fileunzip.cpp.
Member Function Documentation
| QString FileUnzip::getFile | ( | QString | name | ) |
Definition at line 85 of file fileunzip.cpp.
References do_extract_onefile(), ScPaths::getApplicationDataDir(), ScPaths::getTempFileDir(), unzOpenFile(), and zipFile.
Referenced by OODPlug::import(), and OdtIm::OdtIm().
Member Data Documentation
QString FileUnzip::zipFile [private] |
The documentation for this class was generated from the following files:
