Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions

Tpy::Client::CallContentInterfaceMuteInterface Class Reference

#include <TelepathyQt4Yell/Channel>

List of all members.

Public Slots

Signals

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call.Content.Interface.Mute.DRAFT."


Constructor & Destructor Documentation

Tpy::Client::CallContentInterfaceMuteInterface::CallContentInterfaceMuteInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a CallContentInterfaceMuteInterface associated with the given object on the session bus.

Parameters:
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed to the parent class constructor.
Tpy::Client::CallContentInterfaceMuteInterface::CallContentInterfaceMuteInterface ( const QDBusConnection &  connection,
const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a CallContentInterfaceMuteInterface associated with the given object on the given bus.

Parameters:
connectionThe bus via which the object can be reached.
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed to the parent class constructor.
Tpy::Client::CallContentInterfaceMuteInterface::CallContentInterfaceMuteInterface ( Tp::DBusProxy *  proxy)

Creates a CallContentInterfaceMuteInterface associated with the same object as the given proxy.

Parameters:
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tpy::Client::CallContentInterfaceMuteInterface::CallContentInterfaceMuteInterface ( const Tp::Client::ChannelInterface &  mainInterface) [explicit]

Creates a CallContentInterfaceMuteInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.

Parameters:
mainInterfaceThe proxy to use.
Tpy::Client::CallContentInterfaceMuteInterface::CallContentInterfaceMuteInterface ( const Tp::Client::ChannelInterface &  mainInterface,
QObject *  parent 
)

Creates a CallContentInterfaceMuteInterface associated with the same object as the given proxy. However, a different parent object can be specified.

Parameters:
mainInterfaceThe proxy to use.
parentPassed to the parent class constructor.

Member Function Documentation

static QLatin1String Tpy::Client::CallContentInterfaceMuteInterface::staticInterfaceName ( ) [inline, static]

Returns the name of the interface "org.freedesktop.Telepathy.Call.Content.Interface.Mute.DRAFT", which this class represents.

Returns:
The D-Bus interface name.
Tp::PendingVariant* Tpy::Client::CallContentInterfaceMuteInterface::requestPropertyMuteState ( ) const [inline]

Asynchronous getter for the remote object property "MuteState" of type bool.

True if the content is muted.

Returns:
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tpy::Client::CallContentInterfaceMuteInterface::requestAllProperties ( ) const [inline]

Request all of the DBus properties on the interface.

Returns:
A pending variant map which will emit finished when the properties have been retrieved.
QDBusPendingReply Tpy::Client::CallContentInterfaceMuteInterface::SetMuted ( bool  muted,
int  timeout = -1 
) [inline, slot]

Begins a call to the D-Bus method "SetMuted" on the remote object.

Inform the CM that the call content has been muted or unmuted by the client. It is the client's responsibility to actually mute or unmute the microphone or camera used for the content. However, the client MUST call this whenever it mutes or unmutes the content.

Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.

Parameters:
mutedTrue if the client has muted the content.
timeoutThe timeout in milliseconds.
void Tpy::Client::CallContentInterfaceMuteInterface::MuteStateChanged ( bool  muteState) [signal]

Represents the signal "MuteStateChanged" on the remote object.

Emitted to indicate that the mute state has changed for this call content. This may occur as a consequence of the client calling SetMuted, or as an indication that another client has (un)muted the content.

Parameters:
muteStateTrue if the content is now muted.
void Tpy::Client::CallContentInterfaceMuteInterface::invalidate ( Tp::DBusProxy *  proxy,
const QString &  error,
const QString &  message 
) [protected, virtual]


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4-Yell 0.1.2