diff -r 93b982ccede2 -r 5daf16870df6 src/gui/text/qzipreader_p.h --- a/src/gui/text/qzipreader_p.h Mon Jun 21 22:38:13 2010 +0100 +++ b/src/gui/text/qzipreader_p.h Thu Jul 22 16:41:55 2010 +0100 @@ -55,6 +55,7 @@ // We mean it. // +#include #include #include @@ -62,7 +63,7 @@ class QZipReaderPrivate; -class Q_AUTOTEST_EXPORT QZipReader +class Q_GUI_EXPORT QZipReader { public: QZipReader(const QString &fileName, QIODevice::OpenMode mode = QIODevice::ReadOnly ); @@ -70,15 +71,18 @@ explicit QZipReader(QIODevice *device); ~QZipReader(); + QIODevice* device() const; + bool isReadable() const; bool exists() const; - struct Q_AUTOTEST_EXPORT FileInfo + struct Q_GUI_EXPORT FileInfo { FileInfo(); FileInfo(const FileInfo &other); ~FileInfo(); FileInfo &operator=(const FileInfo &other); + bool isValid() const; QString filePath; uint isDir : 1; uint isFile : 1; @@ -86,6 +90,7 @@ QFile::Permissions permissions; uint crc32; qint64 size; + QDateTime lastModified; void *d; };