MimeTreeParser::BodyPartFormatterFactory

MimeTreeParser::BodyPartFormatterFactory Class Reference

#include <bodypartformatterfactory.h>

Public Member Functions

QVector< const Interface::BodyPartFormatter * > formattersForType (const QString &mimeType) const
 

Static Public Member Functions

static BodyPartFormatterFactoryinstance ()
 

Protected Member Functions

void insert (const QString &mimeType, const Interface::BodyPartFormatter *formatter, int priority)
 
virtual void loadPlugins ()
 

Detailed Description

The place to obtain BodyPartFormatter candidates for a given mime type.

Definition at line 26 of file bodypartformatterfactory.h.

Member Function Documentation

QVector< const Interface::BodyPartFormatter * > BodyPartFormatterFactory::formattersForType ( const QString mimeType) const

Returns all suitable formatters for the given mimetype.

The candidates are ordered by priority, with the catch-call formatter coming last.

Definition at line 100 of file bodypartformatterfactory.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 23:11:12 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.