lib

KoFilterEntry Class Reference

#include <KoQueryTrader.h>

Inherits KShared.

List of all members.


Detailed Description

Represents an available filter.

Definition at line 119 of file KoQueryTrader.h.


Public Types

typedef KSharedPtr< KoFilterEntryPtr

Public Member Functions

 KoFilterEntry (KService::Ptr service)
KoFiltercreateFilter (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::imports ( const QString &  _mimetype  )  const [inline]

Returns:
TRUE if the filter can import the requested mimetype.

Definition at line 154 of file KoQueryTrader.h.

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.

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

QStringList KoFilterEntry::import

The imported mimetype(s).

Definition at line 134 of file KoQueryTrader.h.

The exported mimetype(s).

Definition at line 139 of file KoQueryTrader.h.

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.

Do we have to check during runtime?

Definition at line 149 of file KoQueryTrader.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys