Scribus
Open source desktop publishing at your fingertips
QtIOCompressorPrivate Class Reference

Public Types

enum  State {
  NotReadFirstByte, InStream, EndOfStream, NoBytesWritten,
  BytesWritten, Closed, Error
}
 

Public Member Functions

 QtIOCompressorPrivate (QtIOCompressor *q_ptr, QIODevice *device, int compressionLevel, int bufferSize)
 
void flushZlib (int flushMode)
 
bool writeBytes (ZlibByte *buffer, ZlibSize outputSize)
 
void setZlibError (const QString &erroMessage, int zlibErrorCode)
 

Public Attributes

QIODevice * device
 
bool manageDevice
 
z_stream zlibStream
 
const int compressionLevel
 
const ZlibSize bufferSize
 
ZlibByte * buffer
 
State state
 
QtIOCompressor::StreamFormat streamFormat
 

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