Qt 5.6 | Qt D-Bus | D-Bus Remote Controlled Car Example | car.xml Example File

Qt 5.6.3 Reference Documentation

# car.xml Example File

remotecontrolledcar/car/car.xml

      <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
              "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
      <node name="/com/trollech/examples/car">
              <interface name="org.example.Examples.CarInterface">
                      <method name="accelerate"/>
                      <method name="decelerate"/>
                      <method name="turnLeft"/>
                      <method name="turnRight"/>
                      <signal name="crashed"/>
              </interface>
      </node>