qt5
Last change
on this file since 2104023 was
17cb895,
checked in by hanzes <hanzes@…>, 13 years ago
|
Alarm modifications
|
-
Property mode set to
100644
|
File size:
844 bytes
|
Line | |
---|
1 | #ifndef ALARM_DBUS_ADAPTOR_P_H |
---|
2 | #define ALARM_DBUS_ADAPTOR_P_H |
---|
3 | |
---|
4 | #include <QtCore/QObject> |
---|
5 | #include <QtDBus/QtDBus> |
---|
6 | |
---|
7 | QT_BEGIN_NAMESPACE |
---|
8 | class QByteArray; |
---|
9 | template<class T> class QList; |
---|
10 | template<class Key, class Value> class QMap; |
---|
11 | class QString; |
---|
12 | class QStringList; |
---|
13 | class QVariant; |
---|
14 | QT_END_NAMESPACE |
---|
15 | |
---|
16 | |
---|
17 | class AlarmDBusAdaptor: public QDBusAbstractAdaptor |
---|
18 | { |
---|
19 | Q_OBJECT |
---|
20 | Q_CLASSINFO("D-Bus Interface", "org.fosdem.schedule.AlarmInterface") |
---|
21 | Q_CLASSINFO("D-Bus Introspection", "" |
---|
22 | " <interface name=\"org.fosdem.schedule.AlarmInterface\" >\n" |
---|
23 | " <method name=\"Alarm\">\n" |
---|
24 | " <arg name=\"aEventId\" type=\"i\" direction=\"in\"/>\n" |
---|
25 | " </method>\n" |
---|
26 | " </interface>\n" |
---|
27 | "") |
---|
28 | public: |
---|
29 | AlarmDBusAdaptor(QObject *parent); |
---|
30 | virtual ~AlarmDBusAdaptor(); |
---|
31 | |
---|
32 | public: // PROPERTIES |
---|
33 | public Q_SLOTS: // METHODS |
---|
34 | void Alarm(int aEventId); |
---|
35 | }; |
---|
36 | |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.