Stellarium 0.15.2
List of all members | Public Types | Public Member Functions
Stel::QZipWriter Class Reference

Public Types

enum  Status {
  NoError, FileWriteError, FileOpenError, FilePermissionsError,
enum  CompressionPolicy { AlwaysCompress, NeverCompress, AutoCompress }

Public Member Functions

 QZipWriter (const QString &fileName, QIODevice::OpenMode mode=(QIODevice::WriteOnly|QIODevice::Truncate))
 QZipWriter (QIODevice *device)
QIODevice * device () const
bool isWritable () const
bool exists () const
Status status () const
void setCompressionPolicy (CompressionPolicy policy)
CompressionPolicy compressionPolicy () const
void setCreationPermissions (QFile::Permissions permissions)
QFile::Permissions creationPermissions () const
void addFile (const QString &fileName, const QByteArray &data)
void addFile (const QString &fileName, QIODevice *device)
void addDirectory (const QString &dirName)
void addSymLink (const QString &fileName, const QString &destination)
void close ()

Detailed Description

Definition at line 53 of file qzipwriter.h.

The documentation for this class was generated from the following file: