KCodecs::QuotedPrintableCodec

Search for usage in LXR

KCodecs::QuotedPrintableCodec Class Reference

#include <kcodecsqp.h>

Inheritance diagram for KCodecs::QuotedPrintableCodec:

Public Member Functions

 QuotedPrintableCodec ()
 
 ~QuotedPrintableCodec () override
 
DecodermakeDecoder (NewlineType newline=Codec::NewlineLF) const override
 
EncodermakeEncoder (NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxDecodedSizeFor (qsizetype insize, NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxEncodedSizeFor (qsizetype insize, NewlineType newline=Codec::NewlineLF) const override
 
const char * name () const override
 
- Public Member Functions inherited from KCodecs::Codec
virtual ~Codec ()
 
virtual bool decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
QByteArray decode (QByteArrayView src, NewlineType newline=NewlineLF) const
 
virtual bool encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
QByteArray encode (QByteArrayView src, NewlineType newline=NewlineLF) const
 

Additional Inherited Members

- Public Types inherited from KCodecs::Codec
enum  NewlineType { NewlineLF , NewlineCRLF }
 
- Static Public Member Functions inherited from KCodecs::Codec
static CodeccodecForName (QByteArrayView name)
 
- Protected Member Functions inherited from KCodecs::Codec
 Codec ()
 

Detailed Description

A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6.7).

Definition at line 42 of file kcodecsqp.h.

Constructor & Destructor Documentation

◆ QuotedPrintableCodec()

KCodecs::QuotedPrintableCodec::QuotedPrintableCodec ( )
inline

Constructs a QuotedPrintable codec.

Definition at line 48 of file kcodecsqp.h.

◆ ~QuotedPrintableCodec()

KCodecs::QuotedPrintableCodec::~QuotedPrintableCodec ( )
inlineoverride

Destroys the codec.

Definition at line 56 of file kcodecsqp.h.

Member Function Documentation

◆ makeDecoder()

Decoder * KCodecs::QuotedPrintableCodec::makeDecoder ( Codec::NewlineType newline = Codec::NewlineLF) const
overridevirtual

Codec::makeDecoder()

Implements KCodecs::Codec.

Definition at line 265 of file kcodecsqp.cpp.

◆ makeEncoder()

Encoder * KCodecs::QuotedPrintableCodec::makeEncoder ( Codec::NewlineType newline = Codec::NewlineLF) const
overridevirtual

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 260 of file kcodecsqp.cpp.

◆ maxDecodedSizeFor()

qsizetype KCodecs::QuotedPrintableCodec::maxDecodedSizeFor ( qsizetype insize,
Codec::NewlineType newline = Codec::NewlineLF ) const
overridevirtual

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 270 of file kcodecsqp.cpp.

◆ maxEncodedSizeFor()

qsizetype KCodecs::QuotedPrintableCodec::maxEncodedSizeFor ( qsizetype insize,
NewlineType newline = Codec::NewlineLF ) const
inlineoverridevirtual

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 73 of file kcodecsqp.h.

◆ name()

const char * KCodecs::QuotedPrintableCodec::name ( ) const
inlineoverridevirtual

Codec::name()

Implements KCodecs::Codec.

Definition at line 64 of file kcodecsqp.h.


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 Fri May 24 2024 11:51:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.