#include <abstractfeaturefactory.h>
Inheritance diagram for AbstractFeatureFactory:

Public Member Functions | |
| virtual | ~AbstractFeatureFactory () |
| virtual bool | open (const QString &pluginFilename)=0 |
| virtual QList< QByteArray > | keys ()=0 |
| virtual AbstractFeature * | create (const QByteArray &key, QObject *parent=0)=0 |
| virtual QString | title (const QByteArray &key)=0 |
| virtual QString | description (const QByteArray &key)=0 |
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."
| virtual AbstractFeatureFactory::~AbstractFeatureFactory | ( | ) | [inline, virtual] |
| 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.
1.5.2