Home · All Namespaces · All Classes
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

LauncherPageView Class Reference

#include <launcherpageview.h>

List of all members.

Public Member Functions

 LauncherPageView (LauncherPage *controller)
virtual ~LauncherPageView ()

Protected Slots

virtual void updateData (const QList< const char * > &modifications)
 REIMPLEMENTATION

Protected Member Functions

virtual void setupModel ()
 
void updateLayoutFromModel ()
 
void removeButtonFromLayout (LauncherButton *button)

Protected Attributes

MLayout * layout
 A layout for the buttons.
MFlowLayoutPolicy * policy
 A flow layout policy for the widgets.

Constructor & Destructor Documentation

LauncherPageView::LauncherPageView ( LauncherPage controller  ) 

Constructs an LauncherPageView.

Parameters:
container the LauncherPage controller to be used
LauncherPageView::~LauncherPageView (  )  [virtual]

Destroys the LauncherPageView.


Member Function Documentation

void LauncherPageView::removeButtonFromLayout ( LauncherButton button  )  [protected]

Removes a button from layout and sets its parent to null.

View or layout are not responsible for deleting the button after this.

Parameters:
button Button to be removed.
void LauncherPageView::setupModel (  )  [protected, virtual]

REIMPLEMENTATION

void LauncherPageView::updateData ( const QList< const char * > &  modifications  )  [protected, virtual, slot]

REIMPLEMENTATION

void LauncherPageView::updateLayoutFromModel (  )  [protected]

Updates layout from models button list.

Adds new buttons and removes non-exitent.


Member Data Documentation

MLayout* LauncherPageView::layout [protected]

A layout for the buttons.

MFlowLayoutPolicy* LauncherPageView::policy [protected]

A flow layout policy for the widgets.


The documentation for this class was generated from the following files:

Copyright © 2011 Nokia Corporation Generated on Thu Jul 7 2011 22:14:50
Doxygen 1.7.1
MeeGo Touch