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 | * This file may have been hand-edited. Look for HAND-EDIT comments |
9 | * before re-generating it. |
10 | */ |
11 | |
12 | #ifndef CAR_ADAPTOR_H |
13 | #define CAR_ADAPTOR_H |
14 | |
15 | #include <QtCore/QObject> |
16 | #include <QtDBus/QtDBus> |
17 | #include "qobject.h" |
18 | #include <QtCore/qcontainerfwd.h> |
19 | |
20 | /* |
21 | * Adaptor class for interface org.example.Examples.CarInterface |
22 | */ |
23 | class CarInterfaceAdaptor: public QDBusAbstractAdaptor |
24 | { |
25 | Q_OBJECT |
26 | Q_CLASSINFO("D-Bus Interface" , "org.example.Examples.CarInterface" ) |
27 | Q_CLASSINFO("D-Bus Introspection" , "" |
28 | " <interface name=\"org.example.Examples.CarInterface\">\n" |
29 | " <method name=\"accelerate\"/>\n" |
30 | " <method name=\"decelerate\"/>\n" |
31 | " <method name=\"turnLeft\"/>\n" |
32 | " <method name=\"turnRight\"/>\n" |
33 | " <signal name=\"crashed\"/>\n" |
34 | " </interface>\n" |
35 | "" ) |
36 | public: |
37 | CarInterfaceAdaptor(QObject *parent); |
38 | virtual ~CarInterfaceAdaptor(); |
39 | |
40 | public: // PROPERTIES |
41 | public Q_SLOTS: // METHODS |
42 | void accelerate(); |
43 | void decelerate(); |
44 | void turnLeft(); |
45 | void turnRight(); |
46 | Q_SIGNALS: // SIGNALS |
47 | void crashed(); |
48 | }; |
49 | |
50 | #endif |
51 | |