• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KMIME Library

  • KMime
  • Parser
  • NonMimeParser
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
KMime::Parser::NonMimeParser Class Referenceabstract

#include <kmime_parsers.h>

Inheritance diagram for KMime::Parser::NonMimeParser:
Inheritance graph
[legend]

Public Member Functions

 NonMimeParser (const QByteArray &src)
 
QList< QByteArray > binaryParts ()
 
QList< QByteArray > filenames ()
 
bool hasTextPart ()
 
bool isPartial ()
 
QList< QByteArray > mimeTypes ()
 
virtual bool parse ()=0
 
int partialCount ()
 
int partialNumber ()
 
QByteArray textPart ()
 

Static Protected Member Functions

static QByteArray guessMimeType (const QByteArray &fileName)
 

Protected Attributes

QList< QByteArray > b_ins
 
QList< QByteArray > f_ilenames
 
QList< QByteArray > m_imeTypes
 
int p_artNr
 
QByteArray s_rc
 
QByteArray t_ext
 
int t_otalNr
 

Detailed Description

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

Definition at line 60 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 119 of file kmime_parsers.cpp.


The documentation for this class was generated from the following files:
  • kmime_parsers.h
  • kmime_parsers.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

Skip menu "KMIME Library"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal