1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -m -a chat_adaptor -i qobject.h -l QObject /home/lucius/Code/qtbase/examples/dbus/chat/org.example.chat.xml |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd. |
6 | * |
7 | * This is an auto-generated file. |
8 | * This file may have been hand-edited. Look for HAND-EDIT comments |
9 | * before re-generating it. |
10 | */ |
11 | |
12 | #ifndef CHAT_ADAPTOR_H |
13 | #define CHAT_ADAPTOR_H |
14 | |
15 | #include <QtCore/QObject> |
16 | #include <QtDBus/QtDBus> |
17 | #include "qobject.h" |
18 | #include <QtCore/qcontainerfwd.h> |
19 | |
20 | /* |
21 | * Adaptor class for interface org.example.chat |
22 | */ |
23 | class ChatAdaptor: public QDBusAbstractAdaptor |
24 | { |
25 | Q_OBJECT |
26 | Q_CLASSINFO("D-Bus Interface" , "org.example.chat" ) |
27 | Q_CLASSINFO("D-Bus Introspection" , "" |
28 | " <interface name=\"org.example.chat\">\n" |
29 | " <signal name=\"message\">\n" |
30 | " <arg direction=\"out\" type=\"s\" name=\"nickname\"/>\n" |
31 | " <arg direction=\"out\" type=\"s\" name=\"text\"/>\n" |
32 | " </signal>\n" |
33 | " <signal name=\"action\">\n" |
34 | " <arg direction=\"out\" type=\"s\" name=\"nickname\"/>\n" |
35 | " <arg direction=\"out\" type=\"s\" name=\"text\"/>\n" |
36 | " </signal>\n" |
37 | " </interface>\n" |
38 | "" ) |
39 | public: |
40 | ChatAdaptor(QObject *parent); |
41 | virtual ~ChatAdaptor(); |
42 | |
43 | inline QObject *parent() const |
44 | { return static_cast<QObject *>(QObject::parent()); } |
45 | |
46 | public: // PROPERTIES |
47 | public Q_SLOTS: // METHODS |
48 | Q_SIGNALS: // SIGNALS |
49 | void action(const QString &nickname, const QString &text); |
50 | void message(const QString &nickname, const QString &text); |
51 | }; |
52 | |
53 | #endif |
54 | |