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

QThemeListItem Class Reference
[QtBaseModule]

The QThemeListItem class provides a list item that you can add to a QThemedView. More...

    #include <QThemeListItem>

Inherits QThemeWidgetItem.

This class was introduced in Qtopia 4.4.

Public Functions

Additional Inherited Members


Detailed Description

The QThemeListItem class provides a list item that you can add to a QThemedView.

See also QThemeItem and QThemedView.


Member Function Documentation

QThemeListItem::QThemeListItem ( QThemeItem * parent = 0 )

Constructs a QThemeListItem. The parent is passed to the base class constructor.

QThemeListItem::~QThemeListItem ()

Destroys the ThemeListItem object.

QListView * QThemeListItem::listView () const

Returns the QListView for this item. Equivalent to qobject_cast<QListView*>(widget())

QThemeListModel * QThemeListItem::model () const

Returns the ThemeListModel object associated with this ThemeListItem.

See also setModel().

void QThemeListItem::setModel ( QThemeListModel * model )

Sets model to be the ThemeListModel associated with this ThemeListItem. If this item currently has a QListView widget set, this model is installed immediately on the view using QListView::setModel(). If a call is made to QWidget::setWidget() in the future, this model will be installed in the same way.

See also model().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3