• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 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 (const QByteArray &, const QByteArray &)
 
 mimeHdrLine (mimeHdrLine *)
 
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.

Constructor & Destructor Documentation

◆ mimeHdrLine() [1/3]

mimeHdrLine::mimeHdrLine ( )

Definition at line 26 of file mimehdrline.cpp.

◆ mimeHdrLine() [2/3]

mimeHdrLine::mimeHdrLine ( mimeHdrLine * aHdrLine)

Definition at line 37 of file mimehdrline.cpp.

◆ mimeHdrLine() [3/3]

mimeHdrLine::mimeHdrLine ( const QByteArray & aLabel,
const QByteArray & aValue )

Definition at line 31 of file mimehdrline.cpp.

◆ ~mimeHdrLine()

mimeHdrLine::~mimeHdrLine ( )

Definition at line 42 of file mimehdrline.cpp.

Member Function Documentation

◆ appendStr()

int mimeHdrLine::appendStr ( const char * aCStr)

Definition at line 46 of file mimehdrline.cpp.

◆ getLabel()

const QByteArray & mimeHdrLine::getLabel ( )

return the label

Definition at line 366 of file mimehdrline.cpp.

◆ getValue()

const QByteArray & mimeHdrLine::getValue ( )

return the value

Definition at line 372 of file mimehdrline.cpp.

◆ parseAlphaNum()

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

slurp one alphanumerical word without continuation

Definition at line 181 of file mimehdrline.cpp.

◆ parseFullLine()

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

parses a continuated line

parses continuated lines

Definition at line 284 of file mimehdrline.cpp.

◆ parseHalfLine()

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

slurp one line without continuation

Definition at line 226 of file mimehdrline.cpp.

◆ parseHalfWord()

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

slurp one word respecting backticks

Definition at line 202 of file mimehdrline.cpp.

◆ parseQuoted()

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

slurp one word

Definition at line 149 of file mimehdrline.cpp.

◆ parseSeparator()

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

parses continuated lines

Definition at line 321 of file mimehdrline.cpp.

◆ parseWord()

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

slurp one word

Definition at line 132 of file mimehdrline.cpp.

◆ setStr()

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.

◆ skipWS()

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.

◆ truncateLine()

QByteArray mimeHdrLine::truncateLine ( QByteArray aLine,
unsigned int truncate = 80 )
static

Definition at line 379 of file mimehdrline.cpp.

Member Data Documentation

◆ mimeLabel

QByteArray mimeHdrLine::mimeLabel
protected

contains the Label of the line

Definition at line 59 of file mimehdrline.h.

◆ mimeValue

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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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.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