KArchive
kcompressiondevice.h
30class KARCHIVE_EXPORT KCompressionDevice : public QIODevice // KF6 TODO: consider inheriting from QFileDevice, so apps can use error() generically ?
A class for reading and writing compressed data onto a device (e.g.
Definition kcompressiondevice.h:31
KCompressionDevice(QIODevice *inputDevice, bool autoDeleteInputDevice, CompressionType type)
Constructs a KCompressionDevice for a given CompressionType (e.g.
Definition kcompressiondevice.cpp:189
This is the base class for compression filters such as gzip and bzip2.
Definition kfilterbase.h:27
FileError
QIODevice()
virtual bool atEnd() const const
virtual void close()
virtual bool open(QIODeviceBase::OpenMode mode)
virtual qint64 readData(char *data, qint64 maxSize)=0
virtual bool seek(qint64 pos)
virtual qint64 writeData(const char *data, qint64 maxSize)=0
typedef OpenMode
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jan 23 2025 18:58:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jan 23 2025 18:58:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.