BatteryInfoWrapper Class Reference

List of all members.

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

Detailed Description

BatteryInfoWrapper class.

Definition at line 52 of file batteryinfowrapper.h.


Constructor & Destructor Documentation

BatteryInfoWrapper::BatteryInfoWrapper (  ) 

Ctor constructs BatteryInfoPrivate

Definition at line 46 of file batteryinfowrapper.cpp.


Member Function Documentation

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.


Generated by  doxygen 1.6.2