lib Library API Documentation

KoFilterEntry Class Reference

Represents an available filter. More...

#include <koQueryTrader.h>

List of all members.

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

QValueList< KoFilterEntry::Ptr > query (const QString &_constr=QString::null)

Public Attributes

QStringList import
QStringList export_
unsigned int weight
QString available


Detailed Description

Represents an available filter.

Definition at line 117 of file koQueryTrader.h.


Member Function Documentation

bool KoFilterEntry::imports const QString _mimetype  )  const [inline]
 

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

Definition at line 152 of file koQueryTrader.h.

References imports().

Referenced by imports().

bool KoFilterEntry::exports const QString _m  )  const [inline]
 

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

Definition at line 158 of file koQueryTrader.h.

References export_, and exports().

Referenced by exports().

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 170 of file koQueryTrader.cc.

References query().

Referenced by query().


Member Data Documentation

QStringList KoFilterEntry::import
 

The imported mimetype(s).

Definition at line 132 of file koQueryTrader.h.

QStringList KoFilterEntry::export_
 

The exported mimetype(s).

Definition at line 137 of file koQueryTrader.h.

Referenced by exports().

unsigned int KoFilterEntry::weight
 

The "weight" of this filter path.

Has to be > 0 to be valid.

Definition at line 142 of file koQueryTrader.h.

QString KoFilterEntry::available
 

Do we have to check during runtime?

Definition at line 147 of file koQueryTrader.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Nov 17 06:54:22 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003