Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QtopiaPowerManagerService class provides the QtopiaPowerManager service. More...
#include <QtopiaPowerManagerService>
Inherits QtopiaAbstractService.
The QtopiaPowerManagerService class provides the QtopiaPowerManager service.
The QtopiaPowerManager service enables applications to control the behavior of the Qt Extended power manager. Normally an application will use QtopiaApplication::setPowerConstraint() for this, but finer control is available for settings applications.
Activate power management if on is true; otherwise deactivate power management.
This slot corresponds to the QCop service message QtopiaPowerManager::setActive(bool).
Set the backlight level to brightness, between 0 and 255.
This slot corresponds to the QCop service message QtopiaPowerManager::setBacklight(int,int).
Once the brightnes has been updated, the brightnessChanged(int) message will be sent to the Qtopia/PowerStatus channel.
If brightness is -3, then the backlight will be forced on. If brightness is -2, then the backlight will be toggled from its current state. If brightness is -1, then the backlight will be set to its default state.
Apply the power management constraint constraint for the application app. The constraint value is one of the values from QtopiaApplication::PowerConstraint.
Normally client applications will use QtopiaApplication::setPowerConstraint().
This slot corresponds to the QCop service message QtopiaPowerManagerService::setConstraint(int,QString).
See also QtopiaApplication::setPowerConstraint().
Set the power manager intervals to their default values.
This slot corresponds to the QCop service message QtopiaPowerManager::setDefaultIntervals().
Set the power manager intervals to dim, lightOff, and suspend, for the three levels of power saving. The values are in seconds.
This slot corresponds to the QCop service message QtopiaPowerManager::setIntervals(int,int,int).
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |