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

Tpy::Client::CallContentCodecOfferInterface Class Reference

#include <TelepathyQt4Yell/Channel>

List of all members.

Public Slots

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.CodecOffer.DRAFT."


Constructor & Destructor Documentation

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

Creates a CallContentCodecOfferInterface 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::CallContentCodecOfferInterface::CallContentCodecOfferInterface ( const QDBusConnection &  connection,
const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a CallContentCodecOfferInterface 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::CallContentCodecOfferInterface::CallContentCodecOfferInterface ( Tp::DBusProxy *  proxy)

Creates a CallContentCodecOfferInterface 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::CallContentCodecOfferInterface::CallContentCodecOfferInterface ( const Tp::Client::ChannelInterface &  mainInterface) [explicit]

Creates a CallContentCodecOfferInterface 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::CallContentCodecOfferInterface::CallContentCodecOfferInterface ( const Tp::Client::ChannelInterface &  mainInterface,
QObject *  parent 
)

Creates a CallContentCodecOfferInterface 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::CallContentCodecOfferInterface::staticInterfaceName ( ) [inline, static]

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

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

Asynchronous getter for the remote object property "Interfaces" of type QStringList.

Extra interfaces provided by this codec offer. This SHOULD NOT include the CodecOffer interface itself, and cannot change once the content has been created.

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

Asynchronous getter for the remote object property "RemoteContactCodecs" of type Tpy::CodecList.

A list of codecs the remote contact supports.

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

Asynchronous getter for the remote object property "RemoteContact" of type uint.

The contact handle that this codec offer applies to.

Returns:
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tpy::Client::CallContentCodecOfferInterface::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::CallContentCodecOfferInterface::Accept ( const Tpy::CodecList codecs,
int  timeout = -1 
) [inline, slot]

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

Accept the updated Codec mapping and update the local mapping.

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

Parameters:
codecsThe local codec mapping to send to the remote contacts and to use in the Content.DRAFT.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tpy::Client::CallContentCodecOfferInterface::Reject ( int  timeout = -1) [inline, slot]

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

Reject the proposed update to the codecs FIXME add error codes and strings here

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

Parameters:
timeoutThe timeout in milliseconds.
void Tpy::Client::CallContentCodecOfferInterface::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