ssu
Loading...
Searching...
No Matches
declarativessudeviceinfo.h
1
7
8#ifndef _DECLARATIVESSUDEVICEINFO_H
9#define _DECLARATIVESSUDEVICEINFO_H
10
12
13class DeclarativeSsuDeviceInfo : public QObject
14{
15 Q_OBJECT
16 Q_ENUMS(DisplayType)
17public:
26
28
34 Q_INVOKABLE QString deviceFamily();
35
41 Q_INVOKABLE QString deviceVariant(bool fallback = false);
42
46 Q_INVOKABLE QString deviceModel();
47
58 Q_INVOKABLE QString displayName(int type);
59
60private:
61 SsuDeviceInfo info;
62};
63
64#endif
65
66
Q_INVOKABLE QString displayName(int type)
Q_INVOKABLE QString deviceVariant(bool fallback=false)
@ DeviceModel
Marketed device name, like Pogoblaster 3000. Board mappings key "prettyModel".
@ DeviceDesignation
Type designation, like NCC-1701. Beard mappings key "deviceDesignation".
@ DeviceManufacturer
Manufacturer, like ACME Corp. Board mappings key "deviceManufacturer".
@ DeviceModel
Marketed device name, like Pogoblaster 3000. Board mappings key "prettyModel".
Definition ssu.h:84
@ DeviceDesignation
Type designation, like NCC-1701. Beard mappings key "deviceDesignation".
Definition ssu.h:85
@ DeviceManufacturer
Manufacturer, like ACME Corp. Board mappings key "deviceManufacturer".
Definition ssu.h:83