1 #ifndef QUAZIP_QUAZIPDIR_H
2 #define QUAZIP_QUAZIPDIR_H
28 class QuaZipDirPrivate;
34 #include <QSharedDataPointer>
56 QSharedDataPointer<QuaZipDirPrivate>
d;
83 QString operator[](
int pos)
const;
96 bool cd(
const QString &dirName);
105 QString dirName()
const;
114 QList<QuaZipFileInfo> entryInfoList(
const QStringList &nameFilters,
115 QDir::Filters filters = QDir::NoFilter,
116 QDir::SortFlags sort = QDir::NoSort)
const;
123 QList<QuaZipFileInfo> entryInfoList(QDir::Filters filters = QDir::NoFilter,
124 QDir::SortFlags sort = QDir::NoSort)
const;
133 QList<QuaZipFileInfo64> entryInfoList64(
const QStringList &nameFilters,
134 QDir::Filters filters = QDir::NoFilter,
135 QDir::SortFlags sort = QDir::NoSort)
const;
142 QList<QuaZipFileInfo64> entryInfoList64(QDir::Filters filters = QDir::NoFilter,
143 QDir::SortFlags sort = QDir::NoSort)
const;
149 QStringList entryList(
const QStringList &nameFilters,
150 QDir::Filters filters = QDir::NoFilter,
151 QDir::SortFlags sort = QDir::NoSort)
const;
158 QStringList entryList(QDir::Filters filters = QDir::NoFilter,
159 QDir::SortFlags sort = QDir::NoSort)
const;
167 bool exists(
const QString &fileName)
const;
174 QString filePath(
const QString &fileName)
const;
176 QDir::Filters filter();
183 QStringList nameFilters()
const;
189 QString path()
const;
199 QString relativeFilePath(
const QString &fileName)
const;
203 void setFilter(QDir::Filters filters);
205 void setNameFilters(
const QStringList &nameFilters);
216 void setPath(
const QString &path);
218 void setSorting(QDir::SortFlags sort);
220 QDir::SortFlags sorting()
const;
223 #endif // QUAZIP_QUAZIPDIR_H
bool operator!=(const QuaZipDir &that)
operator!=
QSharedDataPointer< QuaZipDirPrivate > d
CaseSensitivity
Case sensitivity for the file names.
Provides ZIP archive navigation.
#define QUAZIP_EXPORT
This is automatically defined when building a static library, but when including QuaZip sources direc...