MimeTreeParser::BodyPartFormatterFactory

Search for usage in LXR

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 27 of file bodypartformatterfactory.h.

Member Function Documentation

◆ formattersForType()

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 97 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-2023 The KDE developers.
Generated on Mon May 8 2023 04:02:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.