lib
KoFilterEntry Class Reference
#include <KoQueryTrader.h>
Detailed Description
Represents an available filter.
Definition at line 119 of file KoQueryTrader.h.
Public Types | |
typedef KSharedPtr< KoFilterEntry > | Ptr |
Public Member Functions | |
KoFilterEntry () | |
KoFilterEntry (KService::Ptr service) | |
~KoFilterEntry () | |
KoFilter * | createFilter (KoFilterChain *chain, QObject *parent=0, const char *name=0) |
bool | imports (const QString &_mimetype) const |
bool | exports (const QString &_m) const |
KService::Ptr | service () const |
Static Public Member Functions | |
static QValueList< KoFilterEntry::Ptr > | query (const QString &_constr=QString::null) |
Public Attributes | |
QStringList | import |
QStringList | export_ |
unsigned int | weight |
QString | available |
Member Function Documentation
bool KoFilterEntry::exports | ( | const QString & | _m | ) | const [inline] |
- Returns:
- TRUE if the filter can export the requested mimetype.
Definition at line 160 of file KoQueryTrader.h.
bool KoFilterEntry::imports | ( | const QString & | _mimetype | ) | const [inline] |
- Returns:
- TRUE if the filter can import the requested mimetype.
Definition at line 154 of file KoQueryTrader.h.
QValueList< KoFilterEntry::Ptr > KoFilterEntry::query | ( | const QString & | _constr = QString::null |
) | [static] |
This function will query KDED to find all available filters.
- Parameters:
-
_constr is a constraint expression as used by KDEDs trader interface. You can use it to set additional restrictions on the available components.
Definition at line 172 of file KoQueryTrader.cpp.
Member Data Documentation
QString KoFilterEntry::available |
QStringList KoFilterEntry::export_ |
QStringList KoFilterEntry::import |
unsigned int KoFilterEntry::weight |
The "weight" of this filter path.
Has to be > 0 to be valid.
Definition at line 144 of file KoQueryTrader.h.
The documentation for this class was generated from the following files: