KNoneFilter

KNoneFilter Class Reference

#include <knonefilter.h>

Inheritance diagram for KNoneFilter:

Public Member Functions

Result compress (bool finish) override
 
int inBufferAvailable () const override
 
bool init (int mode) override
 
int mode () const override
 
int outBufferAvailable () const override
 
bool readHeader () override
 
void reset () override
 
void setInBuffer (const char *data, uint size) override
 
void setOutBuffer (char *data, uint maxlen) override
 
bool terminate () override
 
Result uncompress () override
 
bool writeHeader (const QByteArray &fileName) override
 
- Public Member Functions inherited from KFilterBase
QIODevicedevice ()
 
FilterFlags filterFlags () const
 
virtual bool inBufferEmpty () const
 
virtual bool outBufferFull () const
 
void setDevice (QIODevice *dev, bool autodelete=false)
 
void setFilterFlags (FilterFlags flags)
 

Additional Inherited Members

- Public Types inherited from KFilterBase
enum  FilterFlags { NoHeaders = 0, WithHeaders = 1, ZlibHeaders = 2 }
 
enum  Result { Ok, End, Error }
 
- Protected Member Functions inherited from KFilterBase
virtual void virtual_hook (int id, void *data)
 

Detailed Description

Internal class used by KFilterDev.

This header is not installed.

Definition at line 22 of file knonefilter.h.

Member Function Documentation

KNoneFilter::Result KNoneFilter::compress ( bool  finish)
overridevirtual

Implements KFilterBase.

Definition at line 105 of file knonefilter.cpp.

int KNoneFilter::inBufferAvailable ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 85 of file knonefilter.cpp.

bool KNoneFilter::init ( int  mode)
overridevirtual

Implements KFilterBase.

Definition at line 43 of file knonefilter.cpp.

int KNoneFilter::mode ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 49 of file knonefilter.cpp.

int KNoneFilter::outBufferAvailable ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 90 of file knonefilter.cpp.

bool KNoneFilter::readHeader ( )
overridevirtual

Implements KFilterBase.

Definition at line 63 of file knonefilter.cpp.

void KNoneFilter::reset ( )
overridevirtual

Reimplemented from KFilterBase.

Definition at line 59 of file knonefilter.cpp.

void KNoneFilter::setInBuffer ( const char *  data,
uint  size 
)
overridevirtual

Implements KFilterBase.

Definition at line 79 of file knonefilter.cpp.

void KNoneFilter::setOutBuffer ( char *  data,
uint  maxlen 
)
overridevirtual

Implements KFilterBase.

Definition at line 73 of file knonefilter.cpp.

bool KNoneFilter::terminate ( )
overridevirtual

Reimplemented from KFilterBase.

Definition at line 54 of file knonefilter.cpp.

KNoneFilter::Result KNoneFilter::uncompress ( )
overridevirtual

Implements KFilterBase.

Definition at line 95 of file knonefilter.cpp.

bool KNoneFilter::writeHeader ( const QByteArray filename)
overridevirtual

Implements KFilterBase.

Definition at line 68 of file knonefilter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 23:03:07 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.