• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KMIME Library

  • KMime
  • Rfc2047QEncodingCodec
Public Member Functions | Protected Member Functions
KMime::Rfc2047QEncodingCodec Class Reference

#include <kmime_codec_qp.h>

Inheritance diagram for KMime::Rfc2047QEncodingCodec:
Inheritance graph
[legend]

List of all members.

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

Protected Member Functions

 Rfc2047QEncodingCodec ()

Detailed Description

A class representing the codec for the Q encoding as specified in RFC2047Q.


Constructor & Destructor Documentation

KMime::Rfc2047QEncodingCodec::Rfc2047QEncodingCodec ( ) [inline, protected]

Constructs a RFC2047Q codec.

Definition at line 124 of file kmime_codec_qp.h.

virtual KMime::Rfc2047QEncodingCodec::~Rfc2047QEncodingCodec ( ) [inline, virtual]

Destroys the codec.

Definition at line 130 of file kmime_codec_qp.h.


Member Function Documentation

Decoder * KMime::Rfc2047QEncodingCodec::makeDecoder ( bool  withCRLF = false) const [virtual]

Creates the decoder for the codec.

Parameters:
withCRLFif true, make the newlines CRLF; else use LF.
Returns:
a pointer to an instance of the codec's decoder.

Implements KMime::Codec.

Definition at line 261 of file kmime_codec_qp.cpp.

Encoder * KMime::Rfc2047QEncodingCodec::makeEncoder ( bool  withCRLF = false) const [virtual]

Creates the encoder for the codec.

Parameters:
withCRLFif true, make the newlines CRLF; else use LF.
Returns:
a pointer to an instance of the codec's encoder.

Implements KMime::Codec.

Definition at line 256 of file kmime_codec_qp.cpp.

int KMime::Rfc2047QEncodingCodec::maxDecodedSizeFor ( int  insize,
bool  withCRLF = false 
) const [virtual]

Computes the maximum size, in characters, needed for the deccoding.

Parameters:
insizeis the number of input characters to be decoded.
withCRLFif 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.

int KMime::Rfc2047QEncodingCodec::maxEncodedSizeFor ( int  insize,
bool  withCRLF = false 
) const [inline, virtual]

Computes the maximum size, in characters, needed for the encoding.

Parameters:
insizeis the number of input characters to be encoded.
withCRLFif 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.

const char* KMime::Rfc2047QEncodingCodec::name ( ) const [inline, virtual]

Returns the name of the encoding.

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:
  • kmime_codec_qp.h
  • kmime_codec_qp.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:41:34 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

Skip menu "KMIME Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal