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

ThemePluginItem Class Reference
[QtBaseModule]

The ThemePluginItem class manages the interaction between a ThemedItemInterface implementation and a ThemedView. More...

    #include <ThemePluginItem>

Inherits ThemeItem.

Public Functions

Additional Inherited Members


Detailed Description

The ThemePluginItem class manages the interaction between a ThemedItemInterface implementation and a ThemedView.

The ThemePluginItem class implements the plugin element from the theme XML.

You can explicitly assign a new plug-in interface using the setPlugin() or setBuiltin() functions.

Normally you do not want to call this item's functions directly, but rather specify the relevant attributes and data for this item in the themed view XML.

See also plugin element.


Member Function Documentation

ThemePluginItem::ThemePluginItem ( ThemeItem * parent, ThemedView * view, const ThemeAttributes & atts )

Constructs a ThemePluginItem. parent, view and atts are passed to the base class constructor.

ThemePluginItem::~ThemePluginItem ()

Destroys the ThemePluginItem.

void ThemePluginItem::setBuiltin ( ThemedItemPlugin * plugin )

Sets the plug-in for the item to be the already constructed plug-in pointed to by plugin.

void ThemePluginItem::setPlugin ( const QString & name )

Loads a new plug-in using QPluginManager based on name.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3