|
1 /**************************************************************************** |
|
2 ** |
|
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ** All rights reserved. |
|
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 ** |
|
7 ** This file is part of the examples of the Qt Toolkit. |
|
8 ** |
|
9 ** $QT_BEGIN_LICENSE:LGPL$ |
|
10 ** No Commercial Usage |
|
11 ** This file contains pre-release code and may not be distributed. |
|
12 ** You may use this file in accordance with the terms and conditions |
|
13 ** contained in the Technology Preview License Agreement accompanying |
|
14 ** this package. |
|
15 ** |
|
16 ** GNU Lesser General Public License Usage |
|
17 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
18 ** General Public License version 2.1 as published by the Free Software |
|
19 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
20 ** packaging of this file. Please review the following information to |
|
21 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
23 ** |
|
24 ** In addition, as a special exception, Nokia gives you certain additional |
|
25 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
27 ** |
|
28 ** If you have questions regarding the use of this file, please contact |
|
29 ** Nokia at qt-info@nokia.com. |
|
30 ** |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** $QT_END_LICENSE$ |
|
39 ** |
|
40 ** |
|
41 ** This file was generated by dbusxml2cpp version 0.6 |
|
42 ** Command line was: dbusxml2cpp -c CarInterface -p car_interface_p.h:car_interface.cpp car.xml |
|
43 ** |
|
44 ** dbusxml2cpp is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
45 ** |
|
46 ** This is an auto-generated file. |
|
47 ** Do not edit! All changes made to it will be lost. |
|
48 ** |
|
49 ****************************************************************************/ |
|
50 |
|
51 #ifndef CAR_INTERFACE_P_H_1156853585 |
|
52 #define CAR_INTERFACE_P_H_1156853585 |
|
53 |
|
54 #include <QtCore/QObject> |
|
55 #include <QtCore/QByteArray> |
|
56 #include <QtCore/QList> |
|
57 #include <QtCore/QMap> |
|
58 #include <QtCore/QString> |
|
59 #include <QtCore/QStringList> |
|
60 #include <QtCore/QVariant> |
|
61 #include <QtDBus/QtDBus> |
|
62 |
|
63 /* |
|
64 * Proxy class for interface com.trolltech.Examples.CarInterface |
|
65 */ |
|
66 class CarInterface: public QDBusAbstractInterface |
|
67 { |
|
68 Q_OBJECT |
|
69 public: |
|
70 static inline const char *staticInterfaceName() |
|
71 { return "com.trolltech.Examples.CarInterface"; } |
|
72 |
|
73 public: |
|
74 CarInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); |
|
75 |
|
76 ~CarInterface(); |
|
77 |
|
78 public Q_SLOTS: // METHODS |
|
79 inline QDBusReply<void> accelerate() |
|
80 { |
|
81 QList<QVariant> argumentList; |
|
82 return callWithArgumentList(QDBus::Block, QLatin1String("accelerate"), argumentList); |
|
83 } |
|
84 |
|
85 inline QDBusReply<void> decelerate() |
|
86 { |
|
87 QList<QVariant> argumentList; |
|
88 return callWithArgumentList(QDBus::Block, QLatin1String("decelerate"), argumentList); |
|
89 } |
|
90 |
|
91 inline QDBusReply<void> turnLeft() |
|
92 { |
|
93 QList<QVariant> argumentList; |
|
94 return callWithArgumentList(QDBus::Block, QLatin1String("turnLeft"), argumentList); |
|
95 } |
|
96 |
|
97 inline QDBusReply<void> turnRight() |
|
98 { |
|
99 QList<QVariant> argumentList; |
|
100 return callWithArgumentList(QDBus::Block, QLatin1String("turnRight"), argumentList); |
|
101 } |
|
102 |
|
103 Q_SIGNALS: // SIGNALS |
|
104 void crashed(); |
|
105 }; |
|
106 |
|
107 namespace com { |
|
108 namespace trolltech { |
|
109 namespace Examples { |
|
110 typedef ::CarInterface CarInterface; |
|
111 } |
|
112 } |
|
113 } |
|
114 #endif |