| 1 | /*
|
|---|
| 2 | * This file was generated by dbusxml2cpp version 0.6
|
|---|
| 3 | * Command line was: dbusxml2cpp -c CarInterface -p car_interface_p.h:car_interface.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 | #ifndef CAR_INTERFACE_P_H_1156853585
|
|---|
| 12 | #define CAR_INTERFACE_P_H_1156853585
|
|---|
| 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 com.trolltech.Examples.CarInterface
|
|---|
| 25 | */
|
|---|
| 26 | class CarInterface: public QDBusAbstractInterface
|
|---|
| 27 | {
|
|---|
| 28 | Q_OBJECT
|
|---|
| 29 | public:
|
|---|
| 30 | static inline const char *staticInterfaceName()
|
|---|
| 31 | { return "com.trolltech.Examples.CarInterface"; }
|
|---|
| 32 |
|
|---|
| 33 | public:
|
|---|
| 34 | CarInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
|
|---|
| 35 |
|
|---|
| 36 | ~CarInterface();
|
|---|
| 37 |
|
|---|
| 38 | public Q_SLOTS: // METHODS
|
|---|
| 39 | inline QDBusReply<void> accelerate()
|
|---|
| 40 | {
|
|---|
| 41 | QList<QVariant> argumentList;
|
|---|
| 42 | return callWithArgumentList(QDBus::Block, QLatin1String("accelerate"), argumentList);
|
|---|
| 43 | }
|
|---|
| 44 |
|
|---|
| 45 | inline QDBusReply<void> decelerate()
|
|---|
| 46 | {
|
|---|
| 47 | QList<QVariant> argumentList;
|
|---|
| 48 | return callWithArgumentList(QDBus::Block, QLatin1String("decelerate"), argumentList);
|
|---|
| 49 | }
|
|---|
| 50 |
|
|---|
| 51 | inline QDBusReply<void> turnLeft()
|
|---|
| 52 | {
|
|---|
| 53 | QList<QVariant> argumentList;
|
|---|
| 54 | return callWithArgumentList(QDBus::Block, QLatin1String("turnLeft"), argumentList);
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | inline QDBusReply<void> turnRight()
|
|---|
| 58 | {
|
|---|
| 59 | QList<QVariant> argumentList;
|
|---|
| 60 | return callWithArgumentList(QDBus::Block, QLatin1String("turnRight"), argumentList);
|
|---|
| 61 | }
|
|---|
| 62 |
|
|---|
| 63 | Q_SIGNALS: // SIGNALS
|
|---|
| 64 | void crashed();
|
|---|
| 65 | };
|
|---|
| 66 |
|
|---|
| 67 | namespace com {
|
|---|
| 68 | namespace trolltech {
|
|---|
| 69 | namespace Examples {
|
|---|
| 70 | typedef ::CarInterface CarInterface;
|
|---|
| 71 | }
|
|---|
| 72 | }
|
|---|
| 73 | }
|
|---|
| 74 | #endif
|
|---|