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

MPopupListView Class Reference

View class for standard MPopupList. More...

Inheritance diagram for MPopupListView:
Inheritance graph
[legend]
Collaboration diagram for MPopupListView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MPopupListView (MPopupList *controller)
virtual ~MPopupListView ()

Protected Slots

virtual void scrollTo (const QModelIndex &index) const

Detailed Description

View class for standard MPopupList.

MPopupListView is used to visualize popupList.

Definition at line 43 of file views/mpopuplistview.h.


Constructor & Destructor Documentation

MPopupListView::MPopupListView ( MPopupList controller  ) 

Constructor.

Parameters:
controller Pointer to the button's controller

Definition at line 151 of file mpopuplistview.cpp.

    : MDialogView(* new MPopupListViewPrivate, controller)
{
    Q_D(MPopupListView);
    d->controller = controller;

    d->init();
}

MPopupListView::~MPopupListView (  )  [virtual]

Destructor.

Definition at line 169 of file mpopuplistview.cpp.

{
}


Member Function Documentation

void MPopupListView::scrollTo ( const QModelIndex index  )  const [protected, virtual, slot]

Scrolls the view if necessary to ensure that the item at index is visible.

Definition at line 208 of file mpopuplistview.cpp.

{
    const_cast<MPopupListModel*>(model())->setScrollToIndex(index);
}

Here is the call graph for this function:


Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:26 (PDT)
Doxygen 1.7.1
MeeGo Touch