Home · All Classes · Main Classes · Deprecated |
Inherited by MStyleCreator< STYLE >.
Public Member Functions | |
MStyleCreatorBase (const char *styleClassName, const char *styleAssemblyName, M::AssemblyType styleAssemblyType) | |
virtual | ~MStyleCreatorBase () |
virtual MStyle * | create () const =0 |
QString | assemblyName () const |
M::AssemblyType | assemblyType () const |
virtual const char * | attributeType (const char *attributeName) const =0 |
virtual const QMetaObject * | metaObject () const =0 |
MStyleCreatorBase::MStyleCreatorBase | ( | const char * | styleClassName, | |
const char * | styleAssemblyName, | |||
M::AssemblyType | styleAssemblyType | |||
) |
Constructor will register this creator to MClassFactory.
MStyleCreatorBase::~MStyleCreatorBase | ( | ) | [virtual] |
Destructor will unregister this creator from MClassFactory.
QString MStyleCreatorBase::assemblyName | ( | ) | const |
Returns the assembly name in which the style was introduced.
M::AssemblyType MStyleCreatorBase::assemblyType | ( | ) | const |
Returns the type of the assembly in which the style was introduced.
virtual const char* MStyleCreatorBase::attributeType | ( | const char * | attributeName | ) | const [pure virtual] |
Returns type name of the given attribute. Returns NULL if attribute was not found.
Implemented in MStyleCreator< STYLE >.
virtual MStyle* MStyleCreatorBase::create | ( | ) | const [pure virtual] |
Returns new style instance. Ownership is transferred to caller.
Implemented in MStyleCreator< STYLE >.
virtual const QMetaObject* MStyleCreatorBase::metaObject | ( | ) | const [pure virtual] |
Returns meta object of the style.
Implemented in MStyleCreator< STYLE >.
Copyright © 2010 Nokia Corporation | MeeGo Touch |