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

kioslave/imap4

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
mimeHdrLine Class Reference

#include <mimehdrline.h>

List of all members.

Public Member Functions

 mimeHdrLine (mimeHdrLine *)
 mimeHdrLine (const QByteArray &, const QByteArray &)
int appendStr (const char *)
const QByteArray & getLabel ()
const QByteArray & getValue ()
int setStr (const char *)

Static Public Member Functions

static int parseAlphaNum (const char *)
static int parseHalfWord (const char *)
static int parseQuoted (char, char, const char *)
static int parseSeparator (char, const char *)
static int parseWord (const char *)
static int skipWS (const char *)
static QByteArray truncateLine (QByteArray, unsigned int truncate=80)

Protected Member Functions

int parseFullLine (const char *)
int parseHalfLine (const char *)

Protected Attributes

QByteArray mimeLabel
QByteArray mimeValue

Detailed Description

Author:
Sven Carstens

Member Function Documentation

const QByteArray & mimeHdrLine::getLabel ( )

return the label

Definition at line 439 of file mimehdrline.cpp.

const QByteArray & mimeHdrLine::getValue ( )

return the value

Definition at line 445 of file mimehdrline.cpp.

int mimeHdrLine::parseAlphaNum ( const char *  aCStr) [static]

slurp one alphanumerical word without continuation

Definition at line 205 of file mimehdrline.cpp.

int mimeHdrLine::parseFullLine ( const char *  aCStr) [protected]

parses a continuated line

parses continuated lines

Definition at line 332 of file mimehdrline.cpp.

int mimeHdrLine::parseHalfLine ( const char *  aCStr) [protected]

slurp one line without continuation

Definition at line 260 of file mimehdrline.cpp.

int mimeHdrLine::parseHalfWord ( const char *  aCStr) [static]

slurp one word respecting backticks

Definition at line 231 of file mimehdrline.cpp.

int mimeHdrLine::parseQuoted ( char  startQuote,
char  endQuote,
const char *  aCStr 
) [static]

slurp one word

Definition at line 166 of file mimehdrline.cpp.

int mimeHdrLine::parseSeparator ( char  separator,
const char *  aCStr 
) [static]

parses continuated lines

Definition at line 380 of file mimehdrline.cpp.

int mimeHdrLine::parseWord ( const char *  aCStr) [static]

slurp one word

Definition at line 147 of file mimehdrline.cpp.

int mimeHdrLine::setStr ( const char *  aCStr)

parse a Line into the class and report characters slurped

parse a Line into the class move input ptr accordingly and report characters slurped

Definition at line 80 of file mimehdrline.cpp.

int mimeHdrLine::skipWS ( const char *  aCStr) [static]

skip all white space characters

skip all white space characters including continuation

Definition at line 292 of file mimehdrline.cpp.


Member Data Documentation

QByteArray mimeHdrLine::mimeLabel [protected]

contains the Label of the line

Definition at line 59 of file mimehdrline.h.

QByteArray mimeHdrLine::mimeValue [protected]

contains the Value

Definition at line 56 of file mimehdrline.h.


The documentation for this class was generated from the following files:
  • mimehdrline.h
  • mimehdrline.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:08:21 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kioslave/imap4

Skip menu "kioslave/imap4"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 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