Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/CallContent>
Inherits Tp::AbstractInterface.
Public Slots | |
QDBusPendingReply | Remove (int timeout=-1) |
Signals | |
void | StreamsAdded (const Tp::ObjectPathList &streams) |
void | StreamsRemoved (const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason) |
Signals inherited from Tp::AbstractInterface | |
void | propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties) |
Public Member Functions | |
CallContentInterface (const QString &busName, const QString &objectPath, QObject *parent=0) | |
CallContentInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0) | |
CallContentInterface (Tp::DBusProxy *proxy) | |
Tp::PendingVariant * | requestPropertyInterfaces () const |
Tp::PendingVariant * | requestPropertyName () const |
Tp::PendingVariant * | requestPropertyType () const |
Tp::PendingVariant * | requestPropertyDisposition () const |
Tp::PendingVariant * | requestPropertyStreams () const |
Tp::PendingVariantMap * | requestAllProperties () const |
Public Member Functions inherited from Tp::AbstractInterface | |
virtual | ~AbstractInterface () |
bool | isValid () const |
QString | invalidationReason () const |
QString | invalidationMessage () const |
void | setMonitorProperties (bool monitorProperties) |
bool | isMonitoringProperties () const |
Static Public Member Functions | |
static QLatin1String | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Tp::DBusProxy *, const QString &, const QString &) |
Protected Member Functions inherited from Tp::AbstractInterface | |
AbstractInterface (DBusProxy *proxy, const QLatin1String &interface) | |
AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent) | |
PendingVariant * | internalRequestProperty (const QString &name) const |
PendingOperation * | internalSetProperty (const QString &name, const QVariant &newValue) |
PendingVariantMap * | internalRequestAllProperties () const |
Additional Inherited Members | |
Protected Slots inherited from Tp::AbstractInterface |
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content".
Tp::Client::CallContentInterface::CallContentInterface | ( | const QString & | busName, |
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterface associated with the given object on the session bus.
busName | Name of the service the object is on. |
objectPath | Path to the object on the service. |
parent | Passed to the parent class constructor. |
Tp::Client::CallContentInterface::CallContentInterface | ( | const QDBusConnection & | connection, |
const QString & | busName, | ||
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterface associated with the given object on the given bus.
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. |
Tp::Client::CallContentInterface::CallContentInterface | ( | Tp::DBusProxy * | proxy | ) |
Creates a CallContentInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
|
inlinestatic |
Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content", which this class represents.
|
inline |
Asynchronous getter for the remote object property Interfaces
of type QStringList
.
Extra interfaces provided by this content, such as CallContentInterfaceMediaInterface , ChannelInterfaceHoldInterface or CallInterfaceMuteInterface . This SHOULD NOT include the Content interface itself, and cannot change once the content has been created.
|
inline |
Asynchronous getter for the remote object property Name
of type QString
.
The name of the content.
|
inline |
Asynchronous getter for the remote object property Type
of type uint
.
The media type of this content.
|
inline |
Asynchronous getter for the remote object property Disposition
of type uint
.
The disposition of this content.
|
inline |
Asynchronous getter for the remote object property Streams
of type Tp::ObjectPathList
.
The list of CallStreamInterface objects that exist in this content.
Change notification is through the StreamsAdded() and StreamsRemoved() signals.
|
inline |
Request all of the DBus properties on the interface.
|
inlineslot |
Begins a call to the D-Bus method Remove
on the remote object.
Remove the content from the call. This will cause Call1.ContentRemoved((self_handle, User_Requested, "", "")) to be emitted.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
timeout | The timeout in milliseconds. |
|
signal |
Represents the signal StreamsAdded
on the remote object.
Emitted when streams are added to a call.
streams | The Streams which were added. |
|
signal |
Represents the signal StreamsRemoved
on the remote object.
Emitted when streams are removed from a call
streams | The Streams which were removed. |
reason | Why the content was removed. |
|
protectedvirtual |
Reimplemented from Tp::AbstractInterface.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |