qt5
Last change
on this file since 6831c6a was
6831c6a,
checked in by hanzes <hanzes@…>, 13 years ago
|
Alarm dbus connection added
|
-
Property mode set to
100644
|
File size:
1001 bytes
|
Line | |
---|
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) 2008 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 "alarmdbusadaptorp.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 | AlarmDBusAdaptor::AlarmDBusAdaptor(QObject *parent) |
---|
25 | : QDBusAbstractAdaptor(parent) |
---|
26 | { |
---|
27 | // constructor |
---|
28 | setAutoRelaySignals(true); |
---|
29 | } |
---|
30 | |
---|
31 | AlarmDBusAdaptor::~AlarmDBusAdaptor() |
---|
32 | { |
---|
33 | // destructor |
---|
34 | } |
---|
35 | |
---|
36 | void AlarmDBusAdaptor::Alarm(int aEventId) |
---|
37 | { |
---|
38 | // handle method call com.trolltech.Examples.CarInterface.accelerate |
---|
39 | QMetaObject::invokeMethod(parent(), "Alarm",Q_ARG(int, aEventId)); |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.