Base class for factories. More...
#include <klffactory.h>

Public Member Functions | |
| KLFFactoryBase (KLFFactoryManager *factoryManager) | |
| virtual | ~KLFFactoryBase () |
| virtual QStringList | supportedTypes () const =0 |
| A list of object types that this factory supports instantiating. | |
Base class for factories.
See KLFFactoryManager.
This class automatically registers to the factory manager given to the constructor; it also automatically unregisters itself in the destructor.
Definition at line 40 of file klffactory.h.
| KLFFactoryBase::KLFFactoryBase | ( | KLFFactoryManager * | factoryManager | ) |
Definition at line 31 of file klffactory.cpp.
References KLF_ASSERT_NOT_NULL.
| KLFFactoryBase::~KLFFactoryBase | ( | ) | [virtual] |
Definition at line 37 of file klffactory.cpp.
References KLF_ASSERT_NOT_NULL.
| virtual QStringList KLFFactoryBase::supportedTypes | ( | ) | const [pure virtual] |
A list of object types that this factory supports instantiating.
Implemented in KLFSideWidgetManagerFactory, and KLFAbstractPropertizedObjectSaver.
Referenced by KLFFactoryManager::findFactoryFor().