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
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) |
Trademarks |
Qt 4.5.1 |