#include <KoQueryTrader.h>
Public Types | |
| typedef TDESharedPtr< KoFilterEntry > | Ptr |
Public Member Functions | |
| KoFilterEntry (KService::Ptr service) | |
| KoFilter * | createFilter (KoFilterChain *chain, TQObject *parent=0, const char *name=0) |
| bool | imports (const TQString &_mimetype) const |
| bool | exports (const TQString &_m) const |
| KService::Ptr | service () const |
Static Public Member Functions | |
| static TQValueList< KoFilterEntry::Ptr > | query (const TQString &_constr=TQString()) |
Public Attributes | |
| TQStringList | import |
| TQStringList | export_ |
| unsigned int | weight |
| TQString | available |
Detailed Description
Represents an available filter.
Definition at line 119 of file KoQueryTrader.h.
Member Typedef Documentation
◆ Ptr
| typedef TDESharedPtr<KoFilterEntry> KoFilterEntry::Ptr |
Definition at line 123 of file KoQueryTrader.h.
Constructor & Destructor Documentation
◆ KoFilterEntry() [1/2]
|
inline |
Definition at line 125 of file KoQueryTrader.h.
◆ KoFilterEntry() [2/2]
| KoFilterEntry::KoFilterEntry | ( | KService::Ptr | service | ) |
Definition at line 162 of file KoQueryTrader.cpp.
◆ ~KoFilterEntry()
|
inline |
Definition at line 127 of file KoQueryTrader.h.
Member Function Documentation
◆ createFilter()
| KoFilter * KoFilterEntry::createFilter | ( | KoFilterChain * | chain, |
| TQObject * | parent = 0, | ||
| const char * | name = 0 ) |
Definition at line 195 of file KoQueryTrader.cpp.
◆ exports()
|
inline |
- Returns
- true if the filter can export the requested mimetype.
Definition at line 160 of file KoQueryTrader.h.
◆ imports()
|
inline |
- Returns
- true if the filter can import the requested mimetype.
Definition at line 154 of file KoQueryTrader.h.
◆ query()
|
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.
◆ service()
|
inline |
Definition at line 172 of file KoQueryTrader.h.
Member Data Documentation
◆ available
| TQString KoFilterEntry::available |
Do we have to check during runtime?
Definition at line 149 of file KoQueryTrader.h.
◆ export_
| TQStringList KoFilterEntry::export_ |
The exported mimetype(s).
Definition at line 139 of file KoQueryTrader.h.
◆ import
| TQStringList KoFilterEntry::import |
The imported mimetype(s).
Definition at line 134 of file KoQueryTrader.h.
◆ weight
| 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:
