Home · All Namespaces · All Classes
Public Member Functions | Static Public Member Functions

MainWindow Class Reference

#include <mainwindow.h>

Collaboration diagram for MainWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~MainWindow ()
virtual void keyPressEvent (QKeyEvent *event)
 REIMPLEMENTATION
virtual void closeEvent (QCloseEvent *event)

Static Public Member Functions

static MainWindowinstance (bool create=false)
static QGLContext * glContext ()

Detailed Description

Main window for the Home application. Contains a MHome widget.


Constructor & Destructor Documentation

MainWindow::~MainWindow (  ) 

Destroys the MainWindow.


Member Function Documentation

void MainWindow::closeEvent ( QCloseEvent *  event  )  [virtual]
QGLContext * MainWindow::glContext (  )  [static]

Returns the OpenGL context.

Returns:
the GL context
MainWindow * MainWindow::instance ( bool  create = false  )  [static]

Returns an instance to MainWindow, creating it if requested. The ownership of the created MainWindow is transferred to the caller.

Parameters:
create true if a MainWindow should be created if it doesn't exist, false otherwise
Returns:
an instance to MainWindow or NULL if it has not been created
void MainWindow::keyPressEvent ( QKeyEvent *  event  )  [virtual]

REIMPLEMENTATION


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