KoDocumentEntry Class Reference
Represents an available KOffice component that supports the document interface. More...
#include <koQueryTrader.h>
Public Member Functions | |
KoDocumentEntry (KService::Ptr service) | |
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 | |
QValueList< KoDocumentEntry > | query (const QString &_constr=QString::null) |
QValueList< KoDocumentEntry > | query (bool _onlyDocEmb, const QString &_constr) |
KoDocumentEntry | queryByMimeType (const QString &mimetype) |
Detailed Description
Represents an available KOffice component that supports the document interface.
Definition at line 37 of file koQueryTrader.h.
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.cc. Referenced by queryByMimeType(). |
Member Function Documentation
|
Definition at line 50 of file koQueryTrader.h. Referenced by KoDocumentChild::loadDocument(), and KoApplication::start(). |
|
Definition at line 55 of file koQueryTrader.h. |
|
Mimetypes (and other service types) which this document can handle.
Definition at line 60 of file koQueryTrader.h. |
|
Definition at line 65 of file koQueryTrader.h. |
|
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.cc. Referenced by KoMainWindow::createDoc(), and KoApplication::start(). |
|
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.cc. Referenced by KoPartSelectDia::KoPartSelectDia(), and queryByMimeType(). |
|
This function will query KDED to find all available filters.
Definition at line 113 of file koQueryTrader.cc. |
|
This is only a convenience function.
Definition at line 77 of file koQueryTrader.cc. References KoDocumentEntry(), and query(). Referenced by KoMainWindow::createDoc(), KoDocumentChild::loadDocument(), and KoApplication::start(). |
The documentation for this class was generated from the following files: