quazip.h   quazip.h 
skipping to change at line 118 skipping to change at line 118
/** This is what you specify when accessing files in the archive. /** This is what you specify when accessing files in the archive.
* Works perfectly fine with any characters thanks to Qt's great * Works perfectly fine with any characters thanks to Qt's great
* unicode support. This is different from ZIP/UNZIP API, where * unicode support. This is different from ZIP/UNZIP API, where
* only US-ASCII characters was supported. * only US-ASCII characters was supported.
**/ **/
enum CaseSensitivity { enum CaseSensitivity {
csDefault=0, ///< Default for platform. Case sensitive for UNIX, not for Windows. csDefault=0, ///< Default for platform. Case sensitive for UNIX, not for Windows.
csSensitive=1, ///< Case sensitive. csSensitive=1, ///< Case sensitive.
csInsensitive=2 ///< Case insensitive. csInsensitive=2 ///< Case insensitive.
}; };
static Qt::CaseSensitivity convertCaseSensitivity(CaseSensitivity);
private: private:
QuaZipPrivate *p; QuaZipPrivate *p;
// not (and will not be) implemented // not (and will not be) implemented
QuaZip(const QuaZip& that); QuaZip(const QuaZip& that);
// not (and will not be) implemented // not (and will not be) implemented
QuaZip& operator=(const QuaZip& that); QuaZip& operator=(const QuaZip& that);
public: public:
/// Constructs QuaZip object. /// Constructs QuaZip object.
/** Call setName() before opening constructed object. */ /** Call setName() before opening constructed object. */
QuaZip(); QuaZip();
skipping to change at line 252 skipping to change at line 253
* details on error detection. * details on error detection.
**/ **/
int getZipError() const; int getZipError() const;
/// Returns number of the entries in the ZIP central directory. /// Returns number of the entries in the ZIP central directory.
/** Returns negative error code in the case of error. The same error /** Returns negative error code in the case of error. The same error
* code will be returned by subsequent getZipError() call. * code will be returned by subsequent getZipError() call.
**/ **/
int getEntriesCount() const; int getEntriesCount() const;
/// Returns global comment in the ZIP file. /// Returns global comment in the ZIP file.
QString getComment() const; QString getComment() const;
/// Sets global comment in the ZIP file. /// Sets the global comment in the ZIP file.
/** Comment will be written to the archive on close operation. /** The comment will be written to the archive on close operation.
* QuaZip makes a distinction between a null QByteArray() comment
* and an empty &quot;&quot; comment in the QuaZip::mdAdd mode.
* A null comment is the default and it means &quot;don't change
* the comment&quot;. An empty comment removes the original comment.
* *
* \sa open() * \sa open()
**/ **/
void setComment(const QString& comment); void setComment(const QString& comment);
/// Sets the current file to the first file in the archive. /// Sets the current file to the first file in the archive.
/** Returns \c true on success, \c false otherwise. Call /** Returns \c true on success, \c false otherwise. Call
* getZipError() to get the error code. * getZipError() to get the error code.
**/ **/
bool goToFirstFile(); bool goToFirstFile();
/// Sets the current file to the next file in the archive. /// Sets the current file to the next file in the archive.
 End of changes. 2 change blocks. 
2 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/