#include <TelepathyQt4/Prototype/Client/StreamEngine>
Public Slots | |
QDBusPendingReply | SetOutputVolume (const QDBusObjectPath &channelpath, uint streamid, uint volume) |
QDBusPendingReply | MuteInput (const QDBusObjectPath &channelpath, uint streamid, bool mutestate) |
QDBusPendingReply | MuteOutput (const QDBusObjectPath &channelpath, uint streamid, bool mutestate) |
QDBusPendingReply | SetOutputWindow (const QDBusObjectPath &channelpath, uint streamid, uint window) |
QDBusPendingReply | AddPreviewWindow (uint window) |
QDBusPendingReply | RemovePreviewWindow (uint window) |
QDBusPendingReply | Shutdown () |
Signals | |
void | Receiving (const QDBusObjectPath &channelpath, uint streamid, bool state) |
void | StreamStateChanged (const QDBusObjectPath &channelpath, uint streamid, uint state, uint direction) |
Public Member Functions | |
StreamEngineInterface (const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
StreamEngineInterface (const QDBusConnection &connection, const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
StreamEngineInterface (Telepathy::Client::DBusProxy *proxy) | |
StreamEngineInterface (const Telepathy::Client::AbstractInterface &mainInterface) | |
StreamEngineInterface (const Telepathy::Client::AbstractInterface &mainInterface, QObject *parent) | |
Static Public Member Functions | |
static const char * | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Telepathy::Client::DBusProxy *, const QString &, const QString &) |
TpPrototype::Client::StreamEngineInterface::StreamEngineInterface | ( | const QString & | serviceName, | |
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a StreamEngineInterface associated with the given object on the session bus.
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
TpPrototype::Client::StreamEngineInterface::StreamEngineInterface | ( | const QDBusConnection & | connection, | |
const QString & | serviceName, | |||
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a StreamEngineInterface associated with the given object on the given bus.
connection | The bus via which the object can be reached. | |
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
TpPrototype::Client::StreamEngineInterface::StreamEngineInterface | ( | Telepathy::Client::DBusProxy * | proxy | ) |
Creates a StreamEngineInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
TpPrototype::Client::StreamEngineInterface::StreamEngineInterface | ( | const Telepathy::Client::AbstractInterface & | mainInterface | ) | [explicit] |
Creates a StreamEngineInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.
mainInterface | The proxy to use. |
TpPrototype::Client::StreamEngineInterface::StreamEngineInterface | ( | const Telepathy::Client::AbstractInterface & | mainInterface, | |
QObject * | parent | |||
) |
Creates a StreamEngineInterface associated with the same object as the given proxy. However, a different parent object can be specified.
mainInterface | The proxy to use. | |
parent | Passed to the parent class constructor. |
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::AddPreviewWindow | ( | uint | window | ) | [inline, slot] |
Begins a call to the D-Bus method "AddPreviewWindow" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
virtual void TpPrototype::Client::StreamEngineInterface::invalidate | ( | Telepathy::Client::DBusProxy * | , | |
const QString & | , | |||
const QString & | ||||
) | [protected, virtual] |
Reimplemented from Telepathy::Client::AbstractInterface.
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::MuteInput | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
bool | mutestate | |||
) | [inline, slot] |
Begins a call to the D-Bus method "MuteInput" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::MuteOutput | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
bool | mutestate | |||
) | [inline, slot] |
Begins a call to the D-Bus method "MuteOutput" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
void TpPrototype::Client::StreamEngineInterface::Receiving | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
bool | state | |||
) | [signal] |
Represents the signal "Receiving" on the remote object.
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::RemovePreviewWindow | ( | uint | window | ) | [inline, slot] |
Begins a call to the D-Bus method "RemovePreviewWindow" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::SetOutputVolume | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
uint | volume | |||
) | [inline, slot] |
Begins a call to the D-Bus method "SetOutputVolume" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::SetOutputWindow | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
uint | window | |||
) | [inline, slot] |
Begins a call to the D-Bus method "SetOutputWindow" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
QDBusPendingReply TpPrototype::Client::StreamEngineInterface::Shutdown | ( | ) | [inline, slot] |
Begins a call to the D-Bus method "Shutdown" on the remote object.
References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().
static const char* TpPrototype::Client::StreamEngineInterface::staticInterfaceName | ( | ) | [inline, static] |
Returns the name of the interface "org.freedesktop.Telepathy.StreamEngine", which this class represents.
Referenced by TpPrototype::StreamedMediaChannel::openStreamedMediaChannel().
void TpPrototype::Client::StreamEngineInterface::StreamStateChanged | ( | const QDBusObjectPath & | channelpath, | |
uint | streamid, | |||
uint | state, | |||
uint | direction | |||
) | [signal] |
Represents the signal "StreamStateChanged" on the remote object.