lib
KoDocumentEntry Class Reference
#include <KoQueryTrader.h>
Detailed Description
Represents an available KOffice component that supports the document interface.
Definition at line 38 of file KoQueryTrader.h.
Public Member Functions | |
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 (KoDocument *parent=0, const char *name=0) const |
Static Public Member Functions | |
static QValueList< KoDocumentEntry > | query (const QString &_constr=QString::null) |
static QValueList< KoDocumentEntry > | query (bool _onlyDocEmb, const QString &_constr) |
static KoDocumentEntry | queryByMimeType (const QString &mimetype) |
Constructor & Destructor Documentation
|
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>.
Definition at line 46 of file KoQueryTrader.cpp. |
Member Function Documentation
|
Uses the factory of the component to create a document. If that is not possible, 0 is returned. Definition at line 51 of file KoQueryTrader.cpp. |
|
Definition at line 51 of file KoQueryTrader.h. |
|
Mimetypes (and other service types) which this document can handle.
Definition at line 61 of file KoQueryTrader.h. |
|
Definition at line 56 of file KoQueryTrader.h. |
|
This function will query the system to find all available filters.
Definition at line 113 of file KoQueryTrader.cpp. |
|
This function will query ksycoca to find all available components. The result will only contain parts, which are embeddable into a document
Definition at line 108 of file KoQueryTrader.cpp. |
|
This is a convenience function.
Definition at line 77 of file KoQueryTrader.cpp. |
|
Definition at line 66 of file KoQueryTrader.h. |
The documentation for this class was generated from the following files: