KNoneFilter

Search for usage in LXR

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 KCompressionDevice.

This header is not installed.

Definition at line 22 of file knonefilter.h.

Constructor & Destructor Documentation

◆ KNoneFilter()

KNoneFilter::KNoneFilter ( )

Definition at line 33 of file knonefilter.cpp.

◆ ~KNoneFilter()

KNoneFilter::~KNoneFilter ( )
override

Definition at line 38 of file knonefilter.cpp.

Member Function Documentation

◆ compress()

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

Implements KFilterBase.

Definition at line 105 of file knonefilter.cpp.

◆ inBufferAvailable()

int KNoneFilter::inBufferAvailable ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 85 of file knonefilter.cpp.

◆ init()

bool KNoneFilter::init ( int mode)
overridevirtual

Implements KFilterBase.

Definition at line 43 of file knonefilter.cpp.

◆ mode()

int KNoneFilter::mode ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 49 of file knonefilter.cpp.

◆ outBufferAvailable()

int KNoneFilter::outBufferAvailable ( ) const
overridevirtual

Implements KFilterBase.

Definition at line 90 of file knonefilter.cpp.

◆ readHeader()

bool KNoneFilter::readHeader ( )
overridevirtual

Implements KFilterBase.

Definition at line 63 of file knonefilter.cpp.

◆ reset()

void KNoneFilter::reset ( )
overridevirtual

Reimplemented from KFilterBase.

Definition at line 59 of file knonefilter.cpp.

◆ setInBuffer()

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

Implements KFilterBase.

Definition at line 79 of file knonefilter.cpp.

◆ setOutBuffer()

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

Implements KFilterBase.

Definition at line 73 of file knonefilter.cpp.

◆ terminate()

bool KNoneFilter::terminate ( )
overridevirtual

Reimplemented from KFilterBase.

Definition at line 54 of file knonefilter.cpp.

◆ uncompress()

KNoneFilter::Result KNoneFilter::uncompress ( )
overridevirtual

Implements KFilterBase.

Definition at line 95 of file knonefilter.cpp.

◆ writeHeader()

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-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.