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

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

Creates a CallContentCodecOfferInterface 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::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:
mainInterface The 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:
mainInterface The proxy to use.
parent Passed 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:
codecs The local codec mapping to send to the remote contacts and to use in the Content.DRAFT.
timeout The 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:
timeout The 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.6