24#ifndef DEFAULTDEVICEINFO_H
25#define DEFAULTDEVICEINFO_H
32#ifdef HAS_SYSTEMSETTINGS
33 #include <deviceinfo.h>
35 #include <QDeviceInfo>
116 QStringList iProperties;
117 QString iDeviceInfoFile;
119 QString iManufacturer;
127 QString getManufacturer();
129 QString getSwVersion();
130 QString getHwVersion();
131 QString getFwVersion();
132 QString getDeviceIMEI();
133 QString getDeviceType();
135#if defined(HAS_SYSTEMSETTINGS)
138 QDeviceInfo deviceInfo;
141#ifdef SYNC_APP_UNITTESTS
142 friend class DeviceInfoTest;
Default Implementation of DeviceInfo class.
Definition DeviceInfo.h:44
QMap< QString, QString > getDeviceInformation()
Retrieves Device Information as Map.
QString DeviceXmlFile()
get the file name from where the device information is read from
void saveDevInfoToFile(QMap< QString, QString > &aDevInfo, QString &aFileName)
Saves Device Information to the filename.
bool setDeviceXmlFile(QString &fileName)
set the file path to read device information from
void setSourceToRead(Source &)
set properties to read from the devicse
Source getSourceToRead()
get method for source
virtual ~DeviceInfo()
Destructor.
Source
getDeviceInformation call checks this enum
Definition DeviceInfo.h:49
@ ReadFromXml
read from xml
Definition DeviceInfo.h:54
@ ReadFromSystem
read from system
Definition DeviceInfo.h:51