Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions
Tp::Service::CallInterfaceMuteAdaptor Class Reference

#include <TelepathyQt/_gen/svc-call.h>

Inherits Tp::AbstractAdaptor.

List of all members.

Public Slots

Signals

Public Member Functions


Detailed Description

Adaptor class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Interface.Mute".


Member Function Documentation

Return the value of the exported D-Bus object property LocalMuteState of type uint.

Adaptees should export this property as a Qt property named 'localMuteState' with type uint.

The current mute state of this part of the call. New Contents should inherit the value of this property from the parent Call1. Similarly, Streams should inherit it from the parent Content.

Returns:
The value of exported property LocalMuteState.
void Tp::Service::CallInterfaceMuteAdaptor::RequestMuted ( bool  muted,
const QDBusMessage &  dbusMessage 
) [slot]

Begins a call to the exported D-Bus method RequestMuted on this object.

Adaptees should export this method as a Qt slot with the following signature: void requestMuted(bool muted, const Tp::Service::CallInterfaceMuteAdaptor::RequestMutedContextPtr &context);

Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.

Inform the CM that the Call, Content or Stream should be muted or unmuted. The CM will tell the streaming implementation to Mute Streams as required, and emit MuteStateChanged when done.

Parameters:
mutedTrue if the client wishes to mute the Content or Call.

Represents the exported D-Bus signal MuteStateChanged on this object.

Adaptees should export this signal as a Qt signal with the following signature: void muteStateChanged(uint muteState);

The adaptee signal will be automatically relayed as a D-Bus signal once emitted.

Parameters:
muteStateThe new mute state.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.6.1