KMIME Library
Go to the documentation of this file.
46 #ifndef __KMIME_CODEC_QP__
47 #define __KMIME_CODEC_QP__
77 const char *name()
const
78 {
return "quoted-printable"; }
84 int maxEncodedSizeFor(
int insize,
bool withCRLF=
false )
const
86 int result = 3*insize;
88 result += (withCRLF ? 3 : 2) * (insize / 25);
97 int maxDecodedSizeFor(
int insize,
bool withCRLF=
false )
const;
103 Encoder *makeEncoder(
bool withCRLF=
false )
const;
109 Decoder *makeDecoder(
bool withCRLF=
false )
const;
136 const char *name()
const
143 int maxEncodedSizeFor(
int insize,
bool withCRLF=
false )
const
145 Q_UNUSED( withCRLF );
155 int maxDecodedSizeFor(
int insize,
bool withCRLF=
false )
const;
161 Encoder *makeEncoder(
bool withCRLF=
false )
const;
167 Decoder *makeDecoder(
bool withCRLF=
false )
const;
193 const char *name()
const
194 {
return "x-kmime-rfc2231"; }
200 int maxEncodedSizeFor(
int insize,
bool withCRLF=
false )
const
202 Q_UNUSED( withCRLF );
211 int maxDecodedSizeFor(
int insize,
bool withCRLF=
false )
const;
217 Encoder *makeEncoder(
bool withCRLF=
false )
const;
223 Decoder *makeDecoder(
bool withCRLF=
false )
const;
228 #endif // __KMIME_CODEC_QP__
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Nov 26 2012 16:47:05 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.