KMime::Parser::NonMimeParser

Search for usage in LXR

KMime::Parser::NonMimeParser Class Referenceabstract

#include <kmime_parsers.h>

Inheritance diagram for KMime::Parser::NonMimeParser:

Public Member Functions

 NonMimeParser (const QByteArray &src)
 
QVector< QByteArraybinaryParts () const
 
QVector< QByteArrayfilenames () const
 
bool hasTextPart () const
 
bool isPartial () const
 
QVector< QByteArraymimeTypes () const
 
virtual bool parse ()=0
 
int partialCount () const
 
int partialNumber () const
 
QByteArray textPart () const
 

Static Protected Member Functions

static QByteArray guessMimeType (const QByteArray &fileName)
 

Protected Attributes

QVector< QByteArraym_bins
 
QVector< QByteArraym_filenames
 
QVector< QByteArraym_mimeTypes
 
int m_partNr
 
QByteArray m_src
 
QByteArray m_text
 
int m_totalNr
 

Detailed Description

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

Definition at line 56 of file kmime_parsers.h.

Member Function Documentation

QByteArray KMime::Parser::NonMimeParser::guessMimeType ( const QByteArray fileName)
staticprotected

try to guess the mimetype from the file-extension

Definition at line 113 of file kmime_parsers.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:15:19 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.