chat_interface.h Example File
dbus/dbus-chat/chat_interface.h
#ifndef CHAT_INTERFACE_H_143021156243606
#define CHAT_INTERFACE_H_143021156243606
#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>
class ComTrolltechChatInterface: public QDBusAbstractInterface
{
Q_OBJECT
public:
static inline const char *staticInterfaceName()
{ return "com.trolltech.chat"; }
public:
ComTrolltechChatInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
~ComTrolltechChatInterface();
public Q_SLOTS:
Q_SIGNALS:
void action(const QString &nickname, const QString &text);
void message(const QString &nickname, const QString &text);
};
namespace com {
namespace trolltech {
typedef ::ComTrolltechChatInterface chat;
}
}
#endif