source: trunk/examples/dbus/remotecontrolledcar/controller/car_interface_p.h@ 531

Last change on this file since 531 was 2, checked in by Dmitry A. Kuminov, 17 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 1.9 KB
Line 
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 */
26class CarInterface: public QDBusAbstractInterface
27{
28 Q_OBJECT
29public:
30 static inline const char *staticInterfaceName()
31 { return "com.trolltech.Examples.CarInterface"; }
32
33public:
34 CarInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
35
36 ~CarInterface();
37
38public 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
63Q_SIGNALS: // SIGNALS
64 void crashed();
65};
66
67namespace com {
68 namespace trolltech {
69 namespace Examples {
70 typedef ::CarInterface CarInterface;
71 }
72 }
73}
74#endif
Note: See TracBrowser for help on using the repository browser.