| 1 | /*
|
|---|
| 2 | * This file was generated by dbusxml2cpp version 0.6
|
|---|
| 3 | * Command line was: dbusxml2cpp -c CarAdaptor -a car_adaptor_p.h:car_adaptor.cpp car.xml
|
|---|
| 4 | *
|
|---|
| 5 | * dbusxml2cpp is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 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_p.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 CarAdaptor
|
|---|
| 22 | */
|
|---|
| 23 |
|
|---|
| 24 | CarAdaptor::CarAdaptor(QObject *parent)
|
|---|
| 25 | : QDBusAbstractAdaptor(parent)
|
|---|
| 26 | {
|
|---|
| 27 | // constructor
|
|---|
| 28 | setAutoRelaySignals(true);
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | CarAdaptor::~CarAdaptor()
|
|---|
| 32 | {
|
|---|
| 33 | // destructor
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | void CarAdaptor::accelerate()
|
|---|
| 37 | {
|
|---|
| 38 | // handle method call com.trolltech.Examples.CarInterface.accelerate
|
|---|
| 39 | QMetaObject::invokeMethod(parent(), "accelerate");
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | void CarAdaptor::decelerate()
|
|---|
| 43 | {
|
|---|
| 44 | // handle method call com.trolltech.Examples.CarInterface.decelerate
|
|---|
| 45 | QMetaObject::invokeMethod(parent(), "decelerate");
|
|---|
| 46 | }
|
|---|
| 47 |
|
|---|
| 48 | void CarAdaptor::turnLeft()
|
|---|
| 49 | {
|
|---|
| 50 | // handle method call com.trolltech.Examples.CarInterface.turnLeft
|
|---|
| 51 | QMetaObject::invokeMethod(parent(), "turnLeft");
|
|---|
| 52 | }
|
|---|
| 53 |
|
|---|
| 54 | void CarAdaptor::turnRight()
|
|---|
| 55 | {
|
|---|
| 56 | // handle method call com.trolltech.Examples.CarInterface.turnRight
|
|---|
| 57 | QMetaObject::invokeMethod(parent(), "turnRight");
|
|---|
| 58 | }
|
|---|
| 59 |
|
|---|