#include <KoQueryTrader.h>
Fonctions membres publiques | |
KoDocumentEntry () | |
KoDocumentEntry (KService::Ptr service) | |
~KoDocumentEntry () | |
KService::Ptr | service () const |
bool | isEmpty () const |
QString | name () const |
QStringList | mimeTypes () const |
bool | supportsMimeType (const QString &_mimetype) const |
KoDocument * | createDoc (QString *errorMsg=0, KoDocument *parent=0) const |
Fonctions membres publiques statiques | |
static Q3ValueList< KoDocumentEntry > | query (const QString &_constr=QString::null) |
static Q3ValueList< KoDocumentEntry > | query (bool _onlyDocEmb, const QString &_constr) |
static KoDocumentEntry | queryByMimeType (const QString &mimetype) |
Attributs privés | |
KService::Ptr | m_service |
Définition à la ligne 38 du fichier KoQueryTrader.h.
KoDocumentEntry::KoDocumentEntry | ( | ) | [inline] |
Définition à la ligne 42 du fichier KoQueryTrader.h.
Référencé par queryByMimeType().
Voici le graphe d'appel pour cette fonction :
KoDocumentEntry::KoDocumentEntry | ( | KService::Ptr | service | ) | [explicit] |
Port from KOffice Trader to KTrader/KActivator (kded) by Simon Hausmann (c) 1999 Simon Hausmann <hausmann@kde.org> Port to KService and simplifications by David Faure <faure@kde.org>
Définition à la ligne 47 du fichier KoQueryTrader.cpp.
KoDocumentEntry::~KoDocumentEntry | ( | ) | [inline] |
Définition à la ligne 44 du fichier KoQueryTrader.h.
KService::Ptr KoDocumentEntry::service | ( | ) | const [inline] |
Définition à la ligne 46 du fichier KoQueryTrader.h.
Référencé par KoDocumentChild::createAndLoadDocument().
Voici le graphe d'appel pour cette fonction :
bool KoDocumentEntry::isEmpty | ( | ) | const [inline] |
Définition à la ligne 51 du fichier KoQueryTrader.h.
Référencé par KoDocumentChild::createAndLoadDocument(), KoFilterChain::createDocument(), KoApplicationAdaptor::createDocument(), KoDocumentChild::createUnavailDocument(), et KoApplication::start().
Voici le graphe d'appel pour cette fonction :
QString KoDocumentEntry::name | ( | ) | const [inline] |
QStringList KoDocumentEntry::mimeTypes | ( | ) | const [inline] |
Mimetypes (and other service types) which this document can handle.
Définition à la ligne 61 du fichier KoQueryTrader.h.
bool KoDocumentEntry::supportsMimeType | ( | const QString & | _mimetype | ) | const [inline] |
Définition à la ligne 66 du fichier KoQueryTrader.h.
KoDocument * KoDocumentEntry::createDoc | ( | QString * | errorMsg = 0 , |
|
KoDocument * | parent = 0 | |||
) | const |
Uses the factory of the component to create a document. If that is not possible, 0 is returned.
Définition à la ligne 52 du fichier KoQueryTrader.cpp.
Références m_service.
Référencé par KoDocumentChild::createAndLoadDocument(), KoMainWindow::createDoc(), KoFilterChain::createDocument(), KoApplicationAdaptor::createDocument(), KoDocumentChild::createUnavailDocument(), et KoApplication::start().
Voici le graphe d'appel pour cette fonction :
Q3ValueList< KoDocumentEntry > KoDocumentEntry::query | ( | const QString & | _constr = QString::null |
) | [static] |
This function will query ksycoca to find all available components. The result will only contain parts, which are embeddable into a document
_constr | is a constraint expression as used by KTrader. You can use it to set additional restrictions on the available components. |
Définition à la ligne 116 du fichier KoQueryTrader.cpp.
Référencé par buildGraph(), KOffice::Graph::buildGraph(), KOffice::Graph::findKOfficePart(), KoPartSelectAction::init(), KoPartSelectDia::KoPartSelectDia(), main(), KoFilterManager::mimeFilter(), et queryByMimeType().
Voici le graphe d'appel pour cette fonction :
Q3ValueList< KoDocumentEntry > KoDocumentEntry::query | ( | bool | _onlyDocEmb, | |
const QString & | _constr | |||
) | [static] |
This function will query the system to find all available filters.
_onlyDocEmb | specifies if only KOffice Parts should be listed which are embeddable into other koDocuments, or all (if false) (eg.: it makes no sense to embed Kexi into KWord, but it makes sense to embed it into KoShell) | |
_constr | is a constraint expression as used by KDEDs trader interface. You can use it to set additional restrictions on the available components. |
Définition à la ligne 121 du fichier KoQueryTrader.cpp.
Références KoProperty::List.
KoDocumentEntry KoDocumentEntry::queryByMimeType | ( | const QString & | mimetype | ) | [static] |
This is a convenience function.
Définition à la ligne 85 du fichier KoQueryTrader.cpp.
Références KoDocumentEntry(), et query().
Référencé par KoDocumentChild::createAndLoadDocument(), KoFilterChain::createDocument(), et KoApplicationAdaptor::createDocument().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
KService::Ptr KoDocumentEntry::m_service [private] |