libkmime

KMime::Parser::NonMimeParser Class Referenceabstract

#include <kmime_parsers.h>

Inheritance diagram for KMime::Parser::NonMimeParser:
KMime::Parser::UUEncoded KMime::Parser::YENCEncoded

Public Member Functions

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

Static Protected Member Functions

static TQCString guessMimeType (const TQCString &fileName)
 

Protected Attributes

TQCString s_rc
 
TQCString t_ext
 
TQStrList b_ins
 
TQStrList f_ilenames
 
TQStrList m_imeTypes
 
int p_artNr
 
int t_otalNr
 

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.

Member Function Documentation

◆ guessMimeType()

TQCString KMime::Parser::NonMimeParser::guessMimeType ( const TQCString &  fileName)
staticprotected

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: