Home · All Classes · Main Classes · Deprecated
Public Member Functions

MStyleCreatorBase Class Reference

Inherited by MStyleCreator< STYLE >.

List of all members.

Public Member Functions

 MStyleCreatorBase (const char *styleClassName, const char *styleAssemblyName, M::AssemblyType styleAssemblyType)
virtual ~MStyleCreatorBase ()
virtual MStylecreate () const =0
QString assemblyName () const
M::AssemblyType assemblyType () const
virtual const char * attributeType (const char *attributeName) const =0
virtual const QMetaObjectmetaObject () const =0

Constructor & Destructor Documentation

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.


Member Function Documentation

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