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

◆ guessMimeType()

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

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-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:53:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.