Home · All Namespaces · All Classes
Public Member Functions

Home Class Reference

#include <home.h>

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

List of all members.

Public Member Functions

 Home (QGraphicsItem *parent=NULL)
virtual ~Home ()
virtual QRectF boundingRect () const
 REIMPLEMENTATION

Detailed Description

The main widget of the Home application. Acts as container for the desktop and the notification area.

Definition at line 32 of file home.h.


Constructor & Destructor Documentation

Home::Home ( QGraphicsItem *  parent = NULL  ) 

Constructs a Home widget.

Parameters:
parent the parent widget of the Home, defaults to NULL

Definition at line 29 of file home.cpp.

                                :
    MSceneWindow(parent),
    statusBar(new MStatusBar),
    desktop(new Desktop)
{
    setObjectName("Home");

    // Show the status bar
    statusBar->appear();

    // Use the desktop as the central widget
    QGraphicsLinearLayout *layout = new QGraphicsLinearLayout(Qt::Vertical);
    layout->setContentsMargins(0, 0, 0, 0);
    layout->addItem(desktop);
    setLayout(layout);
}

Home::~Home (  )  [virtual]

Destroys the Home.

Definition at line 46 of file home.cpp.

{
}


Member Function Documentation

QRectF Home::boundingRect (  )  const [virtual]

REIMPLEMENTATION

Definition at line 50 of file home.cpp.

{
    return desktop->boundingRect();
}


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

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:20:42
Doxygen 1.7.1
MeeGo Touch