Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QThemeItemPlugin class is a simple plugin interface that makes it easy to create custom theme items that can be loaded dynamically using the QThemeItemFactory class. More...
#include <QThemeItemPlugin>
Inherits QObject.
This class was introduced in Qtopia 4.4.
The QThemeItemPlugin class is a simple plugin interface that makes it easy to create custom theme items that can be loaded dynamically using the QThemeItemFactory class.
Writing a theme item plugin is achieved by subclassing this base class, reimplementing the pure virtual keys() and create() functions, and exporting the class using the QTOPIA_EXPORT_PLUGIN() macro.
See also QThemeItem and QThemeItemFactory.
Creates and returns a QThemeItem object for the given type with parent parent. If a plugin cannot create a item, it should return 0 instead.
Returns the list of theme items this plugin supports. These keys are usually the class names of the custom items that are implemented in the plugin.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |