KMIME Library
#include <kmime_codec_qp.h>

Public Member Functions | |
virtual | ~Rfc2047QEncodingCodec () |
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 | |
Rfc2047QEncodingCodec () | |
![]() | |
Codec () | |
Additional Inherited Members | |
![]() | |
static Codec * | codecForName (const char *name) |
static Codec * | codecForName (const QByteArray &name) |
Detailed Description
A class representing the codec for the Q encoding as specified in RFC2047Q.
Definition at line 117 of file kmime_codec_qp.h.
Constructor & Destructor Documentation
|
inlineprotected |
Constructs a RFC2047Q codec.
Definition at line 124 of file kmime_codec_qp.h.
|
inlinevirtual |
Destroys the codec.
Definition at line 130 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 261 of file kmime_codec_qp.cpp.
|
virtual |
- Returns
- a pointer to an instance of the codec's encoder.
Implements KMime::Codec.
Definition at line 256 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 266 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 143 of file kmime_codec_qp.h.
|
inlinevirtual |
Guaranteed to be lowercase.
Implements KMime::Codec.
Definition at line 136 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.