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

KMIME Library

  • kmime
Functions
kmime_codec_qp.cpp File Reference
#include "kmime_codec_qp.h"
#include "kmime_util.h"
#include <kdebug.h>
#include <cassert>
#include <QtCore/QString>

Go to the source code of this file.

Functions

static char KMime::binToHex (uchar value)
 
static uchar KMime::highNibble (uchar ch)
 
static bool KMime::keep (uchar ch)
 
static uchar KMime::lowNibble (uchar ch)
 
static int KMime::QuotedPrintableDecoder_maxDecodedSizeFor (int insize, bool withCRLF)
 

Detailed Description

This file is part of the API for handling MIME data and defines the QuotedPrintable, RFC2047Q, and RFC2231 Codec classes.

Defines the classes QuotedPrintableCodec, Rfc2047QEncodingCodec, and Rfc2231EncodingCodec.

Author(s):
Marc Mutz <mutz@.nosp@m.kde..nosp@m.org>

Definition in file kmime_codec_qp.cpp.

Function Documentation

◆ binToHex()

static char KMime::binToHex ( uchar  value)
inlinestatic

Converts a 4-bit value into its hexadecimal characater representation.

So input of value [0,15] returns ['0','1',... 'F']. Input values greater than 15 will produce undesired results.

Parameters
valueis an unsigned character containing the 4-bit input value.

Definition at line 54 of file kmime_codec_qp.cpp.

◆ highNibble()

static uchar KMime::highNibble ( uchar  ch)
inlinestatic

Returns the high-order 4 bits of an 8-bit value in another 8-bit value.

Parameters
chis an unsigned character containing the 8-bit input value.

Definition at line 67 of file kmime_codec_qp.cpp.

◆ keep()

static bool KMime::keep ( uchar  ch)
inlinestatic

Returns true if the specified value is a not Control character or question mark; else true.

Parameters
chis an unsigned character containing the 8-bit input value.

Definition at line 86 of file kmime_codec_qp.cpp.

◆ lowNibble()

static uchar KMime::lowNibble ( uchar  ch)
inlinestatic

Returns the low-order 4 bits of an 8-bit value in another 8-bit value.

Parameters
chis an unsigned character containing the 8-bit input value.

Definition at line 76 of file kmime_codec_qp.cpp.

◆ QuotedPrintableDecoder_maxDecodedSizeFor()

static int KMime::QuotedPrintableDecoder_maxDecodedSizeFor ( int  insize,
bool  withCRLF 
)
static

Definition at line 227 of file kmime_codec_qp.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • 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