summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensor/test_sensor.cpp
blob: 30e390f6e15420f85f7e794bbec736d25d5f645b (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 WITH Qt-GPL-exception-1.0

#include "test_sensor.h"
#include "test_sensor_p.h"

IMPLEMENT_READING(TestSensorReading)

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

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

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

const char *TestSensor::sensorType("test sensor");

#include "moc_test_sensor.cpp"