kexi
KexiMacroPropertyFactory Class Reference
#include <keximacroproperty.h>
Detailed Description
Implementation of a KoProperty::CustomPropertyFactory to handle creation of KexiMacroProperty and KexiMacroPropertyWidget instances for our macro-properties.
Definition at line 109 of file keximacroproperty.h.
Public Member Functions | |
KexiMacroPropertyFactory (QObject *parent) | |
virtual | ~KexiMacroPropertyFactory () |
virtual KoProperty::CustomProperty * | createCustomProperty (KoProperty::Property *parent) |
virtual KoProperty::Widget * | createCustomWidget (KoProperty::Property *property) |
Static Public Member Functions | |
static void | initFactory () |
Constructor & Destructor Documentation
KexiMacroPropertyFactory::KexiMacroPropertyFactory | ( | QObject * | parent | ) | [explicit] |
KexiMacroPropertyFactory::~KexiMacroPropertyFactory | ( | ) | [virtual] |
Member Function Documentation
KoProperty::CustomProperty * KexiMacroPropertyFactory::createCustomProperty | ( | KoProperty::Property * | parent | ) | [virtual] |
- Returns:
- a new instance of custom property for
parent
.
Implement this for property types you want to support. Use parent->type() to get type of the property.
Definition at line 176 of file keximacroproperty.cpp.
KoProperty::Widget * KexiMacroPropertyFactory::createCustomWidget | ( | KoProperty::Property * | property | ) | [virtual] |
- Returns:
- a new instance of custom property for
property
.
Implement this for property editor types you want to support. Use parent->type() to get type of the property.
Definition at line 201 of file keximacroproperty.cpp.
void KexiMacroPropertyFactory::initFactory | ( | ) | [static] |
Initializes this factory.
The factory may register itself at the KoProperty::FactoryManager if not alreadydone before. This function should be called from within the KexiMacroDesignView before the functionality provided with KexiMacroProperty and KexiMacroPropertyWidget got used.
Definition at line 207 of file keximacroproperty.cpp.
The documentation for this class was generated from the following files: