Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QThemeItemFactory Class Reference
[QtBaseModule]

The QThemeItemFactory class creates QThemeItem objects based on the name of the item. More...

    #include <QThemeItemFactory>

This class was introduced in Qtopia 4.4.

Static Public Members


Detailed Description

The QThemeItemFactory class creates QThemeItem objects based on the name of the item.

To create a new type of theme item that can be created via the QThemeItemFactory, implement a theme item that derives from QThemeItem and a plug-in that derives from QThemeItemPlugin.

See also QThemedView.


Member Function Documentation

void QThemeItemFactory::clear ()   [static]

Releases all resources allocated by the plugin manager

QThemeItem * QThemeItemFactory::create ( const QString & type, QThemeItem * parent )   [static]

Creates and returns a theme item of the given type with parent parent.

If the factory cannot create an item, it returns 0.

void QThemeItemFactory::registerBuiltin ( QThemeItemPlugin * plugin )   [static]

Registers a QThemeItemPlugin plugin as a built-in.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3