Public Slots | |
void | requestManufacturerPhone () |
void | getPhoneInfo (QString manufacturerName, QString model, QString serialNumber) |
QString | returnMessagePhone () |
QString | returnMessageModel () |
QString | returnMessageSerialNumber () |
void | getError (int err) |
Signals | |
void | phoneInfoUpdated (QString manufacturer, QString model, QString serialNumber) |
void | errorOccured (int error) |
Public Member Functions | |
PhoneInfoWrapper () | |
Public Attributes | |
QString | textSerialNumber |
QString | textModel |
QString | textManufacturer |
Friends | |
class | PhoneInfoPrivate |
PhoneInfoWrapper class.
Definition at line 52 of file phoneinfowrapper.h.
PhoneInfoWrapper::PhoneInfoWrapper | ( | ) |
Default constructor
Definition at line 46 of file phoneinfowrapper.cpp.
void PhoneInfoWrapper::requestManufacturerPhone | ( | ) | [slot] |
requestManufacturer Requests manufacturer and phone information.
Definition at line 56 of file phoneinfowrapper.cpp.
void PhoneInfoWrapper::getPhoneInfo | ( | QString | manufacturerName, | |
QString | model, | |||
QString | serialNumber | |||
) | [slot] |
The slot is executed when the manufacture and phone information is received
Definition at line 65 of file phoneinfowrapper.cpp.
QString PhoneInfoWrapper::returnMessagePhone | ( | ) | [slot] |
Returns phone manufacturer message
Definition at line 87 of file phoneinfowrapper.cpp.
QString PhoneInfoWrapper::returnMessageModel | ( | ) | [slot] |
Returns phone model message
Definition at line 96 of file phoneinfowrapper.cpp.
QString PhoneInfoWrapper::returnMessageSerialNumber | ( | ) | [slot] |
Returns phone IMEI number message
Definition at line 105 of file phoneinfowrapper.cpp.
void PhoneInfoWrapper::getError | ( | int | err | ) | [slot] |
The slot is executed in case the error occured while retriving the manufacturer and phone info
Definition at line 78 of file phoneinfowrapper.cpp.
void PhoneInfoWrapper::phoneInfoUpdated | ( | QString | manufacturer, | |
QString | model, | |||
QString | serialNumber | |||
) | [signal] |
phoneInfoUpdated Signal to be emitted when manufacturer name is received
manufacturer | string containing manufacturer name. | |
model | string containing phone model. | |
serialNumber | string containing IMEI number of phone. |
void PhoneInfoWrapper::errorOccured | ( | int | error | ) | [signal] |
errorOccured Signal to be emitted when error occures.
error | error code. |