// xlsxzipreader_p.h #ifndef QXLSX_XLSXZIPREADER_P_H #define QXLSX_XLSXZIPREADER_P_H #include #include #include #include "xlsxglobal.h" #if QT_VERSION >= 0x050600 #include #endif class QZipReader; QT_BEGIN_NAMESPACE_XLSX class ZipReader { public: explicit ZipReader(const QString &fileName); explicit ZipReader(QIODevice *device); ~ZipReader(); bool exists() const; QStringList filePaths() const; QByteArray fileData(const QString &fileName) const; private: Q_DISABLE_COPY(ZipReader) void init(); QScopedPointer m_reader; QStringList m_filePaths; }; QT_END_NAMESPACE_XLSX #endif // QXLSX_XLSXZIPREADER_P_H