| 1 | /*
|
|---|
| 2 | * This file was generated by dbusxml2cpp version 0.6
|
|---|
| 3 | * Command line was: dbusxml2cpp -a chat_adaptor.h: com.trolltech.chat.xml
|
|---|
| 4 | *
|
|---|
| 5 | * dbusxml2cpp is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 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_142741156243605
|
|---|
| 13 | #define CHAT_ADAPTOR_H_142741156243605
|
|---|
| 14 |
|
|---|
| 15 | #include <QtCore/QObject>
|
|---|
| 16 | #include <QtDBus/QtDBus>
|
|---|
| 17 |
|
|---|
| 18 | QT_BEGIN_NAMESPACE
|
|---|
| 19 | class QByteArray;
|
|---|
| 20 | template<class T> class QList;
|
|---|
| 21 | template<class Key, class Value> class QMap;
|
|---|
| 22 | class QString;
|
|---|
| 23 | class QStringList;
|
|---|
| 24 | class QVariant;
|
|---|
| 25 | QT_END_NAMESPACE
|
|---|
| 26 |
|
|---|
| 27 | /*
|
|---|
| 28 | * Adaptor class for interface com.trolltech.chat
|
|---|
| 29 | */
|
|---|
| 30 | class ChatAdaptor: public QDBusAbstractAdaptor
|
|---|
| 31 | {
|
|---|
| 32 | Q_OBJECT
|
|---|
| 33 | Q_CLASSINFO("D-Bus Interface", "com.trolltech.chat")
|
|---|
| 34 | Q_CLASSINFO("D-Bus Introspection", ""
|
|---|
| 35 | " <interface name=\"com.trolltech.chat\" >\n"
|
|---|
| 36 | " <signal name=\"message\" >\n"
|
|---|
| 37 | " <arg direction=\"out\" type=\"s\" name=\"nickname\" />\n"
|
|---|
| 38 | " <arg direction=\"out\" type=\"s\" name=\"text\" />\n"
|
|---|
| 39 | " </signal>\n"
|
|---|
| 40 | " <signal name=\"action\" >\n"
|
|---|
| 41 | " <arg direction=\"out\" type=\"s\" name=\"nickname\" />\n"
|
|---|
| 42 | " <arg direction=\"out\" type=\"s\" name=\"text\" />\n"
|
|---|
| 43 | " </signal>\n"
|
|---|
| 44 | " </interface>\n"
|
|---|
| 45 | "")
|
|---|
| 46 | public:
|
|---|
| 47 | ChatAdaptor(QObject *parent);
|
|---|
| 48 | virtual ~ChatAdaptor();
|
|---|
| 49 |
|
|---|
| 50 | public: // PROPERTIES
|
|---|
| 51 | public Q_SLOTS: // METHODS
|
|---|
| 52 | Q_SIGNALS: // SIGNALS
|
|---|
| 53 | void action(const QString &nickname, const QString &text);
|
|---|
| 54 | void message(const QString &nickname, const QString &text);
|
|---|
| 55 | };
|
|---|
| 56 |
|
|---|
| 57 | #endif
|
|---|