23#include "fileFormats/DataFileAbstract.h"
25using namespace Qt::Literals::StringLiterals;
60 [[nodiscard]] QStringList
fileNames()
const {
return m_fileNames; }
68 [[nodiscard]] QByteArray
extract(qsizetype index);
81 [[nodiscard]] QByteArray
extract(
const QString& fileName);
92 [[nodiscard]]
static QStringList
mimeTypes() {
return {u
"application/zip"_s}; }
97 void* m_zip {
nullptr};
98 QSharedPointer<QFile> m_file;
99 QStringList m_fileNames;
100 QList<qsizetype> m_fileSizes;