lib

KoProperty::CustomPropertyFactory Class Reference

#include <factory.h>

List of all members.


Detailed Description

A prototype for custom property factory.

A pointer to factory function which creates and returns widget for a given property type.

Definition at line 43 of file factory.h.


Public Member Functions

 CustomPropertyFactory (QObject *parent)
virtual ~CustomPropertyFactory ()
virtual CustomPropertycreateCustomProperty (Property *parent)=0
virtual WidgetcreateCustomWidget (Property *property)=0

Member Function Documentation

virtual CustomProperty* KoProperty::CustomPropertyFactory::createCustomProperty ( Property parent  )  [pure 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.

virtual Widget* KoProperty::CustomPropertyFactory::createCustomWidget ( Property property  )  [pure 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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys