1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -m -a car_adaptor -i qobject.h /home/lucius/Code/qtbase/examples/dbus/remotecontrolledcar/car/car.xml
4 *
5 * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#include "car_adaptor.h"
12#include <QtCore/QMetaObject>
13#include <QtCore/QByteArray>
14#include <QtCore/QList>
15#include <QtCore/QMap>
16#include <QtCore/QString>
17#include <QtCore/QStringList>
18#include <QtCore/QVariant>
19
20/*
21 * Implementation of adaptor class CarInterfaceAdaptor
22 */
23
24CarInterfaceAdaptor::CarInterfaceAdaptor(QObject *parent)
25 : QDBusAbstractAdaptor(parent)
26{
27 // constructor
28 setAutoRelaySignals(true);
29}
30
31CarInterfaceAdaptor::~CarInterfaceAdaptor()
32{
33 // destructor
34}
35
36void CarInterfaceAdaptor::accelerate()
37{
38 // handle method call org.example.Examples.CarInterface.accelerate
39 QMetaObject::invokeMethod(parent(), "accelerate");
40}
41
42void CarInterfaceAdaptor::decelerate()
43{
44 // handle method call org.example.Examples.CarInterface.decelerate
45 QMetaObject::invokeMethod(parent(), "decelerate");
46}
47
48void CarInterfaceAdaptor::turnLeft()
49{
50 // handle method call org.example.Examples.CarInterface.turnLeft
51 QMetaObject::invokeMethod(parent(), "turnLeft");
52}
53
54void CarInterfaceAdaptor::turnRight()
55{
56 // handle method call org.example.Examples.CarInterface.turnRight
57 QMetaObject::invokeMethod(parent(), "turnRight");
58}
59
60
61#include "car_adaptor.moc"
62