KDECore
kfilterdev.h
Go to the documentation of this file.
112 static QIODevice * deviceForFile( const QString & fileName, const QString & mimetype = QString(),
This is the base class for compression filters such as gzip and bzip2.
Definition kfilterbase.h:37
static QIODevice * deviceForFile(const QString &fileName, const QString &mimetype=QString(), bool forceFilter=false)
Reimplemented to return true.
Definition kfilterdev.cpp:64
static QIODevice * device(QIODevice *inDevice, const QString &mimetype, bool autoDeleteInDevice=true)
Creates an i/o device that is able to read from the QIODevice inDevice, whether the data is compresse...
Definition kfilterdev.cpp:84
virtual qint64 writeData(const char *data, qint64 len)
Definition kfilterdev.cpp:278
void setOrigFileName(const QByteArray &fileName)
For writing gzip compressed files only: set the name of the original file, to be used in the gzip hea...
Definition kfilterdev.cpp:358
void setSkipHeaders()
Call this let this device skip the gzip headers when reading/writing.
Definition kfilterdev.cpp:363
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.