car_adaptor.h Example File

remotecontrolledcar/car/car_adaptor.h
 /*
  * This file was generated by qdbusxml2cpp version 0.8
  * Command line was: qdbusxml2cpp -a car_adaptor.h: car.xml
  *
  * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
  *
  * This is an auto-generated file.
  * This file may have been hand-edited. Look for HAND-EDIT comments
  * before re-generating it.
  */

 #ifndef CAR_ADAPTOR_H
 #define CAR_ADAPTOR_H

 #include <QtCore/QObject>
 #include <QtDBus/QtDBus>
 class QByteArray;
 template<class T> class QList;
 template<class Key, class Value> class QMap;
 class QString;
 class QStringList;
 class QVariant;

 /*
  * Adaptor class for interface org.example.Examples.CarInterface
  */
 class CarInterfaceAdaptor: public QDBusAbstractAdaptor
 {
     Q_OBJECT
     Q_CLASSINFO("D-Bus Interface", "org.example.Examples.CarInterface")
     Q_CLASSINFO("D-Bus Introspection", ""
 "  <interface name=\"org.example.Examples.CarInterface\">\n"
 "    <method name=\"accelerate\"/>\n"
 "    <method name=\"decelerate\"/>\n"
 "    <method name=\"turnLeft\"/>\n"
 "    <method name=\"turnRight\"/>\n"
 "    <signal name=\"crashed\"/>\n"
 "  </interface>\n"
         "")
 public:
     CarInterfaceAdaptor(QObject *parent);
     virtual ~CarInterfaceAdaptor();

 public: // PROPERTIES
 public Q_SLOTS: // METHODS
     void accelerate();
     void decelerate();
     void turnLeft();
     void turnRight();
 Q_SIGNALS: // SIGNALS
     void crashed();
 };

 #endif