34 class QuaZipFilePrivate;
75 friend class QuaZipFilePrivate;
85 qint64 readData(
char *data, qint64 maxSize);
87 qint64 writeData(
const char *data, qint64 maxSize);
124 const QString &fileName,
126 QObject *parent =
NULL);
192 QString getZipName()
const;
211 QString getFileName()
const;
250 QString getActualFileName()
const;
258 void setZipName(
const QString &zipName);
287 void setFileName(
const QString &fileName,
297 virtual bool open(OpenMode mode);
303 inline bool open(OpenMode mode,
const char *password) {
304 return open(mode,
NULL,
NULL,
false, password);
318 bool open(OpenMode mode,
322 const char *password =
NULL);
351 bool open(OpenMode mode,
353 const char *password =
NULL,
355 int method = Z_DEFLATED,
356 int level = Z_DEFAULT_COMPRESSION,
358 int windowBits = -MAX_WBITS,
360 int strategy = Z_DEFAULT_STRATEGY);
362 virtual bool isSequential()
const;
385 virtual qint64 pos()
const;
403 virtual bool atEnd()
const;
417 virtual qint64
size()
const;
426 qint64 csize()
const;
436 qint64 usize()
const;
465 virtual void close();
467 int getZipError()
const;
469 virtual qint64 bytesAvailable()
const;
A file inside ZIP archive.
bool open(OpenMode mode, const char *password)
Opens a file for reading.
CaseSensitivity
Case sensitivity for the file names.
Information about a file inside archive (with zip64 support).
Information about a file inside archive.
Information about a file to be created.