| 1 | /* |
|---|---|
| 2 | * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | * Command line was: qdbusxml2cpp -m -p car_interface /home/lucius/Code/qtbase/examples/dbus/remotecontrolledcar/controller/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 | #ifndef CAR_INTERFACE_H |
| 12 | #define CAR_INTERFACE_H |
| 13 | |
| 14 | #include <QtCore/QObject> |
| 15 | #include <QtCore/QByteArray> |
| 16 | #include <QtCore/QList> |
| 17 | #include <QtCore/QMap> |
| 18 | #include <QtCore/QString> |
| 19 | #include <QtCore/QStringList> |
| 20 | #include <QtCore/QVariant> |
| 21 | #include <QtDBus/QtDBus> |
| 22 | |
| 23 | /* |
| 24 | * Proxy class for interface org.example.Examples.CarInterface |
| 25 | */ |
| 26 | class OrgExampleExamplesCarInterfaceInterface: public QDBusAbstractInterface |
| 27 | { |
| 28 | Q_OBJECT |
| 29 | public: |
| 30 | static inline const char *staticInterfaceName() |
| 31 | { return "org.example.Examples.CarInterface"; } |
| 32 | |
| 33 | public: |
| 34 | OrgExampleExamplesCarInterfaceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 35 | |
| 36 | ~OrgExampleExamplesCarInterfaceInterface(); |
| 37 | |
| 38 | public Q_SLOTS: // METHODS |
| 39 | inline QDBusPendingReply<> accelerate() |
| 40 | { |
| 41 | QList<QVariant> argumentList; |
| 42 | return asyncCallWithArgumentList(QStringLiteral("accelerate"), argumentList); |
| 43 | } |
| 44 | |
| 45 | inline QDBusPendingReply<> decelerate() |
| 46 | { |
| 47 | QList<QVariant> argumentList; |
| 48 | return asyncCallWithArgumentList(QStringLiteral("decelerate"), argumentList); |
| 49 | } |
| 50 | |
| 51 | inline QDBusPendingReply<> turnLeft() |
| 52 | { |
| 53 | QList<QVariant> argumentList; |
| 54 | return asyncCallWithArgumentList(QStringLiteral("turnLeft"), argumentList); |
| 55 | } |
| 56 | |
| 57 | inline QDBusPendingReply<> turnRight() |
| 58 | { |
| 59 | QList<QVariant> argumentList; |
| 60 | return asyncCallWithArgumentList(QStringLiteral("turnRight"), argumentList); |
| 61 | } |
| 62 | |
| 63 | Q_SIGNALS: // SIGNALS |
| 64 | void crashed(); |
| 65 | }; |
| 66 | |
| 67 | namespace org { |
| 68 | namespace example { |
| 69 | namespace Examples { |
| 70 | typedef ::OrgExampleExamplesCarInterfaceInterface CarInterface; |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | #endif |
| 75 |