summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensor/test_sensor2.cpp
blob: e72c62d2884cca6204df220be5c08d8c8073b24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "test_sensor2.h"
#include "test_sensor2_p.h"

IMPLEMENT_READING(TestSensor2Reading)

int TestSensor2Reading::test() const
{
    return d->test;
}

void TestSensor2Reading::setTest(int test)
{
    d->test = test;
}

// =====================================================================

char const * const TestSensor2::sensorType("test sensor 2");

#include "moc_test_sensor2.cpp"