libkmime

KMime::Parser::NonMimeParser Class Reference

#include <kmime_parsers.h>

Inheritance diagram for KMime::Parser::NonMimeParser:

KMime::Parser::UUEncoded KMime::Parser::YENCEncoded List of all members.

Detailed Description

Helper-class: abstract base class of all parsers for non-mime binary data (uuencoded, yenc).

Definition at line 52 of file kmime_parsers.h.


Public Member Functions

 NonMimeParser (const QCString &src)
virtual ~NonMimeParser ()
virtual bool parse ()=0
bool isPartial ()
int partialNumber ()
int partialCount ()
bool hasTextPart ()
QCString textPart ()
QStrList binaryParts ()
QStrList filenames ()
QStrList mimeTypes ()

Static Protected Member Functions

static QCString guessMimeType (const QCString &fileName)

Protected Attributes

QCString s_rc
QCString t_ext
QStrList b_ins
QStrList f_ilenames
QStrList m_imeTypes
int p_artNr
int t_otalNr

Member Function Documentation

QCString KMime::Parser::NonMimeParser::guessMimeType ( const QCString &  fileName  )  [static, protected]

try to guess the mimetype from the file-extension

Definition at line 105 of file kmime_parsers.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys