1 #ifndef __libquark_zipfile_ZipEntry_hxx 2 #define __libquark_zipfile_ZipEntry_hxx 46 {
return(_compressedSize); }
50 {
return(_modificationTime); }
58 {
return(_compressionMethod); }
62 {
return(_encryptionMethod); }
71 void setIndex(qint64
index)
74 void setPath(
const QString &
path)
77 void setSize(
const qint64 &
size)
86 void setCrc(qint32
crc)
93 { _encryptionMethod = _encryptionMethod; }
98 qint64 _compressedSize;
99 QDateTime _modificationTime;
101 quint16 _compressionMethod;
102 quint16 _encryptionMethod;
108 #endif // __libquark_zipfile_ZipEntry_hxx
bool isDirectory() const
Tests if the entry represents a directory.
qint64 compressedSize() const
Returns the compressed file size.
Definition: ZipEntry.h++:45
QDateTime modificationTime() const
Returns the file's last modification time.
Definition: ZipEntry.h++:49
Definition: BarChartView.h++:6
quint16 compressionMethod() const
Returns the compression method for the entry.
Definition: ZipEntry.h++:57
A class representing a Zip archive.
Definition: ZipFile.h++:19
qint64 size() const
Returns the uncompressed file size.
Definition: ZipEntry.h++:41
quint16 encryptionMethod() const
Returns the encryption method for the entry.
Definition: ZipEntry.h++:61
QString path() const
Returns the file path of the entry.
Definition: ZipEntry.h++:34
bool isValid() const
Tests if this entry is valid.
A class representing an entry in a Zip archive.
Definition: ZipEntry.h++:17
virtual ~ZipEntry()
Destructor.
qint64 index() const
Returns the index of the entry within the archive.
Definition: ZipEntry.h++:30
quint32 crc() const
Returns the CRC for the data in the entry.
Definition: ZipEntry.h++:53