Home · All Classes · All Namespaces · Modules · Functions · Files

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:
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed 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:
connection The bus via which the object can be reached.
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed 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:
proxy The 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:
mainInterface The 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:
mainInterface The proxy to use.
parent Passed 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:
muted True if the client has muted the content.
timeout The 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:
muteState True 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.6