Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals
Tp::Service::ChannelInterfaceCallStateAdaptor Class Reference

#include <TelepathyQt/_gen/svc-channel.h>

Inherits Tp::AbstractAdaptor.

List of all members.

Public Slots

Signals


Detailed Description

Adaptor class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Interface.CallState".


Member Function Documentation

Begins a call to the exported D-Bus method GetCallStates on this object.

Adaptees should export this method as a Qt slot with the following signature: void getCallStates(const Tp::Service::ChannelInterfaceCallStateAdaptor::GetCallStatesContextPtr &context);

Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.

Get the current call states for all contacts involved in this call.

Returns:

The current call states. Participants where the call state flags would be 0 (all unset) may be omitted from this mapping.

void Tp::Service::ChannelInterfaceCallStateAdaptor::CallStateChanged ( uint  contact,
uint  state 
) [signal]

Represents the exported D-Bus signal CallStateChanged on this object.

Adaptees should export this signal as a Qt signal with the following signature: void callStateChanged(uint contact, uint state);

The adaptee signal will be automatically relayed as a D-Bus signal once emitted.

Parameters:
contactAn integer handle for the contact.
stateThe new state for this contact.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.6.1