class KFilterBase
|
This is the base class for compression filters
such as gzip and bzip2. More... |
|
|
Public Types
- enum Result { OK, END, ERROR }
Public Methods
Public Static Methods
Protected Members
This is the base class for compression filters
such as gzip and bzip2. It's pretty much internal.
Don't use directly, use KFilterDev instead.
KFilterBase ()
| KFilterBase |
~KFilterBase ()
| ~KFilterBase |
[virtual]
void setDevice ( QIODevice * dev, bool autodelete = false )
| setDevice |
Sets the device on which the filter will work
If autodelete
is set to true, dev
is deleted when the filter is deleted
void init ( int mode )
| init |
[pure virtual]
[const pure virtual]
void terminate ()
| terminate |
[virtual]
[virtual]
bool readHeader ()
| readHeader |
[pure virtual]
bool writeHeader ( const QCString & filename )
| writeHeader |
[pure virtual]
void setOutBuffer ( char * data, uint maxlen )
| setOutBuffer |
[pure virtual]
void setInBuffer ( const char * data, uint size )
| setInBuffer |
[pure virtual]
bool inBufferEmpty ()
| inBufferEmpty |
[const virtual]
int inBufferAvailable ()
| inBufferAvailable |
[const pure virtual]
bool outBufferFull ()
| outBufferFull |
[const virtual]
int outBufferAvailable ()
| outBufferAvailable |
[const pure virtual]
enum Result { OK, END, ERROR }
| Result |
Result uncompress ()
| uncompress |
[pure virtual]
Result compress ( bool finish )
| compress |
[pure virtual]
[static]
Call this to create the appropriate filter for the file
named @fileName.
[static]
Call this to create the appropriate filter for the mimetype
mimeType
. For instance application/x-gzip.
[protected]
bool m_bAutoDel
| m_bAutoDel |
[protected]
Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53. |