| 1 | /* |
|---|---|
| 2 | * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | * Command line was: qdbusxml2cpp -m -p chat_interface /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 | * Do not edit! All changes made to it will be lost. |
| 9 | */ |
| 10 | |
| 11 | #ifndef CHAT_INTERFACE_H |
| 12 | #define CHAT_INTERFACE_H |
| 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 org.example.chat |
| 25 | */ |
| 26 | class OrgExampleChatInterface: public QDBusAbstractInterface |
| 27 | { |
| 28 | Q_OBJECT |
| 29 | public: |
| 30 | static inline const char *staticInterfaceName() |
| 31 | { return "org.example.chat"; } |
| 32 | |
| 33 | public: |
| 34 | OrgExampleChatInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 35 | |
| 36 | ~OrgExampleChatInterface(); |
| 37 | |
| 38 | public Q_SLOTS: // METHODS |
| 39 | Q_SIGNALS: // SIGNALS |
| 40 | void action(const QString &nickname, const QString &text); |
| 41 | void message(const QString &nickname, const QString &text); |
| 42 | }; |
| 43 | |
| 44 | namespace org { |
| 45 | namespace example { |
| 46 | typedef ::OrgExampleChatInterface chat; |
| 47 | } |
| 48 | } |
| 49 | #endif |
| 50 |