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

ShutdownUI Class Reference

#include <shutdownui.h>

List of all members.

Public Member Functions

 ShutdownUI ()
virtual ~ShutdownUI ()
void showWindow (const QString &text1, const QString &text2, int timeout)

Protected Member Functions

void showEvent (QShowEvent *event)
 REIMPLEMENTATION

Detailed Description

A full screen window that is shown when the device is shutting down. The window shows two lines of text if defined and then a logo after the defined time period. After the second time period the touch screen is turned off.


Constructor & Destructor Documentation

ShutdownUI::ShutdownUI (  ) 

Creates a shutdown window.

ShutdownUI::~ShutdownUI (  )  [virtual]

Destroys the shutdown window.


Member Function Documentation

void ShutdownUI::showEvent ( QShowEvent *  event  )  [protected]

REIMPLEMENTATION

void ShutdownUI::showWindow ( const QString &  text1,
const QString &  text2,
int  timeout 
)

Shows the shutdown window. If text1 and text2 are given, these texts are shown for the specified amount of time. After the texts have been visible for the given period of time (or immediately if there are no texts to be shown), a logo image is shown.

Parameters:
text1 The text of the primary message line
text2 The text of the secondary message line
timeout the number of milliseconds to show the texts for

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

Copyright © 2011 Nokia Corporation Generated on Tue Aug 30 2011 16:38:13
Doxygen 1.7.1
MeeGo Touch