Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

PhonePowerManager Class Reference
[QtEssentialsModule]

The PhonePowerManager class implements phone specific power management functionality in Qtopia. More...

    #include <PhonePowerManager>

Inherits QtopiaPowerManager.

Public Functions

Additional Inherited Members


Detailed Description

The PhonePowerManager class implements phone specific power management functionality in Qtopia.

This manager uses three levels for power management. The first level dims the background light, the second level turns the light off and the last level suspends the device.

The PhonePowerManager class provides the PhonePowerManager task. It is part of the Qt Extended server and cannot be used by other Qt Extended applications.

See also QtopiaPowerManager.


Member Function Documentation

PhonePowerManager::PhonePowerManager ()

Constructs a new PhonePowerManager instance.

PhonePowerManager::~PhonePowerManager ()   [virtual]

Destroys the PhonePowerManager instance

bool PhonePowerManager::save ( int level )   [virtual]

This function activates the appropriate actions for the given power management level.

Reimplemented from QWSScreenSaver.

void PhonePowerManager::setIntervals ( int * ivals, int size )   [virtual]

This function sets the power management internal timeouts to the values passed in ivals. size determines the number of entries in ivals.

The phone power manager maps the timeouts to the following actions:

Reimplemented from QtopiaPowerManager.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3