![]() |
Home · All Namespaces · All Classes |
#include <batterybusinesslogic.h>
Public Types | |
enum | NotificationID { NotificationCharging, NotificationChargingComplete, NotificationRemoveCharger, NotificationChargingNotStarted, NotificationRechargeBattery, NotificationEnteringPSM, NotificationExitingPSM, NotificationLowBattery, NotificationNoEnoughPower } |
Public Slots | |
void | initBattery () |
void | lowBatteryAlert () |
void | setTouchScreenLockActive (bool active) |
Signals | |
void | notificationSent (QString eventType, QString text, QString icon) |
Public Member Functions | |
BatteryBusinessLogic (QObject *parent=0) | |
virtual | ~BatteryBusinessLogic () |
Implements the configuration and state for the battery, the power save mode.
BatteryBusinessLogic::BatteryBusinessLogic | ( | QObject * | parent = 0 |
) |
BatteryBusinessLogic::~BatteryBusinessLogic | ( | ) | [virtual] |
void BatteryBusinessLogic::initBattery | ( | ) | [slot] |
void BatteryBusinessLogic::lowBatteryAlert | ( | ) | [slot] |
This slot is called by the low battery notifier to send the notifications.
void BatteryBusinessLogic::notificationSent | ( | QString | eventType, | |
QString | text, | |||
QString | icon | |||
) | [signal] |
void BatteryBusinessLogic::setTouchScreenLockActive | ( | bool | active | ) | [slot] |
Sets the touch screen lock active state so notifications can be enabled/disabled based on that.
active | true if the touch screen lock is active, false otherwise |
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |