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

kioslave/imap4

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mimeHdrLine Class Reference

#include <mimehdrline.h>

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

Definition at line 28 of file mimehdrline.h.

Member Function Documentation

const QByteArray & mimeHdrLine::getLabel ( )

return the label

Definition at line 366 of file mimehdrline.cpp.

const QByteArray & mimeHdrLine::getValue ( )

return the value

Definition at line 372 of file mimehdrline.cpp.

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

slurp one alphanumerical word without continuation

Definition at line 181 of file mimehdrline.cpp.

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

parses a continuated line

parses continuated lines

Definition at line 284 of file mimehdrline.cpp.

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

slurp one line without continuation

Definition at line 226 of file mimehdrline.cpp.

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

slurp one word respecting backticks

Definition at line 202 of file mimehdrline.cpp.

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

slurp one word

Definition at line 149 of file mimehdrline.cpp.

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

parses continuated lines

Definition at line 321 of file mimehdrline.cpp.

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

slurp one word

Definition at line 132 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 76 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 252 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:08 by doxygen 1.8.7 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 API Reference

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

Search



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