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

QThemePluginItem Class Reference
[QtBaseModule]

The QThemePluginItem class manages the interaction between a ThemedItemInterface implementation and a QThemedView. More...

    #include <QThemePluginItem>

Inherits QThemeItem.

This class was introduced in Qtopia 4.4.

Public Functions

Additional Inherited Members


Detailed Description

The QThemePluginItem class manages the interaction between a ThemedItemInterface implementation and a QThemedView.

The QThemePluginItem 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.


Member Function Documentation

QThemePluginItem::QThemePluginItem ( QThemeItem * parent = 0 )

Constructs a QThemePluginItem. parent is passed to the base class constructor.

QThemePluginItem::~QThemePluginItem ()

Destroys the QThemePluginItem.

void QThemePluginItem::setBuiltin ( ThemedItemPlugin * plugin )

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

void QThemePluginItem::setPlugin ( const QString & name )

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


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3