kioslaves

mimeHeader Class Reference

#include <mimeheader.h>

Inheritance diagram for mimeHeader:

List of all members.


Public Member Functions

virtual void addHdrLine (mimeHdrLine *)
void addNestedPart (mimeHeader *inPart)
mimeHeaderbodyPart (const QString &)
void clearDispositionParameters ()
void clearNestedParts ()
void clearTypeParameters ()
QPtrListIterator< mimeHdrLinegetAdditionalIterator ()
QCString getBody ()
QCString getContent ()
const QCStringgetDescription ()
QCString getDisposition ()
QDictIterator< QStringgetDispositionIterator ()
QString getDispositionParm (const QCString &)
QCString getEncoding ()
QCString getID ()
unsigned long getLength ()
QCString getMD5 ()
QPtrListIterator< mimeHeadergetNestedIterator ()
mimeHeadergetNestedMessage ()
QPtrListIterator< mimeHdrLinegetOriginalIterator ()
const QStringgetPartSpecifier ()
QCString getPostBody ()
QCString getPreBody ()
const QCStringgetType ()
QDictIterator< QStringgetTypeIterator ()
QString getTypeParm (const QCString &)
 mimeHeader ()
virtual void outputHeader (mimeIO &)
QCString outputParameter (QDict< QString > *)
virtual void outputPart (mimeIO &)
int parseBody (mimeIO &, QCString &, const QString &, bool mbox=false)
bool parseHeader (mimeIO &)
int parsePart (mimeIO &, const QString &)
void serialize (QDataStream &stream)
void setContent (const QCString &aContent)
void setDescription (const QCString &_str)
void setDisposition (const QCString &_str)
void setDispositionParm (const QCString &, const QString &)
void setEncoding (const QCString &_str)
void setID (const QCString &_str)
void setLength (unsigned long _len)
void setMD5 (const QCString &_str)
void setNestedMessage (mimeHeader *inPart, bool destroy=true)
void setPartSpecifier (const QString &_str)
void setPostBody (QCString &inBody)
void setPreBody (QCString &inBody)
void setType (const QCString &_str)
void setTypeParm (const QCString &, const QString &)
virtual ~mimeHeader ()

Static Protected Member Functions

static void addParameter (const QCString &, QDict< QString > *)
static QString getParameter (const QCString &, QDict< QString > *)
static void setParameter (const QCString &, const QString &, QDict< QString > *)

Protected Attributes

QPtrList< mimeHdrLineoriginalHdrLines

Detailed Description

Author:
Sven Carstens

Definition at line 32 of file mimeheader.h.


Constructor & Destructor Documentation

mimeHeader::mimeHeader (  ) 

Definition at line 34 of file mimeheader.cc.

mimeHeader::~mimeHeader (  )  [virtual]

Definition at line 48 of file mimeheader.cc.


Member Function Documentation

void mimeHeader::addHdrLine ( mimeHdrLine aHdrLine  )  [virtual]

Reimplemented in mailHeader.

Definition at line 74 of file mimeheader.cc.

void mimeHeader::addNestedPart ( mimeHeader inPart  )  [inline]

Definition at line 180 of file mimeheader.h.

void mimeHeader::addParameter ( const QCString aParameter,
QDict< QString > *  aList 
) [static, protected]

Definition at line 164 of file mimeheader.cc.

mimeHeader * mimeHeader::bodyPart ( const QString _str  ) 

Definition at line 584 of file mimeheader.cc.

void mimeHeader::clearDispositionParameters (  )  [inline]

Definition at line 202 of file mimeheader.h.

void mimeHeader::clearNestedParts (  )  [inline]

Definition at line 190 of file mimeheader.h.

void mimeHeader::clearTypeParameters (  )  [inline]

Definition at line 196 of file mimeheader.h.

QPtrListIterator< mimeHdrLine > mimeHeader::getAdditionalIterator (  ) 

Definition at line 223 of file mimeheader.cc.

QCString mimeHeader::getBody (  )  [inline]

Definition at line 145 of file mimeheader.h.

QCString mimeHeader::getContent (  )  [inline]

Definition at line 140 of file mimeheader.h.

const QCString& mimeHeader::getDescription (  )  [inline]

Definition at line 71 of file mimeheader.h.

QCString mimeHeader::getDisposition (  )  [inline]

Definition at line 80 of file mimeheader.h.

QDictIterator< QString > mimeHeader::getDispositionIterator (  ) 

Definition at line 208 of file mimeheader.cc.

QString mimeHeader::getDispositionParm ( const QCString aStr  ) 

Definition at line 184 of file mimeheader.cc.

QCString mimeHeader::getEncoding (  )  [inline]

Definition at line 89 of file mimeheader.h.

QCString mimeHeader::getID (  )  [inline]

Definition at line 107 of file mimeheader.h.

unsigned long mimeHeader::getLength (  )  [inline]

Definition at line 116 of file mimeheader.h.

QCString mimeHeader::getMD5 (  )  [inline]

Definition at line 98 of file mimeheader.h.

QPtrListIterator< mimeHeader > mimeHeader::getNestedIterator (  )  [inline]

Definition at line 184 of file mimeheader.h.

mimeHeader* mimeHeader::getNestedMessage (  )  [inline]

Definition at line 168 of file mimeheader.h.

QPtrListIterator< mimeHdrLine > mimeHeader::getOriginalIterator (  ) 

Definition at line 218 of file mimeheader.cc.

QString mimeHeader::getParameter ( const QCString aStr,
QDict< QString > *  aDict 
) [static, protected]

Definition at line 265 of file mimeheader.cc.

const QString& mimeHeader::getPartSpecifier (  )  [inline]

Definition at line 125 of file mimeheader.h.

QCString mimeHeader::getPostBody (  )  [inline]

Definition at line 158 of file mimeheader.h.

QCString mimeHeader::getPreBody (  )  [inline]

Definition at line 149 of file mimeheader.h.

const QCString& mimeHeader::getType (  )  [inline]

Definition at line 62 of file mimeheader.h.

QDictIterator< QString > mimeHeader::getTypeIterator (  ) 

Definition at line 213 of file mimeheader.cc.

QString mimeHeader::getTypeParm ( const QCString aStr  ) 

Definition at line 190 of file mimeheader.cc.

void mimeHeader::outputHeader ( mimeIO useIO  )  [virtual]

Reimplemented in mailHeader.

Definition at line 229 of file mimeheader.cc.

QCString mimeHeader::outputParameter ( QDict< QString > *  aDict  ) 

Definition at line 406 of file mimeheader.cc.

void mimeHeader::outputPart ( mimeIO useIO  )  [virtual]

Definition at line 432 of file mimeheader.cc.

int mimeHeader::parseBody ( mimeIO useIO,
QCString messageBody,
const QString boundary,
bool  mbox = false 
)

Definition at line 499 of file mimeheader.cc.

bool mimeHeader::parseHeader ( mimeIO useIO  ) 

Definition at line 548 of file mimeheader.cc.

int mimeHeader::parsePart ( mimeIO useIO,
const QString boundary 
)

Definition at line 458 of file mimeheader.cc.

void mimeHeader::serialize ( QDataStream stream  ) 

Definition at line 620 of file mimeheader.cc.

void mimeHeader::setContent ( const QCString aContent  )  [inline]

Definition at line 136 of file mimeheader.h.

void mimeHeader::setDescription ( const QCString _str  )  [inline]

Definition at line 75 of file mimeheader.h.

void mimeHeader::setDisposition ( const QCString _str  )  [inline]

Definition at line 84 of file mimeheader.h.

void mimeHeader::setDispositionParm ( const QCString aLabel,
const QString aValue 
)

Definition at line 196 of file mimeheader.cc.

void mimeHeader::setEncoding ( const QCString _str  )  [inline]

Definition at line 93 of file mimeheader.h.

void mimeHeader::setID ( const QCString _str  )  [inline]

Definition at line 111 of file mimeheader.h.

void mimeHeader::setLength ( unsigned long  _len  )  [inline]

Definition at line 120 of file mimeheader.h.

void mimeHeader::setMD5 ( const QCString _str  )  [inline]

Definition at line 102 of file mimeheader.h.

void mimeHeader::setNestedMessage ( mimeHeader inPart,
bool  destroy = true 
) [inline]

Definition at line 172 of file mimeheader.h.

void mimeHeader::setParameter ( const QCString aLabel,
const QString aValue,
QDict< QString > *  aDict 
) [static, protected]

Definition at line 327 of file mimeheader.cc.

void mimeHeader::setPartSpecifier ( const QString _str  )  [inline]

Definition at line 129 of file mimeheader.h.

void mimeHeader::setPostBody ( QCString inBody  )  [inline]

Definition at line 162 of file mimeheader.h.

void mimeHeader::setPreBody ( QCString inBody  )  [inline]

Definition at line 153 of file mimeheader.h.

void mimeHeader::setType ( const QCString _str  )  [inline]

Definition at line 66 of file mimeheader.h.

void mimeHeader::setTypeParm ( const QCString aLabel,
const QString aValue 
)

Definition at line 203 of file mimeheader.cc.


Member Data Documentation

Definition at line 315 of file mimeheader.h.


The documentation for this class was generated from the following files: