KMIME Library
#include <kmime_codec_qp.h>

Public Member Functions | |
virtual | ~QuotedPrintableCodec () |
Decoder * | makeDecoder (bool withCRLF=false) const |
Encoder * | makeEncoder (bool withCRLF=false) const |
int | maxDecodedSizeFor (int insize, bool withCRLF=false) const |
int | maxEncodedSizeFor (int insize, bool withCRLF=false) const |
const char * | name () const |
![]() | |
virtual | ~Codec () |
virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
virtual QByteArray | decode (const QByteArray &src, bool withCRLF=false) const |
virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
virtual QByteArray | encode (const QByteArray &src, bool withCRLF=false) const |
Protected Member Functions | |
QuotedPrintableCodec () | |
![]() | |
Codec () | |
Additional Inherited Members | |
![]() | |
static Codec * | codecForName (const char *name) |
static Codec * | codecForName (const QByteArray &name) |
Detailed Description
A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6.7).
Definition at line 58 of file kmime_codec_qp.h.
Constructor & Destructor Documentation
|
inlineprotected |
Constructs a QuotedPrintable codec.
Definition at line 65 of file kmime_codec_qp.h.
|
inlinevirtual |
Destroys the codec.
Definition at line 71 of file kmime_codec_qp.h.
Member Function Documentation
|
virtual |
- Returns
- a pointer to an instance of the codec's decoder.
Implements KMime::Codec.
Definition at line 246 of file kmime_codec_qp.cpp.
|
virtual |
- Returns
- a pointer to an instance of the codec's encoder.
Implements KMime::Codec.
Definition at line 241 of file kmime_codec_qp.cpp.
|
virtual |
- Parameters
-
insize is the number of input characters to be decoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns
- the maximum number of characters in the decoding.
Implements KMime::Codec.
Definition at line 251 of file kmime_codec_qp.cpp.
|
inlinevirtual |
- Parameters
-
insize is the number of input characters to be encoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns
- the maximum number of characters in the encoding.
Implements KMime::Codec.
Definition at line 84 of file kmime_codec_qp.h.
|
inlinevirtual |
Guaranteed to be lowercase.
Implements KMime::Codec.
Definition at line 77 of file kmime_codec_qp.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:25:47 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.