AbstractFeatureFactory Class Reference

The AbstractFeatureFactory class creates AbstractFeature objects. More...

#include <abstractfeaturefactory.h>

Inheritance diagram for AbstractFeatureFactory:

StlFeatureFactoryWrapper List of all members.

Public Member Functions

virtual ~AbstractFeatureFactory ()
virtual bool open (const QString &pluginFilename)=0
virtual QList< QByteArray > keys ()=0
virtual AbstractFeaturecreate (const QByteArray &key, QObject *parent=0)=0
virtual QString title (const QByteArray &key)=0
virtual QString description (const QByteArray &key)=0

Detailed Description

The AbstractFeatureFactory class creates AbstractFeature objects.

Note that QByteArray is more than enough for keys. There is no need for QString, and we definitely don't want the keys to be language dependant.

Also on the topic of QByteArray, from the Qt 4.0.0 documentation: "Using QByteArray is much more convenient than using const char *. Behind the scenes, it always ensures that the data is followed by a '\0' terminator, and uses implicit sharing (copy-on-write) to reduce memory usage and avoid needless copying of data."


Constructor & Destructor Documentation

virtual AbstractFeatureFactory::~AbstractFeatureFactory (  )  [inline, virtual]


Member Function Documentation

virtual bool AbstractFeatureFactory::open ( const QString &  pluginFilename  )  [pure virtual]

Implemented in StlFeatureFactoryWrapper.

virtual QList<QByteArray> AbstractFeatureFactory::keys (  )  [pure virtual]

Implemented in StlFeatureFactoryWrapper.

virtual AbstractFeature* AbstractFeatureFactory::create ( const QByteArray &  key,
QObject *  parent = 0 
) [pure virtual]

Implemented in StlFeatureFactoryWrapper.

virtual QString AbstractFeatureFactory::title ( const QByteArray &  key  )  [pure virtual]

Implemented in StlFeatureFactoryWrapper.

virtual QString AbstractFeatureFactory::description ( const QByteArray &  key  )  [pure virtual]

Implemented in StlFeatureFactoryWrapper.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:51 2007 for Digest by  doxygen 1.5.2