mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-31 04:10:11 +01:00
* qt/examples: Add QtDBus example programs: - hello: Hello, World - ping: Simple method-calling program - pong: Simple object-exporting program (not using adaptors) - complexping: Interactive method-calling program (also gets and sets properties). - complexpong: Sample program exporting methods, signals and properties, using adaptors. - dbus: Simple implementation of a generic method-calling program, similar to 'dbus-send', but with semantics similar to 'dcop'. - chat: Simplistic chat program, implemented using signals and the system bus. Looks like IRC.
36 lines
819 B
C++
36 lines
819 B
C++
/*
|
|
* This file was generated by dbusidl2cpp version 0.3
|
|
* when processing input file /home/tjmaciei/src/kde4/playground/libs/qt-dbus/examples/com.trolltech.ChatInterface.xml
|
|
*
|
|
* dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
|
|
*
|
|
* This is an auto-generated file.
|
|
*/
|
|
|
|
#include "chatadaptor.h"
|
|
#include <QtCore/QMetaObject>
|
|
#include <QtCore/QByteArray>
|
|
#include <QtCore/QList>
|
|
#include <QtCore/QMap>
|
|
#include <QtCore/QString>
|
|
#include <QtCore/QStringList>
|
|
#include <QtCore/QVariant>
|
|
|
|
/*
|
|
* Implementation of adaptor class ChatInterfaceAdaptor
|
|
*/
|
|
|
|
ChatInterfaceAdaptor::ChatInterfaceAdaptor(QObject *parent)
|
|
: QDBusAbstractAdaptor(parent)
|
|
{
|
|
// constructor
|
|
setAutoRelaySignals(true);
|
|
}
|
|
|
|
ChatInterfaceAdaptor::~ChatInterfaceAdaptor()
|
|
{
|
|
// destructor
|
|
}
|
|
|
|
|
|
#include "chatadaptor.moc"
|