summaryrefslogtreecommitdiffstats
path: root/qt-ui/devicedetails.cpp
blob: 7d6212f18eeaee8d88f87a252d8f2b3ceface982 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#include "devicedetails.h"

DeviceDetails::DeviceDetails(QObject *parent) :
	QObject(parent)
{

}
device_data_t *DeviceDetails::data() const
{
	return m_data;
}

void DeviceDetails::setData(device_data_t *data)
{
	m_data = data;
}
QString DeviceDetails::serialNo() const
{
	return m_serialNo;
}

void DeviceDetails::setSerialNo(const QString &serialNo)
{
	m_serialNo = serialNo;
}
QString DeviceDetails::firmwareVersion() const
{
	return m_firmwareVersion;
}

void DeviceDetails::setFirmwareVersion(const QString &firmwareVersion)
{
	m_firmwareVersion = firmwareVersion;
}
QString DeviceDetails::customText() const
{
	return m_customText;
}

void DeviceDetails::setCustomText(const QString &customText)
{
	m_customText = customText;
}
int DeviceDetails::brightness() const
{
	return m_brightness;
}

void DeviceDetails::setBrightness(int brightness)
{
	m_brightness = brightness;
}
int DeviceDetails::diveModeColor() const
{
	return m_diveModeColor;
}

void DeviceDetails::setDiveModeColor(int diveModeColor)
{
	m_diveModeColor = diveModeColor;
}
int DeviceDetails::language() const
{
	return m_language;
}

void DeviceDetails::setLanguage(int language)
{
	m_language = language;
}
int DeviceDetails::dateFormat() const
{
	return m_dateFormat;
}

void DeviceDetails::setDateFormat(int dateFormat)
{
	m_dateFormat = dateFormat;
}
int DeviceDetails::lastDeco() const
{
	return m_lastDeco;
}

void DeviceDetails::setLastDeco(int lastDeco)
{
	m_lastDeco = lastDeco;
}
bool DeviceDetails::syncTime() const
{
	return m_syncTime;
}

void DeviceDetails::setSyncTime(bool syncTime)
{
	m_syncTime = syncTime;
}