|
|
A class for reading and writing compressed data onto a device (e.g. file, but other usages are possible, like a buffer or a socket)
| KFilterDev ( KFilterBase * filter )
| KFilterDev |
Create a KFilterDev for a given filter (e.g. gzip, bzip2 etc.)
| ~KFilterDev ()
| ~KFilterDev |
[virtual]
| bool open ( int mode )
| open |
[virtual]
Reimplemented from QIODevice.
| void close ()
| close |
[virtual]
Reimplemented from QIODevice.
| void flush ()
| flush |
[virtual]
Reimplemented from QIODevice.
| uint size ()
| size |
[const virtual]
Reimplemented from QIODevice.
| int at ()
| at |
[const virtual]
Reimplemented from QIODevice.
| bool at ( int )
| at |
[virtual]
That one can be quite slow, when going back. Use with care.
Reimplemented from QIODevice.
| bool atEnd ()
| atEnd |
[const virtual]
Reimplemented from QIODevice.
| int readBlock ( char *data, uint maxlen )
| readBlock |
[virtual]
Reimplemented from QIODevice.
| int writeBlock ( const char *data, uint len )
| writeBlock |
[virtual]
Reimplemented from QIODevice.
| int getch ()
| getch |
[virtual]
Reimplemented from QIODevice.
| int putch ( int )
| putch |
[virtual]
Reimplemented from QIODevice.
| int ungetch ( int )
| ungetch |
[virtual]
Reimplemented from QIODevice.
| QIODevice* createFilterDevice (KFilterBase* base, QFile* file)
| createFilterDevice |
[static]
Call this to create the appropriate filter device for base
working on file . The returned QIODevice has to be deleted
after using.