Public Slots | |
void | requestBatteryInfo () |
void | getBatteryInfo (QString str) |
int | returnMessage () |
void | getError (int err) |
Signals | |
void | batteryInfoUpdated (QString battryInfo) |
void | errorOccured (int error) |
Public Member Functions | |
BatteryInfoWrapper () | |
Public Attributes | |
QString | message |
Friends | |
class | BatteryInfoPrivate |
BatteryInfoWrapper class.
Definition at line 52 of file batteryinfowrapper.h.
BatteryInfoWrapper::BatteryInfoWrapper | ( | ) |
Ctor constructs BatteryInfoPrivate
Definition at line 46 of file batteryinfowrapper.cpp.
void BatteryInfoWrapper::requestBatteryInfo | ( | ) | [slot] |
Intialize request for battery info
Definition at line 55 of file batteryinfowrapper.cpp.
void BatteryInfoWrapper::getBatteryInfo | ( | QString | str | ) | [slot] |
Executed in the response to the signal manufacturerUpdated
Definition at line 64 of file batteryinfowrapper.cpp.
int BatteryInfoWrapper::returnMessage | ( | ) | [slot] |
Returns message that is displayed in the UI
Definition at line 81 of file batteryinfowrapper.cpp.
void BatteryInfoWrapper::getError | ( | int | err | ) | [slot] |
The slot is executed when an error occurs
Definition at line 72 of file batteryinfowrapper.cpp.