summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensor/test_sensor.cpp
blob: 3c36b5958a89704c676e80b504286a2dae4fe72d (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_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"