source: trunk/examples/dbus/dbus-chat/chat_adaptor.h@ 374

Last change on this file since 374 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 1.6 KB
Line 
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
18QT_BEGIN_NAMESPACE
19class QByteArray;
20template<class T> class QList;
21template<class Key, class Value> class QMap;
22class QString;
23class QStringList;
24class QVariant;
25QT_END_NAMESPACE
26
27/*
28 * Adaptor class for interface com.trolltech.chat
29 */
30class 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 "")
46public:
47 ChatAdaptor(QObject *parent);
48 virtual ~ChatAdaptor();
49
50public: // PROPERTIES
51public Q_SLOTS: // METHODS
52Q_SIGNALS: // SIGNALS
53 void action(const QString &nickname, const QString &text);
54 void message(const QString &nickname, const QString &text);
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.