Home · All Classes · Main Classes · Deprecated
Public Slots | Public Member Functions | Protected Slots

MListView Class Reference

Inherits MWidgetView.

List of all members.

Public Slots

void relayoutItemsInViewportRect ()

Public Member Functions

 MListView (MWidgetController *controller)
virtual ~MListView ()

Protected Slots

void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
void rowsInserted (const QModelIndex &parent, int start, int end, bool animated=false)
void rowsRemoved (const QModelIndex &parent, int start, int end, bool animated=false)
void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
void itemClick ()
void layoutChanged ()
void modelReset ()
void rowsMoved (const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)

Constructor & Destructor Documentation

MListView::MListView ( MWidgetController controller  ) 
MListView::~MListView (  )  [virtual]

Member Function Documentation

void MListView::dataChanged ( const QModelIndex topLeft,
const QModelIndex bottomRight 
) [protected, slot]
void MListView::itemClick (  )  [protected, slot]
void MListView::layoutChanged (  )  [protected, slot]
void MListView::modelReset (  )  [protected, slot]
void MListView::relayoutItemsInViewportRect (  )  [slot]
void MListView::rowsInserted ( const QModelIndex parent,
int  start,
int  end,
bool  animated = false 
) [protected, slot]

This slot is called when items are inserted under the given parent. The changed items are those from start to end inclusive.

See also:
QAbstractItemView::rowsInserted(), exposedRectUpdated()
void MListView::rowsMoved ( const QModelIndex sourceParent,
int  sourceStart,
int  sourceEnd,
const QModelIndex destinationParent,
int  destinationRow 
) [protected, slot]
void MListView::rowsRemoved ( const QModelIndex parent,
int  start,
int  end,
bool  animated = false 
) [protected, slot]

This slot is called when items under the given parent are removed. The removed items are those from start to end inclusive.

See also:
rowsInserted(), exposedRectUpdated()
void MListView::selectionChanged ( const QItemSelection selected,
const QItemSelection deselected 
) [protected, slot]

Copyright © 2010 Nokia Corporation
MeeGo Touch