6 #include <QtBluetooth/QBluetoothDeviceInfo> 20 void setDevice(
const QBluetoothDeviceInfo &device);
32 QBluetoothDeviceInfo deviceInfo;
35 #endif // DEVICEINFO_H void setDevice(const QBluetoothDeviceInfo &device)
DeviceInfo::setDevice Sets just found device as class variable to be able to get its address and name...
Definition: deviceinfo.cpp:39
void deviceChanged()
deviceChanged
QString getAddress() const
DeviceInfo::getAddress Manages deviceName property and provides device address to UI...
Definition: deviceinfo.cpp:17
QString getName() const
DeviceInfo::getName Manges deviceName property and provides device name to UI.
Definition: deviceinfo.cpp:26
QBluetoothDeviceInfo getDevice() const
DeviceInfo::getDevice Getter of private variable.
Definition: deviceinfo.cpp:49
DeviceInfo(const QBluetoothDeviceInfo &info)
DeviceInfo::DeviceInfo Class constructor.
Definition: deviceinfo.cpp:9
The DeviceInfo class Provides information about discovered slave device.
Definition: deviceinfo.h:11