telepathy-qt-0.9.7/0000755000175000017500000000000012727270137015562 5ustar00kaffeinekaffeine00000000000000telepathy-qt-0.9.7/doc/0000755000175000017500000000000012727270137016327 5ustar00kaffeinekaffeine00000000000000telepathy-qt-0.9.7/doc/html/0000755000175000017500000000000012727270137017273 5ustar00kaffeinekaffeine00000000000000telepathy-qt-0.9.7/doc/html/a00377.html0000644000175000017500000002331612727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor2< R, T, Arg1, Arg2 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor2< R, T, Arg1, Arg2 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor2 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2>
typedef R(T::* Tp::MemberFunctor2< R, T, Arg1, Arg2 >::FunctionType) (Arg1, Arg2)
template<class R, class T, class Arg1, class Arg2>
typedef R Tp::MemberFunctor2< R, T, Arg1, Arg2 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2>
Tp::MemberFunctor2< R, T, Arg1, Arg2 >::MemberFunctor2 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2>
ResultType Tp::MemberFunctor2< R, T, Arg1, Arg2 >::operator() ( Arg1  a1,
Arg2  a2 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2>
T* Tp::MemberFunctor2< R, T, Arg1, Arg2 >::object
template<class R, class T, class Arg1, class Arg2>
FunctionType Tp::MemberFunctor2< R, T, Arg1, Arg2 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01338.html0000644000175000017500000000660612727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelInterfaceSplittableAdaptor Member List

This is the complete list of members for Tp::Service::ChannelInterfaceSplittableAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
Split(const QDBusMessage &dbusMessage)Tp::Service::ChannelInterfaceSplittableAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00121.html0000644000175000017500000007642412727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentInterfaceAudioControlInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentInterfaceAudioControlInterface Class Reference

#include <TelepathyQt/CallContent>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply ReportInputVolume (int volume, int timeout=-1)
 
QDBusPendingReply ReportOutputVolume (int volume, int timeout=-1)
 

Public Member Functions

 CallContentInterfaceAudioControlInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceAudioControlInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceAudioControlInterface (Tp::DBusProxy *proxy)
 
 CallContentInterfaceAudioControlInterface (const Tp::Client::CallContentInterface &mainInterface)
 
 CallContentInterfaceAudioControlInterface (const Tp::Client::CallContentInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyRequestedInputVolume () const
 
Tp::PendingVariantrequestPropertyRequestedOutputVolume () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.AudioControl".

Constructor & Destructor Documentation

Tp::Client::CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentInterfaceAudioControlInterface 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.
Tp::Client::CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface ( Tp::DBusProxy proxy)

Creates a CallContentInterfaceAudioControlInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface ( const Tp::Client::CallContentInterface mainInterface)
explicit

Creates a CallContentInterfaceAudioControlInterface 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.
Tp::Client::CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface ( const Tp::Client::CallContentInterface mainInterface,
QObject *  parent 
)

Creates a CallContentInterfaceAudioControlInterface 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 Tp::Client::CallContentInterfaceAudioControlInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.Interface.AudioControl", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentInterfaceAudioControlInterface::requestPropertyRequestedInputVolume ( ) const
inline

Asynchronous getter for the remote object property RequestedInputVolume of type int.

The input volume as requested by the Connection Manager. Initially and on any changes the client should change its input volume to match the requested volume.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceAudioControlInterface::requestPropertyRequestedOutputVolume ( ) const
inline

Asynchronous getter for the remote object property RequestedOutputVolume of type int.

The input volume as requested by the Connection Manager. Initially and on any changes the client should change its input volume to match the requested volume.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentInterfaceAudioControlInterface::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 Tp::Client::CallContentInterfaceAudioControlInterface::ReportInputVolume ( int  volume,
int  timeout = -1 
)
inlineslot

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

Report to the CM that the Content input volume has been changed by the client. It is the client's responsibility to change the input volume used for the content. However, the client MUST call this whenever it changes input volume for 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
volume
Report the input volume level as set by the client.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallContentInterfaceAudioControlInterface::ReportOutputVolume ( int  volume,
int  timeout = -1 
)
inlineslot

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

Report to the CM that the content output volume has been changed by the client. It is the client's responsibility to change the output volume used for the content. However, the client MUST call this whenever it changes output volume for 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
volume
Report the output volume level as set by the client.
timeoutThe timeout in milliseconds.
void Tp::Client::CallContentInterfaceAudioControlInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01092.html0000644000175000017500000000556212727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::MessagePartContentMap Member List

This is the complete list of members for Tp::MessagePartContentMap, including all inherited members.

MessagePartContentMap()Tp::MessagePartContentMapinline
MessagePartContentMap(const QMap< uint, QDBusVariant > &a)Tp::MessagePartContentMapinline
operator=(const QMap< uint, QDBusVariant > &a)Tp::MessagePartContentMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00937.html0000644000175000017500000002113512727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseChannelSplittableInterface Member List

This is the complete list of members for Tp::BaseChannelSplittableInterface, including all inherited members.

AbstractChannelInterface(const QString &interfaceName)Tp::AbstractChannelInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
close()Tp::AbstractChannelInterfaceprotectedvirtual
create()Tp::BaseChannelSplittableInterfaceinlinestatic
create()Tp::BaseChannelSplittableInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const Tp::BaseChannelSplittableInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseChannel(BaseChannel *channel)Tp::AbstractChannelInterfaceprotectedvirtual
setSplitCallback(const SplitCallback &cb)Tp::BaseChannelSplittableInterface
split()Tp::BaseChannelSplittableInterface
SplitCallback typedefTp::BaseChannelSplittableInterface
~AbstractChannelInterface()Tp::AbstractChannelInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseChannelSplittableInterface()Tp::BaseChannelSplittableInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00436.html0000644000175000017500000010432612727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::PresenceSpec Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::PresenceSpec Class Reference

The PresenceSpec class represents a Telepathy presence information supported by a protocol. More...

#include <TelepathyQt/PresenceSpec>

Public Types

enum  SimpleStatusFlag { NoFlags, MaySetOnSelf, CanHaveStatusMessage, AllFlags }
 

Public Member Functions

 Q_DECLARE_FLAGS (SimpleStatusFlags, SimpleStatusFlag)
 
 PresenceSpec ()
 
 PresenceSpec (const QString &status, const SimpleStatusSpec &spec)
 
 PresenceSpec (const PresenceSpec &other)
 
 ~PresenceSpec ()
 
bool isValid () const
 
PresenceSpecoperator= (const PresenceSpec &other)
 
bool operator== (const PresenceSpec &other) const
 
bool operator!= (const PresenceSpec &other) const
 
bool operator< (const PresenceSpec &other) const
 
Presence presence (const QString &statusMessage=QString()) const
 
bool maySetOnSelf () const
 
bool canHaveStatusMessage () const
 
SimpleStatusSpec bareSpec () const
 

Static Public Member Functions

static PresenceSpec available (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec chat (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec pstn (SimpleStatusFlags flags=CanHaveStatusMessage)
 
static PresenceSpec away (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec brb (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec dnd (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec busy (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec xa (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec hidden (SimpleStatusFlags flags=AllFlags)
 
static PresenceSpec offline (SimpleStatusFlags flags=CanHaveStatusMessage)
 
static PresenceSpec unknown (SimpleStatusFlags flags=CanHaveStatusMessage)
 
static PresenceSpec error (SimpleStatusFlags flags=CanHaveStatusMessage)
 

Detailed Description

The PresenceSpec class represents a Telepathy presence information supported by a protocol.

Member Enumeration Documentation

Enumerator
NoFlags 
MaySetOnSelf 
CanHaveStatusMessage 
AllFlags 

Constructor & Destructor Documentation

Tp::PresenceSpec::PresenceSpec ( )
Tp::PresenceSpec::PresenceSpec ( const QString &  status,
const SimpleStatusSpec spec 
)
Tp::PresenceSpec::PresenceSpec ( const PresenceSpec other)
Tp::PresenceSpec::~PresenceSpec ( )

Member Function Documentation

Tp::PresenceSpec::Q_DECLARE_FLAGS ( SimpleStatusFlags  ,
SimpleStatusFlag   
)
PresenceSpec Tp::PresenceSpec::available ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::chat ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::pstn ( SimpleStatusFlags  flags = CanHaveStatusMessage)
static
PresenceSpec Tp::PresenceSpec::away ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::brb ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::dnd ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::busy ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::xa ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::hidden ( SimpleStatusFlags  flags = AllFlags)
static
PresenceSpec Tp::PresenceSpec::offline ( SimpleStatusFlags  flags = CanHaveStatusMessage)
static
PresenceSpec Tp::PresenceSpec::unknown ( SimpleStatusFlags  flags = CanHaveStatusMessage)
static
PresenceSpec Tp::PresenceSpec::error ( SimpleStatusFlags  flags = CanHaveStatusMessage)
static
bool Tp::PresenceSpec::isValid ( ) const
inline
PresenceSpec & Tp::PresenceSpec::operator= ( const PresenceSpec other)
bool Tp::PresenceSpec::operator== ( const PresenceSpec other) const
bool Tp::PresenceSpec::operator!= ( const PresenceSpec other) const
bool Tp::PresenceSpec::operator< ( const PresenceSpec other) const
Presence Tp::PresenceSpec::presence ( const QString &  statusMessage = QString()) const
bool Tp::PresenceSpec::maySetOnSelf ( ) const
bool Tp::PresenceSpec::canHaveStatusMessage ( ) const
SimpleStatusSpec Tp::PresenceSpec::bareSpec ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00190.html0000644000175000017500000007022112727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceRoomConfigAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | List of all members
Tp::Service::ChannelInterfaceRoomConfigAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void UpdateConfiguration (const QVariantMap &properties, const QDBusMessage &dbusMessage)
 

Public Member Functions

bool Anonymous () const
 
bool InviteOnly () const
 
uint Limit () const
 
bool Moderated () const
 
QString Title () const
 
QString Description () const
 
bool Persistent () const
 
bool Private () const
 
bool PasswordProtected () const
 
QString Password () const
 
QString PasswordHint () const
 
bool CanUpdateConfiguration () const
 
QStringList MutableProperties () const
 
bool ConfigurationRetrieved () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::Anonymous ( ) const

Return the value of the exported D-Bus object property Anonymous of type bool.

Adaptees should export this property as a Qt property named 'anonymous' with type bool.

True if people may join the channel without other members being made aware of their identity.

Returns
The value of exported property Anonymous.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::InviteOnly ( ) const

Return the value of the exported D-Bus object property InviteOnly of type bool.

Adaptees should export this property as a Qt property named 'inviteonly' with type bool.

True if people may not join the channel until they have been invited.

Returns
The value of exported property InviteOnly.
uint Tp::Service::ChannelInterfaceRoomConfigAdaptor::Limit ( ) const

Return the value of the exported D-Bus object property Limit of type uint.

Adaptees should export this property as a Qt property named 'limit' with type uint.

The limit to the number of members; or 0 if there is no limit.

Returns
The value of exported property Limit.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::Moderated ( ) const

Return the value of the exported D-Bus object property Moderated of type bool.

Adaptees should export this property as a Qt property named 'moderated' with type bool.

True if channel membership is not sufficient to allow participation.

Returns
The value of exported property Moderated.
QString Tp::Service::ChannelInterfaceRoomConfigAdaptor::Title ( ) const

Return the value of the exported D-Bus object property Title of type QString.

Adaptees should export this property as a Qt property named 'title' with type QString.

A human-visible name for the channel, if it differs from ChannelInterfaceRoomInterface::RoomName ; the empty string, otherwise.

On XMPP, this represents the muc#roomconfig_roomname field of the muc#roomconfig form. So for jdev@conference.jabber.org, for example:

XEP-0045 is awful.

Returns
The value of exported property Title.
QString Tp::Service::ChannelInterfaceRoomConfigAdaptor::Description ( ) const

Return the value of the exported D-Bus object property Description of type QString.

Adaptees should export this property as a Qt property named 'description' with type QString.

A human-readable description of the channel's overall purpose; if any.

Returns
The value of exported property Description.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::Persistent ( ) const

Return the value of the exported D-Bus object property Persistent of type bool.

Adaptees should export this property as a Qt property named 'persistent' with type bool.

True if the channel will remain in existence on the server after all members have left it.

Returns
The value of exported property Persistent.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::Private ( ) const

Return the value of the exported D-Bus object property Private of type bool.

Adaptees should export this property as a Qt property named 'private' with type bool.

True if the channel is not visible to non-members.

Returns
The value of exported property Private.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::PasswordProtected ( ) const

Return the value of the exported D-Bus object property PasswordProtected of type bool.

Adaptees should export this property as a Qt property named 'passwordProtected' with type bool.

True if contacts joining this channel must provide a password to be granted entry. Note that this property does not indicate that a password is required right now; see the ChannelInterfacePasswordInterface interface for the API used to provide a password while joining a room.

Returns
The value of exported property PasswordProtected.
QString Tp::Service::ChannelInterfaceRoomConfigAdaptor::Password ( ) const

Return the value of the exported D-Bus object property Password of type QString.

Adaptees should export this property as a Qt property named 'password' with type QString.

If PasswordProtected is True, the password required to enter the channel, if known. If the password is unknown, or PasswordProtected is False, the empty string.

On XMPP—bless its cotton socks!—non-owners of a MUC cannot see its current password, even if they just provided the password in order to join the room…

Returns
The value of exported property Password.
QString Tp::Service::ChannelInterfaceRoomConfigAdaptor::PasswordHint ( ) const

Return the value of the exported D-Bus object property PasswordHint of type QString.

Adaptees should export this property as a Qt property named 'passwordHint' with type QString.

If PasswordProtected is True, an optional hint for the password.

On protocols supporting PasswordHint (indicated by its presence in MutableProperties ), Password and PasswordHint MUST be set in a single call to UpdateConfiguration() .

Skype requires that the password and its hint be supplied together.

Returns
The value of exported property PasswordHint.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::CanUpdateConfiguration ( ) const

Return the value of the exported D-Bus object property CanUpdateConfiguration of type bool.

Adaptees should export this property as a Qt property named 'canUpdateConfiguration' with type bool.

If True, the user may call UpdateConfiguration() to change the values of the properties listed in MutableProperties .

Returns
The value of exported property CanUpdateConfiguration.
QStringList Tp::Service::ChannelInterfaceRoomConfigAdaptor::MutableProperties ( ) const

Return the value of the exported D-Bus object property MutableProperties of type QStringList.

Adaptees should export this property as a Qt property named 'mutableProperties' with type QStringList.

A list of (unqualified) property names on this interface which may be modified using UpdateConfiguration() (if CanUpdateConfiguration is True). Properties not listed here cannot be modified.

For example, IRC does not have the concept of joining a room without other participants knowing your true identity; so on IRC the Anonymous property will always be False, and MutableProperties will not include "Anonymous".

Returns
The value of exported property MutableProperties.
bool Tp::Service::ChannelInterfaceRoomConfigAdaptor::ConfigurationRetrieved ( ) const

Return the value of the exported D-Bus object property ConfigurationRetrieved of type bool.

Adaptees should export this property as a Qt property named 'configurationRetrieved' with type bool.

True once the initial room configuration has been retrieved, or False otherwise. On some services, this may take some time after you've joined a room to fetch the configuration. Once this property changes to True, the other properties on this interface can be assumed to be accurate; this property MUST not change to False after it becomes True.

An application's “configure this room†dialog might choose to display a spinner while this property is False, rather than allowing the user to edit probably-inaccurate configuration.

Returns
The value of exported property ConfigurationRetrieved.
void Tp::Service::ChannelInterfaceRoomConfigAdaptor::UpdateConfiguration ( const QVariantMap &  properties,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void updateConfiguration(const QVariantMap& properties, const Tp::Service::ChannelInterfaceRoomConfigAdaptor::UpdateConfigurationContextPtr &context);

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

If CanUpdateConfiguration is True, modifies the current values of one or more room properties. This method SHOULD NOT return until the change has been accepted or declined by the server.

Note that the server may ostensibly accept the changes (thus allowing this method to return success) but signal different values; for example, the server might truncate Title to some maximum length. Callers SHOULD continue to listen for the PropertiesChanged signal, and trust the values it signals over those provided to this method.

Parameters
properties

The new values of one or more properties on this interface, which must be listed in \\\ \\link requestPropertyMutableProperties() MutableProperties \\endlink \\htmlonly . For instance, to set up a channel for discussing top-secret corporate merge plans, this parameter might be:

{
      'Private': True,
      'InviteOnly': True,
      'Description': "The first rule of #inteltakeover is: do not talk about #inteltakeover",
    }


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01151.html0000644000175000017500000000662412727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 > Member List

This is the complete list of members for Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >, including all inherited members.

fnTp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >
FunctionType typedefTp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >inline
PtrFunctor4(FunctionType fn)Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >inline
ResultType typedefTp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01210.html0000644000175000017500000000522712727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::TLSCertificateRejection Member List

This is the complete list of members for Tp::TLSCertificateRejection, including all inherited members.

detailsTp::TLSCertificateRejection
errorTp::TLSCertificateRejection
reasonTp::TLSCertificateRejection


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00309.html0000644000175000017500000001402712727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::ContactSSRCsMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ContactSSRCsMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, UIntList >.

Public Member Functions

 ContactSSRCsMap ()
 
 ContactSSRCsMap (const QMap< uint, UIntList > &a)
 
ContactSSRCsMapoperator= (const QMap< uint, UIntList > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, UIntList>, but needed to have a discrete type in the Qt type system.

Constructor & Destructor Documentation

Tp::ContactSSRCsMap::ContactSSRCsMap ( )
inline
Tp::ContactSSRCsMap::ContactSSRCsMap ( const QMap< uint, UIntList > &  a)
inline

Member Function Documentation

ContactSSRCsMap& Tp::ContactSSRCsMap::operator= ( const QMap< uint, UIntList > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00063.html0000644000175000017500000001525312727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::AvatarData Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Public Attributes | List of all members
Tp::AvatarData Class Reference

The AvatarData class represents a Telepathy avatar. More...

#include <TelepathyQt/AvatarData>

Public Member Functions

 AvatarData (const QString &fileName, const QString &mimeType)
 
 AvatarData ()
 

Public Attributes

QString fileName
 
QString mimeType
 

Detailed Description

The AvatarData class represents a Telepathy avatar.

Constructor & Destructor Documentation

Tp::AvatarData::AvatarData ( const QString &  fileName,
const QString &  mimeType 
)
inline
Tp::AvatarData::AvatarData ( )
inline

Member Data Documentation

QString Tp::AvatarData::fileName
QString Tp::AvatarData::mimeType


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01024.html0000644000175000017500000000562012727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ContactSearchResultMap Member List

This is the complete list of members for Tp::ContactSearchResultMap, including all inherited members.

ContactSearchResultMap()Tp::ContactSearchResultMapinline
ContactSearchResultMap(const QMap< QString, ContactInfoFieldList > &a)Tp::ContactSearchResultMapinline
operator=(const QMap< QString, ContactInfoFieldList > &a)Tp::ContactSearchResultMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00689_source.html0000644000175000017500000026113312727270137022376 0ustar00kaffeinekaffeine00000000000000 functors.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
functors.h
1 
23 #ifndef _TelepathyQt_functors_h_HEADER_GUARD_
24 #define _TelepathyQt_functors_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 namespace Tp
33 {
34 
35 struct TP_QT_EXPORT BaseFunctor
36 {
37 };
38 
39 template <class R >
40 struct PtrFunctor0 : public BaseFunctor
41 {
42  typedef R (*FunctionType)();
43  typedef R ResultType;
44 
45  PtrFunctor0(FunctionType fn) : fn(fn) {}
46 
47  ResultType operator()() const { return fn(); }
48 
49  FunctionType fn;
50 };
51 
52 template <class R, class T >
53 struct MemberFunctor0 : public BaseFunctor
54 {
55  typedef R (T::*FunctionType)();
56  typedef R ResultType;
57 
58  MemberFunctor0(T *object, FunctionType fn) : object(object), fn(fn) {}
59 
60  ResultType operator()() const { return (object->*(fn))(); }
61 
62  T *object;
63  FunctionType fn;
64 };
65 
66 template <class R , class Arg1>
67 struct PtrFunctor1 : public BaseFunctor
68 {
69  typedef R (*FunctionType)(Arg1);
70  typedef R ResultType;
71 
72  PtrFunctor1(FunctionType fn) : fn(fn) {}
73 
74  ResultType operator()(Arg1 a1) const { return fn(a1); }
75 
76  FunctionType fn;
77 };
78 
79 template <class R, class T , class Arg1>
80 struct MemberFunctor1 : public BaseFunctor
81 {
82  typedef R (T::*FunctionType)(Arg1);
83  typedef R ResultType;
84 
85  MemberFunctor1(T *object, FunctionType fn) : object(object), fn(fn) {}
86 
87  ResultType operator()(Arg1 a1) const { return (object->*(fn))(a1); }
88 
89  T *object;
90  FunctionType fn;
91 };
92 
93 template <class R , class Arg1, class Arg2>
94 struct PtrFunctor2 : public BaseFunctor
95 {
96  typedef R (*FunctionType)(Arg1, Arg2);
97  typedef R ResultType;
98 
99  PtrFunctor2(FunctionType fn) : fn(fn) {}
100 
101  ResultType operator()(Arg1 a1, Arg2 a2) const { return fn(a1, a2); }
102 
103  FunctionType fn;
104 };
105 
106 template <class R, class T , class Arg1, class Arg2>
107 struct MemberFunctor2 : public BaseFunctor
108 {
109  typedef R (T::*FunctionType)(Arg1, Arg2);
110  typedef R ResultType;
111 
112  MemberFunctor2(T *object, FunctionType fn) : object(object), fn(fn) {}
113 
114  ResultType operator()(Arg1 a1, Arg2 a2) const { return (object->*(fn))(a1, a2); }
115 
116  T *object;
117  FunctionType fn;
118 };
119 
120 template <class R , class Arg1, class Arg2, class Arg3>
121 struct PtrFunctor3 : public BaseFunctor
122 {
123  typedef R (*FunctionType)(Arg1, Arg2, Arg3);
124  typedef R ResultType;
125 
126  PtrFunctor3(FunctionType fn) : fn(fn) {}
127 
128  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const { return fn(a1, a2, a3); }
129 
130  FunctionType fn;
131 };
132 
133 template <class R, class T , class Arg1, class Arg2, class Arg3>
134 struct MemberFunctor3 : public BaseFunctor
135 {
136  typedef R (T::*FunctionType)(Arg1, Arg2, Arg3);
137  typedef R ResultType;
138 
139  MemberFunctor3(T *object, FunctionType fn) : object(object), fn(fn) {}
140 
141  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const { return (object->*(fn))(a1, a2, a3); }
142 
143  T *object;
144  FunctionType fn;
145 };
146 
147 template <class R , class Arg1, class Arg2, class Arg3, class Arg4>
148 struct PtrFunctor4 : public BaseFunctor
149 {
150  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4);
151  typedef R ResultType;
152 
153  PtrFunctor4(FunctionType fn) : fn(fn) {}
154 
155  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const { return fn(a1, a2, a3, a4); }
156 
157  FunctionType fn;
158 };
159 
160 template <class R, class T , class Arg1, class Arg2, class Arg3, class Arg4>
161 struct MemberFunctor4 : public BaseFunctor
162 {
163  typedef R (T::*FunctionType)(Arg1, Arg2, Arg3, Arg4);
164  typedef R ResultType;
165 
166  MemberFunctor4(T *object, FunctionType fn) : object(object), fn(fn) {}
167 
168  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const { return (object->*(fn))(a1, a2, a3, a4); }
169 
170  T *object;
171  FunctionType fn;
172 };
173 
174 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
175 struct PtrFunctor5 : public BaseFunctor
176 {
177  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5);
178  typedef R ResultType;
179 
180  PtrFunctor5(FunctionType fn) : fn(fn) {}
181 
182  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const { return fn(a1, a2, a3, a4, a5); }
183 
184  FunctionType fn;
185 };
186 
187 template <class R, class T , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
188 struct MemberFunctor5 : public BaseFunctor
189 {
190  typedef R (T::*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5);
191  typedef R ResultType;
192 
193  MemberFunctor5(T *object, FunctionType fn) : object(object), fn(fn) {}
194 
195  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const { return (object->*(fn))(a1, a2, a3, a4, a5); }
196 
197  T *object;
198  FunctionType fn;
199 };
200 
201 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
202 struct PtrFunctor6 : public BaseFunctor
203 {
204  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6);
205  typedef R ResultType;
206 
207  PtrFunctor6(FunctionType fn) : fn(fn) {}
208 
209  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const { return fn(a1, a2, a3, a4, a5, a6); }
210 
211  FunctionType fn;
212 };
213 
214 template <class R, class T , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
215 struct MemberFunctor6 : public BaseFunctor
216 {
217  typedef R (T::*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6);
218  typedef R ResultType;
219 
220  MemberFunctor6(T *object, FunctionType fn) : object(object), fn(fn) {}
221 
222  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const { return (object->*(fn))(a1, a2, a3, a4, a5, a6); }
223 
224  T *object;
225  FunctionType fn;
226 };
227 
228 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
229 struct PtrFunctor7 : public BaseFunctor
230 {
231  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7);
232  typedef R ResultType;
233 
234  PtrFunctor7(FunctionType fn) : fn(fn) {}
235 
236  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const { return fn(a1, a2, a3, a4, a5, a6, a7); }
237 
238  FunctionType fn;
239 };
240 
241 template <class R, class T , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
242 struct MemberFunctor7 : public BaseFunctor
243 {
244  typedef R (T::*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7);
245  typedef R ResultType;
246 
247  MemberFunctor7(T *object, FunctionType fn) : object(object), fn(fn) {}
248 
249  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const { return (object->*(fn))(a1, a2, a3, a4, a5, a6, a7); }
250 
251  T *object;
252  FunctionType fn;
253 };
254 
255 // convenience methods
256 
257 // ptrFun
258 
259 template <class R>
260 inline PtrFunctor0<R>
261 ptrFun(R (*fn)() )
262 { return PtrFunctor0<R>(fn); }
263 
264 template <class R, class Arg1>
266 ptrFun(R (*fn)(Arg1) )
267 { return PtrFunctor1<R, Arg1>(fn); }
268 
269 template <class R, class Arg1, class Arg2>
271 ptrFun(R (*fn)(Arg1, Arg2) )
272 { return PtrFunctor2<R, Arg1, Arg2>(fn); }
273 
274 template <class R, class Arg1, class Arg2, class Arg3>
276 ptrFun(R (*fn)(Arg1, Arg2, Arg3) )
277 { return PtrFunctor3<R, Arg1, Arg2, Arg3>(fn); }
278 
279 template <class R, class Arg1, class Arg2, class Arg3, class Arg4>
281 ptrFun(R (*fn)(Arg1, Arg2, Arg3, Arg4) )
283 
284 template <class R, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
286 ptrFun(R (*fn)(Arg1, Arg2, Arg3, Arg4, Arg5) )
288 
289 template <class R, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
291 ptrFun(R (*fn)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6) )
293 
294 template <class R, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
296 ptrFun(R (*fn)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7) )
298 
299 // memFun
300 
301 template <class R, class T>
303 memFun( T *obj, R (T::*fn)() )
304 { return MemberFunctor0<R, T>(obj, fn); }
305 
306 template <class R, class T, class Arg1>
308 memFun( T *obj, R (T::*fn)(Arg1) )
309 { return MemberFunctor1<R, T, Arg1>(obj, fn); }
310 
311 template <class R, class T, class Arg1, class Arg2>
313 memFun( T *obj, R (T::*fn)(Arg1, Arg2) )
314 { return MemberFunctor2<R, T, Arg1, Arg2>(obj, fn); }
315 
316 template <class R, class T, class Arg1, class Arg2, class Arg3>
318 memFun( T *obj, R (T::*fn)(Arg1, Arg2, Arg3) )
319 { return MemberFunctor3<R, T, Arg1, Arg2, Arg3>(obj, fn); }
320 
321 template <class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
323 memFun( T *obj, R (T::*fn)(Arg1, Arg2, Arg3, Arg4) )
325 
326 template <class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
328 memFun( T *obj, R (T::*fn)(Arg1, Arg2, Arg3, Arg4, Arg5) )
330 
331 template <class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
333 memFun( T *obj, R (T::*fn)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6) )
335 
336 template <class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
338 memFun( T *obj, R (T::*fn)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7) )
340 
341 }
342 
343 #endif
PtrFunctor1(FunctionType fn)
Definition: functors.h:72
FunctionType fn
Definition: functors.h:252
FunctionType fn
Definition: functors.h:157
Definition: functors.h:40
FunctionType fn
Definition: functors.h:198
R ResultType
Definition: functors.h:205
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
Definition: functors.h:168
T * object
Definition: functors.h:251
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
Definition: functors.h:249
R ResultType
Definition: functors.h:245
ResultType operator()(Arg1 a1, Arg2 a2) const
Definition: functors.h:101
Definition: functors.h:121
PtrFunctor0(FunctionType fn)
Definition: functors.h:45
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const
Definition: functors.h:141
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
Definition: functors.h:236
Definition: functors.h:80
MemberFunctor3(T *object, FunctionType fn)
Definition: functors.h:139
T * object
Definition: functors.h:116
MemberFunctor0(T *object, FunctionType fn)
Definition: functors.h:58
Definition: functors.h:202
T * object
Definition: functors.h:224
PtrFunctor7(FunctionType fn)
Definition: functors.h:234
FunctionType fn
Definition: functors.h:117
FunctionType fn
Definition: functors.h:225
Definition: functors.h:161
FunctionType fn
Definition: functors.h:49
T * object
Definition: functors.h:143
T * object
Definition: functors.h:197
Definition: functors.h:242
PtrFunctor4(FunctionType fn)
Definition: functors.h:153
FunctionType fn
Definition: functors.h:171
R ResultType
Definition: functors.h:232
PtrFunctor3(FunctionType fn)
Definition: functors.h:126
R ResultType
Definition: functors.h:137
FunctionType fn
Definition: functors.h:238
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
Definition: functors.h:209
MemberFunctor6(T *object, FunctionType fn)
Definition: functors.h:220
FunctionType fn
Definition: functors.h:103
Definition: functors.h:53
ResultType operator()() const
Definition: functors.h:60
PtrFunctor0< R > ptrFun(R(*fn)())
Definition: functors.h:261
R ResultType
Definition: functors.h:178
PtrFunctor2(FunctionType fn)
Definition: functors.h:99
Definition: functors.h:229
FunctionType fn
Definition: functors.h:130
MemberFunctor5(T *object, FunctionType fn)
Definition: functors.h:193
Definition: functors.h:175
FunctionType fn
Definition: functors.h:76
R ResultType
Definition: functors.h:43
PtrFunctor5(FunctionType fn)
Definition: functors.h:180
FunctionType fn
Definition: functors.h:63
Definition: functors.h:94
R ResultType
Definition: functors.h:56
Definition: functors.h:215
FunctionType fn
Definition: functors.h:184
FunctionType fn
Definition: functors.h:90
R ResultType
Definition: functors.h:218
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const
Definition: functors.h:128
Definition: functors.h:134
ResultType operator()(Arg1 a1) const
Definition: functors.h:87
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
Definition: functors.h:182
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
Definition: functors.h:222
MemberFunctor2(T *object, FunctionType fn)
Definition: functors.h:112
ResultType operator()(Arg1 a1, Arg2 a2) const
Definition: functors.h:114
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
Definition: functors.h:195
PtrFunctor6(FunctionType fn)
Definition: functors.h:207
T * object
Definition: functors.h:170
R ResultType
Definition: functors.h:151
R ResultType
Definition: functors.h:191
FunctionType fn
Definition: functors.h:144
Definition: functors.h:67
R ResultType
Definition: functors.h:70
Definition: abstract-adaptor.cpp:31
ResultType operator()(Arg1 a1) const
Definition: functors.h:74
T * object
Definition: functors.h:62
Definition: functors.h:148
MemberFunctor0< R, T > memFun(T *obj, R(T::*fn)())
Definition: functors.h:303
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
Definition: functors.h:155
Definition: functors.h:107
MemberFunctor7(T *object, FunctionType fn)
Definition: functors.h:247
T * object
Definition: functors.h:89
ResultType operator()() const
Definition: functors.h:47
Definition: functors.h:188
FunctionType fn
Definition: functors.h:211
MemberFunctor4(T *object, FunctionType fn)
Definition: functors.h:166
R ResultType
Definition: functors.h:124
R ResultType
Definition: functors.h:110
Definition: functors.h:35
R ResultType
Definition: functors.h:164
R ResultType
Definition: functors.h:83
R ResultType
Definition: functors.h:97
MemberFunctor1(T *object, FunctionType fn)
Definition: functors.h:85


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00879.html0000644000175000017500000076317712727270137021036 0ustar00kaffeinekaffeine00000000000000 Enumerated type constants
   Home · All Classes · All Namespaces · Modules · Functions · Files
Enumerations | Variables
Enumerated type constants

Enumerations

enum  Tp::HandleType {
  Tp::HandleTypeNone, Tp::HandleTypeContact, Tp::HandleTypeRoom, Tp::HandleTypeList,
  Tp::HandleTypeGroup, Tp::_HandleTypePadding
}
 
enum  Tp::ConnectionStatus { Tp::ConnectionStatusConnected, Tp::ConnectionStatusConnecting, Tp::ConnectionStatusDisconnected, Tp::_ConnectionStatusPadding }
 
enum  Tp::ConnectionStatusReason {
  Tp::ConnectionStatusReasonNoneSpecified, Tp::ConnectionStatusReasonRequested, Tp::ConnectionStatusReasonNetworkError, Tp::ConnectionStatusReasonAuthenticationFailed,
  Tp::ConnectionStatusReasonEncryptionError, Tp::ConnectionStatusReasonNameInUse, Tp::ConnectionStatusReasonCertNotProvided, Tp::ConnectionStatusReasonCertUntrusted,
  Tp::ConnectionStatusReasonCertExpired, Tp::ConnectionStatusReasonCertNotActivated, Tp::ConnectionStatusReasonCertHostnameMismatch, Tp::ConnectionStatusReasonCertFingerprintMismatch,
  Tp::ConnectionStatusReasonCertSelfSigned, Tp::ConnectionStatusReasonCertOtherError, Tp::ConnectionStatusReasonCertRevoked, Tp::ConnectionStatusReasonCertInsecure,
  Tp::ConnectionStatusReasonCertLimitExceeded, Tp::_ConnectionStatusReasonPadding
}
 
enum  Tp::ContactListState {
  Tp::ContactListStateNone, Tp::ContactListStateWaiting, Tp::ContactListStateFailure, Tp::ContactListStateSuccess,
  Tp::_ContactListStatePadding
}
 
enum  Tp::SubscriptionState {
  Tp::SubscriptionStateUnknown, Tp::SubscriptionStateNo, Tp::SubscriptionStateRemovedRemotely, Tp::SubscriptionStateAsk,
  Tp::SubscriptionStateYes, Tp::_SubscriptionStatePadding
}
 
enum  Tp::ContactMetadataStorageType {
  Tp::ContactMetadataStorageTypeNone, Tp::ContactMetadataStorageTypeSubscribedOrPending, Tp::ContactMetadataStorageTypeSubscribed, Tp::ContactMetadataStorageTypeAnyone,
  Tp::_ContactMetadataStorageTypePadding
}
 
enum  Tp::HTTPMethod { Tp::HTTPMethodGet, Tp::HTTPMethodPost, Tp::_HTTPMethodPadding }
 
enum  Tp::ServicePointType { Tp::ServicePointTypeNone, Tp::ServicePointTypeEmergency, Tp::ServicePointTypeCounseling, Tp::_ServicePointTypePadding }
 
enum  Tp::ConnectionPresenceType {
  Tp::ConnectionPresenceTypeUnset, Tp::ConnectionPresenceTypeOffline, Tp::ConnectionPresenceTypeAvailable, Tp::ConnectionPresenceTypeAway,
  Tp::ConnectionPresenceTypeExtendedAway, Tp::ConnectionPresenceTypeHidden, Tp::ConnectionPresenceTypeBusy, Tp::ConnectionPresenceTypeUnknown,
  Tp::ConnectionPresenceTypeError, Tp::_ConnectionPresenceTypePadding
}
 
enum  Tp::AccessControlType {
  Tp::AccessControlTypeWhitelist, Tp::AccessControlTypePublishList, Tp::AccessControlTypeGroup, Tp::AccessControlTypeOpen,
  Tp::AccessControlTypeSubscribeOrPublishList, Tp::AccessControlTypeClosed, Tp::AccessControlTypeNotUnderstood, Tp::_AccessControlTypePadding
}
 
enum  Tp::RichPresenceAccessControlType {
  Tp::RichPresenceAccessControlTypeWhitelist, Tp::RichPresenceAccessControlTypePublishList, Tp::RichPresenceAccessControlTypeGroup, Tp::RichPresenceAccessControlTypeOpen,
  Tp::_RichPresenceAccessControlTypePadding
}
 
enum  Tp::CallState {
  Tp::CallStateUnknown, Tp::CallStatePendingInitiator, Tp::CallStateInitialising, Tp::CallStateInitialised,
  Tp::CallStateAccepted, Tp::CallStateActive, Tp::CallStateEnded, Tp::_CallStatePadding
}
 
enum  Tp::CallStateChangeReason {
  Tp::CallStateChangeReasonUnknown, Tp::CallStateChangeReasonProgressMade, Tp::CallStateChangeReasonUserRequested, Tp::CallStateChangeReasonForwarded,
  Tp::CallStateChangeReasonRejected, Tp::CallStateChangeReasonNoAnswer, Tp::CallStateChangeReasonInvalidContact, Tp::CallStateChangeReasonPermissionDenied,
  Tp::CallStateChangeReasonBusy, Tp::CallStateChangeReasonInternalError, Tp::CallStateChangeReasonServiceError, Tp::CallStateChangeReasonNetworkError,
  Tp::CallStateChangeReasonMediaError, Tp::CallStateChangeReasonConnectivityError, Tp::_CallStateChangeReasonPadding
}
 
enum  Tp::ChannelContactSearchState {
  Tp::ChannelContactSearchStateNotStarted, Tp::ChannelContactSearchStateInProgress, Tp::ChannelContactSearchStateMoreAvailable, Tp::ChannelContactSearchStateCompleted,
  Tp::ChannelContactSearchStateFailed, Tp::_ChannelContactSearchStatePadding
}
 
enum  Tp::FileTransferState {
  Tp::FileTransferStateNone, Tp::FileTransferStatePending, Tp::FileTransferStateAccepted, Tp::FileTransferStateOpen,
  Tp::FileTransferStateCompleted, Tp::FileTransferStateCancelled, Tp::_FileTransferStatePadding
}
 
enum  Tp::FileTransferStateChangeReason {
  Tp::FileTransferStateChangeReasonNone, Tp::FileTransferStateChangeReasonRequested, Tp::FileTransferStateChangeReasonLocalStopped, Tp::FileTransferStateChangeReasonRemoteStopped,
  Tp::FileTransferStateChangeReasonLocalError, Tp::FileTransferStateChangeReasonRemoteError, Tp::_FileTransferStateChangeReasonPadding
}
 
enum  Tp::FileHashType {
  Tp::FileHashTypeNone, Tp::FileHashTypeMD5, Tp::FileHashTypeSHA1, Tp::FileHashTypeSHA256,
  Tp::_FileHashTypePadding
}
 
enum  Tp::MediaStreamType { Tp::MediaStreamTypeAudio, Tp::MediaStreamTypeVideo, Tp::_MediaStreamTypePadding }
 
enum  Tp::MediaStreamState { Tp::MediaStreamStateDisconnected, Tp::MediaStreamStateConnecting, Tp::MediaStreamStateConnected, Tp::_MediaStreamStatePadding }
 
enum  Tp::MediaStreamDirection {
  Tp::MediaStreamDirectionNone, Tp::MediaStreamDirectionSend, Tp::MediaStreamDirectionReceive, Tp::MediaStreamDirectionBidirectional,
  Tp::_MediaStreamDirectionPadding
}
 
enum  Tp::ChannelTextSendError {
  Tp::ChannelTextSendErrorUnknown, Tp::ChannelTextSendErrorOffline, Tp::ChannelTextSendErrorInvalidContact, Tp::ChannelTextSendErrorPermissionDenied,
  Tp::ChannelTextSendErrorTooLong, Tp::ChannelTextSendErrorNotImplemented, Tp::_ChannelTextSendErrorPadding
}
 
enum  Tp::ChannelTextMessageType {
  Tp::ChannelTextMessageTypeNormal, Tp::ChannelTextMessageTypeAction, Tp::ChannelTextMessageTypeNotice, Tp::ChannelTextMessageTypeAutoReply,
  Tp::ChannelTextMessageTypeDeliveryReport, Tp::_ChannelTextMessageTypePadding
}
 
enum  Tp::TubeType { Tp::TubeTypeDBus, Tp::TubeTypeStream, Tp::_TubeTypePadding }
 
enum  Tp::TubeState { Tp::TubeStateLocalPending, Tp::TubeStateRemotePending, Tp::TubeStateOpen, Tp::_TubeStatePadding }
 
enum  Tp::CaptchaCancelReason { Tp::CaptchaCancelReasonUserCancelled, Tp::CaptchaCancelReasonNotSupported, Tp::CaptchaCancelReasonServiceConfused, Tp::_CaptchaCancelReasonPadding }
 
enum  Tp::CaptchaStatus {
  Tp::CaptchaStatusLocalPending, Tp::CaptchaStatusRemotePending, Tp::CaptchaStatusSucceeded, Tp::CaptchaStatusTryAgain,
  Tp::CaptchaStatusFailed, Tp::_CaptchaStatusPadding
}
 
enum  Tp::ChannelChatState {
  Tp::ChannelChatStateGone, Tp::ChannelChatStateInactive, Tp::ChannelChatStateActive, Tp::ChannelChatStatePaused,
  Tp::ChannelChatStateComposing, Tp::_ChannelChatStatePadding
}
 
enum  Tp::DTMFEvent {
  Tp::DTMFEventDigit0, Tp::DTMFEventDigit1, Tp::DTMFEventDigit2, Tp::DTMFEventDigit3,
  Tp::DTMFEventDigit4, Tp::DTMFEventDigit5, Tp::DTMFEventDigit6, Tp::DTMFEventDigit7,
  Tp::DTMFEventDigit8, Tp::DTMFEventDigit9, Tp::DTMFEventAsterisk, Tp::DTMFEventHash,
  Tp::DTMFEventLetterA, Tp::DTMFEventLetterB, Tp::DTMFEventLetterC, Tp::DTMFEventLetterD,
  Tp::_DTMFEventPadding
}
 
enum  Tp::ChannelGroupChangeReason {
  Tp::ChannelGroupChangeReasonNone, Tp::ChannelGroupChangeReasonOffline, Tp::ChannelGroupChangeReasonKicked, Tp::ChannelGroupChangeReasonBusy,
  Tp::ChannelGroupChangeReasonInvited, Tp::ChannelGroupChangeReasonBanned, Tp::ChannelGroupChangeReasonError, Tp::ChannelGroupChangeReasonInvalidContact,
  Tp::ChannelGroupChangeReasonNoAnswer, Tp::ChannelGroupChangeReasonRenamed, Tp::ChannelGroupChangeReasonPermissionDenied, Tp::ChannelGroupChangeReasonSeparated,
  Tp::_ChannelGroupChangeReasonPadding
}
 
enum  Tp::LocalHoldState {
  Tp::LocalHoldStateUnheld, Tp::LocalHoldStateHeld, Tp::LocalHoldStatePendingHold, Tp::LocalHoldStatePendingUnhold,
  Tp::_LocalHoldStatePadding
}
 
enum  Tp::LocalHoldStateReason { Tp::LocalHoldStateReasonNone, Tp::LocalHoldStateReasonRequested, Tp::LocalHoldStateReasonResourceNotAvailable, Tp::_LocalHoldStateReasonPadding }
 
enum  Tp::DeliveryStatus {
  Tp::DeliveryStatusUnknown, Tp::DeliveryStatusDelivered, Tp::DeliveryStatusTemporarilyFailed, Tp::DeliveryStatusPermanentlyFailed,
  Tp::DeliveryStatusAccepted, Tp::DeliveryStatusRead, Tp::DeliveryStatusDeleted, Tp::_DeliveryStatusPadding
}
 
enum  Tp::SASLAbortReason { Tp::SASLAbortReasonInvalidChallenge, Tp::SASLAbortReasonUserAbort, Tp::_SASLAbortReasonPadding }
 
enum  Tp::SASLStatus {
  Tp::SASLStatusNotStarted, Tp::SASLStatusInProgress, Tp::SASLStatusServerSucceeded, Tp::SASLStatusClientAccepted,
  Tp::SASLStatusSucceeded, Tp::SASLStatusServerFailed, Tp::SASLStatusClientFailed, Tp::_SASLStatusPadding
}
 
enum  Tp::TubeChannelState {
  Tp::TubeChannelStateLocalPending, Tp::TubeChannelStateRemotePending, Tp::TubeChannelStateOpen, Tp::TubeChannelStateNotOffered,
  Tp::_TubeChannelStatePadding
}
 
enum  Tp::SocketAddressType {
  Tp::SocketAddressTypeUnix, Tp::SocketAddressTypeAbstractUnix, Tp::SocketAddressTypeIPv4, Tp::SocketAddressTypeIPv6,
  Tp::_SocketAddressTypePadding
}
 
enum  Tp::SocketAccessControl {
  Tp::SocketAccessControlLocalhost, Tp::SocketAccessControlPort, Tp::SocketAccessControlNetmask, Tp::SocketAccessControlCredentials,
  Tp::_SocketAccessControlPadding
}
 
enum  Tp::MediaStreamError {
  Tp::MediaStreamErrorUnknown, Tp::MediaStreamErrorEOS, Tp::MediaStreamErrorCodecNegotiationFailed, Tp::MediaStreamErrorConnectionFailed,
  Tp::MediaStreamErrorNetworkError, Tp::MediaStreamErrorNoCodecs, Tp::MediaStreamErrorInvalidCMBehavior, Tp::MediaStreamErrorMediaError,
  Tp::_MediaStreamErrorPadding
}
 
enum  Tp::MediaStreamBaseProto { Tp::MediaStreamBaseProtoUDP, Tp::MediaStreamBaseProtoTCP, Tp::_MediaStreamBaseProtoPadding }
 
enum  Tp::MediaStreamTransportType { Tp::MediaStreamTransportTypeLocal, Tp::MediaStreamTransportTypeDerived, Tp::MediaStreamTransportTypeRelay, Tp::_MediaStreamTransportTypePadding }
 
enum  Tp::DebugLevel {
  Tp::DebugLevelError, Tp::DebugLevelCritical, Tp::DebugLevelWarning, Tp::DebugLevelMessage,
  Tp::DebugLevelInfo, Tp::DebugLevelDebug, Tp::_DebugLevelPadding
}
 
enum  Tp::TLSCertificateState { Tp::TLSCertificateStatePending, Tp::TLSCertificateStateAccepted, Tp::TLSCertificateStateRejected, Tp::_TLSCertificateStatePadding }
 
enum  Tp::TLSCertificateRejectReason {
  Tp::TLSCertificateRejectReasonUnknown, Tp::TLSCertificateRejectReasonUntrusted, Tp::TLSCertificateRejectReasonExpired, Tp::TLSCertificateRejectReasonNotActivated,
  Tp::TLSCertificateRejectReasonFingerprintMismatch, Tp::TLSCertificateRejectReasonHostnameMismatch, Tp::TLSCertificateRejectReasonSelfSigned, Tp::TLSCertificateRejectReasonRevoked,
  Tp::TLSCertificateRejectReasonInsecure, Tp::TLSCertificateRejectReasonLimitExceeded, Tp::_TLSCertificateRejectReasonPadding
}
 
enum  Tp::CallContentPacketizationType { Tp::CallContentPacketizationTypeRTP, Tp::CallContentPacketizationTypeRaw, Tp::CallContentPacketizationTypeMSNWebcam, Tp::_CallContentPacketizationTypePadding }
 
enum  Tp::CallContentDisposition { Tp::CallContentDispositionNone, Tp::CallContentDispositionInitial, Tp::_CallContentDispositionPadding }
 
enum  Tp::RCPTXRRTTMode { Tp::RCPTXRRTTModeAll, Tp::RCPTXRRTTModeSender, Tp::_RCPTXRRTTModePadding }
 
enum  Tp::StreamFlowState {
  Tp::StreamFlowStateStopped, Tp::StreamFlowStatePendingStart, Tp::StreamFlowStatePendingStop, Tp::StreamFlowStateStarted,
  Tp::_StreamFlowStatePadding
}
 
enum  Tp::CallStreamCandidateType {
  Tp::CallStreamCandidateTypeNone, Tp::CallStreamCandidateTypeHost, Tp::CallStreamCandidateTypeServerReflexive, Tp::CallStreamCandidateTypePeerReflexive,
  Tp::CallStreamCandidateTypeRelay, Tp::CallStreamCandidateTypeMulticast, Tp::_CallStreamCandidateTypePadding
}
 
enum  Tp::StreamComponent { Tp::StreamComponentUnknown, Tp::StreamComponentData, Tp::StreamComponentControl, Tp::_StreamComponentPadding }
 
enum  Tp::StreamTransportType {
  Tp::StreamTransportTypeUnknown, Tp::StreamTransportTypeRawUDP, Tp::StreamTransportTypeICE, Tp::StreamTransportTypeGTalkP2P,
  Tp::StreamTransportTypeWLM2009, Tp::StreamTransportTypeSHM, Tp::StreamTransportTypeMulticast, Tp::_StreamTransportTypePadding
}
 
enum  Tp::SendingState {
  Tp::SendingStateNone, Tp::SendingStatePendingSend, Tp::SendingStateSending, Tp::SendingStatePendingStopSending,
  Tp::_SendingStatePadding
}
 
enum  Tp::StreamEndpointState {
  Tp::StreamEndpointStateConnecting, Tp::StreamEndpointStateProvisionallyConnected, Tp::StreamEndpointStateFullyConnected, Tp::StreamEndpointStateExhaustedCandidates,
  Tp::StreamEndpointStateFailed, Tp::_StreamEndpointStatePadding
}
 
enum  Tp::LocalMuteState {
  Tp::LocalMuteStateUnmuted, Tp::LocalMuteStateMuted, Tp::LocalMuteStatePendingMute, Tp::LocalMuteStatePendingUnmute,
  Tp::LocalMuteStatePartiallyMuted, Tp::_LocalMuteStatePadding
}
 

Variables

const int Tp::NUM_HANDLE_TYPES
 
const int Tp::NUM_CONNECTION_STATUSES
 
const int Tp::NUM_CONNECTION_STATUS_REASONS
 
const int Tp::NUM_CONTACT_LIST_STATES
 
const int Tp::NUM_SUBSCRIPTION_STATES
 
const int Tp::NUM_CONTACT_METADATA_STORAGE_TYPES
 
const int Tp::NUM_HTTP_METHODS
 
const int Tp::NUM_SERVICE_POINT_TYPES
 
const int Tp::NUM_CONNECTION_PRESENCE_TYPES
 
const int Tp::NUM_ACCESS_CONTROL_TYPES
 
const int Tp::NUM_RICH_PRESENCE_ACCESS_CONTROL_TYPES
 
const int Tp::NUM_CALL_STATES
 
const int Tp::NUM_CALL_STATE_CHANGE_REASONS
 
const int Tp::NUM_CHANNEL_CONTACT_SEARCH_STATES
 
const int Tp::NUM_FILE_TRANSFER_STATES
 
const int Tp::NUM_FILE_TRANSFER_STATE_CHANGE_REASONS
 
const int Tp::NUM_FILE_HASH_TYPES
 
const int Tp::NUM_MEDIA_STREAM_TYPES
 
const int Tp::NUM_MEDIA_STREAM_STATES
 
const int Tp::NUM_MEDIA_STREAM_DIRECTIONS
 
const int Tp::NUM_CHANNEL_TEXT_SEND_ERRORS
 
const int Tp::NUM_CHANNEL_TEXT_MESSAGE_TYPES
 
const int Tp::NUM_TUBE_TYPES
 
const int Tp::NUM_TUBE_STATES
 
const int Tp::NUM_CAPTCHA_CANCEL_REASONS
 
const int Tp::NUM_CAPTCHA_STATUSES
 
const int Tp::NUM_CHANNEL_CHAT_STATES
 
const int Tp::NUM_DTMF_EVENTS
 
const int Tp::NUM_CHANNEL_GROUP_CHANGE_REASONS
 
const int Tp::NUM_LOCAL_HOLD_STATES
 
const int Tp::NUM_LOCAL_HOLD_STATE_REASONS
 
const int Tp::NUM_DELIVERY_STATUSES
 
const int Tp::NUM_SASL_ABORT_REASONS
 
const int Tp::NUM_SASL_STATUSES
 
const int Tp::NUM_TUBE_CHANNEL_STATES
 
const int Tp::NUM_SOCKET_ADDRESS_TYPES
 
const int Tp::NUM_SOCKET_ACCESS_CONTROLS
 
const int Tp::NUM_MEDIA_STREAM_ERRORS
 
const int Tp::NUM_MEDIA_STREAM_BASE_PROTOS
 
const int Tp::NUM_MEDIA_STREAM_TRANSPORT_TYPES
 
const int Tp::NUM_DEBUG_LEVELS
 
const int Tp::NUM_TLS_CERTIFICATE_STATES
 
const int Tp::NUM_TLS_CERTIFICATE_REJECT_REASONS
 
const int Tp::NUM_CALL_CONTENT_PACKETIZATION_TYPES
 
const int Tp::NUM_CALL_CONTENT_DISPOSITIONS
 
const int Tp::NUM_RCPT_XR_RTT_MODES
 
const int Tp::NUM_STREAM_FLOW_STATES
 
const int Tp::NUM_CALL_STREAM_CANDIDATE_TYPES
 
const int Tp::NUM_STREAM_COMPONENTS
 
const int Tp::NUM_STREAM_TRANSPORT_TYPES
 
const int Tp::NUM_SENDING_STATES
 
const int Tp::NUM_STREAM_ENDPOINT_STATES
 
const int Tp::NUM_LOCAL_MUTE_STATES
 

Detailed Description

Types generated from the specification representing enumerated types ie. types the values of which are mutually exclusive integral constants.

Enumeration Type Documentation

Enumerated type generated from the specification.

Enumerator
HandleTypeNone 

A "null" handle type used to indicate the absence of a handle. When a handle type and a handle appear as a pair, if the handle type is zero, the handle must also be zero.

HandleTypeContact 

A contact

HandleTypeRoom 

A chat room

HandleTypeList 

A server-generated contact list (see Channel.Interface.Group)

HandleTypeGroup 

A user-defined contact list (see Channel.Interface.Group)

_HandleTypePadding 

Enumerated type generated from the specification.

Enumerator
ConnectionStatusConnected 

The connection is fully connected and all methods are available.

ConnectionStatusConnecting 

Connect has been called but the connection has not yet been established. Some methods may fail until the connection has been established.

ConnectionStatusDisconnected 

If this is retrieved from GetStatus or Status, it indicates that connection has not yet been attempted. If seen in a StatusChanged signal, it indicates that the connection has failed; the Connection object SHOULD be removed from D-Bus immediately, and all subsequent method calls SHOULD fail.

_ConnectionStatusPadding 

Enumerated type generated from the specification.

A reason why the status of the connection changed. Apart from Requested, the values of this enumeration only make sense as reasons why the status changed to Disconnected.

Enumerator
ConnectionStatusReasonNoneSpecified 

There is no reason set for this state change. Unknown status reasons SHOULD be treated like this reason.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Disconnected.

ConnectionStatusReasonRequested 

The change is in response to a user request. Changes to the Connecting or Connected status SHOULD always indicate this reason; changes to the Disconnected status SHOULD indicate this reason if and only if the disconnection was requested by the user.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cancelled.

ConnectionStatusReasonNetworkError 

There was an error sending or receiving on the network socket.

When the status changes from Connecting to Disconnected for this reason, the equivalent D-Bus error is either org.freedesktop.Telepathy.Error.NetworkError, org.freedesktop.Telepathy.Error.ConnectionRefused, org.freedesktop.Telepathy.Error.ConnectionFailed or some more specific error.

When the status changes from Connected to Disconnected for this reason, the equivalent D-Bus error is either org.freedesktop.Telepathy.Error.NetworkError, org.freedesktop.Telepathy.Error.ConnectionLost or some more specific error.

ConnectionStatusReasonAuthenticationFailed 

The username or password was invalid.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.AuthenticationFailed.

ConnectionStatusReasonEncryptionError 

There was an error negotiating SSL on this connection, or encryption was unavailable and require-encryption was set when the connection was created.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.EncryptionNotAvailable if encryption was not available at all, or org.freedesktop.Telepathy.Error.EncryptionError if encryption failed.

ConnectionStatusReasonNameInUse 

In general, this reason indicates that the requested account name or other identification could not be used due to conflict with another connection. It can be divided into three cases:

  • If the status change is from Connecting to Disconnected and the 'register' parameter to RequestConnection was present and true, the requested account could not be created on the server because it already exists. The equivalent D-Bus error is org.freedesktop.Telepathy.Error.RegistrationExists.
  • If the status change is from Connecting to Disconnected but the 'register' parameter is absent or false, the connection manager could not connect to the specified account because a connection to that account already exists. The equivalent D-Bus error is org.freedesktop.Telepathy.Error.AlreadyConnected.
    In some protocols, like XMPP (when connecting with the same JID and resource as an existing connection), the existing connection "wins" and the new one fails to connect.
  • If the status change is from Connected to Disconnected, the existing connection was automatically disconnected because a new connection to the same account (perhaps from a different client or location) was established. The equivalent D-Bus error is org.freedesktop.Telepathy.Error.ConnectionReplaced.
    In some protocols, like MSNP (when connecting twice with the same Passport), the new connection "wins" and the existing one is automatically disconnected.

ConnectionStatusReasonCertNotProvided 

The server did not provide a SSL certificate.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.NotProvided.

ConnectionStatusReasonCertUntrusted 

The server's SSL certificate is signed by an untrusted certifying authority. This error SHOULD NOT be used to represent a self-signed certificate: use the more specific Cert_Self_Signed reason for that.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.Untrusted.

ConnectionStatusReasonCertExpired 

The server's SSL certificate has expired.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.Expired.

ConnectionStatusReasonCertNotActivated 

The server's SSL certificate is not yet valid.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.NotActivated.

ConnectionStatusReasonCertHostnameMismatch 

The server's SSL certificate did not match its hostname.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.HostnameMismatch.

ConnectionStatusReasonCertFingerprintMismatch 

The server's SSL certificate does not have the expected fingerprint.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.FingerprintMismatch.

ConnectionStatusReasonCertSelfSigned 

The server's SSL certificate is self-signed.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.SelfSigned.

ConnectionStatusReasonCertOtherError 

There was some other error validating the server's SSL certificate.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.Invalid.

ConnectionStatusReasonCertRevoked 

The server's SSL certificate has been revoked.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.Revoked.

ConnectionStatusReasonCertInsecure 

The server's SSL certificate uses an insecure algorithm, or is cryptographically weak.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.Insecure.

ConnectionStatusReasonCertLimitExceeded 

The length in bytes of the server certificate, or the depth of the sever certificate chain exceed the limits imposed by the crypto library.

When disconnected for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cert.LimitExceeded

_ConnectionStatusReasonPadding 

Enumerated type generated from the specification.

The progress made in retrieving the contact list.

Enumerator
ContactListStateNone 

The connection has not started to retrieve the contact list. If GetContactListAttributes is called in this state, it will raise NotYet.

ContactListStateWaiting 

The connection has started to retrieve the contact list, but has not yet succeeded or failed. If GetContactListAttributes is called in this state, it will raise NotYet.

ContactListStateFailure 

The connection has tried and failed to retrieve the contact list. If GetContactListAttributes is called in this state, it will immediately raise an error indicating the reason for failure. The connection manager SHOULD try again to obtain the contact list, if appropriate for the protocol. If it succeeds later, the ContactListState MUST advance to Success.

ContactListStateSuccess 

The connection has successfully retrieved the contact list. If GetContactListAttributes is called in this state, it will return successfully.

_ContactListStatePadding 

Enumerated type generated from the specification.

An enumeration indicating whether presence subscription is denied, denied but pending permission, or allowed. The exact semantics vary according to where this type is used: see the subscribe and publish contact attributes for details.

Enumerator
SubscriptionStateUnknown 

The presence subscription state is unknown.

SubscriptionStateNo 

Presence information cannot be seen, and either the subscription state Removed_Remotely does not apply, or it is not known whether that state applies.

SubscriptionStateRemovedRemotely 

Presence information cannot be seen because the remote contact took action: either the local user's request to see the remote contact's presence was denied, or the remote contact requested to see the local user's presence but then cancelled their request.

SubscriptionStateAsk 

Presence information cannot be seen. Permission to see presence information has been requested, and the request has not yet been declined or accepted.

SubscriptionStateYes 

Presence information can be seen.

_SubscriptionStatePadding 

Enumerated type generated from the specification.

Values of this enumeration indicate the extent to which metadata such as aliases and group memberships can be stored for the contacts on a particular connection.

On some protocols, certain metadata (for instance, contact aliases) can only be stored for contacts on the contact list, or contacts with a particular contact list state.

To make it easier to deal with such protocols, if clients set metadata on a contact who is not in the required state, the Connection MUST cache the metadata for the duration of the session. If clients request the attributes of that contact after the appropriate "set" method has returned successfully, the Connection MUST return the new (cached) value.

If the contact is later placed in the required state to store metadata (for instance, if subscription to the contact's presence is requested, on a protocol like MSN where the alias has storage type Subscribed_Or_Pending), the connection MUST store the cached metadata at that time.

If the Connection didn't cache changes in this way, a client intending to change the alias on MSN would have to wait until the server acknowledged the subscription request; in the meantime, other clients would still display the old alias.

The only exception to that general rule is that if the Connection cannot store particular metadata at all (i.e. the storage type is None), it MUST reject attempts to set it.

If the implementation knows that metadata can't be stored at all, it's useful to report that, which can be done synchronously. In general, user interfaces should detect storage type None and not display editing controls at all.

Enumerator
ContactMetadataStorageTypeNone 

This connection cannot store this type of metadata at all, and attempting to do so will fail with NotImplemented.

Link-local XMPP can't store aliases or group memberships at all, and subscription and presence states are implicit (all contacts on the local network have subscribe = publish = Yes and no other contacts exist).

As of April 2010, the XMPP server for Facebook Chat provides a read-only view of the user's Facebook contacts, so it could also usefully have this storage type.

ContactMetadataStorageTypeSubscribedOrPending 

This type of metadata can only be stored permanently for contacts whose subscribe attribute is Ask or Yes.

Contact aliases and groups on MSN have this behaviour.

ContactMetadataStorageTypeSubscribed 

This type of metadata can only be stored permanently for contacts whose subscribe attribute is Yes.

No service with this behaviour is currently known, but it's a stricter form of Subscribed_Or_Pending.

ContactMetadataStorageTypeAnyone 

The user can set this metadata for any valid contact identifier, whether or not they have any presence subscription relationship to it, and it will be stored on their contact list.

Contact aliases and groups on XMPP have this behaviour; it is possible to put a contact in a group, or assign an alias to them, without requesting that presence be shared.

_ContactMetadataStorageTypePadding 

Enumerated type generated from the specification.

The HTTP Method with which to request a URL.

Enumerator
HTTPMethodGet 

Use the GET method when opening the URL.

HTTPMethodPost 

Use the POST method when opening the URL. Refer to HTTP_Post_Data for more details.

_HTTPMethodPadding 

Enumerated type generated from the specification.

The various types of service points a channel might connect to.

Enumerator
ServicePointTypeNone 

The channel is not communicating with a service point, or it is not known whether it is communicating with a service point (e.g. an ordinary call).

ServicePointTypeEmergency 

The service point is a generic emergency point.

ServicePointTypeCounseling 

The service point is some kind of counseling service (ie, mental health or child-services counseling).

_ServicePointTypePadding 

Enumerated type generated from the specification.

Enumerator
ConnectionPresenceTypeUnset 

An invalid presence type used as a null value. This value MUST NOT appear in the Statuses property, or in the result of GetStatuses on the deprecated Presence interface.

ConnectionPresenceTypeOffline 

Offline

ConnectionPresenceTypeAvailable 

Available

ConnectionPresenceTypeAway 

Away

ConnectionPresenceTypeExtendedAway 

Away for an extended time

ConnectionPresenceTypeHidden 

Hidden (invisible)

ConnectionPresenceTypeBusy 

Busy, Do Not Disturb.

ConnectionPresenceTypeUnknown 

Unknown, unable to determine presence for this contact, for example if the protocol only allows presence of subscribed contacts.

ConnectionPresenceTypeError 

Error, an error occurred while trying to determine presence. The message, if set, is an error from the server.

_ConnectionPresenceTypePadding 

Enumerated type generated from the specification.

A type for communication access control. These control policies are used in org.freedesktop.Telepathy.Connection.Interface.CommunicationPolicy.DRAFT as well as most rich presence interfaces.

New interfaces should use this type, and NOT Rich_Presence_Access_Control_Type.

Enumerator
AccessControlTypeWhitelist 

Only allow contacts that are in a certain whitelist.

The associated variant in Access_Control is a list of Contact_Handle representing the whitelist, with signature au.

AccessControlTypePublishList 

Allow contacts in the user's 'publish' list. The associated variant in Access_Control is ignored.

AccessControlTypeGroup 

Only allow contacts that are in a certain group.

The associated variant in Access_Control is a Group_Handle representing the permitted group.

AccessControlTypeOpen 

Allow all contacts. The associated variant in Access_Control is ignored.

AccessControlTypeSubscribeOrPublishList 

Allow all contacts in the user's 'subscribe' or 'publish' list. The associated variant in Access_Control is ignored.

AccessControlTypeClosed 

Forbid all contacts. The associated variant in Access_Control is ignored.

AccessControlTypeNotUnderstood 

The access control rule is too complex to be represented in the current Telepathy API. The associated variant is meaningless. Setting this mode is never valid; the connection manager MUST raise an error if this is attempted.

XEP-0016 Privacy Lists can easily produce access control mechanisms that can't be expressed in a simpler API. We need to be able to at least indicate that fact.

The associated variant in Access_Control is ignored.

_AccessControlTypePadding 

Enumerated type generated from the specification.

A type of access control for Rich_Presence_Access_Control. For most types, the exact access control is given by an associated variant.

These are the access control types from XMPP publish/subscribe (XEP-0060).

ConnectionInterfaceLocationInterface uses this for historical reasons, new interfaces will use Access_Control_Type.

Enumerator
RichPresenceAccessControlTypeWhitelist 

The associated variant is a list of contacts (signature 'au', Contact_Handle[]) who can see the extended presence information.

RichPresenceAccessControlTypePublishList 

All contacts in the user's 'publish' contact list can see the extended presence information. The associated variant is ignored.

RichPresenceAccessControlTypeGroup 

The associated variant is a handle of type Group (signature 'u', Group_Handle) representing a group of contacts who can see the extended presence information.

RichPresenceAccessControlTypeOpen 

Anyone with access to the service can see the extended presence information.

_RichPresenceAccessControlTypePadding 

Enumerated type generated from the specification.

The state of a call, as a whole.

The allowed transitions are:

  • Pending_Initiator → Initialising (for outgoing calls, when Accept() is called)
  • Initialising → Initialised (for outgoing calls, when the remote client indicates that the user has been notified about the call. If the network is known not to provide feedback about whether the remote side is ringing, then the call should immediately be set to Initialised.
  • Initialising → Initialised (for incoming calls, when e.g. the implementation has been initialised far enough that it is sensible to notify the user about the call (to reduce the probability that the user will pick up the call and have it immediately fail). The UI should then alert the user about the call, and call SetRinging() )
  • Initialised → Accepted (for outgoing calls to a contact, when the remote contact accepts the call; for incoming calls, when Accept() is called.)
  • Accepted → Active (when the local user successfully joins the call/conference, and media is known to be flowing successfully; also, when temporary connection problems are resolved (See below)). If the network is known not to provide feedback about when the call is properly connected, the call should immediately be set to Active.
  • Active → Accepted (when there are temporary connection problems that the CM is aware of and able to recover from)
  • any state → Ended (when the call is terminated normally, or when an error occurs that the CM is unable to recover from)

Clients MAY consider unknown values from this enum to be an error - additional values will not be defined after the Call specification is declared to be stable.

Enumerator
CallStateUnknown 

The call state is not known. This call state MUST NOT appear as a value of the CallState property, but MAY be used by client code to represent calls whose state is as yet unknown.

CallStatePendingInitiator 

The initiator of the call hasn't accepted the call yet. This state only makes sense for outgoing calls, where it means that the local user has not yet sent any signalling messages to the remote user(s), and will not do so until Accept is called.

CallStateInitialising 

Progress has been made in placing the call, but the contact has not been made aware of the call yet. This corresponds to SIP's status code 183 Session Progress, and should be used for the period where the CM is waiting for the streaming implementation to initialise (before sending the initial INVITE or equivalent) and when the outgoing call has reached a gateway or ICE negotiation is pending. UIs should not produce a dialtone or start ringing if the call is in this state.

CallStateInitialised 

In the outgoing case: at least one called user has been alerted about the call (a SIP 180 (Ringing) packet or equivalent has been received) but none have answered, so the call cannot go to Accepted (use Ringing to determine which members have been informed and which haven't, if you care). UIs SHOULD produce a dialtone for outgoing calls in this state. In the incoming case, the local user should be informed of the call as soon as the call reaches this state (and SetRinging should be called to inform the CM that this has happened, so that it can relay this fact to the caller using a SIP 180 (Ringing) packet or equivalent).

CallStateAccepted 

The contact being called has accepted the call, but the call is not in the Active state (The most common reason for this is that the streaming implementation hasn't connected yet).

CallStateActive 

The contact being called has accepted the call, and discourse between at least two parties should now be possible.

CallStateEnded 

The call has ended, either via normal termination or an error.

_CallStatePadding 

Enumerated type generated from the specification.

A simple representation of the reason for a change in the call's state, which may be used by simple clients, or used as a fallback when the DBus_Reason member of a Call_State_Reason struct is not understood.

Enumerator
CallStateChangeReasonUnknown 

We just don't know. Unknown values of this enum SHOULD also be treated like this.

CallStateChangeReasonProgressMade 

Situation normal. Progress has been made in the setup/teardown of the call (and it didn't require any user interaction).

CallStateChangeReasonUserRequested 

The change was requested by the contact indicated by the Actor member of a Call_State_Reason struct.

The DBus_Reason SHOULD be the empty string if the call was terminated normally, but MAY be a non-empty error name to indicate error-like call termination reasons (kicked from a conference by a moderator, etc.).

CallStateChangeReasonForwarded 

The call was forwarded. If known, the handle of the contact the call was forwarded to will be indicated by the "forwarded-to" member of a CallStateDetails dictionnary in the CallStateChanged() signal.

CallStateChangeReasonRejected 

The CallState changed from Initialised or Ended (or a content's direction changed) because it was rejected by the remote user.

Corresponds to Rejected

CallStateChangeReasonNoAnswer 

The CallState changed from Initialised or Ended because the initiator ended the call before the receiver accepted it. With an incoming call this state change reason signifies a missed call, or one that was picked up elsewhere before it was picked up here.

Corresponds to NoAnswer or PickedUpElsewhere

CallStateChangeReasonInvalidContact 

The CallState changed because one of the addresses does not exist on the network.

Corresponds to DoesNotExist

CallStateChangeReasonPermissionDenied 

The CallState changed because the local user is not authorised.

Corresponds to PermissionDenied or InsufficientBalance

CallStateChangeReasonBusy 

The CallState changed from Initialised Ended because the receiver is busy (e.g. is already engaged in another call, and has not placed the initiator in a call-waiting queue).

Corresponds to Busy

CallStateChangeReasonInternalError 

There has been an unexpected error in either the CM or some other local component.

Corresponds to Confused or Media.StreamingError

CallStateChangeReasonServiceError 

There has been an unexpected error in the server or some other remote component.

Corresponds to ServiceConfused

CallStateChangeReasonNetworkError 

There has been a network error related to the CM or the signalling part of the call (compare and contrast: Streaming_Error).

Corresponds to NetworkError

CallStateChangeReasonMediaError 

Some aspect of the content is unsupported so has to be removed from the call.

Corresponds to Media.UnsupportedType or Media.CodecsIncompatible

CallStateChangeReasonConnectivityError 

It was not possible for the streaming implementation to connect to any of the users participating in this call or content. Corresponds to ConnectionFailed or ConnectionLost

_CallStateChangeReasonPadding 

Enumerated type generated from the specification.

Enumerator
ChannelContactSearchStateNotStarted 

The search has not started

ChannelContactSearchStateInProgress 

The search is in progress

ChannelContactSearchStateMoreAvailable 

The search has paused, but more results can be retrieved by calling More.

ChannelContactSearchStateCompleted 

The search has been completed

ChannelContactSearchStateFailed 

The search has failed

_ChannelContactSearchStatePadding 

Enumerated type generated from the specification.

Enumerator
FileTransferStateNone 

An invalid state type used as a null value. This value MUST NOT appear in the State property.

FileTransferStatePending 

The file transfer is waiting to be accepted/closed by the receiver. The receiver has to call AcceptFile, then wait for the state to change to Open and check the offset value.

FileTransferStateAccepted 

The receiver has accepted the transfer. The sender now has to call ProvideFile to actually start the transfer. The receiver should now wait for the state to change to Open and check the offset value.

FileTransferStateOpen 

The file transfer is open for traffic.

FileTransferStateCompleted 

The file transfer has been completed successfully.

FileTransferStateCancelled 

The file transfer has been cancelled.

_FileTransferStatePadding 

Enumerated type generated from the specification.

Enumerator
FileTransferStateChangeReasonNone 

No reason was specified.

FileTransferStateChangeReasonRequested 

The change in state was requested.

FileTransferStateChangeReasonLocalStopped 

The file transfer was cancelled by the local user.

FileTransferStateChangeReasonRemoteStopped 

The file transfer was cancelled by the remote user.

FileTransferStateChangeReasonLocalError 

The file transfer was cancelled because of a local error.

FileTransferStateChangeReasonRemoteError 

The file transfer was cancelled because of a remote error.

_FileTransferStateChangeReasonPadding 

Enumerated type generated from the specification.

Enumerator
FileHashTypeNone 

No hash.

FileHashTypeMD5 

MD5 digest as a string of 32 ASCII hex digits.

FileHashTypeSHA1 

SHA1 digest as a string of ASCII hex digits.

FileHashTypeSHA256 

SHA256 digest as a string of ASCII hex digits.

_FileHashTypePadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamTypeAudio 

An audio stream

MediaStreamTypeVideo 

A video stream

_MediaStreamTypePadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamStateDisconnected 

The stream is disconnected.

MediaStreamStateConnecting 

The stream is trying to connect.

MediaStreamStateConnected 

The stream is connected.

_MediaStreamStatePadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamDirectionNone 

Media are not being sent or received

MediaStreamDirectionSend 

Media are being sent, but not received

MediaStreamDirectionReceive 

Media are being received, but not sent

MediaStreamDirectionBidirectional 

Media are being sent and received

_MediaStreamDirectionPadding 

Enumerated type generated from the specification.

Enumerator
ChannelTextSendErrorUnknown 

An unknown error occurred

ChannelTextSendErrorOffline 

The requested contact was offline

ChannelTextSendErrorInvalidContact 

The requested contact is not valid

ChannelTextSendErrorPermissionDenied 

The user does not have permission to speak on this channel

ChannelTextSendErrorTooLong 

The outgoing message was too long and was rejected by the server

ChannelTextSendErrorNotImplemented 

The channel doesn't support sending text messages to the requested contact

_ChannelTextSendErrorPadding 

Enumerated type generated from the specification.

The type of message.

Enumerator
ChannelTextMessageTypeNormal 

An ordinary chat message. Unknown types SHOULD be treated like this.

ChannelTextMessageTypeAction 

An action which might be presented to the user as "* <sender> <action>", such as an IRC CTCP ACTION (typically selected by the "/me" command). For example, the text of the message might be "drinks more coffee".

ChannelTextMessageTypeNotice 

A one-off or automated message not necessarily expecting a reply

ChannelTextMessageTypeAutoReply 

An automatically-generated reply message.

ChannelTextMessageTypeDeliveryReport 

A delivery report. This message type MUST NOT appear unless the channel supports the Messages interface; see Message_Part for the format that delivery reports must take.

_ChannelTextMessageTypePadding 

Enumerated type generated from the specification.

Enumerator
TubeTypeDBus 

The tube is D-Bus tube as described by the org.freedesktop.Telepathy.Channel.Type.DBusTube interface.

TubeTypeStream 

The tube is stream tube as described by the org.freedesktop.Telepathy.Channel.Type.StreamTube interface.

_TubeTypePadding 

Enumerated type generated from the specification.

Enumerator
TubeStateLocalPending 

The tube is waiting to be accepted/closed locally.

TubeStateRemotePending 

The tube is waiting to be accepted/closed remotely.

TubeStateOpen 

The tube is open for traffic.

_TubeStatePadding 

Enumerated type generated from the specification.

A reason why captcha authentication was aborted by the client.

Enumerator
CaptchaCancelReasonUserCancelled 

The user aborted the authentication. If this is used, the CaptchaError SHOULD be set to Cancelled

CaptchaCancelReasonNotSupported 

The Handler doesn't support the given/required captcha types. If this is used, the CaptchaError SHOULD be set to CaptchaNotSupported. This SHOULD also be used if Close is called before CancelCaptcha. If no Handler supports captcha channels, the ChannelDispatcher will just call Close, because it has no knowledge of specific channel types.

CaptchaCancelReasonServiceConfused 

The Handler doesn't understand the captcha data received. The challenger may be sending gibberish. If this is used, the CaptchaError SHOULD be set to ServiceConfused.

_CaptchaCancelReasonPadding 

Enumerated type generated from the specification.

Enumerator
CaptchaStatusLocalPending 

The challenge/response exchange is in progress and waiting for a local action. Call AnswerCaptchas to go to the Remote_Pending state, or call CancelCaptcha followed by Close to give up.

CaptchaStatusRemotePending 

The challenge/response exchange is in progress and waiting for a response from the server. Wait for a reply from the server, which will result in the Succeeded, Try_Again, or Failed state, or call CancelCaptcha followed by Close to give up.

CaptchaStatusSucceeded 

Everyone is happy. Connection to the server will proceed as soon as this state is reached. There is nothing useful to do in this state except to call Close to close the channel.

CaptchaStatusTryAgain 

The server has indicated an authentication failure. Call GetCaptchas again to get a new captcha, or CancelCaptcha followed by Close to give up.

CaptchaStatusFailed 

Authentication has failed in some way. There is nothing useful to do in this state except to close the channel with Close.

_CaptchaStatusPadding 

Enumerated type generated from the specification.

Enumerator
ChannelChatStateGone 

The contact has effectively ceased participating in the chat.

ChannelChatStateInactive 

The contact has not been active for some time.

ChannelChatStateActive 

The contact is actively participating in the chat.

ChannelChatStatePaused 

The contact has paused composing a message.

ChannelChatStateComposing 

The contact is composing a message to be sent to the chat.

_ChannelChatStatePadding 

Enumerated type generated from the specification.

Enumerator
DTMFEventDigit0 

0

DTMFEventDigit1 

1

DTMFEventDigit2 

2

DTMFEventDigit3 

3

DTMFEventDigit4 

4

DTMFEventDigit5 

5

DTMFEventDigit6 

6

DTMFEventDigit7 

7

DTMFEventDigit8 

8

DTMFEventDigit9 

9

DTMFEventAsterisk 
DTMFEventHash 

#

DTMFEventLetterA 

A

DTMFEventLetterB 

B

DTMFEventLetterC 

C

DTMFEventLetterD 

D

_DTMFEventPadding 

Enumerated type generated from the specification.

The reason for a set of handles to move to one of Members , LocalPendingMembers or RemotePendingMembers , or to be removed from the group. A client may supply a reason when attempting to remove members from a group with RemoveMembersWithReason() , and reasons are supplied by the CM when emitting MembersChanged() and MembersChangedDetailed() . Some reason codes have different meanings depending on the Actor in a MembersChanged signal.

Enumerator
ChannelGroupChangeReasonNone 

No reason was provided for this change.

In particular, this reason SHOULD be used when representing users joining a named chatroom in the usual way, users leaving a chatroom by their own request, and normal termination of a StreamedMedia call by the remote user.

If the SelfHandle is removed from a group for this reason and the actor is not the SelfHandle, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Terminated.

If the SelfHandle is removed from a group for this reason and the actor is also the SelfHandle, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Cancelled.

ChannelGroupChangeReasonOffline 

The change is due to a user going offline. Also used when user is already offline, but this wasn't known previously.

If a one-to-one ChannelTypeStreamedMediaInterface call fails because the contact being called is offline, the connection manager SHOULD indicate this by removing both the SelfHandle and the other contact's handle from the Group interface with reason Offline.

For 1-1 calls, the call terminates as a result of removing the remote contact, so the SelfHandle should be removed at the same time as the remote contact and for the same reason.

If a handle is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Offline.

ChannelGroupChangeReasonKicked 

The change is due to a kick operation.

If the SelfHandle is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Channel.Kicked.

ChannelGroupChangeReasonBusy 

The change is due to a busy indication.

If a one-to-one ChannelTypeStreamedMediaInterface call fails because the contact being called is busy, the connection manager SHOULD indicate this by removing both the SelfHandle and the other contact's handle from the Group interface with reason Busy.

For 1-1 calls, the call terminates as a result of removing the remote contact, so the SelfHandle should be removed at the same time as the remote contact and for the same reason.

If the SelfHandle is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Busy.

ChannelGroupChangeReasonInvited 

The change is due to an invitation. This reason SHOULD only be used when contacts are added to the remote-pending set (to indicate that the contact has been invited) or to the members (to indicate that the contact has accepted the invitation). Otherwise, what would it mean?

ChannelGroupChangeReasonBanned 

The change is due to a kick+ban operation.

If the SelfHandle is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.Channel.Banned.

ChannelGroupChangeReasonError 

The change is due to an error occurring.

ChannelGroupChangeReasonInvalidContact 

The change is because the requested contact does not exist.

For instance, if the user invites a nonexistent contact to a chatroom or attempts to call a nonexistent contact, this could be indicated by the CM adding that contact's handle to remote-pending for reason None or Invited, then removing it for reason Invalid_Contact. In the case of a 1-1 StreamedMedia call, the CM SHOULD remove the self handle from the Group in the same signal.

For 1-1 calls, the call terminates as a result of removing the remote contact, so the SelfHandle should be removed at the same time as the remote contact and for the same reason.

If a contact is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.DoesNotExist.

ChannelGroupChangeReasonNoAnswer 

The change is because the requested contact did not respond.

If a one-to-one ChannelTypeStreamedMediaInterface call fails because the contact being called did not respond, or the local user did not respond to an incoming call, the connection manager SHOULD indicate this by removing both the SelfHandle and the other contact's handle from the Group interface with reason No_Answer.

Documenting existing practice.

If a contact is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.NoAnswer.

ChannelGroupChangeReasonRenamed 

The change is because a contact's unique identifier changed. There must be exactly one handle in the removed set and exactly one handle in one of the added sets. The org.freedesktop.Telepathy.Connection.Interface.Renaming.Renamed signal on the org.freedesktop.Telepathy.Connection.Interface.Renaming interface will have been emitted for the same handles, shortly before this MembersChanged() signal is emitted.

ChannelGroupChangeReasonPermissionDenied 

The change is because there was no permission to contact the requested handle.

If a contact is removed from a group for this reason, the equivalent D-Bus error is org.freedesktop.Telepathy.Error.PermissionDenied.

ChannelGroupChangeReasonSeparated 

If members are removed with this reason code, the change is because the group has split into unconnected parts which can only communicate within themselves (e.g. netsplits on IRC use this reason code).

If members are added with this reason code, the change is because unconnected parts of the group have rejoined. If this channel carries messages (e.g. ChannelTypeTextInterface or ChannelTypeTubesInterface channels) applications must assume that the contacts being added are likely to have missed some messages as a result of the separation, and that the contacts in the group are likely to have missed some messages from the contacts being added.

Note that from the added contacts' perspective, they have been in the group all along, and the contacts we indicate to be in the group (including the local user) have just rejoined the group with reason Separated. Application protocols in Tubes should be prepared to cope with this situation.

The SelfHandle SHOULD NOT be removed from channels with this reason.

_ChannelGroupChangeReasonPadding 

Enumerated type generated from the specification.

The hold state of a channel.

Enumerator
LocalHoldStateUnheld 

All streams are unheld (the call is active). New channels SHOULD have this hold state.

LocalHoldStateHeld 

All streams are held (the call is on hold)

LocalHoldStatePendingHold 

The connection manager is attempting to move to state Held, but has not yet completed that operation. It is unspecified whether any, all or none of the streams making up the channel are on hold. Examining the Hold state of Call Contents (if applicable) may provide more useful information.

LocalHoldStatePendingUnhold 

The connection manager is attempting to move to state Unheld, but has not yet completed that operation. It is unspecified whether any, all or none of the streams making up the channel are on hold. Examining the Hold state of Call Contents (if applicable) may provide more useful information.

_LocalHoldStatePadding 

Enumerated type generated from the specification.

The reason for a change to the Local_Hold_State. Clients MUST treat unknown values as equivalent to Local_Hold_State_Reason_None.

Enumerator
LocalHoldStateReasonNone 

The reason cannot be described by any of the predefined values (connection managers SHOULD avoid this reason, but clients MUST handle it gracefully)

LocalHoldStateReasonRequested 

The change is in response to a user request

LocalHoldStateReasonResourceNotAvailable 

The change is because some resource was not available

_LocalHoldStateReasonPadding 

Enumerated type generated from the specification.

The status of a message as indicated by a delivery report. If this enum is extended in future specifications, this should only be to add new, non-overlapping conditions (i.e. all failures should still be signalled as either Temporarily_Failed or Permanently_Failed). If additional detail is required (e.g. distinguishing between the various types of permanent failure) this will be done using additional Delivery_Report_Header_Keys.

Enumerator
DeliveryStatusUnknown 

The message's disposition is unknown. Clients SHOULD consider all messages to have status Delivery_Status_Unknown unless otherwise specified; connection managers SHOULD NOT signal this delivery status explicitly.

DeliveryStatusDelivered 

The message has been delivered to the intended recipient.

DeliveryStatusTemporarilyFailed 

Delivery of the message has failed. Clients SHOULD notify the user, but MAY automatically try sending another copy of the message. Similar to errors with type="wait" in XMPP; analogous to 4xx errors in SMTP.

DeliveryStatusPermanentlyFailed 

Delivery of the message has failed. Clients SHOULD NOT try again unless by specific user action. If the user does not modify the message or alter configuration before re-sending, this error is likely to happen again. Similar to errors with type="cancel", type="modify" or type="auth" in XMPP; analogous to 5xx errors in SMTP.

DeliveryStatusAccepted 

An intermediate server has accepted the message but the message has not been yet delivered to the ultimate recipient. The connection manager might send a Failed report or Delivered report later. Similar to "202 Accepted" success code in SIP; analogous to 251 and 252 responses in SMTP.

DeliveryStatusRead 

The message has been read by the intended recipient.

DeliveryStatusDeleted 

The message has been deleted by the intended recipient. This MAY be signalled on its own if the message is deleted without being read, or after Read if the message was read before being deleted.

_DeliveryStatusPadding 

Enumerated type generated from the specification.

A reason why SASL authentication was aborted by the client.

Enumerator
SASLAbortReasonInvalidChallenge 

The server sent an invalid challenge or data.

SASLAbortReasonUserAbort 

The user aborted the authentication.

_SASLAbortReasonPadding 

Enumerated type generated from the specification.

Enumerator
SASLStatusNotStarted 

The initial state. The Handler SHOULD either call AbortSASL, or connect to the NewChallenge signal then call StartMechanism or StartMechanismWithData.

SASLStatusInProgress 

The challenge/response exchange is in progress. The Handler SHOULD call either Respond or AcceptSASL exactly once per emission of NewChallenge, or call AbortSASL at any time.

SASLStatusServerSucceeded 

The server has indicated successful authentication, and the connection manager is waiting for confirmation from the Handler. The Handler must call either AcceptSASL or AbortSASL to indicate whether it considers authentication to have been successful.

SASLStatusClientAccepted 

The Handler has indicated successful authentication, and the connection manager is waiting for confirmation from the server. The state will progress to either Succeeded or Server_Failed when confirmation is received.

SASLStatusSucceeded 

Everyone is happy (the server sent success, and the client has called AcceptSASL). Connection to the server will proceed as soon as this state is reached. The Handler SHOULD call Close to close the channel.

SASLStatusServerFailed 

The server has indicated an authentication failure. If CanTryAgain is true, the client may try to authenticate again, by calling StartMechanism or StartMechanismWithData again. Otherwise, it should give up completely, by calling Close on the channel.

SASLStatusClientFailed 

The client has indicated an authentication failure. The possible actions are the same as for Server_Failed.

_SASLStatusPadding 

Enumerated type generated from the specification.

Enumerator
TubeChannelStateLocalPending 

The initiator offered the tube. The tube is waiting to be accepted/closed locally. If the client accepts the tube, the tube's state will be Open.

TubeChannelStateRemotePending 

The tube is waiting to be accepted/closed remotely. If the recipient accepts the tube, the tube's state will be Open.

TubeChannelStateOpen 

The initiator offered the tube and the recipient accepted it. The tube is open for traffic. The tube's state stays in this state until it is closed.

TubeChannelStateNotOffered 

The tube channel has been requested but the tube is not yet offered. The client should offer the tube to the recipient and the tube's state will be Remote_Pending. The method used to offer the tube depends on the tube type.

_TubeChannelStatePadding 

Enumerated type generated from the specification.

Enumerator
SocketAddressTypeUnix 

A Unix socket. The address variant contains a byte-array, signature 'ay', containing the path of the socket.

SocketAddressTypeAbstractUnix 

An abstract Unix socket. The address variant contains a byte-array, signature 'ay', containing the path of the socket including the leading null byte.

SocketAddressTypeIPv4 

An IPv4 socket. The address variant contains a Socket_Address_IPv4, i.e. a structure with signature (sq) in which the string is an IPv4 dotted-quad address literal (and must not be a DNS name), while the 16-bit unsigned integer is the port number.

SocketAddressTypeIPv6 

An IPv6 socket. The address variant contains a Socket_Address_IPv6, i.e. a structure with signature (sq) in which the string is an IPv6 address literal as specified in RFC2373 (and must not be a DNS name), while the 16-bit unsigned integer is the port number.

_SocketAddressTypePadding 

Enumerated type generated from the specification.

Enumerator
SocketAccessControlLocalhost 

The IP or Unix socket can be accessed by any local user (e.g. a Unix socket that accepts all local connections, or an IP socket listening on 127.0.0.1 (or ::1) or rejecting connections not from that address). The associated variant must be ignored. For a D-Bus tube, this means that the "same user" access control typically provided by default in D-Bus implementations SHOULD be disabled. If the socket is only available to local users (e.g. a Unix socket, an IPv4 socket bound to 127.0.0.1, or an IPv6 socket bound to ::1), the ANONYMOUS authentication mechanism MAY be enabled.

SocketAccessControlPort 

May only be used on IP sockets, and only for Stream tubes. The associated variant must contain a struct Socket_Address_IPv4 (or Socket_Address_IPv6) containing the string form of an IP address of the appropriate version, and a port number. The socket can only be accessed if the connecting process has that address and port number; all other connections will be rejected.

SocketAccessControlNetmask 

May only be used on IP sockets. The associated variant must contain a struct Socket_Netmask_IPv4 (or Socket_Netmask_IPv6) with signature (sy), containing the string form of an IP address of the appropriate version, and a prefix length "n". The socket can only be accessed if the first n bits of the connecting address match the first n bits of the given address.

SocketAccessControlCredentials 

The high-level meaning of this access control type is that only the same user (e.g. same numeric Unix uid) is allowed to interact with the tube. Exactly how this is achieved varies by channel type.

For ChannelTypeStreamTubeInterface channels, this access control type may only be used on UNIX sockets. The connecting process must send a byte when it first connects, which is not considered to be part of the data stream. If the operating system uses sendmsg() with SCM_CREDS or SCM_CREDENTIALS to pass credentials over sockets, the connecting process must do so if possible; if not, it must still send the byte, without any attached credentials. (This mechanism is very similar to the first byte of a D-Bus connection, except that in D-Bus the byte is always zero, whereas in Tubes it can be nonzero.)

For ChannelTypeDBusTubeInterface channels, this access control type may be used on any type of socket, and there is no extra byte added by Telepathy at the beginning of the stream: all bytes in the stream are part of the D-Bus tube connection. The connecting process should prove its identity via any of the SASL authentication mechanisms usually used for D-Bus (in typical D-Bus implementations this involves either sending and receiving credentials as above, or demonstrating the ability to write to a file in the user's home directory).

In either case, the listening process will disconnect the connection unless it can determine by OS-specific means that the connecting process has the same user ID as the listening process.

In either tube type, the associated variant must be ignored.

_SocketAccessControlPadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamErrorUnknown 

An unknown error occured.

MediaStreamErrorEOS 

The end of the stream was reached.

MediaStreamErrorCodecNegotiationFailed 

There are no common codecs between the local side and the other particpants in the call. The possible codecs are not signalled here: the streaming implementation is assumed to report them in an implementation-dependent way, e.g. Farsight should use GstMissingElement.

MediaStreamErrorConnectionFailed 

A network connection for the Media could not be established or was lost.

MediaStreamErrorNetworkError 

There was an error in the networking stack (other than the connection failure).

MediaStreamErrorNoCodecs 

There are no installed codecs for this media type.

MediaStreamErrorInvalidCMBehavior 

The CM is doing something wrong.

MediaStreamErrorMediaError 

There was an error in the media processing stack.

_MediaStreamErrorPadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamBaseProtoUDP 

UDP (User Datagram Protocol)

MediaStreamBaseProtoTCP 

TCP (Transmission Control Protocol)

_MediaStreamBaseProtoPadding 

Enumerated type generated from the specification.

Enumerator
MediaStreamTransportTypeLocal 

A local address

MediaStreamTransportTypeDerived 

An external address derived by a method such as STUN

MediaStreamTransportTypeRelay 

An external stream relay

_MediaStreamTransportTypePadding 

Enumerated type generated from the specification.

Enumerator
DebugLevelError 

Log level for errors. Error messages are always fatal, resulting in the service terminating after something completely unexpected occurred.

DebugLevelCritical 

Log level for critical messages. Critical messages are messages that the service might predict and it is up to the service itself to decide whether to terminate following a critical message.

DebugLevelWarning 

Log level for warnings.

DebugLevelMessage 

Log level for messages.

DebugLevelInfo 

Log level for information messages.

DebugLevelDebug 

Log level for debug messages.

_DebugLevelPadding 

Enumerated type generated from the specification.

The possible states for a TLSCertificate object.

Enumerator
TLSCertificateStatePending 

The certificate is currently waiting to be accepted or rejected.

TLSCertificateStateAccepted 

The certificate has been verified.

TLSCertificateStateRejected 

The certificate has been rejected.

_TLSCertificateStatePadding 

Enumerated type generated from the specification.

Possible reasons to reject a TLS certificate.

Enumerator
TLSCertificateRejectReasonUnknown 

The certificate has been rejected for another reason not listed in this enumeration.

TLSCertificateRejectReasonUntrusted 

The certificate is not trusted.

TLSCertificateRejectReasonExpired 

The certificate is expired.

TLSCertificateRejectReasonNotActivated 

The certificate is not active yet.

TLSCertificateRejectReasonFingerprintMismatch 

The certificate provided does not have the expected fingerprint.

TLSCertificateRejectReasonHostnameMismatch 

The hostname certified does not match the provided one.

TLSCertificateRejectReasonSelfSigned 

The certificate is self-signed.

TLSCertificateRejectReasonRevoked 

The certificate has been revoked.

TLSCertificateRejectReasonInsecure 

The certificate uses an insecure cipher algorithm, or is cryptographically weak.

TLSCertificateRejectReasonLimitExceeded 

The length in bytes of the certificate, or the depth of the certificate chain exceed the limits imposed by the crypto library.

_TLSCertificateRejectReasonPadding 

Enumerated type generated from the specification.

A packetization method that can be used for a content.

Enumerator
CallContentPacketizationTypeRTP 

Real-time Transport Protocol, as documented by RFC 3550.

CallContentPacketizationTypeRaw 

Raw media.

CallContentPacketizationTypeMSNWebcam 

MSN webcam. This is the video-only one-way type which was used in earlier versions of WLM. Although no longer used, modern WLM clients still support the MSN webcam protocol.

_CallContentPacketizationTypePadding 

Enumerated type generated from the specification.

The disposition of this content, which defines whether to automatically start sending data on the streams when Accept is called on the channel.

Enumerator
CallContentDispositionNone 

The content has no specific disposition.

CallContentDispositionInitial 

The content was initially part of the call. When ChannelTypeCallInterface::Accept() is called on the channel, all streams of this content with CallStreamInterface::LocalSendingState set to Pending_Send will be moved to Sending as if CallStreamInterface::SetSending() (True) had been called.

_CallContentDispositionPadding 

Enumerated type generated from the specification.

Enumerator
RCPTXRRTTModeAll 

Both RTP data senders and data receivers MAY send DLRR blocks.

RCPTXRRTTModeSender 

Only active RTP senders MAY send DLRR blocks, i.e., non RTP senders SHALL NOT send DLRR blocks.

_RCPTXRRTTModePadding 

Enumerated type generated from the specification.

The type of SendingState and ReceivingState .

Enumerator
StreamFlowStateStopped 

No data is flowing (or expected to be flowing) at this time.

StreamFlowStatePendingStart 

The streaming implementation has been told to start or receiving, but has not yet indicated that it is doing so.

StreamFlowStatePendingStop 

The streaming implementation has been told to stop sending or receiving data, but it has not yet indicated that it has done so.

StreamFlowStateStarted 

The streaming implementation is successfully sending or receiving data, and everything is going swimmingly.

_StreamFlowStatePadding 

Enumerated type generated from the specification.

The network topology that an IP candidate represents. This can sometimes be used to infer what kind of performance characteristics (latency, bandwith, etc) can be expected of connections made to this candidate.

Enumerator
CallStreamCandidateTypeNone 

This is not an IP candidate. This is a reserved value, and should not be seen on the bus.

CallStreamCandidateTypeHost 

This candidate represents a direct connection to the host, as its address is taken directly the host's IP stack.

CallStreamCandidateTypeServerReflexive 

This candidate probably represents a connection to the host through a NAT device, as its address was discovered by sending a binding request to a STUN server or similar.

CallStreamCandidateTypePeerReflexive 

This candidate probably represents a good route between the host and its peer, as its address was discovered by sending a STUN binding request to one of the candidates advertised by the peer.

CallStreamCandidateTypeRelay 

This candidate represents the address of a relay server (usually somewhere on the public internet). This candidate is the most likely to work, but all media will go via a relay server, so latency is likely to be higher than other types of candidate.

CallStreamCandidateTypeMulticast 

This candidate represents a Multicast group. This value should only appear if the Stream's Transport is set to Multicast.

_CallStreamCandidateTypePadding 

Enumerated type generated from the specification.

Media streams can use more than one UDP socket: one for RTP (data) and one for RTCP (control). Most of the time, they are adjacent to each other, but some protocols (xmpp) signal each port separately.

Enumerator
StreamComponentUnknown 

The stream transport type is unknown or not applicable (should not appear over dbus).

StreamComponentData 

This is the high-traffic data socket, containing the audio/video data for the stream.

StreamComponentControl 

This is the low-traffic control socket, usually containing feedback about packet loss etc.

_StreamComponentPadding 

Enumerated type generated from the specification.

A transport that can be used for streaming.

Enumerator
StreamTransportTypeUnknown 

The stream transport type is unknown or not applicable (for streams that do not have a configurable transport).

StreamTransportTypeRawUDP 

Raw UDP, with or without STUN. All streaming clients are assumed to support this transport, so there is no handler capability token for it in the Call1 interface. [This corresponds to "none" or "stun" in the old Media.StreamHandler interface.]

StreamTransportTypeICE 

Interactive Connectivity Establishment, as defined by RFC 5245. Note that this value covers ICE-UDP only. [This corresponds to "ice-udp" in the old Media.StreamHandler interface.]

StreamTransportTypeGTalkP2P 

Google Talk peer-to-peer connectivity establishment, as implemented by libjingle 0.3. [This corresponds to "gtalk-p2p" in the old Media.StreamHandler interface.]

StreamTransportTypeWLM2009 

The transport used by Windows Live Messenger 2009 or later, which resembles ICE draft 19. [This corresponds to "wlm-2009" in the old Media.StreamHandler interface.]

StreamTransportTypeSHM 

Shared memory transport, as implemented by the GStreamer shmsrc and shmsink plugins.

StreamTransportTypeMulticast 

Multicast transport.

_StreamTransportTypePadding 

Enumerated type generated from the specification.

Enum indicating whether a contact is sending media.

Enumerator
SendingStateNone 

The contact is not sending media and has not been asked to do so.

SendingStatePendingSend 

The contact has been asked to start sending media.

SendingStateSending 

The contact is sending media.

SendingStatePendingStopSending 

The contact has been asked to stop sending media.

_SendingStatePadding 

Enumerated type generated from the specification.

Represents the state of ICE negotiation for a single component of a stream to an endpoint.

Enumerator
StreamEndpointStateConnecting 

Candidate gathering and connectivity checks are in progress.

StreamEndpointStateProvisionallyConnected 

The streaming implementation has found at least one working candidate pair. It is possible to send media at this point, but the controlling side has yet to negotiate the final candidates for use in this call.

StreamEndpointStateFullyConnected 

This component of the stream is connected, and an updated offer has been sent and accepted (finalising the candidates to be used for the call). This should be set by the CM in response to AcceptSelectedCandidatePair.

StreamEndpointStateExhaustedCandidates 

The streaming implementation has tried connecting to all of the available candidates and none of them have connected. This is distinct from Failed, because the CM might be able to provide more candidates later (more likely in XMPP than SIP).

StreamEndpointStateFailed 

The CM and streaming implementation are in agreement that it is impossible to connect to this endpoint. This value should only be set by the CM.

_StreamEndpointStatePadding 

Enumerated type generated from the specification.

The mute state of (at least part of) the call. See LocalMuteState for more details.

Enumerator
LocalMuteStateUnmuted 

All streams are unmuted (the call is active). New channels SHOULD have this mute state.

LocalMuteStateMuted 

All streams are Muted.

LocalMuteStatePendingMute 

The connection manager is attempting to move to state Muted, but has not yet completed that operation. It is unspecified whether any, all or none of the streams making up the channel are muted. Examining the Mute state of Call Contents (if applicable) may provide more useful information.

LocalMuteStatePendingUnmute 

The connection manager is attempting to move to state Unmuted, but has not yet completed that operation. It is unspecified whether any, all or none of the streams making up the channel are muted. Examining the Mute state of Call Contents or Streams may provide more useful information.

LocalMuteStatePartiallyMuted 

Some of the constituent Streams are Muted. This state only makes sense on Call Channels or Contents. Examining the Mute state of Call Contents or Streams should provide more useful information.

_LocalMuteStatePadding 

Variable Documentation

const int Tp::NUM_HANDLE_TYPES

1 higher than the highest valid value of HandleType.

const int Tp::NUM_CONNECTION_STATUSES

1 higher than the highest valid value of ConnectionStatus.

const int Tp::NUM_CONNECTION_STATUS_REASONS

1 higher than the highest valid value of ConnectionStatusReason.

const int Tp::NUM_CONTACT_LIST_STATES

1 higher than the highest valid value of ContactListState.

const int Tp::NUM_SUBSCRIPTION_STATES

1 higher than the highest valid value of SubscriptionState.

const int Tp::NUM_CONTACT_METADATA_STORAGE_TYPES

1 higher than the highest valid value of ContactMetadataStorageType.

const int Tp::NUM_HTTP_METHODS

1 higher than the highest valid value of HTTPMethod.

const int Tp::NUM_SERVICE_POINT_TYPES

1 higher than the highest valid value of ServicePointType.

const int Tp::NUM_CONNECTION_PRESENCE_TYPES

1 higher than the highest valid value of ConnectionPresenceType.

const int Tp::NUM_ACCESS_CONTROL_TYPES

1 higher than the highest valid value of AccessControlType.

const int Tp::NUM_RICH_PRESENCE_ACCESS_CONTROL_TYPES

1 higher than the highest valid value of RichPresenceAccessControlType.

const int Tp::NUM_CALL_STATES

1 higher than the highest valid value of CallState.

const int Tp::NUM_CALL_STATE_CHANGE_REASONS

1 higher than the highest valid value of CallStateChangeReason.

const int Tp::NUM_CHANNEL_CONTACT_SEARCH_STATES

1 higher than the highest valid value of ChannelContactSearchState.

const int Tp::NUM_FILE_TRANSFER_STATES

1 higher than the highest valid value of FileTransferState.

const int Tp::NUM_FILE_TRANSFER_STATE_CHANGE_REASONS

1 higher than the highest valid value of FileTransferStateChangeReason.

const int Tp::NUM_FILE_HASH_TYPES

1 higher than the highest valid value of FileHashType.

const int Tp::NUM_MEDIA_STREAM_TYPES

1 higher than the highest valid value of MediaStreamType.

const int Tp::NUM_MEDIA_STREAM_STATES

1 higher than the highest valid value of MediaStreamState.

const int Tp::NUM_MEDIA_STREAM_DIRECTIONS

1 higher than the highest valid value of MediaStreamDirection.

const int Tp::NUM_CHANNEL_TEXT_SEND_ERRORS

1 higher than the highest valid value of ChannelTextSendError.

const int Tp::NUM_CHANNEL_TEXT_MESSAGE_TYPES

1 higher than the highest valid value of ChannelTextMessageType.

const int Tp::NUM_TUBE_TYPES

1 higher than the highest valid value of TubeType.

const int Tp::NUM_TUBE_STATES

1 higher than the highest valid value of TubeState.

const int Tp::NUM_CAPTCHA_CANCEL_REASONS

1 higher than the highest valid value of CaptchaCancelReason.

const int Tp::NUM_CAPTCHA_STATUSES

1 higher than the highest valid value of CaptchaStatus.

const int Tp::NUM_CHANNEL_CHAT_STATES

1 higher than the highest valid value of ChannelChatState.

const int Tp::NUM_DTMF_EVENTS

1 higher than the highest valid value of DTMFEvent.

const int Tp::NUM_CHANNEL_GROUP_CHANGE_REASONS

1 higher than the highest valid value of ChannelGroupChangeReason.

const int Tp::NUM_LOCAL_HOLD_STATES

1 higher than the highest valid value of LocalHoldState.

const int Tp::NUM_LOCAL_HOLD_STATE_REASONS

1 higher than the highest valid value of LocalHoldStateReason.

const int Tp::NUM_DELIVERY_STATUSES

1 higher than the highest valid value of DeliveryStatus.

const int Tp::NUM_SASL_ABORT_REASONS

1 higher than the highest valid value of SASLAbortReason.

const int Tp::NUM_SASL_STATUSES

1 higher than the highest valid value of SASLStatus.

const int Tp::NUM_TUBE_CHANNEL_STATES

1 higher than the highest valid value of TubeChannelState.

const int Tp::NUM_SOCKET_ADDRESS_TYPES

1 higher than the highest valid value of SocketAddressType.

const int Tp::NUM_SOCKET_ACCESS_CONTROLS

1 higher than the highest valid value of SocketAccessControl.

const int Tp::NUM_MEDIA_STREAM_ERRORS

1 higher than the highest valid value of MediaStreamError.

const int Tp::NUM_MEDIA_STREAM_BASE_PROTOS

1 higher than the highest valid value of MediaStreamBaseProto.

const int Tp::NUM_MEDIA_STREAM_TRANSPORT_TYPES

1 higher than the highest valid value of MediaStreamTransportType.

const int Tp::NUM_DEBUG_LEVELS

1 higher than the highest valid value of DebugLevel.

const int Tp::NUM_TLS_CERTIFICATE_STATES

1 higher than the highest valid value of TLSCertificateState.

const int Tp::NUM_TLS_CERTIFICATE_REJECT_REASONS

1 higher than the highest valid value of TLSCertificateRejectReason.

const int Tp::NUM_CALL_CONTENT_PACKETIZATION_TYPES

1 higher than the highest valid value of CallContentPacketizationType.

const int Tp::NUM_CALL_CONTENT_DISPOSITIONS

1 higher than the highest valid value of CallContentDisposition.

const int Tp::NUM_RCPT_XR_RTT_MODES

1 higher than the highest valid value of RCPTXRRTTMode.

const int Tp::NUM_STREAM_FLOW_STATES

1 higher than the highest valid value of StreamFlowState.

const int Tp::NUM_CALL_STREAM_CANDIDATE_TYPES

1 higher than the highest valid value of CallStreamCandidateType.

const int Tp::NUM_STREAM_COMPONENTS

1 higher than the highest valid value of StreamComponent.

const int Tp::NUM_STREAM_TRANSPORT_TYPES

1 higher than the highest valid value of StreamTransportType.

const int Tp::NUM_SENDING_STATES

1 higher than the highest valid value of SendingState.

const int Tp::NUM_STREAM_ENDPOINT_STATES

1 higher than the highest valid value of StreamEndpointState.

const int Tp::NUM_LOCAL_MUTE_STATES

1 higher than the highest valid value of LocalMuteState.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00378.html0000644000175000017500000002402212727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2, Arg3)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor3 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3>
typedef R(T::* Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::FunctionType) (Arg1, Arg2, Arg3)
template<class R, class T, class Arg1, class Arg2, class Arg3>
typedef R Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3>
Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::MemberFunctor3 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3>
ResultType Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3>
T* Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::object
template<class R, class T, class Arg1, class Arg2, class Arg3>
FunctionType Tp::MemberFunctor3< R, T, Arg1, Arg2, Arg3 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01339.html0000644000175000017500000001122012727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelInterfaceSubjectAdaptor Member List

This is the complete list of members for Tp::Service::ChannelInterfaceSubjectAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
Actor() const Tp::Service::ChannelInterfaceSubjectAdaptor
ActorHandle() const Tp::Service::ChannelInterfaceSubjectAdaptor
adaptee() const Tp::AbstractAdaptor
CanSet() const Tp::Service::ChannelInterfaceSubjectAdaptor
dbusConnection() const Tp::AbstractAdaptor
SetSubject(const QString &subject, const QDBusMessage &dbusMessage)Tp::Service::ChannelInterfaceSubjectAdaptorslot
Subject() const Tp::Service::ChannelInterfaceSubjectAdaptor
Timestamp() const Tp::Service::ChannelInterfaceSubjectAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00122.html0000644000175000017500000005211612727270137020773 0ustar00kaffeinekaffeine00000000000000 Tp::Service::CallContentInterfaceDTMFAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::CallContentInterfaceDTMFAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void StartTone (uchar event, const QDBusMessage &dbusMessage)
 
void StopTone (const QDBusMessage &dbusMessage)
 
void MultipleTones (const QString &tones, const QDBusMessage &dbusMessage)
 

Signals

void TonesDeferred (const QString &tones)
 
void SendingTones (const QString &tones)
 
void StoppedTones (bool cancelled)
 

Public Member Functions

bool CurrentlySendingTones () const
 
QString DeferredTones () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

Adaptor class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.DTMF".

Member Function Documentation

bool Tp::Service::CallContentInterfaceDTMFAdaptor::CurrentlySendingTones ( ) const

Return the value of the exported D-Bus object property CurrentlySendingTones of type bool.

Adaptees should export this property as a Qt property named 'currentlySendingTones' with type bool.

Indicates whether there are DTMF tones currently being sent in the channel. If so, the client should wait for StoppedTones signal before trying to send more tones.

Returns
The value of exported property CurrentlySendingTones.
QString Tp::Service::CallContentInterfaceDTMFAdaptor::DeferredTones ( ) const

Return the value of the exported D-Bus object property DeferredTones of type QString.

Adaptees should export this property as a Qt property named 'deferredTones' with type QString.

The tones waiting for the user to continue, if any.

When this property is set to a non-empty value, TonesDeferred() is emitted. When any tones are played (i.e. whenever SendingTones() is emitted), this property is reset to the empty string.

Returns
The value of exported property DeferredTones.
void Tp::Service::CallContentInterfaceDTMFAdaptor::StartTone ( uchar  event,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void startTone(uchar event, const Tp::Service::CallContentInterfaceDTMFAdaptor::StartToneContextPtr &context);

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

Start sending a DTMF tone to all eligible streams in the channel. Where possible, the tone will continue until StopTone is called. On certain protocols, it may only be possible to send events with a predetermined length. In this case, the implementation MAY emit a fixed-length tone, and the StopTone method call SHOULD return NotAvailable. The client may wish to control the exact duration and timing of the tones sent as a result of user's interaction with the dialpad, thus starting and stopping the tone sending explicitly. Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.

Parameters
event
A numeric event code from the DTMF_Event enum.
void Tp::Service::CallContentInterfaceDTMFAdaptor::StopTone ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void stopTone(const Tp::Service::CallContentInterfaceDTMFAdaptor::StopToneContextPtr &context);

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

Stop sending any DTMF tones which have been started using the StartTone or MultipleTones methods. If there is no current tone, this method will do nothing. If MultipleTones was used, the client should not assume the sending has stopped immediately; instead, the client should wait for the StoppedTones signal. On some protocols it might be impossible to cancel queued tones immediately.

void Tp::Service::CallContentInterfaceDTMFAdaptor::MultipleTones ( const QString &  tones,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void multipleTones(const QString& tones, const Tp::Service::CallContentInterfaceDTMFAdaptor::MultipleTonesContextPtr &context);

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

Send multiple DTMF events to all eligible streams in the channel. Each tone will be played for an implementation-defined number of milliseconds (typically 250ms), followed by a gap before the next tone is played (typically 100ms). The duration and gap are defined by the protocol or connection manager. In cases where the client knows in advance the tone sequence it wants to send, it's easier to use this method than manually start and stop each tone in the sequence. The tone and gap lengths may need to vary for interoperability, according to the protocol and other implementations' ability to recognise tones. At the time of writing, GStreamer uses a minimum of 250ms tones and 100ms gaps when playing in-band DTMF in the normal audio stream, or 70ms tones and 50ms gaps when encoding DTMF as audio/telephone-event. Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.

Parameters
tones

A string representation of one or more DTMF events. Implementations of this method MUST support all of the following characters in this string:

  • the digits 0-9, letters A-D and a-d, and symbols '*' and '#' correspond to the members of DTMF_Event
  • any of 'p', 'P', 'x', 'X' or ',' (comma) results in an implementation-defined pause, typically for 3 seconds
  • 'w' or 'W' waits for the user to continue, by stopping interpretation of the string, and if there is more to be played, emitting the \\\ TonesDeferred() \\htmlonly signal with the rest of the string as its argument: see that signal for details
void Tp::Service::CallContentInterfaceDTMFAdaptor::TonesDeferred ( const QString &  tones)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void tonesDeferred(const QString& tones);

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

Parameters
tones
The new non-empty value of DeferredTones.
void Tp::Service::CallContentInterfaceDTMFAdaptor::SendingTones ( const QString &  tones)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void sendingTones(const QString& tones);

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

Parameters
tones
DTMF string (one or more events) that is to be played.
void Tp::Service::CallContentInterfaceDTMFAdaptor::StoppedTones ( bool  cancelled)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void stoppedTones(bool cancelled);

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

Parameters
cancelled
True if the DTMF tones were actively cancelled via StopTone.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01093.html0000644000175000017500000000541612727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Metadata Member List

This is the complete list of members for Tp::Metadata, including all inherited members.

Metadata()Tp::Metadatainline
Metadata(const QMap< QString, QStringList > &a)Tp::Metadatainline
operator=(const QMap< QString, QStringList > &a)Tp::Metadatainline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00938.html0000644000175000017500000002516712727270137021020 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseChannelTextType Member List

This is the complete list of members for Tp::BaseChannelTextType, including all inherited members.

AbstractChannelInterface(const QString &interfaceName)Tp::AbstractChannelInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
acknowledgePendingMessages(const Tp::UIntList &IDs, DBusError *error)Tp::BaseChannelTextTypeprotected
addReceivedMessage(const Tp::MessagePartList &message)Tp::BaseChannelTextType
BaseChannelTextType(BaseChannel *channel)Tp::BaseChannelTextTypeprotected
close()Tp::AbstractChannelInterfaceprotectedvirtual
create(BaseChannel *channel)Tp::BaseChannelTextTypeinlinestatic
create(BaseChannel *channel)Tp::BaseChannelTextTypeinlinestatic
createChannelTp::BaseChannelTextType
CreateChannelCallback typedefTp::BaseChannelTextType
dbusObject() const Tp::AbstractDBusServiceInterface
ensureChannelTp::BaseChannelTextType
EnsureChannelCallback typedefTp::BaseChannelTextType
immutableProperties() const Tp::BaseChannelTextTypevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
MessageAcknowledgedCallback typedefTp::BaseChannelTextType
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
pendingMessages()Tp::BaseChannelTextType
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestableChannelClassesTp::BaseChannelTextType
setBaseChannel(BaseChannel *channel)Tp::AbstractChannelInterfaceprotectedvirtual
setMessageAcknowledgedCallback(const MessageAcknowledgedCallback &cb)Tp::BaseChannelTextType
~AbstractChannelInterface()Tp::AbstractChannelInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseChannelTextType()Tp::BaseChannelTextTypevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/dir_7f5f037172126a637ac3d49d7ea4be94.html0000644000175000017500000021150312727270137025327 0ustar00kaffeinekaffeine00000000000000 TelepathyQt Directory Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
TelepathyQt Directory Reference

Directories

directory  Farstream
 

Files

file  abstract-adaptor.cpp
 
file  abstract-adaptor.h [code]
 
file  abstract-client.cpp
 
file  abstract-client.h [code]
 
file  abstract-interface.cpp
 
file  abstract-interface.h [code]
 
file  account-capability-filter.h [code]
 
file  account-factory.cpp
 
file  account-factory.h [code]
 
file  account-filter.h [code]
 
file  account-manager.cpp
 
file  account-manager.h [code]
 
file  account-property-filter.cpp
 
file  account-property-filter.h [code]
 
file  account-set.cpp
 
file  account-set.h [code]
 
file  account.cpp
 
file  account.h [code]
 
file  and-filter.h [code]
 
file  avatar.cpp
 
file  avatar.h [code]
 
file  base-call.cpp
 
file  base-call.h [code]
 
file  base-channel.cpp
 
file  base-channel.h [code]
 
file  base-connection-manager.cpp
 
file  base-connection-manager.h [code]
 
file  base-connection.cpp
 
file  base-connection.h [code]
 
file  base-debug.cpp
 
file  base-debug.h [code]
 
file  base-protocol.cpp
 
file  base-protocol.h [code]
 
file  call-channel.cpp
 
file  call-channel.h [code]
 
file  call-content-media-description.cpp
 
file  call-content-media-description.h [code]
 
file  call-content.cpp
 
file  call-content.h [code]
 
file  call-stream-endpoint.cpp
 
file  call-stream-endpoint.h [code]
 
file  call-stream.cpp
 
file  call-stream.h [code]
 
file  callbacks.h [code]
 
file  capabilities-base.cpp
 
file  capabilities-base.h [code]
 
file  captcha-authentication.cpp
 
file  captcha-authentication.h [code]
 
file  captcha.cpp
 
file  captcha.h [code]
 
file  channel-class-features.h [code]
 
file  channel-class-spec.cpp
 
file  channel-class-spec.h [code]
 
file  channel-dispatch-operation.cpp
 
file  channel-dispatch-operation.h [code]
 
file  channel-dispatcher.cpp
 
file  channel-dispatcher.h [code]
 
file  channel-factory.cpp
 
file  channel-factory.h [code]
 
file  channel-request.cpp
 
file  channel-request.h [code]
 
file  channel.cpp
 
file  channel.h [code]
 
file  client-registrar.cpp
 
file  client-registrar.h [code]
 
file  client.cpp
 
file  client.h [code]
 
file  connection-capabilities.cpp
 
file  connection-capabilities.h [code]
 
file  connection-factory.cpp
 
file  connection-factory.h [code]
 
file  connection-lowlevel.h [code]
 
file  connection-manager-lowlevel.h [code]
 
file  connection-manager.cpp
 
file  connection-manager.h [code]
 
file  connection.cpp
 
file  connection.h [code]
 
file  telepathy-qt/TelepathyQt/constants.h [code]
 
file  contact-capabilities.cpp
 
file  contact-capabilities.h [code]
 
file  contact-factory.cpp
 
file  contact-factory.h [code]
 
file  contact-manager-roster.cpp
 
file  contact-manager.cpp
 
file  contact-manager.h [code]
 
file  contact-messenger.cpp
 
file  contact-messenger.h [code]
 
file  contact-search-channel.cpp
 
file  contact-search-channel.h [code]
 
file  contact.cpp
 
file  contact.h [code]
 
file  dbus-error.cpp
 
file  dbus-error.h [code]
 
file  dbus-object.cpp
 
file  dbus-object.h [code]
 
file  dbus-proxy-factory.cpp
 
file  dbus-proxy-factory.h [code]
 
file  dbus-proxy.cpp
 
file  dbus-proxy.h [code]
 
file  dbus-service.cpp
 
file  dbus-service.h [code]
 
file  dbus-tube-channel.cpp
 
file  dbus-tube-channel.h [code]
 
file  dbus.cpp
 
file  dbus.h [code]
 
file  debug-receiver.cpp
 
file  debug-receiver.h [code]
 
file  debug.cpp
 
file  debug.h [code]
 
file  feature.cpp
 
file  feature.h [code]
 
file  file-transfer-channel-creation-properties.cpp
 
file  file-transfer-channel-creation-properties.h [code]
 
file  file-transfer-channel.cpp
 
file  file-transfer-channel.h [code]
 
file  filter.h [code]
 
file  fixed-feature-factory.cpp
 
file  fixed-feature-factory.h [code]
 
file  functors.h [code]
 
file  generic-capability-filter.h [code]
 
file  generic-property-filter.h [code]
 
file  handled-channel-notifier.cpp
 
file  handled-channel-notifier.h [code]
 
file  incoming-dbus-tube-channel.cpp
 
file  incoming-dbus-tube-channel.h [code]
 
file  incoming-file-transfer-channel.cpp
 
file  incoming-file-transfer-channel.h [code]
 
file  incoming-stream-tube-channel.cpp
 
file  incoming-stream-tube-channel.h [code]
 
file  io-device.cpp
 
file  io-device.h [code]
 
file  key-file.cpp
 
file  key-file.h [code]
 
file  location-info.cpp
 
file  location-info.h [code]
 
file  manager-file.cpp
 
file  manager-file.h [code]
 
file  media-session-handler.cpp
 
file  media-session-handler.h [code]
 
file  media-stream-handler.cpp
 
file  media-stream-handler.h [code]
 
file  message-content-part.cpp
 
file  message-content-part.h [code]
 
file  message.cpp
 
file  message.h [code]
 
file  method-invocation-context.h [code]
 
file  not-filter.h [code]
 
file  object.cpp
 
file  object.h [code]
 
file  optional-interface-factory.cpp
 
file  optional-interface-factory.h [code]
 
file  or-filter.h [code]
 
file  outgoing-dbus-tube-channel.cpp
 
file  outgoing-dbus-tube-channel.h [code]
 
file  outgoing-file-transfer-channel.cpp
 
file  outgoing-file-transfer-channel.h [code]
 
file  outgoing-stream-tube-channel.cpp
 
file  outgoing-stream-tube-channel.h [code]
 
file  pending-account.cpp
 
file  pending-account.h [code]
 
file  pending-captchas.cpp
 
file  pending-captchas.h [code]
 
file  pending-channel-request.cpp
 
file  pending-channel-request.h [code]
 
file  pending-channel.cpp
 
file  pending-channel.h [code]
 
file  pending-connection.cpp
 
file  pending-connection.h [code]
 
file  pending-contact-attributes.cpp
 
file  pending-contact-attributes.h [code]
 
file  pending-contact-info.cpp
 
file  pending-contact-info.h [code]
 
file  pending-contacts.cpp
 
file  pending-contacts.h [code]
 
file  pending-dbus-tube-connection.cpp
 
file  pending-dbus-tube-connection.h [code]
 
file  pending-debug-message-list.cpp
 
file  pending-debug-message-list.h [code]
 
file  pending-handles.cpp
 
file  pending-handles.h [code]
 
file  pending-operation.cpp
 
file  pending-operation.h [code]
 
file  pending-ready.cpp
 
file  pending-ready.h [code]
 
file  pending-send-message.cpp
 
file  pending-send-message.h [code]
 
file  pending-stream-tube-connection.cpp
 
file  pending-stream-tube-connection.h [code]
 
file  pending-string-list.cpp
 
file  pending-string-list.h [code]
 
file  pending-string.cpp
 
file  pending-string.h [code]
 
file  pending-variant-map.cpp
 
file  pending-variant-map.h [code]
 
file  pending-variant.cpp
 
file  pending-variant.h [code]
 
file  presence.cpp
 
file  presence.h [code]
 
file  profile-manager.cpp
 
file  profile-manager.h [code]
 
file  profile.cpp
 
file  profile.h [code]
 
file  properties.cpp
 
file  properties.h [code]
 
file  protocol-info.cpp
 
file  protocol-info.h [code]
 
file  protocol-parameter.cpp
 
file  protocol-parameter.h [code]
 
file  readiness-helper.cpp
 
file  readiness-helper.h [code]
 
file  ready-object.cpp
 
file  ready-object.h [code]
 
file  referenced-handles.cpp
 
file  referenced-handles.h [code]
 
file  requestable-channel-class-spec.cpp
 
file  requestable-channel-class-spec.h [code]
 
file  room-list-channel.cpp
 
file  room-list-channel.h [code]
 
file  server-authentication-channel.cpp
 
file  server-authentication-channel.h [code]
 
file  service-types.h [code]
 
file  shared-ptr.h [code]
 
file  simple-call-observer.cpp
 
file  simple-call-observer.h [code]
 
file  simple-observer.cpp
 
file  simple-observer.h [code]
 
file  simple-pending-operations.h [code]
 
file  simple-stream-tube-handler.cpp
 
file  simple-stream-tube-handler.h [code]
 
file  simple-text-observer.cpp
 
file  simple-text-observer.h [code]
 
file  stream-tube-channel.cpp
 
file  stream-tube-channel.h [code]
 
file  stream-tube-client.cpp
 
file  stream-tube-client.h [code]
 
file  stream-tube-server.cpp
 
file  stream-tube-server.h [code]
 
file  streamed-media-channel.cpp
 
file  streamed-media-channel.h [code]
 
file  test-backdoors.cpp
 
file  test-backdoors.h [code]
 
file  text-channel.cpp
 
file  text-channel.h [code]
 
file  tls-certificate.cpp
 
file  tls-certificate.h [code]
 
file  tube-channel.cpp
 
file  tube-channel.h [code]
 
file  types.cpp
 
file  telepathy-qt/TelepathyQt/types.h [code]
 
file  utils.cpp
 
file  utils.h [code]
 


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00437.html0000644000175000017500000002072512727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::PresenceSpecList Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::PresenceSpecList Class Reference

The PresenceSpecList class represents a list of PresenceSpec. More...

#include <TelepathyQt/PresenceSpecList>

Inherits QList< PresenceSpec >.

Public Member Functions

 PresenceSpecList ()
 
 PresenceSpecList (const SimpleStatusSpecMap &specMap)
 
 PresenceSpecList (const QList< PresenceSpec > &other)
 
QMap< QString, PresenceSpectoMap () const
 
SimpleStatusSpecMap bareSpecs () const
 

Detailed Description

The PresenceSpecList class represents a list of PresenceSpec.

Constructor & Destructor Documentation

Tp::PresenceSpecList::PresenceSpecList ( )
inline
Tp::PresenceSpecList::PresenceSpecList ( const SimpleStatusSpecMap specMap)
inline
Tp::PresenceSpecList::PresenceSpecList ( const QList< PresenceSpec > &  other)
inline

Member Function Documentation

QMap<QString, PresenceSpec> Tp::PresenceSpecList::toMap ( ) const
inline
SimpleStatusSpecMap Tp::PresenceSpecList::bareSpecs ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00191.html0000644000175000017500000014461012727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceRoomConfigInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ChannelInterfaceRoomConfigInterface Class Reference

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply UpdateConfiguration (const QVariantMap &properties, int timeout=-1)
 

Public Member Functions

 ChannelInterfaceRoomConfigInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceRoomConfigInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceRoomConfigInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceRoomConfigInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceRoomConfigInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyAnonymous () const
 
Tp::PendingVariantrequestPropertyInviteOnly () const
 
Tp::PendingVariantrequestPropertyLimit () const
 
Tp::PendingVariantrequestPropertyModerated () const
 
Tp::PendingVariantrequestPropertyTitle () const
 
Tp::PendingVariantrequestPropertyDescription () const
 
Tp::PendingVariantrequestPropertyPersistent () const
 
Tp::PendingVariantrequestPropertyPrivate () const
 
Tp::PendingVariantrequestPropertyPasswordProtected () const
 
Tp::PendingVariantrequestPropertyPassword () const
 
Tp::PendingVariantrequestPropertyPasswordHint () const
 
Tp::PendingVariantrequestPropertyCanUpdateConfiguration () const
 
Tp::PendingVariantrequestPropertyMutableProperties () const
 
Tp::PendingVariantrequestPropertyConfigurationRetrieved () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceRoomConfigInterface::ChannelInterfaceRoomConfigInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceRoomConfigInterface 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.
Tp::Client::ChannelInterfaceRoomConfigInterface::ChannelInterfaceRoomConfigInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceRoomConfigInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceRoomConfigInterface::ChannelInterfaceRoomConfigInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceRoomConfigInterface 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 Tp::Client::ChannelInterfaceRoomConfigInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.RoomConfig1", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyAnonymous ( ) const
inline

Asynchronous getter for the remote object property Anonymous of type bool.

True if people may join the channel without other members being made aware of their identity.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyInviteOnly ( ) const
inline

Asynchronous getter for the remote object property InviteOnly of type bool.

True if people may not join the channel until they have been invited.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyLimit ( ) const
inline

Asynchronous getter for the remote object property Limit of type uint.

The limit to the number of members; or 0 if there is no limit.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyModerated ( ) const
inline

Asynchronous getter for the remote object property Moderated of type bool.

True if channel membership is not sufficient to allow participation.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyTitle ( ) const
inline

Asynchronous getter for the remote object property Title of type QString.

A human-visible name for the channel, if it differs from ChannelInterfaceRoomInterface::RoomName ; the empty string, otherwise.

On XMPP, this represents the muc#roomconfig_roomname field of the muc#roomconfig form. So for jdev@conference.jabber.org, for example:

XEP-0045 is awful.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyDescription ( ) const
inline

Asynchronous getter for the remote object property Description of type QString.

A human-readable description of the channel's overall purpose; if any.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyPersistent ( ) const
inline

Asynchronous getter for the remote object property Persistent of type bool.

True if the channel will remain in existence on the server after all members have left it.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyPrivate ( ) const
inline

Asynchronous getter for the remote object property Private of type bool.

True if the channel is not visible to non-members.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyPasswordProtected ( ) const
inline

Asynchronous getter for the remote object property PasswordProtected of type bool.

True if contacts joining this channel must provide a password to be granted entry. Note that this property does not indicate that a password is required right now; see the ChannelInterfacePasswordInterface interface for the API used to provide a password while joining a room.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyPassword ( ) const
inline

Asynchronous getter for the remote object property Password of type QString.

If PasswordProtected is True, the password required to enter the channel, if known. If the password is unknown, or PasswordProtected is False, the empty string.

On XMPP—bless its cotton socks!—non-owners of a MUC cannot see its current password, even if they just provided the password in order to join the room…

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyPasswordHint ( ) const
inline

Asynchronous getter for the remote object property PasswordHint of type QString.

If PasswordProtected is True, an optional hint for the password.

On protocols supporting PasswordHint (indicated by its presence in MutableProperties ), Password and PasswordHint MUST be set in a single call to UpdateConfiguration() .

Skype requires that the password and its hint be supplied together.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyCanUpdateConfiguration ( ) const
inline

Asynchronous getter for the remote object property CanUpdateConfiguration of type bool.

If True, the user may call UpdateConfiguration() to change the values of the properties listed in MutableProperties .

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyMutableProperties ( ) const
inline

Asynchronous getter for the remote object property MutableProperties of type QStringList.

A list of (unqualified) property names on this interface which may be modified using UpdateConfiguration() (if CanUpdateConfiguration is True). Properties not listed here cannot be modified.

For example, IRC does not have the concept of joining a room without other participants knowing your true identity; so on IRC the Anonymous property will always be False, and MutableProperties will not include "Anonymous".

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomConfigInterface::requestPropertyConfigurationRetrieved ( ) const
inline

Asynchronous getter for the remote object property ConfigurationRetrieved of type bool.

True once the initial room configuration has been retrieved, or False otherwise. On some services, this may take some time after you've joined a room to fetch the configuration. Once this property changes to True, the other properties on this interface can be assumed to be accurate; this property MUST not change to False after it becomes True.

An application's “configure this room†dialog might choose to display a spinner while this property is False, rather than allowing the user to edit probably-inaccurate configuration.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceRoomConfigInterface::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 Tp::Client::ChannelInterfaceRoomConfigInterface::UpdateConfiguration ( const QVariantMap &  properties,
int  timeout = -1 
)
inlineslot

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

If CanUpdateConfiguration is True, modifies the current values of one or more room properties. This method SHOULD NOT return until the change has been accepted or declined by the server.

Note that the server may ostensibly accept the changes (thus allowing this method to return success) but signal different values; for example, the server might truncate Title to some maximum length. Callers SHOULD continue to listen for the PropertiesChanged signal, and trust the values it signals over those provided to this method.

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

Parameters
properties

The new values of one or more properties on this interface, which must be listed in MutableProperties . For instance, to set up a channel for discussing top-secret corporate merge plans, this parameter might be:

{
      'Private': True,
      'InviteOnly': True,
      'Description': "The first rule of #inteltakeover is: do not talk about #inteltakeover",
    }
timeoutThe timeout in milliseconds.
void Tp::Client::ChannelInterfaceRoomConfigInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01152.html0000644000175000017500000000670712727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 > Member List

This is the complete list of members for Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >, including all inherited members.

fnTp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >
FunctionType typedefTp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >inline
PtrFunctor5(FunctionType fn)Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >inline
ResultType typedefTp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00250.html0000644000175000017500000010257112727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceAnonymityInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceAnonymityInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Signals

void AnonymityModesChanged (uint modes)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceAnonymityInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceAnonymityInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceAnonymityInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceAnonymityInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceAnonymityInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySupportedAnonymityModes () const
 
Tp::PendingVariantrequestPropertyAnonymityMandatory () const
 
Tp::PendingOperationsetPropertyAnonymityMandatory (bool newValue)
 
Tp::PendingVariantrequestPropertyAnonymityModes () const
 
Tp::PendingOperationsetPropertyAnonymityModes (uint newValue)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Anonymity".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceAnonymityInterface::ConnectionInterfaceAnonymityInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceAnonymityInterface 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.
Tp::Client::ConnectionInterfaceAnonymityInterface::ConnectionInterfaceAnonymityInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceAnonymityInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceAnonymityInterface::ConnectionInterfaceAnonymityInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceAnonymityInterface 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.
Tp::Client::ConnectionInterfaceAnonymityInterface::ConnectionInterfaceAnonymityInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceAnonymityInterface 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 Tp::Client::ConnectionInterfaceAnonymityInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Anonymity", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAnonymityInterface::requestPropertySupportedAnonymityModes ( ) const
inline

Asynchronous getter for the remote object property SupportedAnonymityModes of type uint.

The anonymity modes supported by the CM for this connection. Once Connection.Status has moved to Connected, this property MUST NOT change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAnonymityInterface::requestPropertyAnonymityMandatory ( ) const
inline

Asynchronous getter for the remote object property AnonymityMandatory of type bool.

This specifies whether or not the anonymity settings MUST be respected by the CM and any intermediaries between the local and remote contacts. If this is set to true but anonymity settings cannot be followed, then the session MUST be denied with a org.freedesktop.Telepathy.Error.WouldBreakAnonymity error. Any client that sets AnonymityModes SHOULD also set this property first (rather than accepting the CM's default value).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceAnonymityInterface::setPropertyAnonymityMandatory ( bool  newValue)
inline

Asynchronous setter for the remote object property AnonymityMandatory of type bool.

This specifies whether or not the anonymity settings MUST be respected by the CM and any intermediaries between the local and remote contacts. If this is set to true but anonymity settings cannot be followed, then the session MUST be denied with a org.freedesktop.Telepathy.Error.WouldBreakAnonymity error. Any client that sets AnonymityModes SHOULD also set this property first (rather than accepting the CM's default value).

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAnonymityInterface::requestPropertyAnonymityModes ( ) const
inline

Asynchronous getter for the remote object property AnonymityModes of type uint.

The currently enabled anonymity modes for the connection. Setting has the effect of requesting new modes for the connection, and may raise an error if the unsupported modes are set. Successfully changing the modes will result in emission of AnonymityModesChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceAnonymityInterface::setPropertyAnonymityModes ( uint  newValue)
inline

Asynchronous setter for the remote object property AnonymityModes of type uint.

The currently enabled anonymity modes for the connection. Setting has the effect of requesting new modes for the connection, and may raise an error if the unsupported modes are set. Successfully changing the modes will result in emission of AnonymityModesChanged signal.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceAnonymityInterface::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.
void Tp::Client::ConnectionInterfaceAnonymityInterface::AnonymityModesChanged ( uint  modes)
signal

Represents the signal AnonymityModesChanged on the remote object.

Emitted when the anonymity mode has changed.

Parameters
modes
The new anonymity modes for this connection.
void Tp::Client::ConnectionInterfaceAnonymityInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01211.html0000644000175000017500000007445312727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::TubeChannel Member List

This is the complete list of members for Tp::TubeChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::TubeChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::TubeChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
parameters() const Tp::TubeChannel
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
setParameters(const QVariantMap &parameters)Tp::TubeChannelprotected
state() const Tp::TubeChannel
stateChanged(Tp::TubeChannelState state)Tp::TubeChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
TubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)Tp::TubeChannelprotected
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual
~TubeChannel()Tp::TubeChannelvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/classes.html0000644000175000017500000023364712727270137021635 0ustar00kaffeinekaffeine00000000000000 Class Index
   Home · All Classes · All Namespaces · Modules · Functions · Files
Class Index
A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W
  A  
CallStreamEndpointInterface (Tp::Client)   ConnectionAdaptor (Tp::Service)   FunctorCaller7 (Tp)   PendingVoid (Tp)   
CallStreamInterface (Tp::Client)   ConnectionCapabilities (Tp)   
  G  
Presence (Tp)   
AbstractAdaptor (Tp)   CallStreamInterfaceMediaInterface (Tp::Client)   ConnectionFactory (Tp)   Profile::Presence (Tp)   
AbstractCallContentInterface (Tp)   Candidate (Tp)   ConnectionInterface (Tp::Client)   GenericCapabilityFilter (Tp)   PresenceSpec (Tp)   
AbstractChannelInterface (Tp)   CandidateInfo (Tp)   ConnectionInterfaceAddressingAdaptor (Tp::Service)   GenericPropertyFilter (Tp)   PresenceSpecList (Tp)   
AbstractClient (Tp)   CandidatePair (Tp)   ConnectionInterfaceAddressingInterface (Tp::Client)   Channel::GroupMemberChangeDetails (Tp)   Profile (Tp)   
AbstractClientApprover (Tp)   AbstractClientHandler::Capabilities (Tp)   ConnectionInterfaceAliasingAdaptor (Tp::Service)   
  H  
ProfileManager (Tp)   
AbstractClientHandler (Tp)   CapabilitiesBase (Tp)   ConnectionInterfaceAliasingInterface (Tp::Client)   PropertiesInterface (Tp::Client::DBus)   
AbstractClientObserver (Tp)   CapabilityChange (Tp)   ConnectionInterfaceAnonymityAdaptor (Tp::Service)   HandledChannelNotifier (Tp)   PropertiesInterfaceInterface (Tp::Client)   
AbstractConnectionInterface (Tp)   CapabilityPair (Tp)   ConnectionInterfaceAnonymityInterface (Tp::Client)   HandleIdentifierMap (Tp)   PropertyFlagsChange (Tp)   
AbstractDBusServiceInterface (Tp)   Captcha (Tp)   ConnectionInterfaceAvatarsAdaptor (Tp::Service)   HandleOwnerMap (Tp)   PropertySpec (Tp)   
AbstractFunctorCaller (Tp)   CaptchaAnswers (Tp)   ConnectionInterfaceAvatarsInterface (Tp::Client)   HandlerCapabilities (Tp)   PropertyValue (Tp)   
AbstractInterface (Tp)   CaptchaAuthentication (Tp)   ConnectionInterfaceBalanceAdaptor (Tp::Service)   AbstractClientHandler::HandlerInfo (Tp)   ProtocolAdaptor (Tp::Service)   
AbstractProtocolInterface (Tp)   CaptchaInfo (Tp)   ConnectionInterfaceBalanceInterface (Tp::Client)   HTTPPostData (Tp)   ProtocolInfo (Tp)   
AccessControl (Tp)   Channel (Tp)   ConnectionInterfaceCapabilitiesInterface (Tp::Client)   
  I  
ProtocolInterface (Tp::Client)   
Account (Tp)   ChannelAdaptor (Tp::Service)   ConnectionInterfaceCellularAdaptor (Tp::Service)   ProtocolInterfaceAddressingAdaptor (Tp::Service)   
AccountCapabilityFilter (Tp)   ChannelCallStateMap (Tp)   ConnectionInterfaceCellularInterface (Tp::Client)   IncomingDBusTubeChannel (Tp)   ProtocolInterfaceAddressingInterface (Tp::Client)   
AccountFactory (Tp)   ChannelClass (Tp)   ConnectionInterfaceClientTypesAdaptor (Tp::Service)   IncomingFileTransferChannel (Tp)   ProtocolInterfaceAvatarsAdaptor (Tp::Service)   
AccountInterface (Tp::Client)   ChannelClassSpec (Tp)   ConnectionInterfaceClientTypesInterface (Tp::Client)   IncomingStreamTubeChannel (Tp)   ProtocolInterfaceAvatarsInterface (Tp::Client)   
AccountInterfaceAddressingInterface (Tp::Client)   ChannelClassSpecList (Tp)   ConnectionInterfaceContactBlockingAdaptor (Tp::Service)   Contact::InfoFields (Tp)   ProtocolInterfacePresenceAdaptor (Tp::Service)   
AccountInterfaceAvatarInterface (Tp::Client)   ChannelDetails (Tp)   ConnectionInterfaceContactBlockingInterface (Tp::Client)   ReadinessHelper::Introspectable (Tp)   ProtocolInterfacePresenceInterface (Tp::Client)   
AccountInterfaceStorageInterface (Tp::Client)   ChannelDispatcherInterface (Tp::Client)   ConnectionInterfaceContactCapabilitiesAdaptor (Tp::Service)   IntrospectableInterface (Tp::Client::DBus)   ProtocolParameter (Tp)   
AccountManager (Tp)   ChannelDispatcherInterfaceMessages1Interface (Tp::Client)   ConnectionInterfaceContactCapabilitiesInterface (Tp::Client)   IODevice (Tp)   ProtocolPropertiesMap (Tp)   
AccountManagerInterface (Tp::Client)   ChannelDispatchOperation (Tp)   ConnectionInterfaceContactGroupsAdaptor (Tp::Service)   
  L  
PtrFunctor0 (Tp)   
AccountPropertyFilter (Tp)   ChannelDispatchOperationInterface (Tp::Client)   ConnectionInterfaceContactGroupsInterface (Tp::Client)   PtrFunctor1 (Tp)   
AccountSet (Tp)   ChannelFactory (Tp)   ConnectionInterfaceContactInfoAdaptor (Tp::Service)   LastActivityAndStatuses (Tp)   PtrFunctor2 (Tp)   
AddressingNormalizationMap (Tp)   ChannelInfo (Tp)   ConnectionInterfaceContactInfoInterface (Tp::Client)   LocalPendingInfo (Tp)   PtrFunctor3 (Tp)   
AliasMap (Tp)   ChannelInterface (Tp::Client)   ConnectionInterfaceContactListAdaptor (Tp::Service)   Location (Tp)   PtrFunctor4 (Tp)   
AliasPair (Tp)   ChannelInterfaceAnonymityAdaptor (Tp::Service)   ConnectionInterfaceContactListInterface (Tp::Client)   LocationInfo (Tp)   PtrFunctor5 (Tp)   
AndFilter (Tp)   ChannelInterfaceAnonymityInterface (Tp::Client)   ConnectionInterfaceContactsAdaptor (Tp::Service)   
  M  
PtrFunctor6 (Tp)   
AuthenticationTLSCertificateInterface (Tp::Client)   ChannelInterfaceCallStateAdaptor (Tp::Service)   ConnectionInterfaceContactsInterface (Tp::Client)   PtrFunctor7 (Tp)   
Avatar (Tp)   ChannelInterfaceCallStateInterface (Tp::Client)   ConnectionInterfaceLocationAdaptor (Tp::Service)   Mail (Tp)   
  Q  
AvatarData (Tp)   ChannelInterfaceCaptchaAuthenticationAdaptor (Tp::Service)   ConnectionInterfaceLocationInterface (Tp::Client)   MailAddress (Tp)   
AvatarSpec (Tp)   ChannelInterfaceCaptchaAuthenticationInterface (Tp::Client)   ConnectionInterfaceMailNotificationAdaptor (Tp::Service)   MailURL (Tp)   QualifiedPropertyValueMap (Tp)   
AvatarTokenMap (Tp)   ChannelInterfaceChatStateAdaptor (Tp::Service)   ConnectionInterfaceMailNotificationInterface (Tp::Client)   MediaDescriptionOffer (Tp)   
  R  
  B  
ChannelInterfaceChatStateInterface (Tp::Client)   ConnectionInterfacePowerSavingAdaptor (Tp::Service)   MediaDescriptionProperties (Tp)   
ChannelInterfaceConferenceAdaptor (Tp::Service)   ConnectionInterfacePowerSavingInterface (Tp::Client)   MediaSessionHandlerInfo (Tp)   ReadinessHelper (Tp)   
BaseCallback (Tp)   ChannelInterfaceConferenceInterface (Tp::Client)   ConnectionInterfacePresenceInterface (Tp::Client)   MediaSessionHandlerInterface (Tp::Client)   ReadyObject (Tp)   
BaseCallContent (Tp)   ChannelInterfaceDestroyableAdaptor (Tp::Service)   ConnectionInterfaceRequestsAdaptor (Tp::Service)   MediaStreamHandlerCandidate (Tp)   ReceivedMessage (Tp)   
BaseCallContentDTMFInterface (Tp)   ChannelInterfaceDestroyableInterface (Tp::Client)   ConnectionInterfaceRequestsInterface (Tp::Client)   MediaStreamHandlerCodec (Tp)   RefCounted (Tp)   
BaseCallMuteInterface (Tp)   ChannelInterfaceDTMFAdaptor (Tp::Service)   ConnectionInterfaceServicePointAdaptor (Tp::Service)   MediaStreamHandlerInterface (Tp::Client)   ReferencedHandles (Tp)   
BaseChannel (Tp)   ChannelInterfaceDTMFInterface (Tp::Client)   ConnectionInterfaceServicePointInterface (Tp::Client)   MediaStreamHandlerTransport (Tp)   StreamTubeServer::RemoteContact (Tp)   
BaseChannelCallType (Tp)   ChannelInterfaceFileTransferMetadataAdaptor (Tp::Service)   ConnectionInterfaceSimplePresenceAdaptor (Tp::Service)   MediaStreamInfo (Tp)   RequestableChannelClass (Tp)   
BaseChannelCaptchaAuthenticationInterface (Tp)   ChannelInterfaceFileTransferMetadataInterface (Tp::Client)   ConnectionInterfaceSimplePresenceInterface (Tp::Client)   MemberFunctor0 (Tp)   RequestableChannelClassSpec (Tp)   
BaseChannelChatStateInterface (Tp)   ChannelInterfaceGroupAdaptor (Tp::Service)   ConnectionLowlevel (Tp)   MemberFunctor1 (Tp)   RequestableChannelClassSpecList (Tp)   
BaseChannelConferenceInterface (Tp)   ChannelInterfaceGroupInterface (Tp::Client)   ConnectionManager (Tp)   MemberFunctor2 (Tp)   RichPresenceAccessControl (Tp)   
BaseChannelFileTransferType (Tp)   ChannelInterfaceHoldAdaptor (Tp::Service)   ConnectionManagerAdaptor (Tp::Service)   MemberFunctor3 (Tp)   RoomInfo (Tp)   
BaseChannelGroupInterface (Tp)   ChannelInterfaceHoldInterface (Tp::Client)   ConnectionManagerInterface (Tp::Client)   MemberFunctor4 (Tp)   RoomListChannel (Tp)   
BaseChannelHoldInterface (Tp)   ChannelInterfaceMediaSignallingAdaptor (Tp::Service)   ConnectionManagerLowlevel (Tp)   MemberFunctor5 (Tp)   RTCPFeedbackMessage (Tp)   
BaseChannelMergeableConferenceInterface (Tp)   ChannelInterfaceMediaSignallingInterface (Tp::Client)   Contact (Tp)   MemberFunctor6 (Tp)   RTCPFeedbackMessageMap (Tp)   
BaseChannelMessagesInterface (Tp)   ChannelInterfaceMergeableConferenceAdaptor (Tp::Service)   ContactAttributesMap (Tp)   MemberFunctor7 (Tp)   RTCPFeedbackMessageProperties (Tp)   
BaseChannelRoomConfigInterface (Tp)   ChannelInterfaceMessagesAdaptor (Tp::Service)   ContactCapabilities (Tp)   Message (Tp)   RTPHeaderExtension (Tp)   
BaseChannelRoomInterface (Tp)   ChannelInterfaceMessagesInterface (Tp::Client)   ContactCapabilitiesMap (Tp)   MessageContentPart (Tp)   
  S  
BaseChannelRoomListType (Tp)   ChannelInterfacePasswordAdaptor (Tp::Service)   ContactCapability (Tp)   MessageContentPartList (Tp)   
BaseChannelSASLAuthenticationInterface (Tp)   ChannelInterfacePasswordInterface (Tp::Client)   ContactClientTypes (Tp)   MessagePart (Tp)   ContactSearchChannel::SearchStateChangeDetails (Tp)   
BaseChannelSecurableInterface (Tp)   ChannelInterfaceRoomAdaptor (Tp::Service)   ContactCodecMap (Tp)   MessagePartContentMap (Tp)   ServerAuthenticationChannel (Tp)   
BaseChannelServerAuthenticationType (Tp)   ChannelInterfaceRoomConfigAdaptor (Tp::Service)   ContactFactory (Tp)   Metadata (Tp)   ServicePoint (Tp)   
BaseChannelSMSInterface (Tp)   ChannelInterfaceRoomConfigInterface (Tp::Client)   ContactInfoField (Tp)   MethodInvocationContext (Tp)   ServicePointInfo (Tp)   
BaseChannelSplittableInterface (Tp)   ChannelInterfaceRoomInterface (Tp::Client)   ContactInfoMap (Tp)   MultipleStatusMap (Tp)   SharedPtr (Tp)   
BaseChannelTextType (Tp)   ChannelInterfaceSASLAuthenticationAdaptor (Tp::Service)   ContactLocations (Tp)   
  N  
SimpleCallObserver (Tp)   
BaseConnection (Tp)   ChannelInterfaceSASLAuthenticationInterface (Tp::Client)   ContactManager (Tp)   SimpleContactPresences (Tp)   
BaseConnectionAddressingInterface (Tp)   ChannelInterfaceSecurableAdaptor (Tp::Service)   ContactMediaDescriptionPropertiesMap (Tp)   NotDelegatedError (Tp)   SimpleObserver (Tp)   
BaseConnectionAliasingInterface (Tp)   ChannelInterfaceSecurableInterface (Tp::Client)   ContactMessenger (Tp)   NotDelegatedMap (Tp)   SimplePresence (Tp)   
BaseConnectionAvatarsInterface (Tp)   ChannelInterfaceServicePointAdaptor (Tp::Service)   ContactPresences (Tp)   NotFilter (Tp)   SimpleStatusSpec (Tp)   
BaseConnectionClientTypesInterface (Tp)   ChannelInterfaceServicePointInterface (Tp::Client)   ContactSearchChannel (Tp)   
  O  
SimpleStatusSpecMap (Tp)   
BaseConnectionContactCapabilitiesInterface (Tp)   ChannelInterfaceSMSAdaptor (Tp::Service)   ContactSearchMap (Tp)   SimpleStreamTubeHandler (Tp)   
BaseConnectionContactInfoInterface (Tp)   ChannelInterfaceSMSInterface (Tp::Client)   ContactSearchResultMap (Tp)   Object (Tp)   SimpleTextObserver (Tp)   
BaseConnectionContactListInterface (Tp)   ChannelInterfaceSplittableAdaptor (Tp::Service)   ContactSendingStateMap (Tp)   ObjectImmutablePropertiesMap (Tp)   SingleContactAttributesMap (Tp)   
BaseConnectionContactsInterface (Tp)   ChannelInterfaceSubjectAdaptor (Tp::Service)   ContactSSRCsMap (Tp)   ObjectPathList (Tp)   SocketAddressIP (Tp)   
BaseConnectionManager (Tp)   ChannelInterfaceSubjectInterface (Tp::Client)   ContactSubscriptionMap (Tp)   AbstractClientObserver::ObserverInfo (Tp)   SocketAddressIPv4 (Tp)   
BaseConnectionRequestsInterface (Tp)   ChannelInterfaceTubeInterface (Tp::Client)   ContactSubscriptions (Tp)   OptionalInterfaceFactory (Tp)   SocketAddressIPv6 (Tp)   
BaseConnectionSimplePresenceInterface (Tp)   ChannelOriginatorMap (Tp)   CurrencyAmount (Tp)   OrFilter (Tp)   SocketNetmaskIPv4 (Tp)   
BaseDebug (Tp)   ChannelRequest (Tp)   
  D  
OutgoingDBusTubeChannel (Tp)   SocketNetmaskIPv6 (Tp)   
BaseFunctor (Tp)   ChannelRequestHints (Tp)   OutgoingFileTransferChannel (Tp)   StatefulDBusProxy (Tp)   
BaseFunctorCaller (Tp)   ChannelRequestInterface (Tp::Client)   DBusDaemonInterface (Tp::Client::DBus)   OutgoingStreamTubeChannel (Tp)   StatelessDBusProxy (Tp)   
BaseProtocol (Tp)   ChannelTypeCallAdaptor (Tp::Service)   DBusError (Tp)   
  P  
StatusSpec (Tp)   
BaseProtocolAddressingInterface (Tp)   ChannelTypeCallInterface (Tp::Client)   DBusObject (Tp)   StatusSpecMap (Tp)   
BaseProtocolAvatarsInterface (Tp)   ChannelTypeContactListInterface (Tp::Client)   DBusProxy (Tp)   Profile::Parameter (Tp)   StreamCredentials (Tp)   
BaseProtocolPresenceInterface (Tp)   ChannelTypeContactSearchAdaptor (Tp::Service)   DBusProxyFactory (Tp)   StreamTubeServer::ParametersGenerator (Tp)   StreamedMediaChannel (Tp)   
ByteArrayList (Tp)   ChannelTypeContactSearchInterface (Tp::Client)   DBusService (Tp)   ParamSpec (Tp)   StreamedMediaStream (Tp)   
  C  
ChannelTypeDBusTubeAdaptor (Tp::Service)   DBusTubeChannel (Tp)   PeerInterface (Tp::Client::DBus)   StreamTubeChannel (Tp)   
ChannelTypeDBusTubeInterface (Tp::Client)   DBusTubeMember (Tp)   PendingAccount (Tp)   StreamTubeClient (Tp)   
Callback0 (Tp)   ChannelTypeFileTransferAdaptor (Tp::Service)   DBusTubeParticipants (Tp)   PendingCallContent (Tp)   StreamTubeServer (Tp)   
Callback1 (Tp)   ChannelTypeFileTransferInterface (Tp::Client)   DebugAdaptor (Tp::Service)   PendingCaptchas (Tp)   StringStringMap (Tp)   
Callback2 (Tp)   ChannelTypeRoomListAdaptor (Tp::Service)   DebugInterface (Tp::Client)   PendingChannel (Tp::Farstream)   StringVariantMap (Tp)   
Callback3 (Tp)   ChannelTypeRoomListInterface (Tp::Client)   DebugMessage (Tp)   PendingChannel (Tp)   SupportedSocketMap (Tp)   
Callback4 (Tp)   ChannelTypeServerAuthenticationAdaptor (Tp::Service)   DebugReceiver (Tp)   PendingChannelRequest (Tp)   
  T  
Callback5 (Tp)   ChannelTypeServerAuthenticationInterface (Tp::Client)   ReceivedMessage::DeliveryDetails (Tp)   PendingComposite (Tp)   
Callback6 (Tp)   ChannelTypeServerTLSConnectionAdaptor (Tp::Service)   
  E  
PendingConnection (Tp)   StreamTubeClient::TcpSourceAddressGenerator (Tp)   
Callback7 (Tp)   ChannelTypeServerTLSConnectionInterface (Tp::Client)   PendingContactAttributes (Tp)   TextChannel (Tp)   
CallChannel (Tp)   ChannelTypeStreamedMediaAdaptor (Tp::Service)   Connection::ErrorDetails (Tp)   PendingContactInfo (Tp)   TLSCertificateRejection (Tp)   
CallContent (Tp)   ChannelTypeStreamedMediaInterface (Tp::Client)   
  F  
PendingContacts (Tp)   StreamTubeClient::Tube (Tp)   
CallContentAdaptor (Tp::Service)   ChannelTypeStreamTubeAdaptor (Tp::Service)   PendingDBusTubeConnection (Tp)   StreamTubeServer::Tube (Tp)   
CallContentInterface (Tp::Client)   ChannelTypeStreamTubeInterface (Tp::Client)   Feature (Tp)   PendingDebugMessageList (Tp)   TubeChannel (Tp)   
CallContentInterfaceAudioControlInterface (Tp::Client)   ChannelTypeTextAdaptor (Tp::Service)   Features (Tp)   PendingFailure (Tp)   TubeInfo (Tp)   
CallContentInterfaceDTMFAdaptor (Tp::Service)   ChannelTypeTextInterface (Tp::Client)   FieldSpec (Tp)   PendingHandles (Tp)   
  U  
CallContentInterfaceDTMFInterface (Tp::Client)   ChannelTypeTubesInterface (Tp::Client)   FileTransferChannel (Tp)   PendingOperation (Tp)   
CallContentInterfaceMediaInterface (Tp::Client)   ChatStateMap (Tp)   FileTransferChannelCreationProperties (Tp)   PendingReady (Tp)   UIntList (Tp)   
CallContentInterfaceVideoControlInterface (Tp::Client)   ClientApproverInterface (Tp::Client)   Filter (Tp)   PendingSendMessage (Tp)   
  V  
CallContentMediaDescriptionInterface (Tp::Client)   ClientHandlerInterface (Tp::Client)   FixedFeatureFactory (Tp)   PendingStreamedMediaStreams (Tp)   
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (Tp::Client)   ClientInterface (Tp::Client)   FunctorCaller0 (Tp)   PendingStreamTubeConnection (Tp)   VCardFieldAddressMap (Tp)   
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (Tp::Client)   ClientInterfaceRequestsInterface (Tp::Client)   FunctorCaller1 (Tp)   PendingString (Tp)   VideoResolution (Tp)   
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (Tp::Client)   ClientObserverInterface (Tp::Client)   FunctorCaller2 (Tp)   PendingStringList (Tp)   
  W  
CallInterfaceMuteAdaptor (Tp::Service)   ClientRegistrar (Tp)   FunctorCaller3 (Tp)   PendingSuccess (Tp)   
CallMemberMap (Tp)   Codec (Tp)   FunctorCaller4 (Tp)   PendingTextMessage (Tp)   WeakPtr (Tp)   
CallStateReason (Tp)   ComponentStateMap (Tp)   FunctorCaller5 (Tp)   PendingVariant (Tp)   
CallStream (Tp)   Connection (Tp)   FunctorCaller6 (Tp)   PendingVariantMap (Tp)   
A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/folderopen.png0000644000175000017500000000112512727270137022135 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRÚ}\ˆIDATxí]?oÓPÿ9iš4i°;ii“¶‰ZЉ‘‰ÀÀ7`bèÔÙ¬Øù,HìU'ô$*Tµ]‚T¡DPÚÄ6wÏ}‰;¡C; a¿ÓߟûÝïîž¼jAÀ­InSþ}€9H“ÓŽ|?íÁ÷ =_ÊÆŠ­†¥Àue*;¯YEäsYäæB¢Ÿ¿þÄ—£sÙ½½ÙŒ† É«›©ÀYÇq !GÇ¿v̇¹ÑØ®š °Œ‚ÔF¹}q¥b]÷7í·0)Úd›¾ÿð-èº}Pfä£ÖY{4™ÑÂ@}úæôñ2ÛüÔ—ñúåNŒI‚ÁǃcçÁº%£¬UаI³mc±ô˜å¼ÔÆüÈ>é¸xþt9Æ$µý OæVE*õU´Ì‚ç#ž×ˆ•ïûr@l$øPÿrHaaÇ¥ ²›dZ®rè‘ãqI„o¼øT\Ž,tªj2FAxv-LŸp׌p TÄI/ \¥sfí½; jViTƒèú¤o^cpÅü¼ûû»Ïb]”€¢¤<†aþÕœ²“ßÓ˜y“£§9:Œîù+À³€ñà,E žf³6éNˆÄE£KU}Ü^;¶ØnZ¢uß­US4— ѬëbížN¶.Úk¦ØjTÄöº%µªâ i¯VÄÊÝò§™ Èù¸)ùÿG€™òºJ@T x”IEND®B`‚telepathy-qt-0.9.7/doc/html/a01280.html0000644000175000017500000002402112727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceAliasingInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceAliasingInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AliasesChanged(const Tp::AliasPairList &aliases)Tp::Client::ConnectionInterfaceAliasingInterfacesignal
ConnectionInterfaceAliasingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAliasingInterface
ConnectionInterfaceAliasingInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAliasingInterface
ConnectionInterfaceAliasingInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceAliasingInterface
ConnectionInterfaceAliasingInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceAliasingInterfaceexplicit
ConnectionInterfaceAliasingInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceAliasingInterface
GetAliases(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceAliasingInterfaceinlineslot
GetAliasFlags(int timeout=-1)Tp::Client::ConnectionInterfaceAliasingInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceAliasingInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RequestAliases(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceAliasingInterfaceinlineslot
requestAllProperties() const Tp::Client::ConnectionInterfaceAliasingInterfaceinline
SetAliases(const Tp::AliasMap &aliases, int timeout=-1)Tp::Client::ConnectionInterfaceAliasingInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceAliasingInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00064.html0000644000175000017500000003745212727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::AvatarSpec Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::AvatarSpec Class Reference

The AvatarSpec class represents a Telepathy avatar information supported by a protocol. More...

#include <TelepathyQt/AvatarSpec>

Public Member Functions

 AvatarSpec ()
 
 AvatarSpec (const QStringList &supportedMimeTypes, uint minHeight, uint maxHeight, uint recommendedHeight, uint minWidth, uint maxWidth, uint recommendedWidth, uint maxBytes)
 
 AvatarSpec (const AvatarSpec &other)
 
 ~AvatarSpec ()
 
bool isValid () const
 
AvatarSpecoperator= (const AvatarSpec &other)
 
QStringList supportedMimeTypes () const
 
uint minimumHeight () const
 
uint maximumHeight () const
 
uint recommendedHeight () const
 
uint minimumWidth () const
 
uint maximumWidth () const
 
uint recommendedWidth () const
 
uint maximumBytes () const
 

Detailed Description

The AvatarSpec class represents a Telepathy avatar information supported by a protocol.

Constructor & Destructor Documentation

Tp::AvatarSpec::AvatarSpec ( )
Tp::AvatarSpec::AvatarSpec ( const QStringList &  supportedMimeTypes,
uint  minHeight,
uint  maxHeight,
uint  recommendedHeight,
uint  minWidth,
uint  maxWidth,
uint  recommendedWidth,
uint  maxBytes 
)
Tp::AvatarSpec::AvatarSpec ( const AvatarSpec other)
Tp::AvatarSpec::~AvatarSpec ( )

Member Function Documentation

bool Tp::AvatarSpec::isValid ( ) const
inline
AvatarSpec & Tp::AvatarSpec::operator= ( const AvatarSpec other)
QStringList Tp::AvatarSpec::supportedMimeTypes ( ) const
uint Tp::AvatarSpec::minimumHeight ( ) const
uint Tp::AvatarSpec::maximumHeight ( ) const
uint Tp::AvatarSpec::recommendedHeight ( ) const
uint Tp::AvatarSpec::minimumWidth ( ) const
uint Tp::AvatarSpec::maximumWidth ( ) const
uint Tp::AvatarSpec::recommendedWidth ( ) const
uint Tp::AvatarSpec::maximumBytes ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_type.html0000644000175000017500000005306312727270137023241 0ustar00kaffeinekaffeine00000000000000 Class Members - Typedefs
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- a -

- c -

- d -

- e -

- f -

- g -

- h -

- i -

- l -

- m -

- n -

- p -

- r -

- s -

- u -

- v -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01025.html0000644000175000017500000000555212727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ContactSendingStateMap Member List

This is the complete list of members for Tp::ContactSendingStateMap, including all inherited members.

ContactSendingStateMap()Tp::ContactSendingStateMapinline
ContactSendingStateMap(const QMap< uint, uint > &a)Tp::ContactSendingStateMapinline
operator=(const QMap< uint, uint > &a)Tp::ContactSendingStateMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00379.html0000644000175000017500000002452612727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2, Arg3, Arg4)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor4 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
typedef R(T::* Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::FunctionType) (Arg1, Arg2, Arg3, Arg4)
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
typedef R Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::MemberFunctor4 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
ResultType Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
T* Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::object
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4>
FunctionType Tp::MemberFunctor4< R, T, Arg1, Arg2, Arg3, Arg4 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/folderclosed.png0000644000175000017500000000115012727270137022443 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRÚ}\ˆ/IDATxí]MOÔ@~ÚúuØlp]ö¿#›Å]PYECˆ\9ù¼yÑß`ÖÄÿàÿÀÉxóâ¢C &=qÐÄ£—vZçv¶3m؃‡vžLûNç}Þ÷}Þ½ZA@n° OäNp ’xóþK°ññ€xÜj”°8sÑ€“ “€œ_¼[Âíæ§ïD'‚•yye+ø¼û 7#rNŸlïük* ¾0Ь_d«_(àñÖ±àôz=ñxõv§÷h©‰z¹€šØP-äóä’̪uý¼$»\DãJc—B4¯ãÝÖ.:£Ï-ÑÏß}µŠLEíºþ #—ûáºÀÏgN;BŠ€6ïýñ䬜…ö@’Ðåñp&™h>p9¤™EEά¨ÎÊ‘" u¥n€$R"?{¹<˜…ë…%PNtâ$‰ß¶±úá+^<é"§2 ªDq”q´\¬«Ò™a–Œ‘©Aÿ€"Ôµ ™êŸèP£}#Eàz{û.8i îp³ê(ADwD¦E<ê¬cE¦$ HdÊÄ ”.:Ù GŽ-`ŒL‚ý¾'¢‰Ä<¤CIª½;ÙÇTZd±i};>èôß‚z×;K×§8t ¤Ž q”:uvÿv•Ý›¬²ÙvEân{„M·FXg¼ÌfZÖ¨°¹‰*›ßÌß©±ù©:›j–YqèÜë#3çÏSøWøÿÿÑr'ø Ôùù‚ ©¡IEND®B`‚telepathy-qt-0.9.7/doc/html/a00123.html0000644000175000017500000012070112727270137020770 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentInterfaceDTMFInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentInterfaceDTMFInterface Class Reference

#include <TelepathyQt/CallContent>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply StartTone (uchar event, int timeout=-1)
 
QDBusPendingReply StopTone (int timeout=-1)
 
QDBusPendingReply MultipleTones (const QString &tones, int timeout=-1)
 

Signals

void TonesDeferred (const QString &tones)
 
void SendingTones (const QString &tones)
 
void StoppedTones (bool cancelled)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallContentInterfaceDTMFInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceDTMFInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceDTMFInterface (Tp::DBusProxy *proxy)
 
 CallContentInterfaceDTMFInterface (const Tp::Client::CallContentInterface &mainInterface)
 
 CallContentInterfaceDTMFInterface (const Tp::Client::CallContentInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyCurrentlySendingTones () const
 
Tp::PendingVariantrequestPropertyDeferredTones () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.DTMF".

Constructor & Destructor Documentation

Tp::Client::CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentInterfaceDTMFInterface 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.
Tp::Client::CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface ( Tp::DBusProxy proxy)

Creates a CallContentInterfaceDTMFInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface ( const Tp::Client::CallContentInterface mainInterface)
explicit

Creates a CallContentInterfaceDTMFInterface 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.
Tp::Client::CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface ( const Tp::Client::CallContentInterface mainInterface,
QObject *  parent 
)

Creates a CallContentInterfaceDTMFInterface 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 Tp::Client::CallContentInterfaceDTMFInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.Interface.DTMF", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentInterfaceDTMFInterface::requestPropertyCurrentlySendingTones ( ) const
inline

Asynchronous getter for the remote object property CurrentlySendingTones of type bool.

Indicates whether there are DTMF tones currently being sent in the channel. If so, the client should wait for StoppedTones signal before trying to send more tones.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceDTMFInterface::requestPropertyDeferredTones ( ) const
inline

Asynchronous getter for the remote object property DeferredTones of type QString.

The tones waiting for the user to continue, if any.

When this property is set to a non-empty value, TonesDeferred() is emitted. When any tones are played (i.e. whenever SendingTones() is emitted), this property is reset to the empty string.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentInterfaceDTMFInterface::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 Tp::Client::CallContentInterfaceDTMFInterface::StartTone ( uchar  event,
int  timeout = -1 
)
inlineslot

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

Start sending a DTMF tone to all eligible streams in the channel. Where possible, the tone will continue until StopTone is called. On certain protocols, it may only be possible to send events with a predetermined length. In this case, the implementation MAY emit a fixed-length tone, and the StopTone method call SHOULD return NotAvailable. The client may wish to control the exact duration and timing of the tones sent as a result of user's interaction with the dialpad, thus starting and stopping the tone sending explicitly. Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.

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

Parameters
event
A numeric event code from the DTMF_Event enum.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallContentInterfaceDTMFInterface::StopTone ( int  timeout = -1)
inlineslot

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

Stop sending any DTMF tones which have been started using the StartTone or MultipleTones methods. If there is no current tone, this method will do nothing. If MultipleTones was used, the client should not assume the sending has stopped immediately; instead, the client should wait for the StoppedTones signal. On some protocols it might be impossible to cancel queued tones immediately.

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.
QDBusPendingReply Tp::Client::CallContentInterfaceDTMFInterface::MultipleTones ( const QString &  tones,
int  timeout = -1 
)
inlineslot

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

Send multiple DTMF events to all eligible streams in the channel. Each tone will be played for an implementation-defined number of milliseconds (typically 250ms), followed by a gap before the next tone is played (typically 100ms). The duration and gap are defined by the protocol or connection manager. In cases where the client knows in advance the tone sequence it wants to send, it's easier to use this method than manually start and stop each tone in the sequence. The tone and gap lengths may need to vary for interoperability, according to the protocol and other implementations' ability to recognise tones. At the time of writing, GStreamer uses a minimum of 250ms tones and 100ms gaps when playing in-band DTMF in the normal audio stream, or 70ms tones and 50ms gaps when encoding DTMF as audio/telephone-event. Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.

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

Parameters
tones

A string representation of one or more DTMF events. Implementations of this method MUST support all of the following characters in this string:

  • the digits 0-9, letters A-D and a-d, and symbols '*' and '#' correspond to the members of DTMF_Event
  • any of 'p', 'P', 'x', 'X' or ',' (comma) results in an implementation-defined pause, typically for 3 seconds
  • 'w' or 'W' waits for the user to continue, by stopping interpretation of the string, and if there is more to be played, emitting the TonesDeferred() signal with the rest of the string as its argument: see that signal for details
timeoutThe timeout in milliseconds.
void Tp::Client::CallContentInterfaceDTMFInterface::TonesDeferred ( const QString &  tones)
signal

Represents the signal TonesDeferred on the remote object.

Emitted when 'w' or 'W', indicating "wait for the user to continue", is encountered while playing a DTMF string queued by MultipleTones() . Any queued DTMF events after the 'w', which have not yet been played, are placed in the DeferredTones property and copied into this signal's argument.

When the channel handler is ready to continue, it MAY pass the value of DeferredTones to MultipleTones() , to resume sending. Alternatively, it MAY ignore the deferred tones, or even play different tones instead. Any deferred tones are discarded the next time a tone is played.

This signal SHOULD NOT be emitted if there is nothing left to play, i.e. if the 'w' was the last character in the DTMF string.

Parameters
tones
The new non-empty value of DeferredTones.
void Tp::Client::CallContentInterfaceDTMFInterface::SendingTones ( const QString &  tones)
signal

Represents the signal SendingTones on the remote object.

DTMF tone(s)are being sent to all eligible streams in the channel. The signal is provided to indicating the fact that the streams are currently being used to send one or more DTMF tones, so any other media input is not getting through to the audio stream. It also serves as a cue for the StopTone() method.

Parameters
tones
DTMF string (one or more events) that is to be played.
void Tp::Client::CallContentInterfaceDTMFInterface::StoppedTones ( bool  cancelled)
signal

Represents the signal StoppedTones on the remote object.

DTMF tones have finished playing on streams in this channel.

Parameters
cancelled
True if the DTMF tones were actively cancelled via StopTone.
void Tp::Client::CallContentInterfaceDTMFInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01094.html0000644000175000017500000001410712727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 > Member List

This is the complete list of members for Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >, including all inherited members.

argumentAt() const Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
errorMessage() const Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
errorName() const Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
isError() const Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
isFinished() const Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
MethodInvocationContext(const QDBusConnection &bus, const QDBusMessage &message)Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
onFinished()Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inlineprotectedvirtual
RefCounted()Tp::RefCountedinline
setFinished(const T1 &t1=T1(), const T2 &t2=T2(), const T3 &t3=T3(), const T4 &t4=T4(), const T5 &t5=T5(), const T6 &t6=T6(), const T7 &t7=T7(), const T8 &t8=T8())Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
setFinishedWithError(const QString &errorName, const QString &errorMessage)Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inline
~MethodInvocationContext()Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00939.html0000644000175000017500000003676212727270137021024 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnection Member List

This is the complete list of members for Tp::BaseConnection, including all inherited members.

addChannel(BaseChannelPtr channel, bool suppressHandler=false)Tp::BaseConnection
BaseConnection(const QDBusConnection &dbusConnection, const QString &cmName, const QString &protocolName, const QVariantMap &parameters)Tp::BaseConnectionprotected
busName() const Tp::DBusService
channelsDetails()Tp::BaseConnection
channelsInfo()Tp::BaseConnection
cmName() const Tp::BaseConnection
ConnectCallback typedefTp::BaseConnection
create(const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())Tp::BaseConnectioninlinestatic
create(const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())Tp::BaseConnectioninlinestatic
createChannel(const QVariantMap &request, bool suppressHandler, DBusError *error)Tp::BaseConnection
CreateChannelCallback typedefTp::BaseConnection
dbusConnection() const Tp::DBusService
dbusObject() const Tp::DBusService
DBusService(const QDBusConnection &dbusConnection)Tp::DBusService
disconnected()Tp::BaseConnectionsignal
ensureChannel(const QVariantMap &request, bool &yours, bool suppressHandler, DBusError *error)Tp::BaseConnection
immutableProperties() const Tp::BaseConnectionvirtual
inspectHandles(uint handleType, const Tp::UIntList &handles, DBusError *error)Tp::BaseConnection
InspectHandlesCallback typedefTp::BaseConnection
interface(const QString &interfaceName) const Tp::BaseConnection
interfaces() const Tp::BaseConnection
isRegistered() const Tp::DBusService
matchChannel(const Tp::BaseChannelPtr &channel, const QVariantMap &request, Tp::DBusError *error)Tp::BaseConnectionprotectedvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusService
parameters() const Tp::BaseConnection
plugInterface(const AbstractConnectionInterfacePtr &interface)Tp::BaseConnection
propertyChanged(const QString &propertyName)Tp::Objectsignal
protocolName() const Tp::BaseConnection
RefCounted()Tp::RefCountedinline
registerObject(DBusError *error=NULL)Tp::BaseConnection
registerObject(const QString &busName, const QString &objectPath, DBusError *error)Tp::BaseConnectionprotectedvirtual
requestHandles(uint handleType, const QStringList &identifiers, DBusError *error)Tp::BaseConnection
RequestHandlesCallback typedefTp::BaseConnection
selfHandle() const Tp::BaseConnection
selfID() const Tp::BaseConnection
setConnectCallback(const ConnectCallback &cb)Tp::BaseConnection
setCreateChannelCallback(const CreateChannelCallback &cb)Tp::BaseConnection
setInspectHandlesCallback(const InspectHandlesCallback &cb)Tp::BaseConnection
setRequestHandlesCallback(const RequestHandlesCallback &cb)Tp::BaseConnection
setSelfContact(uint selfHandle, const QString &selfID)Tp::BaseConnection
setSelfHandle(uint selfHandle)Tp::BaseConnection
setSelfID(const QString &selfID)Tp::BaseConnection
setStatus(uint newStatus, uint reason)Tp::BaseConnection
status() const Tp::BaseConnection
uniqueName() const Tp::BaseConnectionvirtual
~BaseConnection()Tp::BaseConnectionvirtual
~DBusService()Tp::DBusServicevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00438.html0000644000175000017500000007351612727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::Profile Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::Profile Class Reference

The Profile class provides an easy way to read Telepathy profile files according to http://telepathy.freedesktop.org/wiki/service-profile-v1. More...

#include <TelepathyQt/Profile>

Inherits Tp::RefCounted.

Classes

class  Parameter
 The Profile::Parameter class represents a parameter defined in .profile files. More...
 
class  Presence
 The Profile::Presence class represents a presence defined in .profile files. More...
 

Public Types

typedef QList< ParameterParameterList
 
typedef QList< PresencePresenceList
 

Public Member Functions

 ~Profile ()
 
QString serviceName () const
 
bool isValid () const
 
bool isFake () const
 
QString type () const
 
QString provider () const
 
QString name () const
 
QString iconName () const
 
QString cmName () const
 
QString protocolName () const
 
ParameterList parameters () const
 
bool hasParameter (const QString &name) const
 
Parameter parameter (const QString &name) const
 
bool allowOtherPresences () const
 
PresenceList presences () const
 
bool hasPresence (const QString &id) const
 
Presence presence (const QString &id) const
 
RequestableChannelClassSpecList unsupportedChannelClassSpecs () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static ProfilePtr createForServiceName (const QString &serviceName)
 
static ProfilePtr createForFileName (const QString &fileName)
 

Detailed Description

The Profile class provides an easy way to read Telepathy profile files according to http://telepathy.freedesktop.org/wiki/service-profile-v1.

Note that profiles with xml element <type> different than "IM" are considered invalid.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::Profile::~Profile ( )

Class destructor.

Member Function Documentation

ProfilePtr Tp::Profile::createForServiceName ( const QString &  serviceName)
static

Create a new Profile object used to read .profiles compliant files.

Parameters
serviceNameThe profile service name.
Returns
A ProfilePtr object pointing to the newly created Profile object.
ProfilePtr Tp::Profile::createForFileName ( const QString &  fileName)
static

Create a new Profile object used to read .profiles compliant files.

Parameters
fileNameThe profile file name.
Returns
A ProfilePtr object pointing to the newly created Profile object.
QString Tp::Profile::serviceName ( ) const

Return the unique name of the service to which this profile applies.

Returns
The unique name of the service.
bool Tp::Profile::isValid ( ) const

Return whether this profile is valid.

Returns
true if valid, otherwise false.
bool Tp::Profile::isFake ( ) const

Return whether this profile is fake.

Fake profiles are profiles created for services not providing a .profile file.

Returns
true if fake, otherwise false.
QString Tp::Profile::type ( ) const

Return the type of the service to which this profile applies.

In general, services of interest of Telepathy should be of type 'IM'. Other service types exist but are unlikely to affect Telepathy in any way.

Returns
The type of the service.
QString Tp::Profile::provider ( ) const

Return the name of the vendor/organisation/provider who actually runs the service to which this profile applies.

Returns
The provider of the service.
QString Tp::Profile::name ( ) const

Return the human-readable name for the service to which this profile applies.

Returns
The Human-readable name of the service.
QString Tp::Profile::iconName ( ) const

Return the base name of the icon for the service to which this profile applies.

Returns
The base name of the icon for the service.
QString Tp::Profile::cmName ( ) const

Return the connection manager name for the service to which this profile applies.

Returns
The connection manager name for the service.
QString Tp::Profile::protocolName ( ) const

Return the protocol name for the service to which this profile applies.

Returns
The protocol name for the service.
Profile::ParameterList Tp::Profile::parameters ( ) const

Return a list of parameters defined for the service to which this profile applies.

Returns
A list of Profile::Parameter.
bool Tp::Profile::hasParameter ( const QString &  name) const

Return whether this profile defines the parameter named name.

Returns
true if parameter is defined, otherwise false.
Profile::Parameter Tp::Profile::parameter ( const QString &  name) const

Return the parameter for a given name.

Returns
A Profile::Parameter.
bool Tp::Profile::allowOtherPresences ( ) const

Return whether the standard CM presences not defined in presences() are supported.

Returns
true if standard CM presences are supported, otherwise false.
Profile::PresenceList Tp::Profile::presences ( ) const

Return a list of presences defined for the service to which this profile applies.

Returns
A list of Profile::Presence.
bool Tp::Profile::hasPresence ( const QString &  id) const

Return whether this profile defines the presence with id id.

Returns
true if presence is defined, otherwise false.
Profile::Presence Tp::Profile::presence ( const QString &  id) const

Return the presence for a given id.

Returns
A Profile::Presence.
RequestableChannelClassSpecList Tp::Profile::unsupportedChannelClassSpecs ( ) const

A list of channel classes not supported by the service to which this profile applies.

Returns
A list of RequestableChannelClassSpec.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00667_source.html0000644000175000017500000004351512727270137022374 0ustar00kaffeinekaffeine00000000000000 dbus-proxy.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
dbus-proxy.h
1 
23 #ifndef _TelepathyQt_dbus_proxy_h_HEADER_GUARD_
24 #define _TelepathyQt_dbus_proxy_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/Object>
32 #include <TelepathyQt/ReadyObject>
33 
34 class QDBusConnection;
35 class QDBusError;
36 
37 namespace Tp
38 {
39 
40 class TestBackdoors;
41 
42 class TP_QT_EXPORT DBusProxy : public Object, public ReadyObject
43 {
44  Q_OBJECT
45  Q_DISABLE_COPY(DBusProxy)
46 
47 public:
48  DBusProxy(const QDBusConnection &dbusConnection, const QString &busName,
49  const QString &objectPath, const Feature &featureCore);
50  virtual ~DBusProxy();
51 
52  QDBusConnection dbusConnection() const;
53  QString busName() const;
54  QString objectPath() const;
55 
56  bool isValid() const;
57  QString invalidationReason() const;
58  QString invalidationMessage() const;
59 
60 Q_SIGNALS:
61  void invalidated(Tp::DBusProxy *proxy,
62  const QString &errorName, const QString &errorMessage);
63 
64 protected:
65  void setBusName(const QString &busName);
66  void invalidate(const QString &reason, const QString &message);
67  void invalidate(const QDBusError &error);
68 
69 private Q_SLOTS:
70  TP_QT_NO_EXPORT void emitInvalidated();
71 
72 private:
73  friend class TestBackdoors;
74 
75  struct Private;
76  friend struct Private;
77  Private *mPriv;
78 };
79 
80 class TP_QT_EXPORT StatelessDBusProxy : public DBusProxy
81 {
82  Q_OBJECT
83  Q_DISABLE_COPY(StatelessDBusProxy)
84 
85 public:
86  StatelessDBusProxy(const QDBusConnection &dbusConnection,
87  const QString &busName, const QString &objectPath, const Feature &featureCore);
88  virtual ~StatelessDBusProxy();
89 
90 private:
91  struct Private;
92  friend struct Private;
93  Private *mPriv;
94 };
95 
96 class TP_QT_EXPORT StatefulDBusProxy : public DBusProxy
97 {
98  Q_OBJECT
99  Q_DISABLE_COPY(StatefulDBusProxy)
100 
101 public:
102  StatefulDBusProxy(const QDBusConnection &dbusConnection,
103  const QString &busName, const QString &objectPath, const Feature &featureCore);
104  virtual ~StatefulDBusProxy();
105 
106  static QString uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique);
107  static QString uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique,
108  QString &error, QString &message);
109 
110 private Q_SLOTS:
111  TP_QT_NO_EXPORT void onServiceOwnerChanged(const QString &name, const QString &oldOwner,
112  const QString &newOwner);
113 
114 private:
115  struct Private;
116  friend struct Private;
117  Private *mPriv;
118 };
119 
120 } // Tp
121 
122 #endif
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful...
Definition: dbus-proxy.h:96
Definition: ready-object.h:42
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00192.html0000644000175000017500000007723212727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceRoomInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ChannelInterfaceRoomInterface Class Reference

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Member Functions

 ChannelInterfaceRoomInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceRoomInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceRoomInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceRoomInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceRoomInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyRoomName () const
 
Tp::PendingVariantrequestPropertyServer () const
 
Tp::PendingVariantrequestPropertyCreator () const
 
Tp::PendingVariantrequestPropertyCreatorHandle () const
 
Tp::PendingVariantrequestPropertyCreationTimestamp () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceRoomInterface::ChannelInterfaceRoomInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceRoomInterface 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.
Tp::Client::ChannelInterfaceRoomInterface::ChannelInterfaceRoomInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceRoomInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceRoomInterface::ChannelInterfaceRoomInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceRoomInterface 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 Tp::Client::ChannelInterfaceRoomInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Room2", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomInterface::requestPropertyRoomName ( ) const
inline

Asynchronous getter for the remote object property RoomName of type QString.

The human-readable identifier of a chat room. Note that if non-empty, this property (and perhaps also Server ) should be sufficient in a channel request to join the room. XMPP MUCs have a room name concept which is more like a topic, except more persistent. This D-Bus property is not this XMPP room name, but the bit before the @ in the room jid; see ChannelInterfaceRoomConfigInterface::Title for that concept.

This property cannot change during the lifetime of the channel. It should appear in the Allowed_Properties of a Requestable_Channel_Class for the connection if rooms on this connection have human-readable names, and can be joined by name.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomInterface::requestPropertyServer ( ) const
inline

Asynchronous getter for the remote object property Server of type QString.

For protocols with a concept of chatrooms on multiple servers with different DNS names (like XMPP), the DNS name of the server hosting this channel (for example, "conference.jabber.org" or "groupchat.google.com"). For other protocols, the empty string.

This property cannot change during the lifetime of the channel. It should appear in the Allowed_Properties of a Requestable_Channel_Class for the connection if and only if non-empty values are supported.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomInterface::requestPropertyCreator ( ) const
inline

Asynchronous getter for the remote object property Creator of type QString.

The normalized contact ID representing who created the room; or the empty string if unknown.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomInterface::requestPropertyCreatorHandle ( ) const
inline

Asynchronous getter for the remote object property CreatorHandle of type uint.

The handle corresponding to Creator ; or 0 if Creator is unknown.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceRoomInterface::requestPropertyCreationTimestamp ( ) const
inline

Asynchronous getter for the remote object property CreationTimestamp of type qlonglong.

A unix timestamp indicating when the room was created; or INT_MAX64 if unknown.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceRoomInterface::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.
void Tp::Client::ChannelInterfaceRoomInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01153.html0000644000175000017500000000677212727270137021007 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Member List

This is the complete list of members for Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >, including all inherited members.

fnTp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >
FunctionType typedefTp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >inline
PtrFunctor6(FunctionType fn)Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >inline
ResultType typedefTp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/dir_905c7005995c9bffcb7fe95471fafb8c.html0000644000175000017500000000537212727270137025576 0ustar00kaffeinekaffeine00000000000000 TelepathyQt Directory Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
TelepathyQt Directory Reference

Directories

directory  _gen
 

Files

file  build/TelepathyQt/global.h [code]
 


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00663_source.html0000644000175000017500000001747512727270137022376 0ustar00kaffeinekaffeine00000000000000 dbus-object.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
dbus-object.h
1 
23 #ifndef _TelepathyQt_dbus_object_h_HEADER_GUARD_
24 #define _TelepathyQt_dbus_object_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 #include <QObject>
33 
34 class QDBusConnection;
35 
36 namespace Tp
37 {
38 
39 class TP_QT_EXPORT DBusObject : public QObject
40 {
41  Q_OBJECT
42  Q_DISABLE_COPY(DBusObject)
43 
44 public:
45  DBusObject(const QDBusConnection &dbusConnection, QObject *parent = 0);
46  virtual ~DBusObject();
47 
48  QString objectPath() const;
49  QDBusConnection dbusConnection() const;
50 
51 protected:
52  void setObjectPath(const QString &path);
53 
54 private:
55  class Private;
56  friend class Private;
57  Private *mPriv;
58 
59  friend class DBusService;
60 };
61 
62 }
63 
64 #endif
A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object.
Definition: dbus-object.h:39
Base class for D-Bus services.
Definition: dbus-service.h:46
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00251.html0000644000175000017500000012165612727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceAvatarsAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceAvatarsAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

QStringList GetAvatarRequirements (const QDBusMessage &dbusMessage, ushort &minWidth, ushort &minHeight, ushort &maxWidth, ushort &maxHeight, uint &maxBytes)
 
QStringList GetAvatarTokens (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
Tp::AvatarTokenMap GetKnownAvatarTokens (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
QByteArray RequestAvatar (uint contact, const QDBusMessage &dbusMessage, QString &MIMEType)
 
void RequestAvatars (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
QString SetAvatar (const QByteArray &avatar, const QString &MIMEType, const QDBusMessage &dbusMessage)
 
void ClearAvatar (const QDBusMessage &dbusMessage)
 

Signals

void AvatarUpdated (uint contact, const QString &newAvatarToken)
 
void AvatarRetrieved (uint contact, const QString &token, const QByteArray &avatar, const QString &type)
 

Public Member Functions

QStringList SupportedAvatarMIMETypes () const
 
uint MinimumAvatarHeight () const
 
uint MinimumAvatarWidth () const
 
uint RecommendedAvatarHeight () const
 
uint RecommendedAvatarWidth () const
 
uint MaximumAvatarHeight () const
 
uint MaximumAvatarWidth () const
 
uint MaximumAvatarBytes () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ConnectionInterfaceAvatarsAdaptor::SupportedAvatarMIMETypes ( ) const

Return the value of the exported D-Bus object property SupportedAvatarMIMETypes of type QStringList.

Adaptees should export this property as a Qt property named 'supportedAvatarMIMETypes' with type QStringList.

An array of supported MIME types (e.g. "image/jpeg"). Clients MAY assume that the first type in this array is preferred. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property SupportedAvatarMIMETypes.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::MinimumAvatarHeight ( ) const

Return the value of the exported D-Bus object property MinimumAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'minimumAvatarHeight' with type uint.

The minimum height in pixels of an avatar on this protocol, which MAY be 0. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property MinimumAvatarHeight.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::MinimumAvatarWidth ( ) const

Return the value of the exported D-Bus object property MinimumAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'minimumAvatarWidth' with type uint.

The minimum width in pixels of an avatar on this protocol, which MAY be 0. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property MinimumAvatarWidth.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::RecommendedAvatarHeight ( ) const

Return the value of the exported D-Bus object property RecommendedAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'recommendedAvatarHeight' with type uint.

The recommended height in pixels of an avatar on this protocol, or 0 if there is no preferred height. This property cannot change after the Connection goes to the Connected state. In XMPP a recommended width is given by the protocol specification; in proprietary protocols, using the same avatar size as the proprietary client is likely to lead to the best display to other users.

Returns
The value of exported property RecommendedAvatarHeight.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::RecommendedAvatarWidth ( ) const

Return the value of the exported D-Bus object property RecommendedAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'recommendedAvatarWidth' with type uint.

The recommended width in pixels of an avatar on this protocol, or 0 if there is no preferred width. This property cannot change after the Connection goes to the Connected state. The rationale is the same as for RecommendedAvatarHeight.

Returns
The value of exported property RecommendedAvatarWidth.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::MaximumAvatarHeight ( ) const

Return the value of the exported D-Bus object property MaximumAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarHeight' with type uint.

The maximum height in pixels of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property MaximumAvatarHeight.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::MaximumAvatarWidth ( ) const

Return the value of the exported D-Bus object property MaximumAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarWidth' with type uint.

The maximum width in pixels of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property MaximumAvatarWidth.
uint Tp::Service::ConnectionInterfaceAvatarsAdaptor::MaximumAvatarBytes ( ) const

Return the value of the exported D-Bus object property MaximumAvatarBytes of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarBytes' with type uint.

The maximum size in bytes of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
The value of exported property MaximumAvatarBytes.
QStringList Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetAvatarRequirements ( const QDBusMessage &  dbusMessage,
ushort &  minWidth,
ushort &  minHeight,
ushort &  maxWidth,
ushort &  maxHeight,
uint &  maxBytes 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getAvatarRequirements(const Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetAvatarRequirementsContextPtr &context);

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

Get the required format of avatars on this connection.

Parameters
minWidthOutput parameter
The minimum image width in pixels
minHeightOutput parameter
The minimum image height in pixels
maxWidthOutput parameter
The maximum image width in pixels, or 0 if there is no limit
maxHeightOutput parameter
The maximum image height in pixels, or 0 if there is no limit
maxBytesOutput parameter
The maximum image size in bytes, or 0 if there is no limit
Returns
An array of supported MIME types (eg image/jpeg)
QStringList Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetAvatarTokens ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getAvatarTokens(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetAvatarTokensContextPtr &context);

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

Get the unique tokens for all of the given contacts' avatars. Using this method in new Telepathy clients is deprecated; use GetKnownAvatarTokens instead.

Parameters
contacts
An array of handles representing contacts
Returns
An array of avatar tokens or empty strings (if no avatar is set) in 
the same order as the given array of contact handles
Tp::AvatarTokenMap Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetKnownAvatarTokens ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getKnownAvatarTokens(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceAvatarsAdaptor::GetKnownAvatarTokensContextPtr &context);

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

Get the unique tokens for the given contacts' avatars. These tokens can be persisted across connections, and should be used by the client to check whether the avatars have been updated. For handles other than the self handle, only tokens that are already known are returned; an empty token means the given contact has no avatar. However, a CM must always have the tokens for the self handle if one is set (even if it is set to no avatar). On protocols where the avatar does not persist between connections, a CM should omit the self handle from the returned map until an avatar is explicitly set or cleared.

Parameters
contacts
An array of handles representing contacts
Returns
A dictionary of handles mapped to avatar tokens, containing only 
the known avatar tokens.
QByteArray Tp::Service::ConnectionInterfaceAvatarsAdaptor::RequestAvatar ( uint  contact,
const QDBusMessage &  dbusMessage,
QString &  MIMEType 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestAvatar(uint contact, const Tp::Service::ConnectionInterfaceAvatarsAdaptor::RequestAvatarContextPtr &context);

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

Request the avatar for a given contact. Using this method in new Telepathy clients is deprecated; use RequestAvatars instead.

Parameters
contact
An integer handle for the contact to request the avatar for
MIMETypeOutput parameter
A string containing the image MIME type (eg image/jpeg), or empty 
if unknown
Returns
An array of bytes containing the image data
void Tp::Service::ConnectionInterfaceAvatarsAdaptor::RequestAvatars ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestAvatars(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceAvatarsAdaptor::RequestAvatarsContextPtr &context);

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

Request avatars for a number of contacts. The AvatarRetrieved signal is emitted for each avatar retrieved. If the handles are valid but retrieving an avatar fails (for any reason, including the contact not having an avatar) the AvatarRetrieved signal is not emitted for that contact.

Parameters
contacts
The contacts to retrieve avatars for
QString Tp::Service::ConnectionInterfaceAvatarsAdaptor::SetAvatar ( const QByteArray &  avatar,
const QString &  MIMEType,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setAvatar(const QByteArray& avatar, const QString& MIMEType, const Tp::Service::ConnectionInterfaceAvatarsAdaptor::SetAvatarContextPtr &context);

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

Set a new avatar image for this connection. The avatar image must respect the requirements obtained by GetAvatarRequirements.

Parameters
avatar
An array of bytes representing the avatar image data
MIMEType
A string representing the image MIME type
Returns
The string token of the new avatar
void Tp::Service::ConnectionInterfaceAvatarsAdaptor::ClearAvatar ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void clearAvatar(const Tp::Service::ConnectionInterfaceAvatarsAdaptor::ClearAvatarContextPtr &context);

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

Remove the avatar image for this connection.

void Tp::Service::ConnectionInterfaceAvatarsAdaptor::AvatarUpdated ( uint  contact,
const QString &  newAvatarToken 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void avatarUpdated(uint contact, const QString& newAvatarToken);

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

Parameters
contact
An integer handle for the contact whose avatar has changed
newAvatarToken
Unique token for their new avatar
void Tp::Service::ConnectionInterfaceAvatarsAdaptor::AvatarRetrieved ( uint  contact,
const QString &  token,
const QByteArray &  avatar,
const QString &  type 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void avatarRetrieved(uint contact, const QString& token, const QByteArray& avatar, const QString& type);

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

Parameters
contact
The contact whose avatar has been retrieved
token
The token corresponding to the avatar
avatar
An array of bytes containing the image data
type
A string containing the image MIME type (eg image/jpeg), or empty 
if unknown


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01212.html0000644000175000017500000000630012727270137020766 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::TubeInfo Member List

This is the complete list of members for Tp::TubeInfo, including all inherited members.

identifierTp::TubeInfo
initiatorTp::TubeInfo
parametersTp::TubeInfo
serviceTp::TubeInfo
stateTp::TubeInfo
typeTp::TubeInfo


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_c.html0000644000175000017500000000737612727270137023543 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- c -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00310.html0000644000175000017500000001441212727270137020767 0ustar00kaffeinekaffeine00000000000000 Tp::ContactSubscriptionMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ContactSubscriptionMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, ContactSubscriptions >.

Public Member Functions

 ContactSubscriptionMap ()
 
 ContactSubscriptionMap (const QMap< uint, ContactSubscriptions > &a)
 
ContactSubscriptionMapoperator= (const QMap< uint, ContactSubscriptions > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, ContactSubscriptions>, but needed to have a discrete type in the Qt type system.

A map from contacts to their subscribe, publish and publish-request attributes.

Constructor & Destructor Documentation

Tp::ContactSubscriptionMap::ContactSubscriptionMap ( )
inline
Tp::ContactSubscriptionMap::ContactSubscriptionMap ( const QMap< uint, ContactSubscriptions > &  a)
inline

Member Function Documentation

ContactSubscriptionMap& Tp::ContactSubscriptionMap::operator= ( const QMap< uint, ContactSubscriptions > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01281.html0000644000175000017500000002424212727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceAnonymityInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceAnonymityInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AnonymityModesChanged(uint modes)Tp::Client::ConnectionInterfaceAnonymityInterfacesignal
ConnectionInterfaceAnonymityInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAnonymityInterface
ConnectionInterfaceAnonymityInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAnonymityInterface
ConnectionInterfaceAnonymityInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceAnonymityInterface
ConnectionInterfaceAnonymityInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceAnonymityInterfaceexplicit
ConnectionInterfaceAnonymityInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceAnonymityInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceAnonymityInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
requestPropertyAnonymityMandatory() const Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
requestPropertyAnonymityModes() const Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
requestPropertySupportedAnonymityModes() const Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyAnonymityMandatory(bool newValue)Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
setPropertyAnonymityModes(uint newValue)Tp::Client::ConnectionInterfaceAnonymityInterfaceinline
staticInterfaceName()Tp::Client::ConnectionInterfaceAnonymityInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00065.html0000644000175000017500000001371012727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::AvatarTokenMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::AvatarTokenMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, QString >.

Public Member Functions

 AvatarTokenMap ()
 
 AvatarTokenMap (const QMap< uint, QString > &a)
 
AvatarTokenMapoperator= (const QMap< uint, QString > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, QString>, but needed to have a discrete type in the Qt type system.

A dictionary whose keys are contact handles and whose values are avatar tokens.

Constructor & Destructor Documentation

Tp::AvatarTokenMap::AvatarTokenMap ( )
inline
Tp::AvatarTokenMap::AvatarTokenMap ( const QMap< uint, QString > &  a)
inline

Member Function Documentation

AvatarTokenMap& Tp::AvatarTokenMap::operator= ( const QMap< uint, QString > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01026.html0000644000175000017500000000547212727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ContactSSRCsMap Member List

This is the complete list of members for Tp::ContactSSRCsMap, including all inherited members.

ContactSSRCsMap()Tp::ContactSSRCsMapinline
ContactSSRCsMap(const QMap< uint, UIntList > &a)Tp::ContactSSRCsMapinline
operator=(const QMap< uint, UIntList > &a)Tp::ContactSSRCsMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00880.html0000644000175000017500000025527512727270137021021 0ustar00kaffeinekaffeine00000000000000 Interface string constants
   Home · All Classes · All Namespaces · Modules · Functions · Files
Macros
Interface string constants

Macros

#define TP_QT_IFACE_CONNECTION_MANAGER
 
#define TP_QT_IFACE_PROTOCOL
 
#define TP_QT_IFACE_PROTOCOL_INTERFACE_ADDRESSING
 
#define TP_QT_IFACE_PROTOCOL_INTERFACE_AVATARS
 
#define TP_QT_IFACE_PROTOCOL_INTERFACE_PRESENCE
 
#define TP_QT_IFACE_CONNECTION
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_ADDRESSING
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_ALIASING
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_ANONYMITY
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_AVATARS
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_BALANCE
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CAPABILITIES
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CELLULAR
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CLIENT_TYPES
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACTS
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_INFO
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_LIST
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_LOCATION
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_MAIL_NOTIFICATION
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_POWER_SAVING
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_PRESENCE
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_REQUESTS
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_SERVICE_POINT
 
#define TP_QT_IFACE_CONNECTION_INTERFACE_SIMPLE_PRESENCE
 
#define TP_QT_IFACE_CHANNEL
 
#define TP_QT_IFACE_CHANNEL_TYPE_CALL
 
#define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_LIST
 
#define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_SEARCH
 
#define TP_QT_IFACE_CHANNEL_TYPE_DBUS_TUBE
 
#define TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER
 
#define TP_QT_IFACE_CHANNEL_TYPE_ROOM_LIST
 
#define TP_QT_IFACE_CHANNEL_TYPE_SERVER_AUTHENTICATION
 
#define TP_QT_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION
 
#define TP_QT_IFACE_CHANNEL_TYPE_STREAMED_MEDIA
 
#define TP_QT_IFACE_CHANNEL_TYPE_STREAM_TUBE
 
#define TP_QT_IFACE_CHANNEL_TYPE_TEXT
 
#define TP_QT_IFACE_CHANNEL_TYPE_TUBES
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_ANONYMITY
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_CAPTCHA_AUTHENTICATION
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_CALL_STATE
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_CHAT_STATE
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_CONFERENCE
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_DESTROYABLE
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_DTMF
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_GROUP
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_HOLD
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_MESSAGES
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_PASSWORD
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM_CONFIG
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_SECURABLE
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_SERVICE_POINT
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_SMS
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_SUBJECT
 
#define TP_QT_IFACE_CHANNEL_INTERFACE_TUBE
 
#define TP_QT_IFACE_CHANNEL_DISPATCHER
 
#define TP_QT_IFACE_CHANNEL_DISPATCHER_INTERFACE_MESSAGES1
 
#define TP_QT_IFACE_CHANNEL_DISPATCH_OPERATION
 
#define TP_QT_IFACE_CHANNEL_REQUEST
 
#define TP_QT_IFACE_MEDIA_SESSION_HANDLER
 
#define TP_QT_IFACE_MEDIA_STREAM_HANDLER
 
#define TP_QT_IFACE_DBUS_DAEMON
 
#define TP_QT_IFACE_INTROSPECTABLE
 
#define TP_QT_IFACE_PEER
 
#define TP_QT_IFACE_PROPERTIES
 
#define TP_QT_IFACE_DEBUG
 
#define TP_QT_IFACE_PROPERTIES_INTERFACE
 
#define TP_QT_IFACE_ACCOUNT_MANAGER
 
#define TP_QT_IFACE_ACCOUNT
 
#define TP_QT_IFACE_ACCOUNT_INTERFACE_ADDRESSING
 
#define TP_QT_IFACE_ACCOUNT_INTERFACE_AVATAR
 
#define TP_QT_IFACE_ACCOUNT_INTERFACE_STORAGE
 
#define TP_QT_IFACE_CLIENT
 
#define TP_QT_IFACE_CLIENT_OBSERVER
 
#define TP_QT_IFACE_CLIENT_APPROVER
 
#define TP_QT_IFACE_CLIENT_HANDLER
 
#define TP_QT_IFACE_CLIENT_INTERFACE_REQUESTS
 
#define TP_QT_IFACE_AUTHENTICATION_TLS_CERTIFICATE
 
#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_MEDIA
 
#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_DTMF
 
#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_VIDEO_CONTROL
 
#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_AUDIO_CONTROL
 
#define TP_QT_IFACE_CALL_CONTENT
 
#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_EXTENDED_REPORTS
 
#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_FEEDBACK
 
#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTP_HEADER_EXTENSIONS
 
#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION
 
#define TP_QT_IFACE_CALL_STREAM_INTERFACE_MEDIA
 
#define TP_QT_IFACE_CALL_STREAM
 
#define TP_QT_IFACE_CALL_STREAM_ENDPOINT
 
#define TP_QT_IFACE_CALL_INTERFACE_MUTE
 

Detailed Description

D-Bus interface names of the interfaces in the specification.

Macro Definition Documentation

#define TP_QT_IFACE_CONNECTION_MANAGER

The interface name "org.freedesktop.Telepathy.ConnectionManager" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROTOCOL

The interface name "org.freedesktop.Telepathy.Protocol" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROTOCOL_INTERFACE_ADDRESSING

The interface name "org.freedesktop.Telepathy.Protocol.Interface.Addressing" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROTOCOL_INTERFACE_AVATARS

The interface name "org.freedesktop.Telepathy.Protocol.Interface.Avatars" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROTOCOL_INTERFACE_PRESENCE

The interface name "org.freedesktop.Telepathy.Protocol.Interface.Presence" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION

The interface name "org.freedesktop.Telepathy.Connection" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_ADDRESSING

The interface name "org.freedesktop.Telepathy.Connection.Interface.Addressing1" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_ALIASING

The interface name "org.freedesktop.Telepathy.Connection.Interface.Aliasing" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_ANONYMITY

The interface name "org.freedesktop.Telepathy.Connection.Interface.Anonymity" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_AVATARS

The interface name "org.freedesktop.Telepathy.Connection.Interface.Avatars" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_BALANCE

The interface name "org.freedesktop.Telepathy.Connection.Interface.Balance" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CAPABILITIES

The interface name "org.freedesktop.Telepathy.Connection.Interface.Capabilities" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CELLULAR

The interface name "org.freedesktop.Telepathy.Connection.Interface.Cellular" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CLIENT_TYPES

The interface name "org.freedesktop.Telepathy.Connection.Interface.ClientTypes" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACTS

The interface name "org.freedesktop.Telepathy.Connection.Interface.Contacts" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING

The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES

The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS

The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactGroups" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_INFO

The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactInfo" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_LIST

The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactList" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_LOCATION

The interface name "org.freedesktop.Telepathy.Connection.Interface.Location" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_MAIL_NOTIFICATION

The interface name "org.freedesktop.Telepathy.Connection.Interface.MailNotification" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_POWER_SAVING

The interface name "org.freedesktop.Telepathy.Connection.Interface.PowerSaving" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_PRESENCE

The interface name "org.freedesktop.Telepathy.Connection.Interface.Presence" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_REQUESTS

The interface name "org.freedesktop.Telepathy.Connection.Interface.Requests" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_SERVICE_POINT

The interface name "org.freedesktop.Telepathy.Connection.Interface.ServicePoint" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CONNECTION_INTERFACE_SIMPLE_PRESENCE

The interface name "org.freedesktop.Telepathy.Connection.Interface.SimplePresence" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL

The interface name "org.freedesktop.Telepathy.Channel" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_CALL

The interface name "org.freedesktop.Telepathy.Channel.Type.Call1" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_LIST

The interface name "org.freedesktop.Telepathy.Channel.Type.ContactList" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_SEARCH

The interface name "org.freedesktop.Telepathy.Channel.Type.ContactSearch" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_DBUS_TUBE

The interface name "org.freedesktop.Telepathy.Channel.Type.DBusTube" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER

The interface name "org.freedesktop.Telepathy.Channel.Type.FileTransfer" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_ROOM_LIST

The interface name "org.freedesktop.Telepathy.Channel.Type.RoomList" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_SERVER_AUTHENTICATION

The interface name "org.freedesktop.Telepathy.Channel.Type.ServerAuthentication" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION

The interface name "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_STREAMED_MEDIA

The interface name "org.freedesktop.Telepathy.Channel.Type.StreamedMedia" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_STREAM_TUBE

The interface name "org.freedesktop.Telepathy.Channel.Type.StreamTube" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_TEXT

The interface name "org.freedesktop.Telepathy.Channel.Type.Text" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_TYPE_TUBES

The interface name "org.freedesktop.Telepathy.Channel.Type.Tubes" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_ANONYMITY

The interface name "org.freedesktop.Telepathy.Channel.Interface.Anonymity" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_CAPTCHA_AUTHENTICATION

The interface name "org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_CALL_STATE

The interface name "org.freedesktop.Telepathy.Channel.Interface.CallState" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_CHAT_STATE

The interface name "org.freedesktop.Telepathy.Channel.Interface.ChatState" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_CONFERENCE

The interface name "org.freedesktop.Telepathy.Channel.Interface.Conference" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_DESTROYABLE

The interface name "org.freedesktop.Telepathy.Channel.Interface.Destroyable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_DTMF

The interface name "org.freedesktop.Telepathy.Channel.Interface.DTMF" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA

The interface name "org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_GROUP

The interface name "org.freedesktop.Telepathy.Channel.Interface.Group" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_HOLD

The interface name "org.freedesktop.Telepathy.Channel.Interface.Hold" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING

The interface name "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_MESSAGES

The interface name "org.freedesktop.Telepathy.Channel.Interface.Messages" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_PASSWORD

The interface name "org.freedesktop.Telepathy.Channel.Interface.Password" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM

The interface name "org.freedesktop.Telepathy.Channel.Interface.Room2" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM_CONFIG

The interface name "org.freedesktop.Telepathy.Channel.Interface.RoomConfig1" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION

The interface name "org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_SECURABLE

The interface name "org.freedesktop.Telepathy.Channel.Interface.Securable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_SERVICE_POINT

The interface name "org.freedesktop.Telepathy.Channel.Interface.ServicePoint" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_SMS

The interface name "org.freedesktop.Telepathy.Channel.Interface.SMS" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_SUBJECT

The interface name "org.freedesktop.Telepathy.Channel.Interface.Subject2" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_INTERFACE_TUBE

The interface name "org.freedesktop.Telepathy.Channel.Interface.Tube" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_DISPATCHER

The interface name "org.freedesktop.Telepathy.ChannelDispatcher" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_DISPATCHER_INTERFACE_MESSAGES1

The interface name "org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_DISPATCH_OPERATION

The interface name "org.freedesktop.Telepathy.ChannelDispatchOperation" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CHANNEL_REQUEST

The interface name "org.freedesktop.Telepathy.ChannelRequest" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_MEDIA_SESSION_HANDLER

The interface name "org.freedesktop.Telepathy.Media.SessionHandler" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_MEDIA_STREAM_HANDLER

The interface name "org.freedesktop.Telepathy.Media.StreamHandler" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_DBUS_DAEMON

The interface name "org.freedesktop.DBus" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_INTROSPECTABLE

The interface name "org.freedesktop.DBus.Introspectable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PEER

The interface name "org.freedesktop.DBus.Peer" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROPERTIES

The interface name "org.freedesktop.DBus.Properties" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_DEBUG

The interface name "org.freedesktop.Telepathy.Debug" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_PROPERTIES_INTERFACE

The interface name "org.freedesktop.Telepathy.Properties" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_ACCOUNT_MANAGER

The interface name "org.freedesktop.Telepathy.AccountManager" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_ACCOUNT

The interface name "org.freedesktop.Telepathy.Account" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_ACCOUNT_INTERFACE_ADDRESSING

The interface name "org.freedesktop.Telepathy.Account.Interface.Addressing" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_ACCOUNT_INTERFACE_AVATAR

The interface name "org.freedesktop.Telepathy.Account.Interface.Avatar" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_ACCOUNT_INTERFACE_STORAGE

The interface name "org.freedesktop.Telepathy.Account.Interface.Storage" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CLIENT

The interface name "org.freedesktop.Telepathy.Client" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CLIENT_OBSERVER

The interface name "org.freedesktop.Telepathy.Client.Observer" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CLIENT_APPROVER

The interface name "org.freedesktop.Telepathy.Client.Approver" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CLIENT_HANDLER

The interface name "org.freedesktop.Telepathy.Client.Handler" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CLIENT_INTERFACE_REQUESTS

The interface name "org.freedesktop.Telepathy.Client.Interface.Requests" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_AUTHENTICATION_TLS_CERTIFICATE

The interface name "org.freedesktop.Telepathy.Authentication.TLSCertificate" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_MEDIA

The interface name "org.freedesktop.Telepathy.Call1.Content.Interface.Media" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_DTMF

The interface name "org.freedesktop.Telepathy.Call1.Content.Interface.DTMF" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_VIDEO_CONTROL

The interface name "org.freedesktop.Telepathy.Call1.Content.Interface.VideoControl" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_INTERFACE_AUDIO_CONTROL

The interface name "org.freedesktop.Telepathy.Call1.Content.Interface.AudioControl" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT

The interface name "org.freedesktop.Telepathy.Call1.Content" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_EXTENDED_REPORTS

The interface name "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_FEEDBACK

The interface name "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTP_HEADER_EXTENSIONS

The interface name "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION

The interface name "org.freedesktop.Telepathy.Call1.Content.MediaDescription" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_STREAM_INTERFACE_MEDIA

The interface name "org.freedesktop.Telepathy.Call1.Stream.Interface.Media" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_STREAM

The interface name "org.freedesktop.Telepathy.Call1.Stream" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_STREAM_ENDPOINT

The interface name "org.freedesktop.Telepathy.Call1.Stream.Endpoint" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

#define TP_QT_IFACE_CALL_INTERFACE_MUTE

The interface name "org.freedesktop.Telepathy.Call1.Interface.Mute" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01340.html0000644000175000017500000002320612727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeCallAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeCallAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
Accept(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeCallAdaptorslot
adaptee() const Tp::AbstractAdaptor
AddContent(const QString &contentName, uint contentType, uint initialDirection, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeCallAdaptorslot
CallFlags() const Tp::Service::ChannelTypeCallAdaptor
CallMembers() const Tp::Service::ChannelTypeCallAdaptor
CallMembersChanged(const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)Tp::Service::ChannelTypeCallAdaptorsignal
CallState() const Tp::Service::ChannelTypeCallAdaptor
CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason &callStateReason, const QVariantMap &callStateDetails)Tp::Service::ChannelTypeCallAdaptorsignal
CallStateDetails() const Tp::Service::ChannelTypeCallAdaptor
CallStateReason() const Tp::Service::ChannelTypeCallAdaptor
ContentAdded(const QDBusObjectPath &content)Tp::Service::ChannelTypeCallAdaptorsignal
ContentRemoved(const QDBusObjectPath &content, const Tp::CallStateReason &reason)Tp::Service::ChannelTypeCallAdaptorsignal
Contents() const Tp::Service::ChannelTypeCallAdaptor
dbusConnection() const Tp::AbstractAdaptor
Hangup(uint reason, const QString &detailedHangupReason, const QString &message, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeCallAdaptorslot
HardwareStreaming() const Tp::Service::ChannelTypeCallAdaptor
InitialAudio() const Tp::Service::ChannelTypeCallAdaptor
InitialAudioName() const Tp::Service::ChannelTypeCallAdaptor
InitialTransport() const Tp::Service::ChannelTypeCallAdaptor
InitialVideo() const Tp::Service::ChannelTypeCallAdaptor
InitialVideoName() const Tp::Service::ChannelTypeCallAdaptor
MemberIdentifiers() const Tp::Service::ChannelTypeCallAdaptor
MutableContents() const Tp::Service::ChannelTypeCallAdaptor
SetQueued(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeCallAdaptorslot
SetRinging(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeCallAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00124.html0000644000175000017500000015036312727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentInterfaceMediaInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentInterfaceMediaInterface Class Reference

#include <TelepathyQt/CallContent>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply UpdateLocalMediaDescription (const QVariantMap &mediaDescription, int timeout=-1)
 
QDBusPendingReply AcknowledgeDTMFChange (uchar event, uint state, int timeout=-1)
 
QDBusPendingReply Fail (const Tp::CallStateReason &reason, int timeout=-1)
 

Signals

void NewMediaDescriptionOffer (const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
 
void MediaDescriptionOfferDone ()
 
void LocalMediaDescriptionChanged (const QVariantMap &updatedMediaDescription)
 
void RemoteMediaDescriptionsChanged (const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
 
void MediaDescriptionsRemoved (const Tp::UIntList &removedMediaDescriptions)
 
void DTMFChangeRequested (uchar event, uint state)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallContentInterfaceMediaInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceMediaInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceMediaInterface (Tp::DBusProxy *proxy)
 
 CallContentInterfaceMediaInterface (const Tp::Client::CallContentInterface &mainInterface)
 
 CallContentInterfaceMediaInterface (const Tp::Client::CallContentInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyRemoteMediaDescriptions () const
 
Tp::PendingVariantrequestPropertyLocalMediaDescriptions () const
 
Tp::PendingVariantrequestPropertyMediaDescriptionOffer () const
 
Tp::PendingVariantrequestPropertyPacketization () const
 
Tp::PendingVariantrequestPropertyCurrentDTMFEvent () const
 
Tp::PendingVariantrequestPropertyCurrentDTMFState () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.Media".

Constructor & Destructor Documentation

Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentInterfaceMediaInterface 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.
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface ( Tp::DBusProxy proxy)

Creates a CallContentInterfaceMediaInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface ( const Tp::Client::CallContentInterface mainInterface)
explicit

Creates a CallContentInterfaceMediaInterface 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.
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface ( const Tp::Client::CallContentInterface mainInterface,
QObject *  parent 
)

Creates a CallContentInterfaceMediaInterface 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 Tp::Client::CallContentInterfaceMediaInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.Interface.Media", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyRemoteMediaDescriptions ( ) const
inline

Asynchronous getter for the remote object property RemoteMediaDescriptions of type Tp::ContactMediaDescriptionPropertiesMap.

A map from contact handles to descriptions supported by that contact. Keys of this map will appear in at most one RemoteMembers. See RemoteContact for more details on how to map between MediaDescriptions and Streams.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyLocalMediaDescriptions ( ) const
inline

Asynchronous getter for the remote object property LocalMediaDescriptions of type Tp::ContactMediaDescriptionPropertiesMap.

A map from contact handles to the descriptions the local side responsed with.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyMediaDescriptionOffer ( ) const
inline

Asynchronous getter for the remote object property MediaDescriptionOffer of type Tp::MediaDescriptionOffer.

The object path to the current CallContentMediaDescriptionInterface object, its CallContentMediaDescriptionInterface::RemoteContact and a mapping of the MediaDescriptions properties. If the object path is "/" then there isn't an outstanding content description, and the mapping MUST be empty.

Having all CallContentMediaDescriptionInterface properties here saves a D-Bus round-trip - it shouldn't be necessary to get these properties from the Content MediaDescription object, in practice.

Change notification is via the NewMediaDescriptionOffer() and MediaDescriptionOfferDone() signals.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyPacketization ( ) const
inline

Asynchronous getter for the remote object property Packetization of type uint.

The packetization method in use for this content.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyCurrentDTMFEvent ( ) const
inline

Asynchronous getter for the remote object property CurrentDTMFEvent of type uchar.

The currently requested DTMF event (for state-recoverability of DTMFChangeRequested). Should be ignored if CurrentDTMFState is None.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceMediaInterface::requestPropertyCurrentDTMFState ( ) const
inline

Asynchronous getter for the remote object property CurrentDTMFState of type uint.

The current DTMF state (for state-recoverability of DTMFChangeRequested).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentInterfaceMediaInterface::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 Tp::Client::CallContentInterfaceMediaInterface::UpdateLocalMediaDescription ( const QVariantMap &  mediaDescription,
int  timeout = -1 
)
inlineslot

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

Update the local codec mapping and other interfaces of the MediaDescription. This method should only be used during an existing call to update the local media description. This may trigger a re-negotiation which may result in new new MediaDescriptionOffers if the "FurtherNegotiationRequired" property is TRUE. Otherwise, only parameters which strictly describe the media being sent can be changed.

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

Parameters
mediaDescription
The updated media description that the local side wants to use.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallContentInterfaceMediaInterface::AcknowledgeDTMFChange ( uchar  event,
uint  state,
int  timeout = -1 
)
inlineslot

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

Called by the streaming implementation in response to DTMFChangeRequested to confirm that it has started or stopped sending the event in question.

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

Parameters
event
The event referred to in the corresponding DTMFChangeRequested 
signal.
state
Either Sending or None.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallContentInterfaceMediaInterface::Fail ( const Tp::CallStateReason reason,
int  timeout = -1 
)
inlineslot

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

Signal an unrecoverable error for this content, and remove it.

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

Parameters
reason
A reason struct describing the error.
timeoutThe timeout in milliseconds.
void Tp::Client::CallContentInterfaceMediaInterface::NewMediaDescriptionOffer ( const QDBusObjectPath &  mediaDescription,
const QVariantMap &  properties 
)
signal

Represents the signal NewMediaDescriptionOffer on the remote object.

Emitted when a new CallContentMediaDescriptionInterface appears. The streaming >implementation MUST respond by calling the CallContentMediaDescriptionInterface::Accept() or CallContentMediaDescriptionInterface::Reject() method on the description object appeared.

Emission of this signal indicates that the MediaDescriptionOffer property has changed to (Description, Contact, MediaDescriptionProperties).

When the MediaDescriptionOffer has been dealt with then CallContentInterfaceMediaInterface::MediaDescriptionOfferDone() must be emitted before CallContentInterfaceMediaInterface::NewMediaDescriptionOffer() is emitted again.

Parameters
mediaDescription
The object path of the new media description. This replaces any 
previous media description.
properties
The immutable properties of the remote media description. Having 
all the MediaDescription properties here saves a D-Bus round-trip - 
it shouldn&apos;t be necessary to get the properties from the 
MediaDescription object, in practice.
void Tp::Client::CallContentInterfaceMediaInterface::MediaDescriptionOfferDone ( )
signal

Represents the signal MediaDescriptionOfferDone on the remote object.

Emitted when a CallContentMediaDescriptionInterface has been handled.

Emission of this signal indicates that the MediaDescriptionOffer property has changed to ("/", 0, {}).

void Tp::Client::CallContentInterfaceMediaInterface::LocalMediaDescriptionChanged ( const QVariantMap &  updatedMediaDescription)
signal

Represents the signal LocalMediaDescriptionChanged on the remote object.

Change notification for CallContentInterfaceMediaInterface::LocalMediaDescriptions

Parameters
updatedMediaDescription

The local content description that was updated

void Tp::Client::CallContentInterfaceMediaInterface::RemoteMediaDescriptionsChanged ( const Tp::ContactMediaDescriptionPropertiesMap updatedMediaDescriptions)
signal

Represents the signal RemoteMediaDescriptionsChanged on the remote object.

Change notification for CallContentInterfaceMediaInterface::RemoteMediaDescriptions

Parameters
updatedMediaDescriptions

The remote content descriptions that were updated

void Tp::Client::CallContentInterfaceMediaInterface::MediaDescriptionsRemoved ( const Tp::UIntList removedMediaDescriptions)
signal

Represents the signal MediaDescriptionsRemoved on the remote object.

Removal notification for CallContentInterfaceMediaInterface::RemoteMediaDescriptions and CallContentInterfaceMediaInterface::LocalMediaDescriptions

Parameters
removedMediaDescriptions

The local and remote content descriptions that are no longer part of this content

void Tp::Client::CallContentInterfaceMediaInterface::DTMFChangeRequested ( uchar  event,
uint  state 
)
signal

Represents the signal DTMFChangeRequested on the remote object.

Used by the CM to relay instructions from Channel.Interface.DTMF to the streaming implementation. If any contact in this call supports the telephone-event codec in their MediaDescription, this event should be sent as outlined in RFC 4733. Otherwise, it should be sent as an audible tone.

Parameters
event
The event to send (or stop sending).
state
Either Pending_Send or Pending_Stop_Sending.
void Tp::Client::CallContentInterfaceMediaInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01095.html0000644000175000017500000000552612727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::MultipleStatusMap Member List

This is the complete list of members for Tp::MultipleStatusMap, including all inherited members.

MultipleStatusMap()Tp::MultipleStatusMapinline
MultipleStatusMap(const QMap< QString, QVariantMap > &a)Tp::MultipleStatusMapinline
operator=(const QMap< QString, QVariantMap > &a)Tp::MultipleStatusMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00439.html0000644000175000017500000006064312727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::ProfileManager Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Tp::ProfileManager Class Reference

The ProfileManager class provides helper methods to retrieve Profile objects. More...

#include <TelepathyQt/ProfileManager>

Inherits Tp::Object, and Tp::ReadyObject.

Public Member Functions

 ~ProfileManager ()
 
QList< ProfilePtr > profiles () const
 
QList< ProfilePtr > profilesForCM (const QString &cmName) const
 
QList< ProfilePtr > profilesForProtocol (const QString &protocolName) const
 
ProfilePtr profileForService (const QString &serviceName) const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Static Public Member Functions

static ProfileManagerPtr create (const QDBusConnection &bus=QDBusConnection::sessionBus())
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureFakeProfiles
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 

Detailed Description

The ProfileManager class provides helper methods to retrieve Profile objects.

Constructor & Destructor Documentation

Tp::ProfileManager::~ProfileManager ( )

Class destructor.

Member Function Documentation

ProfileManagerPtr Tp::ProfileManager::create ( const QDBusConnection &  bus = QDBusConnection::sessionBus())
static

Create a new ProfileManager object.

QList< ProfilePtr > Tp::ProfileManager::profiles ( ) const

Return a list of all available profiles.

Returns
A list of all available profiles.
QList< ProfilePtr > Tp::ProfileManager::profilesForCM ( const QString &  cmName) const

Return a list of all available profiles for a given connection manager.

Parameters
cmNameConnection manager name.
Returns
A list of all available profiles for a given connection manager.
QList< ProfilePtr > Tp::ProfileManager::profilesForProtocol ( const QString &  protocolName) const

Return a list of all available profiles for a given protocol.

Parameters
protocolNameProtocol name.
Returns
A list of all available profiles for a given protocol.
ProfilePtr Tp::ProfileManager::profileForService ( const QString &  serviceName) const

Return the profile for a given service.

Parameters
serviceNameService name.
Returns
The profile for service.

Member Data Documentation

const Feature Tp::ProfileManager::FeatureCore
static

Feature representing the core that needs to become ready to make the ProfileManager object usable.

Note that this feature must be enabled in order to use all ProfileManager methods.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.

const Feature Tp::ProfileManager::FeatureFakeProfiles
static

Enabling this feature will make ProfileManager create fake Profile objects to all protocols supported on the installed connection managers, even if they don't have .profile files installed making use of them.

Fake profiles are identified by Profile::isFake() returning true.

The fake profile will contain the following info:

Where cmName and protocolName are the name of the connection manager and the name of the protocol for which this fake Profile is created, respectively.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00193.html0000644000175000017500000013327512727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void StartMechanism (const QString &mechanism, const QDBusMessage &dbusMessage)
 
void StartMechanismWithData (const QString &mechanism, const QByteArray &initialData, const QDBusMessage &dbusMessage)
 
void Respond (const QByteArray &responseData, const QDBusMessage &dbusMessage)
 
void AcceptSASL (const QDBusMessage &dbusMessage)
 
void AbortSASL (uint reason, const QString &debugMessage, const QDBusMessage &dbusMessage)
 

Signals

void SASLStatusChanged (uint status, const QString &reason, const QVariantMap &details)
 
void NewChallenge (const QByteArray &challengeData)
 

Public Member Functions

QStringList AvailableMechanisms () const
 
bool HasInitialData () const
 
bool CanTryAgain () const
 
uint SASLStatus () const
 
QString SASLError () const
 
QVariantMap SASLErrorDetails () const
 
QString AuthorizationIdentity () const
 
QString DefaultUsername () const
 
QString DefaultRealm () const
 
bool MaySaveResponse () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AvailableMechanisms ( ) const

Return the value of the exported D-Bus object property AvailableMechanisms of type QStringList.

Adaptees should export this property as a Qt property named 'availableMechanisms' with type QStringList.

The SASL mechanisms as offered by the server, plus any pseudo-SASL mechanisms supported by the connection manager for credentials transfer. For instance, in a protocol that natively uses SASL (like XMPP), this might be [ "X-TELEPATHY-PASSWORD", "PLAIN", "DIGEST-MD5", "SCRAM-SHA-1" ].

To make it possible to implement a very simple password-querying user interface without knowledge of any particular SASL mechanism, implementations of this interface MUST implement the pseudo-mechanism X-TELEPATHY-PASSWORD, unless none of the available mechanisms use a password at all.

Returns
The value of exported property AvailableMechanisms.
bool Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::HasInitialData ( ) const

Return the value of the exported D-Bus object property HasInitialData of type bool.

Adaptees should export this property as a Qt property named 'hasInitialData' with type bool.

If true, StartMechanismWithData() can be expected to work for SASL mechanisms not starting with X-TELEPATHY- (this is the case in most, but not all, protocols). If false, StartMechanism() must be used instead.

This property does not affect the X-TELEPATHY- pseudo-mechanisms such as X-TELEPATHY-PASSWORD, which can use StartMechanismWithData() regardless of the value of this property.

Returns
The value of exported property HasInitialData.
bool Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::CanTryAgain ( ) const

Return the value of the exported D-Bus object property CanTryAgain of type bool.

Adaptees should export this property as a Qt property named 'canTryAgain' with type bool.

If true, StartMechanism() and (if supported) StartMechanismWithData() can be expected to work when in one of the Failed states. If false, the only thing you can do after failure is to close the channel.

Retrying isn't required to work, although some protocols and implementations allow it.

Returns
The value of exported property CanTryAgain.
uint Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::SASLStatus ( ) const

Return the value of the exported D-Bus object property SASLStatus of type uint.

Adaptees should export this property as a Qt property named 'saslStatus' with type uint.

The current status of this channel. Change notification is via the SASLStatusChanged() signal.

Returns
The value of exported property SASLStatus.
QString Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::SASLError ( ) const

Return the value of the exported D-Bus object property SASLError of type QString.

Adaptees should export this property as a Qt property named 'saslError' with type QString.

The reason for the SASLStatus , or an empty string if the state is neither Server_Failed nor Client_Failed.

In particular, an ordinary authentication failure (as would be produced for an incorrect password) SHOULD be represented by AuthenticationFailed, cancellation by the user's request SHOULD be represented by Cancelled, and cancellation by a local process due to inconsistent or invalid challenges from the server SHOULD be represented by ServiceConfused.

If this interface appears on a ChannelTypeServerAuthenticationInterface channel, and connection to the server fails with an authentication failure, this error code SHOULD be copied into the ConnectionInterface::ConnectionError() signal.

Returns
The value of exported property SASLError.
QVariantMap Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::SASLErrorDetails ( ) const

Return the value of the exported D-Bus object property SASLErrorDetails of type QVariantMap.

Adaptees should export this property as a Qt property named 'saslErrorDetails' with type QVariantMap.

If SASLError is non-empty, any additional information about the last disconnection; otherwise, the empty map. The keys and values are the same as for the second argument of ConnectionInterface::ConnectionError() .

If this interface appears on a ChannelTypeServerAuthenticationInterface channel, and connection to the server fails with an authentication failure, these details SHOULD be copied into the ConnectionInterface::ConnectionError() signal.

Returns
The value of exported property SASLErrorDetails.
QString Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AuthorizationIdentity ( ) const

Return the value of the exported D-Bus object property AuthorizationIdentity of type QString.

Adaptees should export this property as a Qt property named 'authorizationIdentity' with type QString.

The identity for which authorization is being attempted, typically the 'account' from the ConnectionManagerInterface::RequestConnection() parameters, normalized and formatted according to the conventions used for SASL in this protocol.

The normalization used for SASL might not be the same normalization used elsewhere: for instance, in a protocol with email-like identifiers such as XMPP or SIP, the user "juliet@example.com" might have to authenticate to the example.com server via SASL PLAIN as "juliet".

This is usually achieved by using the authorization identity for authentication, but an advanced Handler could offer the option to authenticate under a different identity.

The terminology used here is that the authorization identity is who you want to act as, and the authentication identity is used to prove that you may do so. For instance, if Juliet is authorized to access a role account, "sysadmin@example.com", and act on its behalf, it might be possible to authenticate as "juliet@example.com" with her own password, but request to be authorized as "sysadmin@example.com" instead of her own account. See RFC 4422 §3.4.1 for more details.

In SASL the authorization identity is normally guessed from the authentication identity, but the information available to the connection manager is the identity for which authorization is required, such as the desired JID in XMPP, so that's what we signal to UIs; it's up to the UI to choose whether to authenticate as the authorization identity or some other identity.

As a concrete example, the "sysadmin" XMPP account mentioned above would have { 'account': 'sysadmin@example.com' } in its Parameters, and this property would also be 'sysadmin@example.com'. A simple Handler would merely prompt for sysadmin@example.com's password, and use that JID as both the authorization and authentication identity, which might result in SASL PLAIN authentication with the initial response '\\000sysadmin@example.com\\000root'.

A more advanced Handler might also ask for an authentication identity, defaulting to 'sysadmin@example.com'; if Juliet provided authentication identity 'juliet@example.com' and password 'romeo', the Handler might perform SASL PLAIN authentication using the initial response 'sysadmin@example.com\\000juliet@example.com\\000romeo'.

Returns
The value of exported property AuthorizationIdentity.
QString Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::DefaultUsername ( ) const

Return the value of the exported D-Bus object property DefaultUsername of type QString.

Adaptees should export this property as a Qt property named 'defaultUsername' with type QString.

The default username for use with SASL mechanisms that deal with a "simple username" (as defined in RFC 4422). If such a SASL mechanism is in use, clients SHOULD default to using the DefaultUsername; also, if the client uses the DefaultUsername, it SHOULD assume that the authorization identity AuthorizationIdentity will be derived from it by the server.

In XMPP, servers typically expect "user@example.com" to authenticate with username "user"; this was a SHOULD in RFC 3920.

3920bis weakens that SHOULD to "in the absence of local information provided by the server, an XMPP client SHOULD assume that the authentication identity for such a SASL mechanism is the combination of a user name and password, where the simple user name is the localpart of the user's JID".

For example, in the simple case, if the user connects with ConnectionManagerInterface::RequestConnection() ({ account: "user@example.com" }) and use PLAIN with password "password", he or she should authenticate like so: "\\0user\\0password" and the channel will look like this:

{ "...  DefaultUsername   ": "user",
  "...  AuthorizationIdentity   ": "user@example.com }

In the complex case, if the same user is using his or her sysadmin powers to log in as the "announcements" role address, he or she would connect with ConnectionManagerInterface::RequestConnection() ({ account: "announcements@example.com" }) and the SASL channel would look like this:

{ "...  DefaultUsername   ": "announcements",
  "...  AuthorizationIdentity   ": "announcements@example.com }

A sufficiently elaborate UI could give the opportunity to override the username from "announcements" to "user". The user's simple username is still "user", and the password is still "password", but this time he or she is trying to authorize to act as announcements@example.com, so the UI would have to perform SASL PLAIN with this string: "announcements@example.com\\0user\\0password", where "announcements@example.com" is the AuthorizationIdentity .

Returns
The value of exported property DefaultUsername.
QString Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::DefaultRealm ( ) const

Return the value of the exported D-Bus object property DefaultRealm of type QString.

Adaptees should export this property as a Qt property named 'defaultRealm' with type QString.

The default realm (as defined in RFC 2831) to use for authentication, if the server does not supply one.

The server is not required to provide a realm; if it doesn't, the client is expected to ask the user or provide a sensible default, typically the requested DNS name of the server. In some implementations of DIGEST-MD5, the server does not specify a realm, but expects that the client will choose a particular default, and authentication will fail if the client's default is different. Connection managers for protocols where this occurs are more easily able to work around these implementations than a generic client would be.

Returns
The value of exported property DefaultRealm.
bool Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::MaySaveResponse ( ) const

Return the value of the exported D-Bus object property MaySaveResponse of type bool.

Adaptees should export this property as a Qt property named 'maySaveResponse' with type bool.

Whether or not the client can save the authentication response and re-use it to automate future authentication challenges.

If this property is False, the client SHOULD NOT attempt to cache the authentication response in its own keyring.

If this property is not specified, it should be treated as if it were True.

Some protocols or services may have terms and conditions that prohibit caching a user's credentials.

Returns
The value of exported property MaySaveResponse.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::StartMechanism ( const QString &  mechanism,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void startMechanism(const QString& mechanism, const Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::StartMechanismContextPtr &context);

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

Start an authentication try using Mechanism, without sending initial data (an "initial response" as defined in RFC 4422).

This method is appropriate for mechanisms where the client cannot send anything until it receives a challenge from the server, such as DIGEST-MD5 in "initial authentication" mode.

Parameters
mechanism
The chosen mechanism.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::StartMechanismWithData ( const QString &  mechanism,
const QByteArray &  initialData,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void startMechanismWithData(const QString& mechanism, const QByteArray& initialData, const Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::StartMechanismWithDataContextPtr &context);

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

Start an authentication try using Mechanism, and send Initial_Data as the "initial response" defined in RFC 4422 §3.3.

This method is appropriate for mechanisms where the client may send data first, such as PLAIN, or must send data first, such as DIGEST-MD5 in "subsequent authentication" mode.

Having two methods allows any mechanism where it makes a difference to distinguish between the absence of an initial response ( StartMechanism() ) and a zero-byte initial response (StartMechanismWithData, with Initial_Data empty).

If the HasInitialData property is false, this indicates that the underlying protocol does not make it possible to send initial data. In such protocols, this method may only be used for the X-TELEPATHY- pseudo-mechanisms (such as X-TELEPATHY-PASSWORD), and will fail if used with an ordinary SASL mechanism.

For instance, the IRC SASL extension implemented in Charybdis and Atheme does not support initial data - the first message in the exchange only carries the mechanism. This is significant if using DIGEST-MD5, which cannot be used in the faster "subsequent authentication" mode on a protocol not supporting initial data.

Parameters
mechanism
The chosen mechanism.
initialData
Initial data (an &quot;initial response&quot; in RFC 4422&apos;s 
terminology) to send with the mechanism.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::Respond ( const QByteArray &  responseData,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void respond(const QByteArray& responseData, const Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::RespondContextPtr &context);

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

Send a response to the the last challenge received via NewChallenge() .

Parameters
responseData
The response data.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AcceptSASL ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void acceptSASL(const Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AcceptSASLContextPtr &context);

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

If the channel's status is SASL_Status_Server_Succeeded, this method confirms successful authentication and advances the status of the channel to SASL_Status_Succeeded.

If the channel's status is SASL_Status_In_Progress, calling this method indicates that the last NewChallenge() signal was in fact additional data sent after a successful SASL negotiation, and declares that from the client's point of view, authentication was successful. This advances the state of the channel to SASL_Status_Client_Accepted.

In mechanisms where the server authenticates itself to the client, calling this method indicates that the client considers this to have been successful. In the case of ChannelTypeServerAuthenticationInterface channels, this means that the connection manager MAY continue to connect, and MAY advance the ConnectionInterface::Status to Connected.

void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AbortSASL ( uint  reason,
const QString &  debugMessage,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void abortSASL(uint reason, const QString& debugMessage, const Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::AbortSASLContextPtr &context);

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

Abort the current authentication try.

If the current status is SASL_Status_Server_Failed or SASL_Status_Client_Failed, this method returns successfully, but has no further effect. If the current status is SASL_Status_Succeeded or SASL_Status_Client_Accepted then NotAvailable is raised. Otherwise, it changes the channel's state to SASL_Status_Client_Failed, with an appropriate error name and reason code.

Parameters
reason
Reason for abort.
debugMessage
Debug message for abort.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::SASLStatusChanged ( uint  status,
const QString &  reason,
const QVariantMap &  details 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void saslStatusChanged(uint status, const QString& reason, const QVariantMap& details);

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

Parameters
status
The new value of SASLStatus.
reason
The new value of SASLError.
details
The new value of SASLErrorDetails.
void Tp::Service::ChannelInterfaceSASLAuthenticationAdaptor::NewChallenge ( const QByteArray &  challengeData)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void newChallenge(const QByteArray& challengeData);

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

Parameters
challengeData
The challenge data or additional data from the server.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01154.html0000644000175000017500000000705512727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Member List

This is the complete list of members for Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >, including all inherited members.

fnTp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >
FunctionType typedefTp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >inline
PtrFunctor7(FunctionType fn)Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >inline
ResultType typedefTp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00252.html0000644000175000017500000016436612727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceAvatarsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceAvatarsInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QStringList, ushort, ushort, ushort, ushort, uint > GetAvatarRequirements (int timeout=-1)
 
QDBusPendingReply< QStringList > GetAvatarTokens (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< Tp::AvatarTokenMapGetKnownAvatarTokens (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< QByteArray, QString > RequestAvatar (uint contact, int timeout=-1)
 
QDBusPendingReply RequestAvatars (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< QString > SetAvatar (const QByteArray &avatar, const QString &MIMEType, int timeout=-1)
 
QDBusPendingReply ClearAvatar (int timeout=-1)
 

Signals

void AvatarUpdated (uint contact, const QString &newAvatarToken)
 
void AvatarRetrieved (uint contact, const QString &token, const QByteArray &avatar, const QString &type)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceAvatarsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceAvatarsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceAvatarsInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceAvatarsInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceAvatarsInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySupportedAvatarMIMETypes () const
 
Tp::PendingVariantrequestPropertyMinimumAvatarHeight () const
 
Tp::PendingVariantrequestPropertyMinimumAvatarWidth () const
 
Tp::PendingVariantrequestPropertyRecommendedAvatarHeight () const
 
Tp::PendingVariantrequestPropertyRecommendedAvatarWidth () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarHeight () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarWidth () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarBytes () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Avatars".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceAvatarsInterface 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.
Tp::Client::ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceAvatarsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceAvatarsInterface 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.
Tp::Client::ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceAvatarsInterface 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 Tp::Client::ConnectionInterfaceAvatarsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Avatars", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertySupportedAvatarMIMETypes ( ) const
inline

Asynchronous getter for the remote object property SupportedAvatarMIMETypes of type QStringList.

An array of supported MIME types (e.g. "image/jpeg"). Clients MAY assume that the first type in this array is preferred. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyMinimumAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property MinimumAvatarHeight of type uint.

The minimum height in pixels of an avatar on this protocol, which MAY be 0. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyMinimumAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property MinimumAvatarWidth of type uint.

The minimum width in pixels of an avatar on this protocol, which MAY be 0. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyRecommendedAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property RecommendedAvatarHeight of type uint.

The recommended height in pixels of an avatar on this protocol, or 0 if there is no preferred height. This property cannot change after the Connection goes to the Connected state. In XMPP a recommended width is given by the protocol specification; in proprietary protocols, using the same avatar size as the proprietary client is likely to lead to the best display to other users.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyRecommendedAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property RecommendedAvatarWidth of type uint.

The recommended width in pixels of an avatar on this protocol, or 0 if there is no preferred width. This property cannot change after the Connection goes to the Connected state. The rationale is the same as for RecommendedAvatarHeight.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyMaximumAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarHeight of type uint.

The maximum height in pixels of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyMaximumAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarWidth of type uint.

The maximum width in pixels of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceAvatarsInterface::requestPropertyMaximumAvatarBytes ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarBytes of type uint.

The maximum size in bytes of an avatar on this protocol, or 0 if there is no limit. This property cannot change after the Connection goes to the Connected state.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceAvatarsInterface::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<QStringList, ushort, ushort, ushort, ushort, uint> Tp::Client::ConnectionInterfaceAvatarsInterface::GetAvatarRequirements ( int  timeout = -1)
inlineslot

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

Get the required format of avatars on this connection.

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.
Returns
An array of supported MIME types (eg image/jpeg)
The minimum image width in pixels
The minimum image height in pixels
The maximum image width in pixels, or 0 if there is no limit
The maximum image height in pixels, or 0 if there is no limit
The maximum image size in bytes, or 0 if there is no limit
QDBusPendingReply<QStringList> Tp::Client::ConnectionInterfaceAvatarsInterface::GetAvatarTokens ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Get the unique tokens for all of the given contacts' avatars. Using this method in new Telepathy clients is deprecated; use GetKnownAvatarTokens instead.

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

Parameters
contacts
An array of handles representing contacts
timeoutThe timeout in milliseconds.
Returns
An array of avatar tokens or empty strings (if no avatar is set) in 
the same order as the given array of contact handles
QDBusPendingReply<Tp::AvatarTokenMap> Tp::Client::ConnectionInterfaceAvatarsInterface::GetKnownAvatarTokens ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Get the unique tokens for the given contacts' avatars. These tokens can be persisted across connections, and should be used by the client to check whether the avatars have been updated. For handles other than the self handle, only tokens that are already known are returned; an empty token means the given contact has no avatar. However, a CM must always have the tokens for the self handle if one is set (even if it is set to no avatar). On protocols where the avatar does not persist between connections, a CM should omit the self handle from the returned map until an avatar is explicitly set or cleared.

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

Parameters
contacts
An array of handles representing contacts
timeoutThe timeout in milliseconds.
Returns
A dictionary of handles mapped to avatar tokens, containing only 
the known avatar tokens.
QDBusPendingReply<QByteArray, QString> Tp::Client::ConnectionInterfaceAvatarsInterface::RequestAvatar ( uint  contact,
int  timeout = -1 
)
inlineslot

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

Request the avatar for a given contact. Using this method in new Telepathy clients is deprecated; use RequestAvatars instead.

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

Parameters
contact
An integer handle for the contact to request the avatar for
timeoutThe timeout in milliseconds.
Returns
An array of bytes containing the image data
A string containing the image MIME type (eg image/jpeg), or empty 
if unknown
QDBusPendingReply Tp::Client::ConnectionInterfaceAvatarsInterface::RequestAvatars ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Request avatars for a number of contacts. The AvatarRetrieved signal is emitted for each avatar retrieved. If the handles are valid but retrieving an avatar fails (for any reason, including the contact not having an avatar) the AvatarRetrieved signal is not emitted for that contact.

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

Parameters
contacts
The contacts to retrieve avatars for
timeoutThe timeout in milliseconds.
QDBusPendingReply<QString> Tp::Client::ConnectionInterfaceAvatarsInterface::SetAvatar ( const QByteArray &  avatar,
const QString &  MIMEType,
int  timeout = -1 
)
inlineslot

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

Set a new avatar image for this connection. The avatar image must respect the requirements obtained by GetAvatarRequirements.

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

Parameters
avatar
An array of bytes representing the avatar image data
MIMEType
A string representing the image MIME type
timeoutThe timeout in milliseconds.
Returns
The string token of the new avatar
QDBusPendingReply Tp::Client::ConnectionInterfaceAvatarsInterface::ClearAvatar ( int  timeout = -1)
inlineslot

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

Remove the avatar image for this connection.

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 Tp::Client::ConnectionInterfaceAvatarsInterface::AvatarUpdated ( uint  contact,
const QString &  newAvatarToken 
)
signal

Represents the signal AvatarUpdated on the remote object.

Emitted when the avatar for a contact has been updated, or first discovered on this connection. If the token differs from the token associated with the client's cached avatar for this contact, the new avatar should be requested with RequestAvatars.

Parameters
contact
An integer handle for the contact whose avatar has changed
newAvatarToken
Unique token for their new avatar
void Tp::Client::ConnectionInterfaceAvatarsInterface::AvatarRetrieved ( uint  contact,
const QString &  token,
const QByteArray &  avatar,
const QString &  type 
)
signal

Represents the signal AvatarRetrieved on the remote object.

Emitted when the avatar for a contact has been retrieved.

Parameters
contact
The contact whose avatar has been retrieved
token
The token corresponding to the avatar
avatar
An array of bytes containing the image data
type
A string containing the image MIME type (eg image/jpeg), or empty 
if unknown
void Tp::Client::ConnectionInterfaceAvatarsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01213.html0000644000175000017500000000536012727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::UIntList Member List

This is the complete list of members for Tp::UIntList, including all inherited members.

operator=(const QList< uint > &a)Tp::UIntListinline
UIntList()Tp::UIntListinline
UIntList(const QList< uint > &a)Tp::UIntListinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00645_source.html0000644000175000017500000002514112727270137022363 0ustar00kaffeinekaffeine00000000000000 constants.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
telepathy-qt/TelepathyQt/constants.h
1 
23 #ifndef _TelepathyQt_constants_h_HEADER_GUARD_
24 #define _TelepathyQt_constants_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
49 #define TP_QT_CONNECTION_MANAGER_BUS_NAME_BASE QLatin1String("org.freedesktop.Telepathy.ConnectionManager.")
50 
55 #define TP_QT_CONNECTION_MANAGER_OBJECT_PATH_BASE QLatin1String("/org/freedesktop/Telepathy/ConnectionManager/")
56 
62 #define TP_QT_CONNECTION_BUS_NAME_BASE QLatin1String("org.freedesktop.Telepathy.Connection.")
63 
69 #define TP_QT_CONNECTION_OBJECT_PATH_BASE QLatin1String("/org/freedesktop/Telepathy/Connection/")
70 
76 #define TP_QT_ACCOUNT_MANAGER_BUS_NAME \
77  (QLatin1String("org.freedesktop.Telepathy.AccountManager"))
78 
84 #define TP_QT_ACCOUNT_MANAGER_OBJECT_PATH \
85  (QLatin1String("/org/freedesktop/Telepathy/AccountManager"))
86 
90 #define TP_QT_CHANNEL_DISPATCHER_BUS_NAME \
91  (QLatin1String("org.freedesktop.Telepathy.ChannelDispatcher"))
92 
96 #define TP_QT_CHANNEL_DISPATCHER_OBJECT_PATH \
97  (QLatin1String("/org/freedesktop/Telepathy/ChannelDispatcher"))
98 
106 #define TP_QT_ACCOUNT_OBJECT_PATH_BASE \
107  (QLatin1String("/org/freedesktop/Telepathy/Account"))
108 
112 #define TP_QT_DEBUG_OBJECT_PATH \
113  (QLatin1String("/org/freedesktop/Telepathy/debug"))
114 
119 #include <TelepathyQt/_gen/constants.h>
120 
133 #define TP_QT_DBUS_ERROR_NAME_HAS_NO_OWNER \
134  (QLatin1String("org.freedesktop.DBus.Error.NameHasNoOwner"))
135 
141 #define TP_QT_DBUS_ERROR_UNKNOWN_INTERFACE \
142  (QLatin1String("org.freedesktop.DBus.Error.UnknownInterface"))
143 
152 #define TP_QT_DBUS_ERROR_UNKNOWN_METHOD \
153  (QLatin1String("org.freedesktop.DBus.Error.UnknownMethod"))
154 
160 #define TP_QT_ERROR_OBJECT_REMOVED \
161  (QLatin1String("org.freedesktop.Telepathy.Qt.Error.ObjectRemoved"))
162 
168 #define TP_QT_ERROR_INCONSISTENT \
169  (QLatin1String("org.freedesktop.Telepathy.Qt.Error.Inconsistent"))
170 
181 #define TP_QT_ERROR_ORPHANED \
182  (QLatin1String("org.freedesktop.Telepathy.Qt.Error.Orphaned"))
183 
184 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_d.html0000644000175000017500000000461012727270137023530 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- d -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/splitbar.png0000644000175000017500000000047212727270137021624 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRM¸¿IDATxíÝ¡JCa‡ñç(˜ ëƒ%±Ø4 b±È˜Í¶3˜v^Á±˜…ãó–ŽELƒõ…¥•³ ,ÿb;íç{Ã/¼ðÞÀaYÕ¯åóøq:¼º¹›\òIIIIIIIIIIIIIIIIII-Òçl¹›«õ抢è_t/Ï»ã£ÑíYQVõðêäíã÷´×ùY¬Úÿµ§¦ivók¾_íåýÛ£I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$ýC[Vì=ü[„fÆIEND®B`‚telepathy-qt-0.9.7/doc/html/a00311.html0000644000175000017500000001154612727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::ContactSubscriptions Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::ContactSubscriptions Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint subscribe
 
uint publish
 
QString publishRequest
 

Detailed Description

Structure type generated from the specification.

A single contact's subscribe, publish and publish-request attributes.

Member Data Documentation

uint Tp::ContactSubscriptions::subscribe

The new value of the contact's "subscribe" attribute.

uint Tp::ContactSubscriptions::publish

The new value of the contact's "publish" attribute.

QString Tp::ContactSubscriptions::publishRequest

The new value of the contact's "publish-request" attribute, or the empty string if that attribute would be omitted.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01282.html0000644000175000017500000003373512727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceAvatarsInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceAvatarsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AvatarRetrieved(uint contact, const QString &token, const QByteArray &avatar, const QString &type)Tp::Client::ConnectionInterfaceAvatarsInterfacesignal
AvatarUpdated(uint contact, const QString &newAvatarToken)Tp::Client::ConnectionInterfaceAvatarsInterfacesignal
ClearAvatar(int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
ConnectionInterfaceAvatarsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAvatarsInterface
ConnectionInterfaceAvatarsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceAvatarsInterface
ConnectionInterfaceAvatarsInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceAvatarsInterface
ConnectionInterfaceAvatarsInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceAvatarsInterfaceexplicit
ConnectionInterfaceAvatarsInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceAvatarsInterface
GetAvatarRequirements(int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
GetAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
GetKnownAvatarTokens(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceAvatarsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
RequestAvatar(uint contact, int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
RequestAvatars(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
requestPropertyMaximumAvatarBytes() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyMaximumAvatarHeight() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyMaximumAvatarWidth() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyMinimumAvatarHeight() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyMinimumAvatarWidth() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyRecommendedAvatarHeight() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertyRecommendedAvatarWidth() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
requestPropertySupportedAvatarMIMETypes() const Tp::Client::ConnectionInterfaceAvatarsInterfaceinline
SetAvatar(const QByteArray &avatar, const QString &MIMEType, int timeout=-1)Tp::Client::ConnectionInterfaceAvatarsInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceAvatarsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00066.html0000644000175000017500000004154512727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::BaseCallback Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Attributes | List of all members
Tp::BaseCallback Class Reference

Base class for all the callback classes. More...

#include <TelepathyQt/Callbacks>

Inherited by Tp::Callback1< DebugMessageList, DBusError * >, Tp::Callback1< Tp::ConnectionAliasFlags, DBusError * >, Tp::Callback1< void, DBusError * >, Tp::Callback1< void, QString >, Tp::Callback2< BaseChannelPtr, const QVariantMap &, DBusError * >, Tp::Callback2< BaseConnectionPtr, const QVariantMap &, DBusError * >, Tp::Callback2< bool, const QVariantMap &, DBusError * >, Tp::Callback2< QDBusObjectPath, const QVariantMap &, DBusError * >, Tp::Callback2< QString, const QString &, DBusError * >, Tp::Callback2< QString, const QVariantMap &, DBusError * >, Tp::Callback2< QStringList, const Tp::UIntList &, DBusError * >, Tp::Callback2< QStringList, uint, DBusError * >, Tp::Callback2< Tp::AliasMap, const Tp::UIntList &, DBusError * >, Tp::Callback2< Tp::AvatarTokenMap, const Tp::UIntList &, DBusError * >, Tp::Callback2< Tp::ContactCapabilitiesMap, const Tp::UIntList &, DBusError * >, Tp::Callback2< Tp::ContactClientTypes, const Tp::UIntList &, DBusError * >, Tp::Callback2< Tp::ContactInfoFieldList, uint, DBusError * >, Tp::Callback2< Tp::ContactInfoMap, const Tp::UIntList &, DBusError * >, Tp::Callback2< void, const QByteArray &, DBusError * >, Tp::Callback2< void, const QDBusObjectPath &, DBusError * >, Tp::Callback2< void, const QString &, DBusError * >, Tp::Callback2< void, const QVariantMap &, DBusError * >, Tp::Callback2< void, const Tp::AliasMap &, DBusError * >, Tp::Callback2< void, const Tp::CaptchaAnswers &, DBusError * >, Tp::Callback2< void, const Tp::ContactInfoFieldList &, DBusError * >, Tp::Callback2< void, const Tp::HandlerCapabilitiesList &, DBusError * >, Tp::Callback2< void, const Tp::LocalMuteState &, DBusError * >, Tp::Callback2< void, const Tp::MessagePartList &, DBusError * >, Tp::Callback2< void, const Tp::UIntList &, DBusError * >, Tp::Callback2< void, uchar, DBusError * >, Tp::Callback2< void, uint, DBusError * >, Tp::Callback3< QByteArray, uint, const QString &, DBusError * >, Tp::Callback3< QString, const QByteArray &, const QString &, DBusError * >, Tp::Callback3< QString, const QString &, const QString &, DBusError * >, Tp::Callback3< QString, const Tp::MessagePartList &, uint, DBusError * >, Tp::Callback3< QStringList, uint, const Tp::UIntList &, DBusError * >, Tp::Callback3< Tp::ContactAttributesMap, const QStringList &, bool, DBusError * >, Tp::Callback3< Tp::ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError * >, Tp::Callback3< Tp::UIntList, uint, const QStringList &, DBusError * >, Tp::Callback3< uint, const QString &, const QString &, DBusError * >, Tp::Callback3< void, const QString &, const QByteArray &, DBusError * >, Tp::Callback3< void, const Tp::LocalHoldState &, const Tp::LocalHoldStateReason &, DBusError * >, Tp::Callback3< void, const Tp::UIntList &, const QString &, DBusError * >, Tp::Callback3< void, uint, const QString &, DBusError * >, Tp::Callback4< QDBusObjectPath, const QString &, const Tp::MediaStreamType &, const Tp::MediaStreamDirection &, DBusError * >, Tp::Callback4< void, const Tp::UIntList &, const QString &, uint, DBusError * >, Tp::Callback4< void, Tp::CaptchaInfoList &, uint &, QString &, DBusError * >, Tp::Callback4< void, uint, const QString &, const QString &, DBusError * >, Tp::Callback5< void, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * >, Tp::Callback6< void, const QString &, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * >, Tp::Callback0< R >, Tp::Callback1< R, Arg1 >, Tp::Callback2< R, Arg1, Arg2 >, Tp::Callback3< R, Arg1, Arg2, Arg3 >, Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >, Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >, Tp::Callback6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >, and Tp::Callback7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >.

Public Member Functions

 BaseCallback ()
 
 BaseCallback (AbstractFunctorCaller *caller)
 
 BaseCallback (const BaseCallback &other)
 
virtual ~BaseCallback ()
 
bool isValid () const
 
BaseCallbackoperator= (const BaseCallback &other)
 

Protected Attributes

AbstractFunctorCallercaller
 

Detailed Description

Base class for all the callback classes.

See Callbacks Usage

Constructor & Destructor Documentation

Tp::BaseCallback::BaseCallback ( )
inline
Tp::BaseCallback::BaseCallback ( AbstractFunctorCaller caller)
inline
Tp::BaseCallback::BaseCallback ( const BaseCallback other)
inline
virtual Tp::BaseCallback::~BaseCallback ( )
inlinevirtual

Member Function Documentation

bool Tp::BaseCallback::isValid ( ) const
inline

Return whether this callback object has a valid functor assigned to it or if it's a default-constructed dummy callback object.

Returns
false if this is a default-constructed callback or true if this callback was constructed from a functor.
BaseCallback& Tp::BaseCallback::operator= ( const BaseCallback other)
inline

Member Data Documentation

AbstractFunctorCaller* Tp::BaseCallback::caller
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01027.html0000644000175000017500000000561212727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ContactSubscriptionMap Member List

This is the complete list of members for Tp::ContactSubscriptionMap, including all inherited members.

ContactSubscriptionMap()Tp::ContactSubscriptionMapinline
ContactSubscriptionMap(const QMap< uint, ContactSubscriptions > &a)Tp::ContactSubscriptionMapinline
operator=(const QMap< uint, ContactSubscriptions > &a)Tp::ContactSubscriptionMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00881.html0000644000175000017500000020323312727270137021005 0ustar00kaffeinekaffeine00000000000000 Error string constants
   Home · All Classes · All Namespaces · Modules · Functions · Files
Macros
Error string constants

Macros

#define TP_QT_DBUS_ERROR_NAME_HAS_NO_OWNER
 
#define TP_QT_DBUS_ERROR_UNKNOWN_INTERFACE
 
#define TP_QT_DBUS_ERROR_UNKNOWN_METHOD
 
#define TP_QT_ERROR_OBJECT_REMOVED
 
#define TP_QT_ERROR_INCONSISTENT
 
#define TP_QT_ERROR_ORPHANED
 
#define TP_QT_ERROR_NETWORK_ERROR
 
#define TP_QT_ERROR_NOT_IMPLEMENTED
 
#define TP_QT_ERROR_INVALID_ARGUMENT
 
#define TP_QT_ERROR_NOT_AVAILABLE
 
#define TP_QT_ERROR_PERMISSION_DENIED
 
#define TP_QT_ERROR_DISCONNECTED
 
#define TP_QT_ERROR_INVALID_HANDLE
 
#define TP_QT_ERROR_CHANNEL_BANNED
 
#define TP_QT_ERROR_CHANNEL_FULL
 
#define TP_QT_ERROR_CHANNEL_INVITE_ONLY
 
#define TP_QT_ERROR_NOT_YOURS
 
#define TP_QT_ERROR_CANCELLED
 
#define TP_QT_ERROR_AUTHENTICATION_FAILED
 
#define TP_QT_ERROR_ENCRYPTION_NOT_AVAILABLE
 
#define TP_QT_ERROR_ENCRYPTION_ERROR
 
#define TP_QT_ERROR_CERT_NOT_PROVIDED
 
#define TP_QT_ERROR_CERT_UNTRUSTED
 
#define TP_QT_ERROR_CERT_EXPIRED
 
#define TP_QT_ERROR_CERT_NOT_ACTIVATED
 
#define TP_QT_ERROR_CERT_FINGERPRINT_MISMATCH
 
#define TP_QT_ERROR_CERT_HOSTNAME_MISMATCH
 
#define TP_QT_ERROR_CERT_SELF_SIGNED
 
#define TP_QT_ERROR_CERT_REVOKED
 
#define TP_QT_ERROR_CERT_INSECURE
 
#define TP_QT_ERROR_CERT_INVALID
 
#define TP_QT_ERROR_CERT_LIMIT_EXCEEDED
 
#define TP_QT_ERROR_NOT_CAPABLE
 
#define TP_QT_ERROR_OFFLINE
 
#define TP_QT_ERROR_CHANNEL_KICKED
 
#define TP_QT_ERROR_BUSY
 
#define TP_QT_ERROR_NO_ANSWER
 
#define TP_QT_ERROR_DOES_NOT_EXIST
 
#define TP_QT_ERROR_TERMINATED
 
#define TP_QT_ERROR_MEDIA_CODECS_INCOMPATIBLE
 
#define TP_QT_ERROR_MEDIA_UNSUPPORTED_TYPE
 
#define TP_QT_ERROR_MEDIA_STREAMING_ERROR
 
#define TP_QT_ERROR_CONNECTION_REFUSED
 
#define TP_QT_ERROR_CONNECTION_FAILED
 
#define TP_QT_ERROR_CONNECTION_LOST
 
#define TP_QT_ERROR_ALREADY_CONNECTED
 
#define TP_QT_ERROR_CONNECTION_REPLACED
 
#define TP_QT_ERROR_REGISTRATION_EXISTS
 
#define TP_QT_ERROR_SERVICE_BUSY
 
#define TP_QT_ERROR_RESOURCE_UNAVAILABLE
 
#define TP_QT_ERROR_WOULD_BREAK_ANONYMITY
 
#define TP_QT_ERROR_NOT_YET
 
#define TP_QT_ERROR_REJECTED
 
#define TP_QT_ERROR_PICKED_UP_ELSEWHERE
 
#define TP_QT_ERROR_SERVICE_CONFUSED
 
#define TP_QT_ERROR_CONFUSED
 
#define TP_QT_ERROR_SOFTWARE_UPGRADE_REQUIRED
 
#define TP_QT_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED
 
#define TP_QT_ERROR_INSUFFICIENT_BALANCE
 
#define TP_QT_ERROR_CAPTCHA_NOT_SUPPORTED
 

Detailed Description

Names of the D-Bus errors in the specification.

Macro Definition Documentation

#define TP_QT_DBUS_ERROR_NAME_HAS_NO_OWNER

The error name "org.freedesktop.DBus.Error.NameHasNoOwner" as a QLatin1String.

Raised by the D-Bus daemon when looking up the owner of a well-known name, if no process owns that name.

Also used by DBusProxy to indicate that the owner of a well-known name has disappeared (usually indicating that the process owning that name exited or crashed).

#define TP_QT_DBUS_ERROR_UNKNOWN_INTERFACE

The error name "org.freedesktop.DBus.Error.UnknownInterface" as a QLatin1String.

#define TP_QT_DBUS_ERROR_UNKNOWN_METHOD

The error name "org.freedesktop.DBus.Error.UnknownMethod" as a QLatin1String.

Raised by the D-Bus daemon when the method name invoked isn't known by the object you invoked it on.

#define TP_QT_ERROR_OBJECT_REMOVED

The error name "org.freedesktop.Telepathy.Qt.Error.ObjectRemoved" as a QLatin1String.

#define TP_QT_ERROR_INCONSISTENT

The error name "org.freedesktop.Telepathy.Qt.Error.Inconsistent" as a QLatin1String.

#define TP_QT_ERROR_ORPHANED

The error name "org.freedesktop.Telepathy.Qt.Error.Orphaned" as a QLatin1String.

This error is used when the "parent" proxy of an object gets invalidated. For example, a Channel whose corresponding Connection is invalidated invalidates itself with this error, as do leftover StreamTube connections when their parent StreamTubeChannel is invalidated. The invalidation reason of the parent proxy might provide more information on the cause of the error.

#define TP_QT_ERROR_NETWORK_ERROR

The error name "org.freedesktop.Telepathy.Error.NetworkError" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when there is an error reading from or writing to the network.

#define TP_QT_ERROR_NOT_IMPLEMENTED

The error name "org.freedesktop.Telepathy.Error.NotImplemented" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the requested method, channel, etc is not available on this connection.

#define TP_QT_ERROR_INVALID_ARGUMENT

The error name "org.freedesktop.Telepathy.Error.InvalidArgument" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when one of the provided arguments is invalid.

#define TP_QT_ERROR_NOT_AVAILABLE

The error name "org.freedesktop.Telepathy.Error.NotAvailable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the requested functionality is temporarily unavailable.

#define TP_QT_ERROR_PERMISSION_DENIED

The error name "org.freedesktop.Telepathy.Error.PermissionDenied" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The user is not permitted to perform the requested operation.

#define TP_QT_ERROR_DISCONNECTED

The error name "org.freedesktop.Telepathy.Error.Disconnected" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The connection is not currently connected and cannot be used. This error may also be raised when operations are performed on a Connection for which StatusChanged has signalled status Disconnected for reason None. The second usage corresponds to None in the Connection_Status_Reason enum; if a better reason is available, the corresponding error should be used instead.

#define TP_QT_ERROR_INVALID_HANDLE

The error name "org.freedesktop.Telepathy.Error.InvalidHandle" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The handle specified is unknown on this channel or connection.

#define TP_QT_ERROR_CHANNEL_BANNED

The error name "org.freedesktop.Telepathy.Error.Channel.Banned" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

You are banned from the channel.

#define TP_QT_ERROR_CHANNEL_FULL

The error name "org.freedesktop.Telepathy.Error.Channel.Full" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The channel is full.

#define TP_QT_ERROR_CHANNEL_INVITE_ONLY

The error name "org.freedesktop.Telepathy.Error.Channel.InviteOnly" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The requested channel is invite-only.

#define TP_QT_ERROR_NOT_YOURS

The error name "org.freedesktop.Telepathy.Error.NotYours" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The requested channel or other resource already exists, and another user interface in this session is responsible for it.

User interfaces SHOULD handle this error unobtrusively, since it indicates that some other user interface is already processing the channel.

#define TP_QT_ERROR_CANCELLED

The error name "org.freedesktop.Telepathy.Error.Cancelled" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised by an ongoing request if it is cancelled by user request before it has completed, or when operations are performed on an object which the user has asked to close (for instance, a Connection where the user has called Disconnect, or a Channel where the user has called Close). The second form can be used to correspond to the Requested member in the Connection_Status_Reason enum, or to to represent the situation where disconnecting a Connection, closing a Channel, etc. has been requested by the user but this request has not yet been acted on, for instance because the service will only act on the request when it has finished processing an event queue.

#define TP_QT_ERROR_AUTHENTICATION_FAILED

The error name "org.freedesktop.Telepathy.Error.AuthenticationFailed" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when authentication with a service was unsuccessful. This corresponds to Authentication_Failed in the Connection_Status_Reason enum.

#define TP_QT_ERROR_ENCRYPTION_NOT_AVAILABLE

The error name "org.freedesktop.Telepathy.Error.EncryptionNotAvailable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a user request insisted that encryption should be used, but encryption was not actually available. This corresponds to part of Encryption_Error in the Connection_Status_Reason enum. It's been separated into a distinct error here because the two concepts that were part of EncryptionError seem to be things that could reasonably appear differently in the UI.

#define TP_QT_ERROR_ENCRYPTION_ERROR

The error name "org.freedesktop.Telepathy.Error.EncryptionError" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if encryption appears to be available, but could not actually be used (for instance if SSL/TLS negotiation fails). This corresponds to part of Encryption_Error in the Connection_Status_Reason enum.

#define TP_QT_ERROR_CERT_NOT_PROVIDED

The error name "org.freedesktop.Telepathy.Error.Cert.NotProvided" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server did not provide a SSL/TLS certificate. This error MUST NOT be used to represent the absence of a client certificate provided by the Telepathy connection manager. This corresponds to Cert_Not_Provided in the Connection_Status_Reason enum. That error explicitly applied only to server SSL certificates, so this one is similarly limited; having the CM present a client certificate is a possible future feature, but it should have its own error handling.

#define TP_QT_ERROR_CERT_UNTRUSTED

The error name "org.freedesktop.Telepathy.Error.Cert.Untrusted" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided a SSL/TLS certificate signed by an untrusted certifying authority. This error SHOULD NOT be used to represent a self-signed certificate: see the Self Signed error for that. This corresponds to Cert_Untrusted in the Connection_Status_Reason enum and to Untrusted in the TLS_Certificate_Reject_Reason enum, with a clarification to avoid ambiguity.

#define TP_QT_ERROR_CERT_EXPIRED

The error name "org.freedesktop.Telepathy.Error.Cert.Expired" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an expired SSL/TLS certificate. This corresponds to Cert_Expired in the Connection_Status_Reason enum and to Expired in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_NOT_ACTIVATED

The error name "org.freedesktop.Telepathy.Error.Cert.NotActivated" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that will become valid at some point in the future. This corresponds to Cert_Not_Activated in the Connection_Status_Reason enum and to Not_Activated in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_FINGERPRINT_MISMATCH

The error name "org.freedesktop.Telepathy.Error.Cert.FingerprintMismatch" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that did not have the expected fingerprint. This corresponds to Cert_Fingerprint_Mismatch in the Connection_Status_Reason enum and to Fingerprint_Mismatch in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_HOSTNAME_MISMATCH

The error name "org.freedesktop.Telepathy.Error.Cert.HostnameMismatch" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that did not match its hostname.

You MAY be able to get more details about the expected and certified hostnames by looking up the 'expected-hostname' and 'certificate-hostname' keys in the details map that came together with this error.

This corresponds to Cert_Hostname_Mismatch in the Connection_Status_Reason enum and to Hostname_Mismatch in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_SELF_SIGNED

The error name "org.freedesktop.Telepathy.Error.Cert.SelfSigned" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that is self-signed and untrusted. This corresponds to Cert_Self_Signed in the Connection_Status_Reason enum and to Self_Signed in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_REVOKED

The error name "org.freedesktop.Telepathy.Error.Cert.Revoked" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that has been revoked. This corresponds to Cert_Revoked in the Connection_Status_Reason enum and to Revoked in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_INSECURE

The error name "org.freedesktop.Telepathy.Error.Cert.Insecure" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that uses an insecure cipher algorithm or is cryptographically weak. This corresponds to Cert_Insecure in the Connection_Status_Reason enum and to Insecure in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_INVALID

The error name "org.freedesktop.Telepathy.Error.Cert.Invalid" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the server provided an SSL/TLS certificate that is unacceptable in some way that does not have a more specific error. This corresponds to Cert_Other_Error in the Connection_Status_Reason enum and to Unknown in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_CERT_LIMIT_EXCEEDED

The error name "org.freedesktop.Telepathy.Error.Cert.LimitExceeded" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the length in bytes of the server certificate, or the depth of the server certificate chain exceeds the limits imposed by the crypto library. This corresponds to Cert_Limit_Exceeded in the Connection_Status_Reason enum and to Limit_Exceeded in the TLS_Certificate_Reject_Reason enum.

#define TP_QT_ERROR_NOT_CAPABLE

The error name "org.freedesktop.Telepathy.Error.NotCapable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when requested functionality is unavailable due to contact not having required capabilities.

#define TP_QT_ERROR_OFFLINE

The error name "org.freedesktop.Telepathy.Error.Offline" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when requested functionality is unavailable because a contact is offline. This corresponds to Offline in the Channel_Group_Change_Reason enum.

#define TP_QT_ERROR_CHANNEL_KICKED

The error name "org.freedesktop.Telepathy.Error.Channel.Kicked" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Used to represent a user being ejected from a channel by another user, for instance being kicked from a chatroom. This corresponds to Kicked in the Channel_Group_Change_Reason enum.

#define TP_QT_ERROR_BUSY

The error name "org.freedesktop.Telepathy.Error.Busy" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Used to represent a user being removed from a channel because of a "busy" indication. This error SHOULD NOT be used to represent a server or other infrastructure being too busy to process a request - for that, see ServerBusy. This corresponds to Busy in the Channel_Group_Change_Reason enum.

#define TP_QT_ERROR_NO_ANSWER

The error name "org.freedesktop.Telepathy.Error.NoAnswer" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Used to represent a user being removed from a channel because they did not respond, e.g. to a StreamedMedia call. This corresponds to No_Answer in the Channel_Group_Change_Reason enum.

#define TP_QT_ERROR_DOES_NOT_EXIST

The error name "org.freedesktop.Telepathy.Error.DoesNotExist" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the requested user does not, in fact, exist. This corresponds to Invalid_Contact in the Channel_Group_Change_Reason enum, but can also be used to represent other things not existing (like chatrooms, perhaps).

#define TP_QT_ERROR_TERMINATED

The error name "org.freedesktop.Telepathy.Error.Terminated" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a channel is terminated for an unspecified reason. In particular, this error SHOULD be used whenever normal termination of a 1-1 StreamedMedia call by the remote user is represented as a D-Bus error name. This corresponds to None in the Channel_Group_Change_Reason enum.

#define TP_QT_ERROR_MEDIA_CODECS_INCOMPATIBLE

The error name "org.freedesktop.Telepathy.Error.Media.CodecsIncompatible" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the local streaming implementation has no codecs in common with the remote side. This corresponds to Media_Error.

#define TP_QT_ERROR_MEDIA_UNSUPPORTED_TYPE

The error name "org.freedesktop.Telepathy.Error.Media.UnsupportedType" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

The media stream type requested is not supported by either the local or remote side. This corresponds to Media_Error.

#define TP_QT_ERROR_MEDIA_STREAMING_ERROR

The error name "org.freedesktop.Telepathy.Error.Media.StreamingError" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the call's streaming implementation has some kind of internal error. This corresponds to Internal_Error.

#define TP_QT_ERROR_CONNECTION_REFUSED

The error name "org.freedesktop.Telepathy.Error.ConnectionRefused" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a connection is refused.

#define TP_QT_ERROR_CONNECTION_FAILED

The error name "org.freedesktop.Telepathy.Error.ConnectionFailed" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a connection can't be established.

#define TP_QT_ERROR_CONNECTION_LOST

The error name "org.freedesktop.Telepathy.Error.ConnectionLost" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a connection is broken.

#define TP_QT_ERROR_ALREADY_CONNECTED

The error name "org.freedesktop.Telepathy.Error.AlreadyConnected" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the user attempts to connect to an account but they are already connected (perhaps from another client or computer), and the protocol or account settings do not allow this. XMPP can have this behaviour if the user chooses the same resource in both clients (it is server-dependent whether the result is AlreadyConnected on the new connection, ConnectionReplaced on the old connection, or two successful connections).

#define TP_QT_ERROR_CONNECTION_REPLACED

The error name "org.freedesktop.Telepathy.Error.ConnectionReplaced" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised by an existing connection to an account if it is replaced by a new connection (perhaps from another client or computer). In MSNP, when connecting twice with the same Passport, the new connection "wins" and the old one is automatically disconnected. XMPP can also have this behaviour if the user chooses the same resource in two clients (it is server-dependent whether the result is AlreadyConnected on the new connection, ConnectionReplaced on the old connection, or two successful connections).

#define TP_QT_ERROR_REGISTRATION_EXISTS

The error name "org.freedesktop.Telepathy.Error.RegistrationExists" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised during in-band registration if the server indicates that the requested account already exists.

#define TP_QT_ERROR_SERVICE_BUSY

The error name "org.freedesktop.Telepathy.Error.ServiceBusy" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a server or some other piece of infrastructure cannot process the request, e.g. due to resource limitations. Clients MAY try again later.

This is not the same error as Busy, which indicates that a user is busy.

#define TP_QT_ERROR_RESOURCE_UNAVAILABLE

The error name "org.freedesktop.Telepathy.Error.ResourceUnavailable" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a request cannot be satisfied because a process local to the user has insufficient resources. Clients MAY try again later. For instance, the ChannelDispatcher might raise this error for some or all channel requests if it has detected that there is not enough free memory.

#define TP_QT_ERROR_WOULD_BREAK_ANONYMITY

The error name "org.freedesktop.Telepathy.Error.WouldBreakAnonymity" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a request cannot be satisfied without violating an earlier request for anonymity, and the earlier request specified that raising an error is preferable to disclosing the user's identity (for instance via Connection.Interface.Anonymity.AnonymityMandatory or Channel.Interface.Anonymity.AnonymityMandatory).

#define TP_QT_ERROR_NOT_YET

The error name "org.freedesktop.Telepathy.Error.NotYet" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when the requested functionality is not yet available, but is likely to become available after some time has passed.

#define TP_QT_ERROR_REJECTED

The error name "org.freedesktop.Telepathy.Error.Rejected" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when an incoming or outgoing Call1 is rejected by the the receiver.

#define TP_QT_ERROR_PICKED_UP_ELSEWHERE

The error name "org.freedesktop.Telepathy.Error.PickedUpElsewhere" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a call was terminated as a result of the local user picking up the call on a different resource.

#define TP_QT_ERROR_SERVICE_CONFUSED

The error name "org.freedesktop.Telepathy.Error.ServiceConfused" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised when a server or other piece of infrastructure indicates an internal error, or when a message that makes no sense is received from a server or other piece of infrastructure. For instance, this is appropriate for XMPP's internal-server-error, and is also appropriate if you receive sufficiently inconsistent information from a server that you cannot continue.

#define TP_QT_ERROR_CONFUSED

The error name "org.freedesktop.Telepathy.Error.Confused" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a server rejects protocol messages from a connection manager claiming that they do not make sense, two local processes fail to understand each other, or an apparently impossible situation is reached. For instance, this would be an appropriate mapping for XMPP's errors bad-format, invalid-xml, etc., which can't happen unless the local (or remote) XMPP implementation is faulty. This is also analogous to Invalid_CM_Behavior, TP_DBUS_ERROR_INCONSISTENT in telepathy-glib, and TELEPATHY_QT4_ERROR_INCONSISTENT in telepathy-qt4.

#define TP_QT_ERROR_SOFTWARE_UPGRADE_REQUIRED

The error name "org.freedesktop.Telepathy.Error.SoftwareUpgradeRequired" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised as a ConnectionInterface::ConnectionError() when a Connection cannot be established because either the Connection Manager or its support library (e.g. wocky, papyon, sofiasip) requires upgrading to support a newer protocol version.

This error corresponds to the Connection_Status_Reason of Network_Error.

Some protocols transmit a protocol or library version number to the server, which will disconnect them if the version isn't appropriate. This way we can report the error to the user, and if appropriate, the user's client can check for updates.

#define TP_QT_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED

The error name "org.freedesktop.Telepathy.Error.EmergencyCallsNotSupported" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if a client attempts to dial a number that is recognized as an emergency number (e.g. '911' in the USA), but the Connection Manager or provider does not support dialling emergency numbers. Many VOIP providers have the ability to dial traditional (PSTN) telephone numbers, but do not provide the ability to dial emergency numbers (for instance, Google Voice). This error provides additional information about why such a call was unsuccessful.

#define TP_QT_ERROR_INSUFFICIENT_BALANCE

The error name "org.freedesktop.Telepathy.Error.InsufficientBalance" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the user has insufficient ConnectionInterfaceBalanceInterface to place a call or send a message.

The key 'balance-required' MAY be included in ChannelTypeCallInterface::CallStateDetails or a delivery report's Message_Part (with the same units and scale as ConnectionInterfaceBalanceInterface::AccountBalance ) to indicate how much credit is required to make this call or send this message.

#define TP_QT_ERROR_CAPTCHA_NOT_SUPPORTED

The error name "org.freedesktop.Telepathy.Error.CaptchaNotSupported" as a QLatin1String, usable in QString requiring contexts even when building with Q_NO_CAST_FROM_ASCII defined.

Raised if the ChannelInterfaceCaptchaAuthenticationInterface Handler either has no UI to present captchas, or it does, but wasn't able to answer any of the captchas given.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00380.html0000644000175000017500000002523212727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor5 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
typedef R(T::* Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5)
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
typedef R Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::MemberFunctor5 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
ResultType Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
T* Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::object
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
FunctionType Tp::MemberFunctor5< R, T, Arg1, Arg2, Arg3, Arg4, Arg5 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01341.html0000644000175000017500000001333712727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeContactSearchAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeContactSearchAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AvailableSearchKeys() const Tp::Service::ChannelTypeContactSearchAdaptor
dbusConnection() const Tp::AbstractAdaptor
Limit() const Tp::Service::ChannelTypeContactSearchAdaptor
More(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeContactSearchAdaptorslot
Search(const Tp::ContactSearchMap &terms, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeContactSearchAdaptorslot
SearchResultReceived(const Tp::ContactSearchResultMap &result)Tp::Service::ChannelTypeContactSearchAdaptorsignal
SearchState() const Tp::Service::ChannelTypeContactSearchAdaptor
SearchStateChanged(uint state, const QString &error, const QVariantMap &details)Tp::Service::ChannelTypeContactSearchAdaptorsignal
Server() const Tp::Service::ChannelTypeContactSearchAdaptor
Stop(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeContactSearchAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00125.html0000644000175000017500000011127512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentInterfaceVideoControlInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentInterfaceVideoControlInterface Class Reference

#include <TelepathyQt/CallContent>

Inherits Tp::AbstractInterface.

Signals

void KeyFrameRequested ()
 
void VideoResolutionChanged (const Tp::VideoResolution &newResolution)
 
void BitrateChanged (uint newBitrate)
 
void FramerateChanged (uint newFramerate)
 
void MTUChanged (uint newMTU)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallContentInterfaceVideoControlInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceVideoControlInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentInterfaceVideoControlInterface (Tp::DBusProxy *proxy)
 
 CallContentInterfaceVideoControlInterface (const Tp::Client::CallContentInterface &mainInterface)
 
 CallContentInterfaceVideoControlInterface (const Tp::Client::CallContentInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyVideoResolution () const
 
Tp::PendingVariantrequestPropertyBitrate () const
 
Tp::PendingVariantrequestPropertyFramerate () const
 
Tp::PendingVariantrequestPropertyMTU () const
 
Tp::PendingVariantrequestPropertyManualKeyFrames () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.VideoControl".

Constructor & Destructor Documentation

Tp::Client::CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentInterfaceVideoControlInterface 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.
Tp::Client::CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface ( Tp::DBusProxy proxy)

Creates a CallContentInterfaceVideoControlInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface ( const Tp::Client::CallContentInterface mainInterface)
explicit

Creates a CallContentInterfaceVideoControlInterface 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.
Tp::Client::CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface ( const Tp::Client::CallContentInterface mainInterface,
QObject *  parent 
)

Creates a CallContentInterfaceVideoControlInterface 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 Tp::Client::CallContentInterfaceVideoControlInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.Interface.VideoControl", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentInterfaceVideoControlInterface::requestPropertyVideoResolution ( ) const
inline

Asynchronous getter for the remote object property VideoResolution of type Tp::VideoResolution.

The resolution at which the streaming engine should be sending. Change notification is via the VideoResolutionChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceVideoControlInterface::requestPropertyBitrate ( ) const
inline

Asynchronous getter for the remote object property Bitrate of type uint.

The bitrate the streaming engine should be sending at. Change notification is via the BitrateChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceVideoControlInterface::requestPropertyFramerate ( ) const
inline

Asynchronous getter for the remote object property Framerate of type uint.

The framerate the streaming engine should be sending at. Change notification is via the FramerateChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceVideoControlInterface::requestPropertyMTU ( ) const
inline

Asynchronous getter for the remote object property MTU of type uint.

The Maximum Transmission Unit Change notification is via the MTUChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentInterfaceVideoControlInterface::requestPropertyManualKeyFrames ( ) const
inline

Asynchronous getter for the remote object property ManualKeyFrames of type bool.

Only send key frames when manually requested

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentInterfaceVideoControlInterface::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.
void Tp::Client::CallContentInterfaceVideoControlInterface::KeyFrameRequested ( )
signal

Represents the signal KeyFrameRequested on the remote object.

Request that the video encoder produce a new key frame as soon as possible.

void Tp::Client::CallContentInterfaceVideoControlInterface::VideoResolutionChanged ( const Tp::VideoResolution newResolution)
signal

Represents the signal VideoResolutionChanged on the remote object.

The desired video resolution has changed.

void Tp::Client::CallContentInterfaceVideoControlInterface::BitrateChanged ( uint  newBitrate)
signal

Represents the signal BitrateChanged on the remote object.

The desired bitrate has changed

void Tp::Client::CallContentInterfaceVideoControlInterface::FramerateChanged ( uint  newFramerate)
signal

Represents the signal FramerateChanged on the remote object.

The desired framerate has changed

void Tp::Client::CallContentInterfaceVideoControlInterface::MTUChanged ( uint  newMTU)
signal

Represents the signal MTUChanged on the remote object.

The Maximum Transmission Unit has changed

void Tp::Client::CallContentInterfaceVideoControlInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00638_source.html0000644000175000017500000002575512727270137022400 0ustar00kaffeinekaffeine00000000000000 connection-factory.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
connection-factory.h
1 
23 #ifndef _TelepathyQt_connection_factory_h_HEADER_GUARD_
24 #define _TelepathyQt_connection_factory_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/SharedPtr>
32 #include <TelepathyQt/Types>
33 
34 #include <TelepathyQt/Feature>
35 #include <TelepathyQt/FixedFeatureFactory>
36 
37 // For Q_DISABLE_COPY
38 #include <QtGlobal>
39 
40 #include <QString>
41 
42 class QDBusConnection;
43 
44 namespace Tp
45 {
46 
47 class PendingReady;
48 
49 class TP_QT_EXPORT ConnectionFactory : public FixedFeatureFactory
50 {
51 public:
52  static ConnectionFactoryPtr create(const QDBusConnection &bus,
53  const Features &features = Features());
54 
55  virtual ~ConnectionFactory();
56 
57  PendingReady *proxy(const QString &busName, const QString &objectPath,
58  const ChannelFactoryConstPtr &chanFactory,
59  const ContactFactoryConstPtr &contactFactory) const;
60 
61 protected:
62  ConnectionFactory(const QDBusConnection &bus, const Features &features);
63 
64  virtual ConnectionPtr construct(const QString &busName, const QString &objectPath,
65  const ChannelFactoryConstPtr &chanFactory,
66  const ContactFactoryConstPtr &contactFactory) const;
67  virtual QString finalBusNameFrom(const QString &uniqueOrWellKnown) const;
68  // Nothing we'd like to prepare()
69  // Fixed features
70 
71 private:
72  struct Private;
73  Private *mPriv; // Currently unused, just for future-proofing
74 };
75 
76 } // Tp
77 
78 #endif
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The ConnectionFactory class is responsible for constructing Connection objects according to applicati...
Definition: connection-factory.h:49
The Features class represents a list of Feature.
Definition: feature.h:61
The FixedFeatureFactory class is a base class for all D-Bus proxy factories which want the same set o...
Definition: fixed-feature-factory.h:43
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01096.html0000644000175000017500000000462712727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::NotDelegatedError Member List

This is the complete list of members for Tp::NotDelegatedError, including all inherited members.

errorMessageTp::NotDelegatedError
errorNameTp::NotDelegatedError


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00940.html0000644000175000017500000002203112727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionAddressingInterface Member List

This is the complete list of members for Tp::BaseConnectionAddressingInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionAddressingInterface()Tp::BaseConnectionAddressingInterfaceprotected
create()Tp::BaseConnectionAddressingInterfaceinlinestatic
create()Tp::BaseConnectionAddressingInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
GetContactsByURICallback typedefTp::BaseConnectionAddressingInterface
GetContactsByVCardFieldCallback typedefTp::BaseConnectionAddressingInterface
immutableProperties() const Tp::BaseConnectionAddressingInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setGetContactsByURICallback(const GetContactsByURICallback &cb)Tp::BaseConnectionAddressingInterface
setGetContactsByVCardFieldCallback(const GetContactsByVCardFieldCallback &cb)Tp::BaseConnectionAddressingInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionAddressingInterface()Tp::BaseConnectionAddressingInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00634_source.html0000644000175000017500000000613512727270137022363 0ustar00kaffeinekaffeine00000000000000 client.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
client.h
1 
23 #ifndef _TelepathyQt_client_h_HEADER_GUARD_
24 #define _TelepathyQt_client_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-client.h>
31 
32 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00194.html0000644000175000017500000020555412727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceSASLAuthenticationInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ChannelInterfaceSASLAuthenticationInterface Class Reference

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply StartMechanism (const QString &mechanism, int timeout=-1)
 
QDBusPendingReply StartMechanismWithData (const QString &mechanism, const QByteArray &initialData, int timeout=-1)
 
QDBusPendingReply Respond (const QByteArray &responseData, int timeout=-1)
 
QDBusPendingReply AcceptSASL (int timeout=-1)
 
QDBusPendingReply AbortSASL (uint reason, const QString &debugMessage, int timeout=-1)
 

Signals

void SASLStatusChanged (uint status, const QString &reason, const QVariantMap &details)
 
void NewChallenge (const QByteArray &challengeData)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelInterfaceSASLAuthenticationInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSASLAuthenticationInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSASLAuthenticationInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceSASLAuthenticationInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceSASLAuthenticationInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyAvailableMechanisms () const
 
Tp::PendingVariantrequestPropertyHasInitialData () const
 
Tp::PendingVariantrequestPropertyCanTryAgain () const
 
Tp::PendingVariantrequestPropertySASLStatus () const
 
Tp::PendingVariantrequestPropertySASLError () const
 
Tp::PendingVariantrequestPropertySASLErrorDetails () const
 
Tp::PendingVariantrequestPropertyAuthorizationIdentity () const
 
Tp::PendingVariantrequestPropertyDefaultUsername () const
 
Tp::PendingVariantrequestPropertyDefaultRealm () const
 
Tp::PendingVariantrequestPropertyMaySaveResponse () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceSASLAuthenticationInterface::ChannelInterfaceSASLAuthenticationInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceSASLAuthenticationInterface 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.
Tp::Client::ChannelInterfaceSASLAuthenticationInterface::ChannelInterfaceSASLAuthenticationInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceSASLAuthenticationInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceSASLAuthenticationInterface::ChannelInterfaceSASLAuthenticationInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceSASLAuthenticationInterface 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 Tp::Client::ChannelInterfaceSASLAuthenticationInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyAvailableMechanisms ( ) const
inline

Asynchronous getter for the remote object property AvailableMechanisms of type QStringList.

The SASL mechanisms as offered by the server, plus any pseudo-SASL mechanisms supported by the connection manager for credentials transfer. For instance, in a protocol that natively uses SASL (like XMPP), this might be [ "X-TELEPATHY-PASSWORD", "PLAIN", "DIGEST-MD5", "SCRAM-SHA-1" ].

To make it possible to implement a very simple password-querying user interface without knowledge of any particular SASL mechanism, implementations of this interface MUST implement the pseudo-mechanism X-TELEPATHY-PASSWORD, unless none of the available mechanisms use a password at all.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyHasInitialData ( ) const
inline

Asynchronous getter for the remote object property HasInitialData of type bool.

If true, StartMechanismWithData() can be expected to work for SASL mechanisms not starting with X-TELEPATHY- (this is the case in most, but not all, protocols). If false, StartMechanism() must be used instead.

This property does not affect the X-TELEPATHY- pseudo-mechanisms such as X-TELEPATHY-PASSWORD, which can use StartMechanismWithData() regardless of the value of this property.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyCanTryAgain ( ) const
inline

Asynchronous getter for the remote object property CanTryAgain of type bool.

If true, StartMechanism() and (if supported) StartMechanismWithData() can be expected to work when in one of the Failed states. If false, the only thing you can do after failure is to close the channel.

Retrying isn't required to work, although some protocols and implementations allow it.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertySASLStatus ( ) const
inline

Asynchronous getter for the remote object property SASLStatus of type uint.

The current status of this channel. Change notification is via the SASLStatusChanged() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertySASLError ( ) const
inline

Asynchronous getter for the remote object property SASLError of type QString.

The reason for the SASLStatus , or an empty string if the state is neither Server_Failed nor Client_Failed.

In particular, an ordinary authentication failure (as would be produced for an incorrect password) SHOULD be represented by AuthenticationFailed, cancellation by the user's request SHOULD be represented by Cancelled, and cancellation by a local process due to inconsistent or invalid challenges from the server SHOULD be represented by ServiceConfused.

If this interface appears on a ChannelTypeServerAuthenticationInterface channel, and connection to the server fails with an authentication failure, this error code SHOULD be copied into the ConnectionInterface::ConnectionError() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertySASLErrorDetails ( ) const
inline

Asynchronous getter for the remote object property SASLErrorDetails of type QVariantMap.

If SASLError is non-empty, any additional information about the last disconnection; otherwise, the empty map. The keys and values are the same as for the second argument of ConnectionInterface::ConnectionError() .

If this interface appears on a ChannelTypeServerAuthenticationInterface channel, and connection to the server fails with an authentication failure, these details SHOULD be copied into the ConnectionInterface::ConnectionError() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyAuthorizationIdentity ( ) const
inline

Asynchronous getter for the remote object property AuthorizationIdentity of type QString.

The identity for which authorization is being attempted, typically the 'account' from the ConnectionManagerInterface::RequestConnection() parameters, normalized and formatted according to the conventions used for SASL in this protocol.

The normalization used for SASL might not be the same normalization used elsewhere: for instance, in a protocol with email-like identifiers such as XMPP or SIP, the user "juliet@example.com" might have to authenticate to the example.com server via SASL PLAIN as "juliet".

This is usually achieved by using the authorization identity for authentication, but an advanced Handler could offer the option to authenticate under a different identity.

The terminology used here is that the authorization identity is who you want to act as, and the authentication identity is used to prove that you may do so. For instance, if Juliet is authorized to access a role account, "sysadmin@example.com", and act on its behalf, it might be possible to authenticate as "juliet@example.com" with her own password, but request to be authorized as "sysadmin@example.com" instead of her own account. See RFC 4422 §3.4.1 for more details.

In SASL the authorization identity is normally guessed from the authentication identity, but the information available to the connection manager is the identity for which authorization is required, such as the desired JID in XMPP, so that's what we signal to UIs; it's up to the UI to choose whether to authenticate as the authorization identity or some other identity.

As a concrete example, the "sysadmin" XMPP account mentioned above would have { 'account': 'sysadmin@example.com' } in its Parameters, and this property would also be 'sysadmin@example.com'. A simple Handler would merely prompt for sysadmin@example.com's password, and use that JID as both the authorization and authentication identity, which might result in SASL PLAIN authentication with the initial response '\\000sysadmin@example.com\\000root'.

A more advanced Handler might also ask for an authentication identity, defaulting to 'sysadmin@example.com'; if Juliet provided authentication identity 'juliet@example.com' and password 'romeo', the Handler might perform SASL PLAIN authentication using the initial response 'sysadmin@example.com\\000juliet@example.com\\000romeo'.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyDefaultUsername ( ) const
inline

Asynchronous getter for the remote object property DefaultUsername of type QString.

The default username for use with SASL mechanisms that deal with a "simple username" (as defined in RFC 4422). If such a SASL mechanism is in use, clients SHOULD default to using the DefaultUsername; also, if the client uses the DefaultUsername, it SHOULD assume that the authorization identity AuthorizationIdentity will be derived from it by the server.

In XMPP, servers typically expect "user@example.com" to authenticate with username "user"; this was a SHOULD in RFC 3920.

3920bis weakens that SHOULD to "in the absence of local information provided by the server, an XMPP client SHOULD assume that the authentication identity for such a SASL mechanism is the combination of a user name and password, where the simple user name is the localpart of the user's JID".

For example, in the simple case, if the user connects with ConnectionManagerInterface::RequestConnection() ({ account: "user@example.com" }) and use PLAIN with password "password", he or she should authenticate like so: "\\0user\\0password" and the channel will look like this:

{ "...  DefaultUsername   ": "user",
  "...  AuthorizationIdentity   ": "user@example.com }

In the complex case, if the same user is using his or her sysadmin powers to log in as the "announcements" role address, he or she would connect with ConnectionManagerInterface::RequestConnection() ({ account: "announcements@example.com" }) and the SASL channel would look like this:

{ "...  DefaultUsername   ": "announcements",
  "...  AuthorizationIdentity   ": "announcements@example.com }

A sufficiently elaborate UI could give the opportunity to override the username from "announcements" to "user". The user's simple username is still "user", and the password is still "password", but this time he or she is trying to authorize to act as announcements@example.com, so the UI would have to perform SASL PLAIN with this string: "announcements@example.com\\0user\\0password", where "announcements@example.com" is the AuthorizationIdentity .

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyDefaultRealm ( ) const
inline

Asynchronous getter for the remote object property DefaultRealm of type QString.

The default realm (as defined in RFC 2831) to use for authentication, if the server does not supply one.

The server is not required to provide a realm; if it doesn't, the client is expected to ask the user or provide a sensible default, typically the requested DNS name of the server. In some implementations of DIGEST-MD5, the server does not specify a realm, but expects that the client will choose a particular default, and authentication will fail if the client's default is different. Connection managers for protocols where this occurs are more easily able to work around these implementations than a generic client would be.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::requestPropertyMaySaveResponse ( ) const
inline

Asynchronous getter for the remote object property MaySaveResponse of type bool.

Whether or not the client can save the authentication response and re-use it to automate future authentication challenges.

If this property is False, the client SHOULD NOT attempt to cache the authentication response in its own keyring.

If this property is not specified, it should be treated as if it were True.

Some protocols or services may have terms and conditions that prohibit caching a user's credentials.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceSASLAuthenticationInterface::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 Tp::Client::ChannelInterfaceSASLAuthenticationInterface::StartMechanism ( const QString &  mechanism,
int  timeout = -1 
)
inlineslot

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

Start an authentication try using Mechanism, without sending initial data (an "initial response" as defined in RFC 4422).

This method is appropriate for mechanisms where the client cannot send anything until it receives a challenge from the server, such as DIGEST-MD5 in "initial authentication" mode.

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

Parameters
mechanism
The chosen mechanism.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ChannelInterfaceSASLAuthenticationInterface::StartMechanismWithData ( const QString &  mechanism,
const QByteArray &  initialData,
int  timeout = -1 
)
inlineslot

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

Start an authentication try using Mechanism, and send Initial_Data as the "initial response" defined in RFC 4422 §3.3.

This method is appropriate for mechanisms where the client may send data first, such as PLAIN, or must send data first, such as DIGEST-MD5 in "subsequent authentication" mode.

Having two methods allows any mechanism where it makes a difference to distinguish between the absence of an initial response ( StartMechanism() ) and a zero-byte initial response (StartMechanismWithData, with Initial_Data empty).

If the HasInitialData property is false, this indicates that the underlying protocol does not make it possible to send initial data. In such protocols, this method may only be used for the X-TELEPATHY- pseudo-mechanisms (such as X-TELEPATHY-PASSWORD), and will fail if used with an ordinary SASL mechanism.

For instance, the IRC SASL extension implemented in Charybdis and Atheme does not support initial data - the first message in the exchange only carries the mechanism. This is significant if using DIGEST-MD5, which cannot be used in the faster "subsequent authentication" mode on a protocol not supporting initial data.

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

Parameters
mechanism
The chosen mechanism.
initialData
Initial data (an &quot;initial response&quot; in RFC 4422&apos;s 
terminology) to send with the mechanism.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ChannelInterfaceSASLAuthenticationInterface::Respond ( const QByteArray &  responseData,
int  timeout = -1 
)
inlineslot

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

Send a response to the the last challenge received via NewChallenge() .

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

Parameters
responseData
The response data.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ChannelInterfaceSASLAuthenticationInterface::AcceptSASL ( int  timeout = -1)
inlineslot

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

If the channel's status is SASL_Status_Server_Succeeded, this method confirms successful authentication and advances the status of the channel to SASL_Status_Succeeded.

If the channel's status is SASL_Status_In_Progress, calling this method indicates that the last NewChallenge() signal was in fact additional data sent after a successful SASL negotiation, and declares that from the client's point of view, authentication was successful. This advances the state of the channel to SASL_Status_Client_Accepted.

In mechanisms where the server authenticates itself to the client, calling this method indicates that the client considers this to have been successful. In the case of ChannelTypeServerAuthenticationInterface channels, this means that the connection manager MAY continue to connect, and MAY advance the ConnectionInterface::Status to Connected.

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.
QDBusPendingReply Tp::Client::ChannelInterfaceSASLAuthenticationInterface::AbortSASL ( uint  reason,
const QString &  debugMessage,
int  timeout = -1 
)
inlineslot

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

Abort the current authentication try.

If the current status is SASL_Status_Server_Failed or SASL_Status_Client_Failed, this method returns successfully, but has no further effect. If the current status is SASL_Status_Succeeded or SASL_Status_Client_Accepted then NotAvailable is raised. Otherwise, it changes the channel's state to SASL_Status_Client_Failed, with an appropriate error name and reason code.

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

Parameters
reason
Reason for abort.
debugMessage
Debug message for abort.
timeoutThe timeout in milliseconds.
void Tp::Client::ChannelInterfaceSASLAuthenticationInterface::SASLStatusChanged ( uint  status,
const QString &  reason,
const QVariantMap &  details 
)
signal

Represents the signal SASLStatusChanged on the remote object.

Emitted when the status of the channel changes.

Parameters
status
The new value of SASLStatus.
reason
The new value of SASLError.
details
The new value of SASLErrorDetails.
void Tp::Client::ChannelInterfaceSASLAuthenticationInterface::NewChallenge ( const QByteArray &  challengeData)
signal

Represents the signal NewChallenge on the remote object.

Emitted when a new challenge is received from the server, or when a message indicating successful authentication and containing additional data is received from the server.

When the channel's handler is ready to proceed, it should respond to the challenge by calling Respond() , or respond to the additional data by calling AcceptSASL() . Alternatively, it may call AbortSASL() to abort authentication.

Parameters
challengeData
The challenge data or additional data from the server.
void Tp::Client::ChannelInterfaceSASLAuthenticationInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01155.html0000644000175000017500000000563012727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::QualifiedPropertyValueMap Member List

This is the complete list of members for Tp::QualifiedPropertyValueMap, including all inherited members.

operator=(const QMap< QString, QDBusVariant > &a)Tp::QualifiedPropertyValueMapinline
QualifiedPropertyValueMap()Tp::QualifiedPropertyValueMapinline
QualifiedPropertyValueMap(const QMap< QString, QDBusVariant > &a)Tp::QualifiedPropertyValueMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00630_source.html0000644000175000017500000006355512727270137022370 0ustar00kaffeinekaffeine00000000000000 cli-tls-certificate.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-tls-certificate.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.Authentication.TLSCertificate");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
103  explicit AuthenticationTLSCertificateInterface(const Tp::AbstractInterface& mainInterface);
104 
112  AuthenticationTLSCertificateInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
113 
125  {
126  return internalRequestProperty(QLatin1String("State"));
127  }
128 
150  {
151  return internalRequestProperty(QLatin1String("Rejections"));
152  }
153 
165  {
166  return internalRequestProperty(QLatin1String("CertificateType"));
167  }
168 
185  {
186  return internalRequestProperty(QLatin1String("CertificateChainData"));
187  }
188 
196  {
197  return internalRequestAllProperties();
198  }
199 
200 public Q_SLOTS:
211  inline QDBusPendingReply<> Accept(int timeout = -1)
212  {
213  if (!invalidationReason().isEmpty()) {
214  return QDBusPendingReply<>(QDBusMessage::createError(
215  invalidationReason(),
216  invalidationMessage()
217  ));
218  }
219 
220  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
221  this->staticInterfaceName(), QLatin1String("Accept"));
222  return this->connection().asyncCall(callMessage, timeout);
223  }
224 
242  inline QDBusPendingReply<> Reject(const Tp::TLSCertificateRejectionList& rejections, int timeout = -1)
243  {
244  if (!invalidationReason().isEmpty()) {
245  return QDBusPendingReply<>(QDBusMessage::createError(
246  invalidationReason(),
247  invalidationMessage()
248  ));
249  }
250 
251  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
252  this->staticInterfaceName(), QLatin1String("Reject"));
253  callMessage << QVariant::fromValue(rejections);
254  return this->connection().asyncCall(callMessage, timeout);
255  }
256 
257 Q_SIGNALS:
263  void Accepted();
264 
274  void Rejected(const Tp::TLSCertificateRejectionList& rejections);
275 
276 protected:
277  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
278 };
279 }
280 }
Tp::PendingVariant * requestPropertyCertificateType() const
Definition: cli-tls-certificate.h:164
QList< TLSCertificateRejection > TLSCertificateRejectionList
Definition: build/TelepathyQt/_gen/types.h:3212
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::PendingVariant * requestPropertyCertificateChainData() const
Definition: cli-tls-certificate.h:184
Definition: cli-tls-certificate.h:44
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-tls-certificate.h:195
Tp::PendingVariant * requestPropertyState() const
Definition: cli-tls-certificate.h:124
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingVariant * requestPropertyRejections() const
Definition: cli-tls-certificate.h:149
Definition: abstract-adaptor.cpp:31
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
QDBusPendingReply Reject(const Tp::TLSCertificateRejectionList &rejections, int timeout=-1)
Definition: cli-tls-certificate.h:242
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusPendingReply Accept(int timeout=-1)
Definition: cli-tls-certificate.h:211
static QLatin1String staticInterfaceName()
Definition: cli-tls-certificate.h:55


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00253.html0000644000175000017500000002460712727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceBalanceAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceBalanceAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Signals

void BalanceChanged (const Tp::CurrencyAmount &balance)
 

Public Member Functions

Tp::CurrencyAmount AccountBalance () const
 
QString ManageCreditURI () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::CurrencyAmount Tp::Service::ConnectionInterfaceBalanceAdaptor::AccountBalance ( ) const

Return the value of the exported D-Bus object property AccountBalance of type Tp::CurrencyAmount.

Adaptees should export this property as a Qt property named 'accountBalance' with type Tp::CurrencyAmount.

The user's balance on the account corresponding to this ConnectionInterface . A negative amount may be possible on some services, and indicates that the user owes money to the service provider.

On initial connection, this property may have an unknown value, represented by Amount = 0, Scale = 2**32 - 1 (the largest possible 32-bit unsigned integer) and Currency = "".

Returns
The value of exported property AccountBalance.
QString Tp::Service::ConnectionInterfaceBalanceAdaptor::ManageCreditURI ( ) const

Return the value of the exported D-Bus object property ManageCreditURI of type QString.

Adaptees should export this property as a Qt property named 'manageCreditURI' with type QString.

A URI the user may visit via the web browser to manage and top-up their account balance. This property is not guaranteed to be well-defined until the connection becomes Connected; there is no change notification. Different protocols and even servers or gateways (e.g. SIP and XMPP PSTN gateways) will have a different website used to manage a user's account balance. This property enables the client to provide that to the user. A Connection Manager MAY set this itself (because it is static or discoverable), or expose it as a connection parameter.

Returns
The value of exported property ManageCreditURI.
void Tp::Service::ConnectionInterfaceBalanceAdaptor::BalanceChanged ( const Tp::CurrencyAmount balance)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void balanceChanged(const Tp::CurrencyAmount& balance);

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

Parameters
balance

The new value of the \\\ \\link requestPropertyAccountBalance() AccountBalance \\endlink \\htmlonly property.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01214.html0000644000175000017500000000554612727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::VCardFieldAddressMap Member List

This is the complete list of members for Tp::VCardFieldAddressMap, including all inherited members.

operator=(const QMap< QString, QString > &a)Tp::VCardFieldAddressMapinline
VCardFieldAddressMap()Tp::VCardFieldAddressMapinline
VCardFieldAddressMap(const QMap< QString, QString > &a)Tp::VCardFieldAddressMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_e.html0000644000175000017500000000430612727270137023533 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- e -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00627_source.html0000644000175000017500000003250112727270137022361 0ustar00kaffeinekaffeine00000000000000 cli-properties-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-properties-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/properties.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 PropertiesInterfaceInterface::PropertiesInterfaceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
26 {
27 }
28 
30  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
31 {
32 }
33 
35  const QString &error, const QString &message)
36 {
37  disconnect(this, SIGNAL(PropertiesChanged(const Tp::PropertyValueList&)), NULL, NULL);
38  disconnect(this, SIGNAL(PropertyFlagsChanged(const Tp::PropertyFlagsChangeList&)), NULL, NULL);
39 
40  Tp::AbstractInterface::invalidate(proxy, error, message);
41 }
42 }
43 }
QList< PropertyValue > PropertyValueList
Definition: build/TelepathyQt/_gen/types.h:2369
static QLatin1String staticInterfaceName()
Definition: cli-properties.h:55
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-properties-body.hpp:34
QList< PropertyFlagsChange > PropertyFlagsChangeList
Definition: build/TelepathyQt/_gen/types.h:2302
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
PropertiesInterfaceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-properties-body.hpp:9
void PropertiesChanged(const Tp::PropertyValueList &properties)
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
void PropertyFlagsChanged(const Tp::PropertyFlagsChangeList &properties)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00312.html0000644000175000017500000001410312727270137020766 0ustar00kaffeinekaffeine00000000000000 Tp::CurrencyAmount Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::CurrencyAmount Struct Reference

#include <TelepathyQt/Types>

Public Attributes

int amount
 
uint scale
 
QString currency
 

Detailed Description

Structure type generated from the specification.

An amount of money in a specified currency. For example, 3.21 British pounds would conventionally be represented by (Amount = 321, Scale = 2, Currency = "GBP"), but could be represented by (Amount = 3210, Scale = 3, Currency = "GBP") in a service that records balance in units of 0.001 pounds.

As a special case, if Amount = 0, Scale = 2**32 - 1 (i.e. the largest possible 32-bit unsigned integer) and Currency = "", this indicates an unknown amount.

Member Data Documentation

int Tp::CurrencyAmount::amount

The amount, expressed as a fixed-point number with decimal scale defined by the Scale field; for instance, an Amount value of 1234 with Scale of 2 represents 12.34 in the currency unit given by the Currency field.

uint Tp::CurrencyAmount::scale

The decimal scale for the fixed point value of the Amount field, defining the number of rightmost decimal digits from the integer value which form the fractional part of the resulting currency value.

As well as defining the interpretation of Amount, user interfaces may use this value to determine the precision with which to display the amount.

QString Tp::CurrencyAmount::currency

The currency code represented by this amount, which SHOULD be an international currency code such as "EUR", "USD", or "JPY" if possible. An empty string can be used to indicate that the currency is not known.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01283.html0000644000175000017500000002231512727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceBalanceInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceBalanceInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
BalanceChanged(const Tp::CurrencyAmount &balance)Tp::Client::ConnectionInterfaceBalanceInterfacesignal
ConnectionInterfaceBalanceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceBalanceInterface
ConnectionInterfaceBalanceInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceBalanceInterface
ConnectionInterfaceBalanceInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceBalanceInterface
ConnectionInterfaceBalanceInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceBalanceInterfaceexplicit
ConnectionInterfaceBalanceInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceBalanceInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceBalanceInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceBalanceInterfaceinline
requestPropertyAccountBalance() const Tp::Client::ConnectionInterfaceBalanceInterfaceinline
requestPropertyManageCreditURI() const Tp::Client::ConnectionInterfaceBalanceInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceBalanceInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00067.html0000644000175000017500000007063612727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::BaseCallContent Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseCallContent Class Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/base-call.h>

Inherits Tp::DBusService.

Public Member Functions

virtual ~BaseCallContent ()
 
QVariantMap immutableProperties () const
 
bool registerObject (DBusError *error=NULL)
 
virtual QString uniqueName () const
 
QList< AbstractCallContentInterfacePtr > interfaces () const
 
AbstractCallContentInterfacePtr interface (const QString &interfaceName) const
 
bool plugInterface (const AbstractCallContentInterfacePtr &interface)
 
QString name () const
 
Tp::MediaStreamType type () const
 
Tp::CallContentDisposition disposition () const
 
Tp::ObjectPathList streams () const
 
- Public Member Functions inherited from Tp::DBusService
 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseCallContentPtr create (const QDBusConnection &dbusConnection, BaseChannel *channel, const QString &name, const Tp::MediaStreamType &type, const Tp::MediaStreamDirection &direction)
 

Protected Member Functions

 BaseCallContent (const QDBusConnection &dbusConnection, BaseChannel *channel, const QString &name, const Tp::MediaStreamType &type, const Tp::MediaStreamDirection &direction)
 
virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
void remove ()
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Constructor & Destructor Documentation

Tp::BaseCallContent::~BaseCallContent ( )
virtual
Tp::BaseCallContent::BaseCallContent ( const QDBusConnection &  dbusConnection,
BaseChannel channel,
const QString &  name,
const Tp::MediaStreamType type,
const Tp::MediaStreamDirection direction 
)
protected

Member Function Documentation

static BaseCallContentPtr Tp::BaseCallContent::create ( const QDBusConnection &  dbusConnection,
BaseChannel channel,
const QString &  name,
const Tp::MediaStreamType type,
const Tp::MediaStreamDirection direction 
)
inlinestatic
QVariantMap Tp::BaseCallContent::immutableProperties ( ) const
virtual

Return the immutable properties of this D-Bus service object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns
The immutable properties of this D-Bus service object.

Implements Tp::DBusService.

bool Tp::BaseCallContent::registerObject ( DBusError error = NULL)
QString Tp::BaseCallContent::uniqueName ( ) const
virtual
QList< AbstractCallContentInterfacePtr > Tp::BaseCallContent::interfaces ( ) const
AbstractCallContentInterfacePtr Tp::BaseCallContent::interface ( const QString &  interfaceName) const
bool Tp::BaseCallContent::plugInterface ( const AbstractCallContentInterfacePtr &  interface)
QString Tp::BaseCallContent::name ( ) const
Tp::MediaStreamType Tp::BaseCallContent::type ( ) const
Tp::CallContentDisposition Tp::BaseCallContent::disposition ( ) const
Tp::ObjectPathList Tp::BaseCallContent::streams ( ) const
bool Tp::BaseCallContent::registerObject ( const QString &  busName,
const QString &  objectPath,
DBusError error 
)
protectedvirtual

Reimplemented from DBusService.

Reimplemented from Tp::DBusService.

void Tp::BaseCallContent::remove ( )
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01028.html0000644000175000017500000000522112727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ContactSubscriptions Member List

This is the complete list of members for Tp::ContactSubscriptions, including all inherited members.

publishTp::ContactSubscriptions
publishRequestTp::ContactSubscriptions
subscribeTp::ContactSubscriptions


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00882.html0000644000175000017500000004254312727270137021013 0ustar00kaffeinekaffeine00000000000000 Structure types
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes
Structure types

Classes

struct  Tp::AccessControl
 
struct  Tp::AliasPair
 
struct  Tp::Avatar
 
struct  Tp::CallStateReason
 
struct  Tp::Candidate
 
struct  Tp::CapabilityChange
 
struct  Tp::CapabilityPair
 
struct  Tp::CaptchaInfo
 
struct  Tp::ChannelDetails
 
struct  Tp::ChannelInfo
 
struct  Tp::ContactCapability
 
struct  Tp::ContactInfoField
 
struct  Tp::ContactSubscriptions
 
struct  Tp::CurrencyAmount
 
struct  Tp::DBusTubeMember
 
struct  Tp::DebugMessage
 
struct  Tp::FieldSpec
 
struct  Tp::HTTPPostData
 
struct  Tp::LocalPendingInfo
 
struct  Tp::MailAddress
 
struct  Tp::MediaDescriptionOffer
 
struct  Tp::MediaSessionHandlerInfo
 
struct  Tp::MediaStreamHandlerTransport
 
struct  Tp::MediaStreamInfo
 
struct  Tp::NotDelegatedError
 
struct  Tp::ParamSpec
 
struct  Tp::PendingTextMessage
 
struct  Tp::PropertyFlagsChange
 
struct  Tp::PropertySpec
 
struct  Tp::PropertyValue
 
struct  Tp::RTCPFeedbackMessage
 
struct  Tp::RTPHeaderExtension
 
struct  Tp::RequestableChannelClass
 
struct  Tp::RichPresenceAccessControl
 
struct  Tp::RoomInfo
 
struct  Tp::ServicePoint
 
struct  Tp::SimplePresence
 
struct  Tp::SimpleStatusSpec
 
struct  Tp::SocketAddressIP
 
struct  Tp::SocketAddressIPv4
 
struct  Tp::SocketAddressIPv6
 
struct  Tp::SocketNetmaskIPv4
 
struct  Tp::SocketNetmaskIPv6
 
struct  Tp::StreamCredentials
 
struct  Tp::TLSCertificateRejection
 
struct  Tp::TubeInfo
 
struct  Tp::VideoResolution
 
struct  Tp::CandidatePair
 
struct  Tp::Codec
 
struct  Tp::HandlerCapabilities
 
struct  Tp::LastActivityAndStatuses
 
struct  Tp::MailURL
 
struct  Tp::MediaStreamHandlerCandidate
 
struct  Tp::MediaStreamHandlerCodec
 
struct  Tp::RTCPFeedbackMessageProperties
 
struct  Tp::ServicePointInfo
 
struct  Tp::StatusSpec
 

Detailed Description

Structure types generated from the specification.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00623_source.html0000644000175000017500000002370612727270137022364 0ustar00kaffeinekaffeine00000000000000 cli-media-session-handler-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-media-session-handler-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/media-session-handler.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 MediaSessionHandlerInterface::MediaSessionHandlerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 MediaSessionHandlerInterface::MediaSessionHandlerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(NewStreamHandler(const QDBusObjectPath&, uint, uint, uint)), NULL, NULL);
28 
29  Tp::AbstractInterface::invalidate(proxy, error, message);
30 }
31 }
32 }
void NewStreamHandler(const QDBusObjectPath &streamHandler, uint ID, uint mediaType, uint direction)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
MediaSessionHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-media-session-handler-body.hpp:9
static QLatin1String staticInterfaceName()
Definition: cli-media-session-handler.h:55
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-media-session-handler-body.hpp:24
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00381.html0000644000175000017500000002573612727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor6 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
typedef R(T::* Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
typedef R Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::MemberFunctor6 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
ResultType Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
T* Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::object
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
FunctionType Tp::MemberFunctor6< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01342.html0000644000175000017500000001152212727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeDBusTubeAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeDBusTubeAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
Accept(uint accesscontrol, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeDBusTubeAdaptorslot
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
DBusNames() const Tp::Service::ChannelTypeDBusTubeAdaptor
DBusNamesChanged(const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed)Tp::Service::ChannelTypeDBusTubeAdaptorsignal
Offer(const QVariantMap &parameters, uint accesscontrol, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeDBusTubeAdaptorslot
ServiceName() const Tp::Service::ChannelTypeDBusTubeAdaptor
SupportedAccessControls() const Tp::Service::ChannelTypeDBusTubeAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00126.html0000644000175000017500000011031412727270137020772 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentMediaDescriptionInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentMediaDescriptionInterface Class Reference

#include <TelepathyQt/CallContentMediaDescriptionInterface>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply Accept (const QVariantMap &localMediaDescription, int timeout=-1)
 
QDBusPendingReply Reject (const Tp::CallStateReason &reason, int timeout=-1)
 

Public Member Functions

 CallContentMediaDescriptionInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyInterfaces () const
 
Tp::PendingVariantrequestPropertyFurtherNegotiationRequired () const
 
Tp::PendingVariantrequestPropertyHasRemoteInformation () const
 
Tp::PendingVariantrequestPropertyCodecs () const
 
Tp::PendingVariantrequestPropertyRemoteContact () const
 
Tp::PendingVariantrequestPropertySSRCs () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription".

Constructor & Destructor Documentation

Tp::Client::CallContentMediaDescriptionInterface::CallContentMediaDescriptionInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentMediaDescriptionInterface 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.
Tp::Client::CallContentMediaDescriptionInterface::CallContentMediaDescriptionInterface ( Tp::DBusProxy proxy)

Creates a CallContentMediaDescriptionInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::CallContentMediaDescriptionInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterface::requestPropertyInterfaces ( ) const
inline

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

Extra interfaces provided by this media description. This SHOULD NOT include the Description interface itself.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterface::requestPropertyFurtherNegotiationRequired ( ) const
inline

Asynchronous getter for the remote object property FurtherNegotiationRequired of type bool.

If this is set to True by the CM in a MediaDescriptionOffer, it means "This is an offer under the SDP Offer/Answer model. Whatever you accept this offer with is what I will send to the other side in my answer." If this is set to False by the CM then it means "This is an Answer under the SDP Offer/Answer model, and if it remains False in the Accept(), no further codec negotiation needs to happen." If this is set to True by the streaming implementation (e.g. in an Accept or UpdateLocalMediaDescription call) then a new SDP Offer/Answer round-trip will be initiated.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterface::requestPropertyHasRemoteInformation ( ) const
inline

Asynchronous getter for the remote object property HasRemoteInformation of type bool.

True if this offer contains information from the remote side: If False then the Accept response solely depends on the capabilities and preferences of the local side. In most protocols this property will be False for the initial DescriptionOffer on an outgoing call.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterface::requestPropertyCodecs ( ) const
inline

Asynchronous getter for the remote object property Codecs of type Tp::CodecList.

A list of codecs the remote contact supports. When used with Accept, it means the locally supported codecs.

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

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

The contact handle that this description applies to. This property can be used as an opaque identifier, and searched for in RemoteMembers for each Stream in this Content, to determine which Stream this MediaDescription applies to. If multiple MediaDescriptions apply to the same Stream, the SSRCs property should be used to separate media before decoding. If this property is 0, this MediaDescription applies to all streams, so the above matching method is unneccesary (e.g. in conference calls with a mixer, media from all participants is mixed into one stream). When calling Accept or UpdateLocalMediaDescription, this should always be set to 0, or omitted, because it is assumed that you send the same MediaDescription to everyone (Encoding a stream separately for each contact in a call is inefficient, and should be avoided).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterface::requestPropertySSRCs ( ) const
inline

Asynchronous getter for the remote object property SSRCs of type Tp::ContactSSRCsMap.

A map from Handle to list of Synchronisation Sources, as defined by RFC 3550.

Some protocols require the negotiation of SSRC identifiers for RTP streams. If this is the case, then MediaDescription offers will appear with this property set. The streaming implementation should then call Accept() with a map from 0 to a list containing a single SSRC (which does not collide with these, or any previously seen SSRCs). If a new MediaDescription offer appears with an SSRC the same as one in CallContentInterfaceMediaInterface::LocalMediaDescriptions , then the streaming implementation should pick a new SSRC to resolve the collision.

It is expected that this list will normally be at most one element long, but it is kept as a list for extensibility. The concatenation of all SSRCs associated with a Stream should contain no duplicate entries. If there are collisions, then it is the responsibility of the protocol implementation to resolve them and generate new offers.

If this property is omitted, then the streaming implementation can assume that there is only one MediaDescription per Stream.

If there is a single multicast Call Stream with multiple Remote Members, and all members are forced to use the same MediaDescription, this map can be used by the streaming implementation to determine which video sources belong to which contacts (e.g. in order to put a name under each face in the call)

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentMediaDescriptionInterface::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 Tp::Client::CallContentMediaDescriptionInterface::Accept ( const QVariantMap &  localMediaDescription,
int  timeout = -1 
)
inlineslot

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

Accepts the updated Description and update the corresponding local description. If FurtherNegotiationRequired is True, calling this method will generally cause a network round-trip and a new MediaDescription to be offered (hopefully with FurtherNegotiationRequired set to False).

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

Parameters
localMediaDescription
The local description to send to the remote contacts and to use in 
the Content.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallContentMediaDescriptionInterface::Reject ( const Tp::CallStateReason reason,
int  timeout = -1 
)
inlineslot

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

Reject the proposed update to the remote description.

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

Parameters
reason
A structured reason for the rejection.
timeoutThe timeout in milliseconds.
void Tp::Client::CallContentMediaDescriptionInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01097.html0000644000175000017500000000554212727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::NotDelegatedMap Member List

This is the complete list of members for Tp::NotDelegatedMap, including all inherited members.

NotDelegatedMap()Tp::NotDelegatedMapinline
NotDelegatedMap(const QMap< QDBusObjectPath, NotDelegatedError > &a)Tp::NotDelegatedMapinline
operator=(const QMap< QDBusObjectPath, NotDelegatedError > &a)Tp::NotDelegatedMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00941.html0000644000175000017500000002663712727270137021015 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionAliasingInterface Member List

This is the complete list of members for Tp::BaseConnectionAliasingInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
aliasesChanged(const Tp::AliasPairList &aliases)Tp::BaseConnectionAliasingInterface
BaseConnectionAliasingInterface()Tp::BaseConnectionAliasingInterfaceprotected
create()Tp::BaseConnectionAliasingInterfaceinlinestatic
create()Tp::BaseConnectionAliasingInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getAliases(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionAliasingInterface
GetAliasesCallback typedefTp::BaseConnectionAliasingInterface
getAliasFlags(DBusError *error)Tp::BaseConnectionAliasingInterface
GetAliasFlagsCallback typedefTp::BaseConnectionAliasingInterface
immutableProperties() const Tp::BaseConnectionAliasingInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestAliases(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionAliasingInterface
RequestAliasesCallback typedefTp::BaseConnectionAliasingInterface
setAliases(const Tp::AliasMap &aliases, DBusError *error)Tp::BaseConnectionAliasingInterface
SetAliasesCallback typedefTp::BaseConnectionAliasingInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setGetAliasesCallback(const GetAliasesCallback &cb)Tp::BaseConnectionAliasingInterface
setGetAliasFlagsCallback(const GetAliasFlagsCallback &cb)Tp::BaseConnectionAliasingInterface
setRequestAliasesCallback(const RequestAliasesCallback &cb)Tp::BaseConnectionAliasingInterface
setSetAliasesCallback(const SetAliasesCallback &cb)Tp::BaseConnectionAliasingInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionAliasingInterface()Tp::BaseConnectionAliasingInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00440.html0000644000175000017500000007270612727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::Client::DBus::PropertiesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::DBus::PropertiesInterface Class Reference

#include <TelepathyQt/DBus>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QDBusVariant > Get (const QString &interfaceName, const QString &propertyName, int timeout=-1)
 
QDBusPendingReply Set (const QString &interfaceName, const QString &propertyName, const QDBusVariant &value, int timeout=-1)
 
QDBusPendingReply< QVariantMap > GetAll (const QString &interfaceName, int timeout=-1)
 

Public Member Functions

 PropertiesInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 PropertiesInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 PropertiesInterface (Tp::DBusProxy *proxy)
 
 PropertiesInterface (const Tp::AbstractInterface &mainInterface)
 
 PropertiesInterface (const Tp::AbstractInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.DBus.Properties".

Constructor & Destructor Documentation

Tp::Client::DBus::PropertiesInterface::PropertiesInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a PropertiesInterface 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.
Tp::Client::DBus::PropertiesInterface::PropertiesInterface ( Tp::DBusProxy proxy)

Creates a PropertiesInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::DBus::PropertiesInterface::PropertiesInterface ( const Tp::AbstractInterface mainInterface)
explicit

Creates a PropertiesInterface 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.
Tp::Client::DBus::PropertiesInterface::PropertiesInterface ( const Tp::AbstractInterface mainInterface,
QObject *  parent 
)

Creates a PropertiesInterface 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 Tp::Client::DBus::PropertiesInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.DBus.Properties", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::DBus::PropertiesInterface::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<QDBusVariant> Tp::Client::DBus::PropertiesInterface::Get ( const QString &  interfaceName,
const QString &  propertyName,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply Tp::Client::DBus::PropertiesInterface::Set ( const QString &  interfaceName,
const QString &  propertyName,
const QDBusVariant &  value,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<QVariantMap> Tp::Client::DBus::PropertiesInterface::GetAll ( const QString &  interfaceName,
int  timeout = -1 
)
inlineslot

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

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 Tp::Client::DBus::PropertiesInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00195.html0000644000175000017500000001767212727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceSecurableAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Service::ChannelInterfaceSecurableAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Member Functions

bool Encrypted () const
 
bool Verified () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::ChannelInterfaceSecurableAdaptor::Encrypted ( ) const

Return the value of the exported D-Bus object property Encrypted of type bool.

Adaptees should export this property as a Qt property named 'encrypted' with type bool.

True if this channel occurs over an encrypted connection. This does not imply that steps have been taken to avoid man-in-the-middle attacks.

For future support for RFC 5056 Channel Binding it is desirable to be able to use some SASL mechanisms over an encrypted connection to an unverified peer, which can prove that it is the desired destination during the SASL negotiation.

Returns
The value of exported property Encrypted.
bool Tp::Service::ChannelInterfaceSecurableAdaptor::Verified ( ) const

Return the value of the exported D-Bus object property Verified of type bool.

Adaptees should export this property as a Qt property named 'verified' with type bool.

True if this channel occurs over a connection that is protected against tampering, and has been verified to be with the desired destination: for instance, one where TLS was previously negotiated, and the TLS certificate has been verified against a configured certificate authority or accepted by the user.

Returns
The value of exported property Verified.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01156.html0000644000175000017500000001643012727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReadinessHelper Member List

This is the complete list of members for Tp::ReadinessHelper, including all inherited members.

actualFeatures() const Tp::ReadinessHelper
addIntrospectables(const Introspectables &introspectables)Tp::ReadinessHelper
becomeReady(const Features &requestedFeatures)Tp::ReadinessHelper
currentStatus() const Tp::ReadinessHelper
forceCurrentStatus(uint currentStatus)Tp::ReadinessHelper
interfaces() const Tp::ReadinessHelper
Introspectables typedefTp::ReadinessHelper
IntrospectFunc typedefTp::ReadinessHelper
isReady(const Feature &feature, QString *errorName=0, QString *errorMessage=0) const Tp::ReadinessHelper
isReady(const Features &features, QString *errorName=0, QString *errorMessage=0) const Tp::ReadinessHelper
missingFeatures() const Tp::ReadinessHelper
ReadinessHelper(RefCounted *object, uint currentStatus=0, const Introspectables &introspectables=Introspectables(), QObject *parent=0)Tp::ReadinessHelper
ReadinessHelper(DBusProxy *proxy, uint currentStatus=0, const Introspectables &introspectables=Introspectables(), QObject *parent=0)Tp::ReadinessHelper
requestedFeatures() const Tp::ReadinessHelper
setCurrentStatus(uint currentStatus)Tp::ReadinessHelper
setInterfaces(const QStringList &interfaces)Tp::ReadinessHelper
setIntrospectCompleted(const Feature &feature, bool success, const QString &errorName=QString(), const QString &errorMessage=QString())Tp::ReadinessHelper
setIntrospectCompleted(const Feature &feature, bool success, const QDBusError &error)Tp::ReadinessHelper
statusReady(uint status)Tp::ReadinessHelpersignal
~ReadinessHelper()Tp::ReadinessHelper


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00616_source.html0000644000175000017500000011655112727270137022367 0ustar00kaffeinekaffeine00000000000000 cli-connection-manager-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-connection-manager-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/connection-manager.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ConnectionManagerInterface::ConnectionManagerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ConnectionManagerInterface::ConnectionManagerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(NewConnection(const QString&, const QDBusObjectPath&, const QString&)), NULL, NULL);
28 
29  Tp::AbstractInterface::invalidate(proxy, error, message);
30 }
31 
32 ProtocolInterface::ProtocolInterface(const QString& busName, const QString& objectPath, QObject *parent)
33  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
34 {
35 }
36 
37 ProtocolInterface::ProtocolInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
38  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
39 {
40 }
41 
44 {
45 }
46 
48  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
49 {
50 }
51 
53  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
54 {
55 }
56 
58  const QString &error, const QString &message)
59 {
60 
61  Tp::AbstractInterface::invalidate(proxy, error, message);
62 }
63 
64 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const QString& busName, const QString& objectPath, QObject *parent)
65  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
66 {
67 }
68 
69 ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
70  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
71 {
72 }
73 
76 {
77 }
78 
80  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
81 {
82 }
83 
85  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
86 {
87 }
88 
90  const QString &error, const QString &message)
91 {
92 
93  Tp::AbstractInterface::invalidate(proxy, error, message);
94 }
95 
96 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const QString& busName, const QString& objectPath, QObject *parent)
97  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
98 {
99 }
100 
101 ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
102  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
103 {
104 }
105 
108 {
109 }
110 
112  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
113 {
114 }
115 
117  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
118 {
119 }
120 
122  const QString &error, const QString &message)
123 {
124 
125  Tp::AbstractInterface::invalidate(proxy, error, message);
126 }
127 
128 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const QString& busName, const QString& objectPath, QObject *parent)
129  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
130 {
131 }
132 
133 ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
134  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
135 {
136 }
137 
140 {
141 }
142 
144  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
145 {
146 }
147 
149  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
150 {
151 }
152 
154  const QString &error, const QString &message)
155 {
156 
157  Tp::AbstractInterface::invalidate(proxy, error, message);
158 }
159 }
160 }
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:24
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:121
ProtocolInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:64
ProtocolInterfacePresenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:128
Definition: cli-connection-manager.h:44
ConnectionManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:9
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:89
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:57
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:925
ProtocolInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:32
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-connection-manager-body.hpp:153
ProtocolInterfaceAvatarsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-connection-manager-body.hpp:96
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:1521
Definition: abstract-adaptor.cpp:31
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:55
void NewConnection(const QString &busName, const QDBusObjectPath &objectPath, const QString &protocol)
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:372
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:1301


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00254.html0000644000175000017500000007176112727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceBalanceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceBalanceInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Signals

void BalanceChanged (const Tp::CurrencyAmount &balance)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceBalanceInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceBalanceInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceBalanceInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceBalanceInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceBalanceInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyAccountBalance () const
 
Tp::PendingVariantrequestPropertyManageCreditURI () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Balance".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceBalanceInterface::ConnectionInterfaceBalanceInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceBalanceInterface 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.
Tp::Client::ConnectionInterfaceBalanceInterface::ConnectionInterfaceBalanceInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceBalanceInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceBalanceInterface::ConnectionInterfaceBalanceInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceBalanceInterface 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.
Tp::Client::ConnectionInterfaceBalanceInterface::ConnectionInterfaceBalanceInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceBalanceInterface 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 Tp::Client::ConnectionInterfaceBalanceInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Balance", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceBalanceInterface::requestPropertyAccountBalance ( ) const
inline

Asynchronous getter for the remote object property AccountBalance of type Tp::CurrencyAmount.

The user's balance on the account corresponding to this ConnectionInterface . A negative amount may be possible on some services, and indicates that the user owes money to the service provider.

On initial connection, this property may have an unknown value, represented by Amount = 0, Scale = 2**32 - 1 (the largest possible 32-bit unsigned integer) and Currency = "".

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceBalanceInterface::requestPropertyManageCreditURI ( ) const
inline

Asynchronous getter for the remote object property ManageCreditURI of type QString.

A URI the user may visit via the web browser to manage and top-up their account balance. This property is not guaranteed to be well-defined until the connection becomes Connected; there is no change notification. Different protocols and even servers or gateways (e.g. SIP and XMPP PSTN gateways) will have a different website used to manage a user's account balance. This property enables the client to provide that to the user. A Connection Manager MAY set this itself (because it is static or discoverable), or expose it as a connection parameter.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceBalanceInterface::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.
void Tp::Client::ConnectionInterfaceBalanceInterface::BalanceChanged ( const Tp::CurrencyAmount balance)
signal

Represents the signal BalanceChanged on the remote object.

Emitted when the user's balance has changed.

Parameters
balance

The new value of the AccountBalance property.

void Tp::Client::ConnectionInterfaceBalanceInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01215.html0000644000175000017500000000460312727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::VideoResolution Member List

This is the complete list of members for Tp::VideoResolution, including all inherited members.

heightTp::VideoResolution
widthTp::VideoResolution


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_f.html0000644000175000017500000002444712727270137023544 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- f -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00612_source.html0000644000175000017500000232700612727270137022364 0ustar00kaffeinekaffeine00000000000000 cli-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
44 class TP_QT_EXPORT ChannelInterface : public Tp::AbstractInterface
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.Channel");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
127  {
128  return internalRequestProperty(QLatin1String("ChannelType"));
129  }
130 
165  {
166  return internalRequestProperty(QLatin1String("Interfaces"));
167  }
168 
214  {
215  return internalRequestProperty(QLatin1String("TargetHandle"));
216  }
217 
272  {
273  return internalRequestProperty(QLatin1String("TargetID"));
274  }
275 
296  {
297  return internalRequestProperty(QLatin1String("TargetHandleType"));
298  }
299 
369  {
370  return internalRequestProperty(QLatin1String("Requested"));
371  }
372 
435  {
436  return internalRequestProperty(QLatin1String("InitiatorHandle"));
437  }
438 
474  {
475  return internalRequestProperty(QLatin1String("InitiatorID"));
476  }
477 
485  {
486  return internalRequestAllProperties();
487  }
488 
489 public Q_SLOTS:
504  inline QDBusPendingReply<> Close(int timeout = -1)
505  {
506  if (!invalidationReason().isEmpty()) {
507  return QDBusPendingReply<>(QDBusMessage::createError(
508  invalidationReason(),
509  invalidationMessage()
510  ));
511  }
512 
513  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
514  this->staticInterfaceName(), QLatin1String("Close"));
515  return this->connection().asyncCall(callMessage, timeout);
516  }
517 
535  inline QDBusPendingReply<QString> GetChannelType(int timeout = -1)
536  {
537  if (!invalidationReason().isEmpty()) {
538  return QDBusPendingReply<QString>(QDBusMessage::createError(
539  invalidationReason(),
540  invalidationMessage()
541  ));
542  }
543 
544  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
545  this->staticInterfaceName(), QLatin1String("GetChannelType"));
546  return this->connection().asyncCall(callMessage, timeout);
547  }
548 
572  inline QDBusPendingReply<uint, uint> GetHandle(int timeout = -1)
573  {
574  if (!invalidationReason().isEmpty()) {
575  return QDBusPendingReply<uint, uint>(QDBusMessage::createError(
576  invalidationReason(),
577  invalidationMessage()
578  ));
579  }
580 
581  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
582  this->staticInterfaceName(), QLatin1String("GetHandle"));
583  return this->connection().asyncCall(callMessage, timeout);
584  }
585 
603  inline QDBusPendingReply<QStringList> GetInterfaces(int timeout = -1)
604  {
605  if (!invalidationReason().isEmpty()) {
606  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
607  invalidationReason(),
608  invalidationMessage()
609  ));
610  }
611 
612  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
613  this->staticInterfaceName(), QLatin1String("GetInterfaces"));
614  return this->connection().asyncCall(callMessage, timeout);
615  }
616 
617 Q_SIGNALS:
625  void Closed();
626 
627 protected:
628  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
629 };
630 
639 {
640  Q_OBJECT
641 
642 public:
649  static inline QLatin1String staticInterfaceName()
650  {
651  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Anonymity");
652  }
653 
662  const QString& busName,
663  const QString& objectPath,
664  QObject* parent = 0
665  );
666 
676  const QDBusConnection& connection,
677  const QString& busName,
678  const QString& objectPath,
679  QObject* parent = 0
680  );
681 
689 
698 
706  ChannelInterfaceAnonymityInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
707 
721  {
722  return internalRequestProperty(QLatin1String("AnonymityModes"));
723  }
724 
736  {
737  return internalRequestProperty(QLatin1String("AnonymityMandatory"));
738  }
739 
762  {
763  return internalRequestProperty(QLatin1String("AnonymousID"));
764  }
765 
773  {
774  return internalRequestAllProperties();
775  }
776 
777 protected:
778  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
779 };
780 
789 {
790  Q_OBJECT
791 
792 public:
799  static inline QLatin1String staticInterfaceName()
800  {
801  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.CallState");
802  }
803 
812  const QString& busName,
813  const QString& objectPath,
814  QObject* parent = 0
815  );
816 
826  const QDBusConnection& connection,
827  const QString& busName,
828  const QString& objectPath,
829  QObject* parent = 0
830  );
831 
839 
848 
856  ChannelInterfaceCallStateInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
857 
865  {
866  return internalRequestAllProperties();
867  }
868 
869 public Q_SLOTS:
885  inline QDBusPendingReply<Tp::ChannelCallStateMap> GetCallStates(int timeout = -1)
886  {
887  if (!invalidationReason().isEmpty()) {
888  return QDBusPendingReply<Tp::ChannelCallStateMap>(QDBusMessage::createError(
889  invalidationReason(),
890  invalidationMessage()
891  ));
892  }
893 
894  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
895  this->staticInterfaceName(), QLatin1String("GetCallStates"));
896  return this->connection().asyncCall(callMessage, timeout);
897  }
898 
899 Q_SIGNALS:
913  void CallStateChanged(uint contact, uint state);
914 
915 protected:
916  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
917 };
918 
927 {
928  Q_OBJECT
929 
930 public:
937  static inline QLatin1String staticInterfaceName()
938  {
939  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1");
940  }
941 
950  const QString& busName,
951  const QString& objectPath,
952  QObject* parent = 0
953  );
954 
964  const QDBusConnection& connection,
965  const QString& busName,
966  const QString& objectPath,
967  QObject* parent = 0
968  );
969 
977 
986 
995 
1018  {
1019  return internalRequestProperty(QLatin1String("CanRetryCaptcha"));
1020  }
1021 
1048  {
1049  return internalRequestProperty(QLatin1String("CaptchaStatus"));
1050  }
1051 
1086  {
1087  return internalRequestProperty(QLatin1String("CaptchaError"));
1088  }
1089 
1112  {
1113  return internalRequestProperty(QLatin1String("CaptchaErrorDetails"));
1114  }
1115 
1123  {
1124  return internalRequestAllProperties();
1125  }
1126 
1127 public Q_SLOTS:
1181  inline QDBusPendingReply<Tp::CaptchaInfoList, uint, QString> GetCaptchas(int timeout = -1)
1182  {
1183  if (!invalidationReason().isEmpty()) {
1184  return QDBusPendingReply<Tp::CaptchaInfoList, uint, QString>(QDBusMessage::createError(
1185  invalidationReason(),
1186  invalidationMessage()
1187  ));
1188  }
1189 
1190  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1191  this->staticInterfaceName(), QLatin1String("GetCaptchas"));
1192  return this->connection().asyncCall(callMessage, timeout);
1193  }
1194 
1232  inline QDBusPendingReply<QByteArray> GetCaptchaData(uint ID, const QString& mimeType, int timeout = -1)
1233  {
1234  if (!invalidationReason().isEmpty()) {
1235  return QDBusPendingReply<QByteArray>(QDBusMessage::createError(
1236  invalidationReason(),
1237  invalidationMessage()
1238  ));
1239  }
1240 
1241  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1242  this->staticInterfaceName(), QLatin1String("GetCaptchaData"));
1243  callMessage << QVariant::fromValue(ID) << QVariant::fromValue(mimeType);
1244  return this->connection().asyncCall(callMessage, timeout);
1245  }
1246 
1265  inline QDBusPendingReply<> AnswerCaptchas(const Tp::CaptchaAnswers& answers, int timeout = -1)
1266  {
1267  if (!invalidationReason().isEmpty()) {
1268  return QDBusPendingReply<>(QDBusMessage::createError(
1269  invalidationReason(),
1270  invalidationMessage()
1271  ));
1272  }
1273 
1274  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1275  this->staticInterfaceName(), QLatin1String("AnswerCaptchas"));
1276  callMessage << QVariant::fromValue(answers);
1277  return this->connection().asyncCall(callMessage, timeout);
1278  }
1279 
1307  inline QDBusPendingReply<> CancelCaptcha(uint reason, const QString& debugMessage, int timeout = -1)
1308  {
1309  if (!invalidationReason().isEmpty()) {
1310  return QDBusPendingReply<>(QDBusMessage::createError(
1311  invalidationReason(),
1312  invalidationMessage()
1313  ));
1314  }
1315 
1316  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1317  this->staticInterfaceName(), QLatin1String("CancelCaptcha"));
1318  callMessage << QVariant::fromValue(reason) << QVariant::fromValue(debugMessage);
1319  return this->connection().asyncCall(callMessage, timeout);
1320  }
1321 
1322 protected:
1323  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1324 };
1325 
1334 {
1335  Q_OBJECT
1336 
1337 public:
1344  static inline QLatin1String staticInterfaceName()
1345  {
1346  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.ChatState");
1347  }
1348 
1357  const QString& busName,
1358  const QString& objectPath,
1359  QObject* parent = 0
1360  );
1361 
1371  const QDBusConnection& connection,
1372  const QString& busName,
1373  const QString& objectPath,
1374  QObject* parent = 0
1375  );
1376 
1384 
1393 
1401  ChannelInterfaceChatStateInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
1402 
1439  {
1440  return internalRequestProperty(QLatin1String("ChatStates"));
1441  }
1442 
1450  {
1451  return internalRequestAllProperties();
1452  }
1453 
1454 public Q_SLOTS:
1470  inline QDBusPendingReply<> SetChatState(uint state, int timeout = -1)
1471  {
1472  if (!invalidationReason().isEmpty()) {
1473  return QDBusPendingReply<>(QDBusMessage::createError(
1474  invalidationReason(),
1475  invalidationMessage()
1476  ));
1477  }
1478 
1479  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1480  this->staticInterfaceName(), QLatin1String("SetChatState"));
1481  callMessage << QVariant::fromValue(state);
1482  return this->connection().asyncCall(callMessage, timeout);
1483  }
1484 
1485 Q_SIGNALS:
1500  void ChatStateChanged(uint contact, uint state);
1501 
1502 protected:
1503  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1504 };
1505 
1514 {
1515  Q_OBJECT
1516 
1517 public:
1524  static inline QLatin1String staticInterfaceName()
1525  {
1526  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Conference");
1527  }
1528 
1537  const QString& busName,
1538  const QString& objectPath,
1539  QObject* parent = 0
1540  );
1541 
1551  const QDBusConnection& connection,
1552  const QString& busName,
1553  const QString& objectPath,
1554  QObject* parent = 0
1555  );
1556 
1564 
1573 
1581  ChannelInterfaceConferenceInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
1582 
1612  {
1613  return internalRequestProperty(QLatin1String("Channels"));
1614  }
1615 
1678  {
1679  return internalRequestProperty(QLatin1String("InitialChannels"));
1680  }
1681 
1756  {
1757  return internalRequestProperty(QLatin1String("InitialInviteeHandles"));
1758  }
1759 
1785  {
1786  return internalRequestProperty(QLatin1String("InitialInviteeIDs"));
1787  }
1788 
1817  {
1818  return internalRequestProperty(QLatin1String("InvitationMessage"));
1819  }
1820 
1887  {
1888  return internalRequestProperty(QLatin1String("OriginalChannels"));
1889  }
1890 
1898  {
1899  return internalRequestAllProperties();
1900  }
1901 
1902 Q_SIGNALS:
1926  void ChannelMerged(const QDBusObjectPath& channel, uint channelSpecificHandle, const QVariantMap& properties);
1927 
1952  void ChannelRemoved(const QDBusObjectPath& channel, const QVariantMap& details);
1953 
1954 protected:
1955  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1956 };
1957 
1966 {
1967  Q_OBJECT
1968 
1969 public:
1976  static inline QLatin1String staticInterfaceName()
1977  {
1978  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.DTMF");
1979  }
1980 
1989  const QString& busName,
1990  const QString& objectPath,
1991  QObject* parent = 0
1992  );
1993 
2003  const QDBusConnection& connection,
2004  const QString& busName,
2005  const QString& objectPath,
2006  QObject* parent = 0
2007  );
2008 
2016 
2024  explicit ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface& mainInterface);
2025 
2033  ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
2034 
2047  {
2048  return internalRequestProperty(QLatin1String("CurrentlySendingTones"));
2049  }
2050 
2065  {
2066  return internalRequestProperty(QLatin1String("InitialTones"));
2067  }
2068 
2087  {
2088  return internalRequestProperty(QLatin1String("DeferredTones"));
2089  }
2090 
2098  {
2099  return internalRequestAllProperties();
2100  }
2101 
2102 public Q_SLOTS:
2133  inline QDBusPendingReply<> StartTone(uint streamID, uchar event, int timeout = -1)
2134  {
2135  if (!invalidationReason().isEmpty()) {
2136  return QDBusPendingReply<>(QDBusMessage::createError(
2137  invalidationReason(),
2138  invalidationMessage()
2139  ));
2140  }
2141 
2142  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2143  this->staticInterfaceName(), QLatin1String("StartTone"));
2144  callMessage << QVariant::fromValue(streamID) << QVariant::fromValue(event);
2145  return this->connection().asyncCall(callMessage, timeout);
2146  }
2147 
2170  inline QDBusPendingReply<> StopTone(uint streamID, int timeout = -1)
2171  {
2172  if (!invalidationReason().isEmpty()) {
2173  return QDBusPendingReply<>(QDBusMessage::createError(
2174  invalidationReason(),
2175  invalidationMessage()
2176  ));
2177  }
2178 
2179  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2180  this->staticInterfaceName(), QLatin1String("StopTone"));
2181  callMessage << QVariant::fromValue(streamID);
2182  return this->connection().asyncCall(callMessage, timeout);
2183  }
2184 
2230  inline QDBusPendingReply<> MultipleTones(const QString& tones, int timeout = -1)
2231  {
2232  if (!invalidationReason().isEmpty()) {
2233  return QDBusPendingReply<>(QDBusMessage::createError(
2234  invalidationReason(),
2235  invalidationMessage()
2236  ));
2237  }
2238 
2239  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2240  this->staticInterfaceName(), QLatin1String("MultipleTones"));
2241  callMessage << QVariant::fromValue(tones);
2242  return this->connection().asyncCall(callMessage, timeout);
2243  }
2244 
2245 Q_SIGNALS:
2273  void TonesDeferred(const QString& tones);
2274 
2291  void SendingTones(const QString& tones);
2292 
2304  void StoppedTones(bool cancelled);
2305 
2306 protected:
2307  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2308 };
2309 
2318 {
2319  Q_OBJECT
2320 
2321 public:
2328  static inline QLatin1String staticInterfaceName()
2329  {
2330  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Destroyable");
2331  }
2332 
2341  const QString& busName,
2342  const QString& objectPath,
2343  QObject* parent = 0
2344  );
2345 
2355  const QDBusConnection& connection,
2356  const QString& busName,
2357  const QString& objectPath,
2358  QObject* parent = 0
2359  );
2360 
2368 
2377 
2385  ChannelInterfaceDestroyableInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
2386 
2394  {
2395  return internalRequestAllProperties();
2396  }
2397 
2398 public Q_SLOTS:
2443  inline QDBusPendingReply<> Destroy(int timeout = -1)
2444  {
2445  if (!invalidationReason().isEmpty()) {
2446  return QDBusPendingReply<>(QDBusMessage::createError(
2447  invalidationReason(),
2448  invalidationMessage()
2449  ));
2450  }
2451 
2452  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2453  this->staticInterfaceName(), QLatin1String("Destroy"));
2454  return this->connection().asyncCall(callMessage, timeout);
2455  }
2456 
2457 protected:
2458  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2459 };
2460 
2469 {
2470  Q_OBJECT
2471 
2472 public:
2479  static inline QLatin1String staticInterfaceName()
2480  {
2481  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata");
2482  }
2483 
2492  const QString& busName,
2493  const QString& objectPath,
2494  QObject* parent = 0
2495  );
2496 
2506  const QDBusConnection& connection,
2507  const QString& busName,
2508  const QString& objectPath,
2509  QObject* parent = 0
2510  );
2511 
2519 
2528 
2536  ChannelInterfaceFileTransferMetadataInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
2537 
2555  {
2556  return internalRequestProperty(QLatin1String("ServiceName"));
2557  }
2558 
2576  {
2577  return internalSetProperty(QLatin1String("ServiceName"), QVariant::fromValue(newValue));
2578  }
2579 
2594  {
2595  return internalRequestProperty(QLatin1String("Metadata"));
2596  }
2597 
2612  {
2613  return internalSetProperty(QLatin1String("Metadata"), QVariant::fromValue(newValue));
2614  }
2615 
2623  {
2624  return internalRequestAllProperties();
2625  }
2626 
2627 protected:
2628  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
2629 };
2630 
2639 {
2640  Q_OBJECT
2641 
2642 public:
2649  static inline QLatin1String staticInterfaceName()
2650  {
2651  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Group");
2652  }
2653 
2662  const QString& busName,
2663  const QString& objectPath,
2664  QObject* parent = 0
2665  );
2666 
2676  const QDBusConnection& connection,
2677  const QString& busName,
2678  const QString& objectPath,
2679  QObject* parent = 0
2680  );
2681 
2689 
2697  explicit ChannelInterfaceGroupInterface(const Tp::Client::ChannelInterface& mainInterface);
2698 
2706  ChannelInterfaceGroupInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
2707 
2721  {
2722  return internalRequestProperty(QLatin1String("GroupFlags"));
2723  }
2724 
2741  {
2742  return internalRequestProperty(QLatin1String("HandleOwners"));
2743  }
2744 
2756  {
2757  return internalRequestProperty(QLatin1String("LocalPendingMembers"));
2758  }
2759 
2770  {
2771  return internalRequestProperty(QLatin1String("Members"));
2772  }
2773 
2785  {
2786  return internalRequestProperty(QLatin1String("RemotePendingMembers"));
2787  }
2788 
2804  {
2805  return internalRequestProperty(QLatin1String("SelfHandle"));
2806  }
2807 
2822  {
2823  return internalRequestProperty(QLatin1String("MemberIdentifiers"));
2824  }
2825 
2833  {
2834  return internalRequestAllProperties();
2835  }
2836 
2837 public Q_SLOTS:
2868  inline QDBusPendingReply<> AddMembers(const Tp::UIntList& contacts, const QString& message, int timeout = -1)
2869  {
2870  if (!invalidationReason().isEmpty()) {
2871  return QDBusPendingReply<>(QDBusMessage::createError(
2872  invalidationReason(),
2873  invalidationMessage()
2874  ));
2875  }
2876 
2877  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2878  this->staticInterfaceName(), QLatin1String("AddMembers"));
2879  callMessage << QVariant::fromValue(contacts) << QVariant::fromValue(message);
2880  return this->connection().asyncCall(callMessage, timeout);
2881  }
2882 
2905  inline QDBusPendingReply<Tp::UIntList, Tp::UIntList, Tp::UIntList> GetAllMembers(int timeout = -1)
2906  {
2907  if (!invalidationReason().isEmpty()) {
2908  return QDBusPendingReply<Tp::UIntList, Tp::UIntList, Tp::UIntList>(QDBusMessage::createError(
2909  invalidationReason(),
2910  invalidationMessage()
2911  ));
2912  }
2913 
2914  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2915  this->staticInterfaceName(), QLatin1String("GetAllMembers"));
2916  return this->connection().asyncCall(callMessage, timeout);
2917  }
2918 
2933  inline QDBusPendingReply<uint> GetGroupFlags(int timeout = -1)
2934  {
2935  if (!invalidationReason().isEmpty()) {
2936  return QDBusPendingReply<uint>(QDBusMessage::createError(
2937  invalidationReason(),
2938  invalidationMessage()
2939  ));
2940  }
2941 
2942  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2943  this->staticInterfaceName(), QLatin1String("GetGroupFlags"));
2944  return this->connection().asyncCall(callMessage, timeout);
2945  }
2946 
2972  inline QDBusPendingReply<Tp::UIntList> GetHandleOwners(const Tp::UIntList& handles, int timeout = -1)
2973  {
2974  if (!invalidationReason().isEmpty()) {
2975  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
2976  invalidationReason(),
2977  invalidationMessage()
2978  ));
2979  }
2980 
2981  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
2982  this->staticInterfaceName(), QLatin1String("GetHandleOwners"));
2983  callMessage << QVariant::fromValue(handles);
2984  return this->connection().asyncCall(callMessage, timeout);
2985  }
2986 
2998  inline QDBusPendingReply<Tp::UIntList> GetLocalPendingMembers(int timeout = -1)
2999  {
3000  if (!invalidationReason().isEmpty()) {
3001  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
3002  invalidationReason(),
3003  invalidationMessage()
3004  ));
3005  }
3006 
3007  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3008  this->staticInterfaceName(), QLatin1String("GetLocalPendingMembers"));
3009  return this->connection().asyncCall(callMessage, timeout);
3010  }
3011 
3030  inline QDBusPendingReply<Tp::LocalPendingInfoList> GetLocalPendingMembersWithInfo(int timeout = -1)
3031  {
3032  if (!invalidationReason().isEmpty()) {
3033  return QDBusPendingReply<Tp::LocalPendingInfoList>(QDBusMessage::createError(
3034  invalidationReason(),
3035  invalidationMessage()
3036  ));
3037  }
3038 
3039  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3040  this->staticInterfaceName(), QLatin1String("GetLocalPendingMembersWithInfo"));
3041  return this->connection().asyncCall(callMessage, timeout);
3042  }
3043 
3054  inline QDBusPendingReply<Tp::UIntList> GetMembers(int timeout = -1)
3055  {
3056  if (!invalidationReason().isEmpty()) {
3057  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
3058  invalidationReason(),
3059  invalidationMessage()
3060  ));
3061  }
3062 
3063  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3064  this->staticInterfaceName(), QLatin1String("GetMembers"));
3065  return this->connection().asyncCall(callMessage, timeout);
3066  }
3067 
3079  inline QDBusPendingReply<Tp::UIntList> GetRemotePendingMembers(int timeout = -1)
3080  {
3081  if (!invalidationReason().isEmpty()) {
3082  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
3083  invalidationReason(),
3084  invalidationMessage()
3085  ));
3086  }
3087 
3088  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3089  this->staticInterfaceName(), QLatin1String("GetRemotePendingMembers"));
3090  return this->connection().asyncCall(callMessage, timeout);
3091  }
3092 
3103  inline QDBusPendingReply<uint> GetSelfHandle(int timeout = -1)
3104  {
3105  if (!invalidationReason().isEmpty()) {
3106  return QDBusPendingReply<uint>(QDBusMessage::createError(
3107  invalidationReason(),
3108  invalidationMessage()
3109  ));
3110  }
3111 
3112  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3113  this->staticInterfaceName(), QLatin1String("GetSelfHandle"));
3114  return this->connection().asyncCall(callMessage, timeout);
3115  }
3116 
3172  inline QDBusPendingReply<> RemoveMembers(const Tp::UIntList& contacts, const QString& message, int timeout = -1)
3173  {
3174  if (!invalidationReason().isEmpty()) {
3175  return QDBusPendingReply<>(QDBusMessage::createError(
3176  invalidationReason(),
3177  invalidationMessage()
3178  ));
3179  }
3180 
3181  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3182  this->staticInterfaceName(), QLatin1String("RemoveMembers"));
3183  callMessage << QVariant::fromValue(contacts) << QVariant::fromValue(message);
3184  return this->connection().asyncCall(callMessage, timeout);
3185  }
3186 
3211  inline QDBusPendingReply<> RemoveMembersWithReason(const Tp::UIntList& contacts, const QString& message, uint reason, int timeout = -1)
3212  {
3213  if (!invalidationReason().isEmpty()) {
3214  return QDBusPendingReply<>(QDBusMessage::createError(
3215  invalidationReason(),
3216  invalidationMessage()
3217  ));
3218  }
3219 
3220  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3221  this->staticInterfaceName(), QLatin1String("RemoveMembersWithReason"));
3222  callMessage << QVariant::fromValue(contacts) << QVariant::fromValue(message) << QVariant::fromValue(reason);
3223  return this->connection().asyncCall(callMessage, timeout);
3224  }
3225 
3226 Q_SIGNALS:
3245  void HandleOwnersChanged(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed);
3246 
3275  void HandleOwnersChangedDetailed(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed, const Tp::HandleIdentifierMap& identifiers);
3276 
3286  void SelfHandleChanged(uint selfHandle);
3287 
3303  void SelfContactChanged(uint selfHandle, const QString& selfID);
3304 
3319  void GroupFlagsChanged(uint added, uint removed);
3320 
3374  void MembersChanged(const QString& message, const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, uint actor, uint reason);
3375 
3484  void MembersChangedDetailed(const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, const QVariantMap& details);
3485 
3486 protected:
3487  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3488 };
3489 
3498 {
3499  Q_OBJECT
3500 
3501 public:
3508  static inline QLatin1String staticInterfaceName()
3509  {
3510  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Hold");
3511  }
3512 
3521  const QString& busName,
3522  const QString& objectPath,
3523  QObject* parent = 0
3524  );
3525 
3535  const QDBusConnection& connection,
3536  const QString& busName,
3537  const QString& objectPath,
3538  QObject* parent = 0
3539  );
3540 
3548 
3556  explicit ChannelInterfaceHoldInterface(const Tp::Client::ChannelInterface& mainInterface);
3557 
3565  ChannelInterfaceHoldInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
3566 
3574  {
3575  return internalRequestAllProperties();
3576  }
3577 
3578 public Q_SLOTS:
3597  inline QDBusPendingReply<uint, uint> GetHoldState(int timeout = -1)
3598  {
3599  if (!invalidationReason().isEmpty()) {
3600  return QDBusPendingReply<uint, uint>(QDBusMessage::createError(
3601  invalidationReason(),
3602  invalidationMessage()
3603  ));
3604  }
3605 
3606  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3607  this->staticInterfaceName(), QLatin1String("GetHoldState"));
3608  return this->connection().asyncCall(callMessage, timeout);
3609  }
3610 
3674  inline QDBusPendingReply<> RequestHold(bool hold, int timeout = -1)
3675  {
3676  if (!invalidationReason().isEmpty()) {
3677  return QDBusPendingReply<>(QDBusMessage::createError(
3678  invalidationReason(),
3679  invalidationMessage()
3680  ));
3681  }
3682 
3683  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3684  this->staticInterfaceName(), QLatin1String("RequestHold"));
3685  callMessage << QVariant::fromValue(hold);
3686  return this->connection().asyncCall(callMessage, timeout);
3687  }
3688 
3689 Q_SIGNALS:
3706  void HoldStateChanged(uint holdState, uint reason);
3707 
3708 protected:
3709  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3710 };
3711 
3720 {
3721  Q_OBJECT
3722 
3723 public:
3730  static inline QLatin1String staticInterfaceName()
3731  {
3732  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.MediaSignalling");
3733  }
3734 
3743  const QString& busName,
3744  const QString& objectPath,
3745  QObject* parent = 0
3746  );
3747 
3757  const QDBusConnection& connection,
3758  const QString& busName,
3759  const QString& objectPath,
3760  QObject* parent = 0
3761  );
3762 
3770 
3779 
3787  ChannelInterfaceMediaSignallingInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
3788 
3796  {
3797  return internalRequestAllProperties();
3798  }
3799 
3800 public Q_SLOTS:
3812  inline QDBusPendingReply<Tp::MediaSessionHandlerInfoList> GetSessionHandlers(int timeout = -1)
3813  {
3814  if (!invalidationReason().isEmpty()) {
3815  return QDBusPendingReply<Tp::MediaSessionHandlerInfoList>(QDBusMessage::createError(
3816  invalidationReason(),
3817  invalidationMessage()
3818  ));
3819  }
3820 
3821  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
3822  this->staticInterfaceName(), QLatin1String("GetSessionHandlers"));
3823  return this->connection().asyncCall(callMessage, timeout);
3824  }
3825 
3826 Q_SIGNALS:
3842  void NewSessionHandler(const QDBusObjectPath& sessionHandler, const QString& sessionType);
3843 
3844 protected:
3845  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
3846 };
3847 
3856 {
3857  Q_OBJECT
3858 
3859 public:
3866  static inline QLatin1String staticInterfaceName()
3867  {
3868  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Messages");
3869  }
3870 
3879  const QString& busName,
3880  const QString& objectPath,
3881  QObject* parent = 0
3882  );
3883 
3893  const QDBusConnection& connection,
3894  const QString& busName,
3895  const QString& objectPath,
3896  QObject* parent = 0
3897  );
3898 
3906 
3914  explicit ChannelInterfaceMessagesInterface(const Tp::Client::ChannelInterface& mainInterface);
3915 
3923  ChannelInterfaceMessagesInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
3924 
3979  {
3980  return internalRequestProperty(QLatin1String("SupportedContentTypes"));
3981  }
3982 
3995  {
3996  return internalRequestProperty(QLatin1String("MessageTypes"));
3997  }
3998 
4009  {
4010  return internalRequestProperty(QLatin1String("MessagePartSupportFlags"));
4011  }
4012 
4034  {
4035  return internalRequestProperty(QLatin1String("PendingMessages"));
4036  }
4037 
4048  {
4049  return internalRequestProperty(QLatin1String("DeliveryReportingSupport"));
4050  }
4051 
4059  {
4060  return internalRequestAllProperties();
4061  }
4062 
4063 public Q_SLOTS:
4126  inline QDBusPendingReply<QString> SendMessage(const Tp::MessagePartList& message, uint flags, int timeout = -1)
4127  {
4128  if (!invalidationReason().isEmpty()) {
4129  return QDBusPendingReply<QString>(QDBusMessage::createError(
4130  invalidationReason(),
4131  invalidationMessage()
4132  ));
4133  }
4134 
4135  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4136  this->staticInterfaceName(), QLatin1String("SendMessage"));
4137  callMessage << QVariant::fromValue(message) << QVariant::fromValue(flags);
4138  return this->connection().asyncCall(callMessage, timeout);
4139  }
4140 
4181  inline QDBusPendingReply<Tp::MessagePartContentMap> GetPendingMessageContent(uint messageID, const Tp::UIntList& parts, int timeout = -1)
4182  {
4183  if (!invalidationReason().isEmpty()) {
4184  return QDBusPendingReply<Tp::MessagePartContentMap>(QDBusMessage::createError(
4185  invalidationReason(),
4186  invalidationMessage()
4187  ));
4188  }
4189 
4190  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4191  this->staticInterfaceName(), QLatin1String("GetPendingMessageContent"));
4192  callMessage << QVariant::fromValue(messageID) << QVariant::fromValue(parts);
4193  return this->connection().asyncCall(callMessage, timeout);
4194  }
4195 
4196 Q_SIGNALS:
4256  void MessageSent(const Tp::MessagePartList& content, uint flags, const QString& messageToken);
4257 
4271  void PendingMessagesRemoved(const Tp::UIntList& messageIDs);
4272 
4293  void MessageReceived(const Tp::MessagePartList& message);
4294 
4295 protected:
4296  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
4297 };
4298 
4307 {
4308  Q_OBJECT
4309 
4310 public:
4317  static inline QLatin1String staticInterfaceName()
4318  {
4319  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Password");
4320  }
4321 
4330  const QString& busName,
4331  const QString& objectPath,
4332  QObject* parent = 0
4333  );
4334 
4344  const QDBusConnection& connection,
4345  const QString& busName,
4346  const QString& objectPath,
4347  QObject* parent = 0
4348  );
4349 
4357 
4365  explicit ChannelInterfacePasswordInterface(const Tp::Client::ChannelInterface& mainInterface);
4366 
4374  ChannelInterfacePasswordInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
4375 
4383  {
4384  return internalRequestAllProperties();
4385  }
4386 
4387 public Q_SLOTS:
4405  inline QDBusPendingReply<uint> GetPasswordFlags(int timeout = -1)
4406  {
4407  if (!invalidationReason().isEmpty()) {
4408  return QDBusPendingReply<uint>(QDBusMessage::createError(
4409  invalidationReason(),
4410  invalidationMessage()
4411  ));
4412  }
4413 
4414  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4415  this->staticInterfaceName(), QLatin1String("GetPasswordFlags"));
4416  return this->connection().asyncCall(callMessage, timeout);
4417  }
4418 
4439  inline QDBusPendingReply<bool> ProvidePassword(const QString& password, int timeout = -1)
4440  {
4441  if (!invalidationReason().isEmpty()) {
4442  return QDBusPendingReply<bool>(QDBusMessage::createError(
4443  invalidationReason(),
4444  invalidationMessage()
4445  ));
4446  }
4447 
4448  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4449  this->staticInterfaceName(), QLatin1String("ProvidePassword"));
4450  callMessage << QVariant::fromValue(password);
4451  return this->connection().asyncCall(callMessage, timeout);
4452  }
4453 
4454 Q_SIGNALS:
4469  void PasswordFlagsChanged(uint added, uint removed);
4470 
4471 protected:
4472  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
4473 };
4474 
4483 {
4484  Q_OBJECT
4485 
4486 public:
4493  static inline QLatin1String staticInterfaceName()
4494  {
4495  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.RoomConfig1");
4496  }
4497 
4506  const QString& busName,
4507  const QString& objectPath,
4508  QObject* parent = 0
4509  );
4510 
4520  const QDBusConnection& connection,
4521  const QString& busName,
4522  const QString& objectPath,
4523  QObject* parent = 0
4524  );
4525 
4533 
4542 
4550  ChannelInterfaceRoomConfigInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
4551 
4563  {
4564  return internalRequestProperty(QLatin1String("Anonymous"));
4565  }
4566 
4577  {
4578  return internalRequestProperty(QLatin1String("InviteOnly"));
4579  }
4580 
4591  {
4592  return internalRequestProperty(QLatin1String("Limit"));
4593  }
4594 
4605  {
4606  return internalRequestProperty(QLatin1String("Moderated"));
4607  }
4608 
4639  {
4640  return internalRequestProperty(QLatin1String("Title"));
4641  }
4642 
4654  {
4655  return internalRequestProperty(QLatin1String("Description"));
4656  }
4657 
4671  {
4672  return internalRequestProperty(QLatin1String("Persistent"));
4673  }
4674 
4687  {
4688  return internalRequestProperty(QLatin1String("Private"));
4689  }
4690 
4707  {
4708  return internalRequestProperty(QLatin1String("PasswordProtected"));
4709  }
4710 
4733  {
4734  return internalRequestProperty(QLatin1String("Password"));
4735  }
4736 
4760  {
4761  return internalRequestProperty(QLatin1String("PasswordHint"));
4762  }
4763 
4779  {
4780  return internalRequestProperty(QLatin1String("CanUpdateConfiguration"));
4781  }
4782 
4806  {
4807  return internalRequestProperty(QLatin1String("MutableProperties"));
4808  }
4809 
4835  {
4836  return internalRequestProperty(QLatin1String("ConfigurationRetrieved"));
4837  }
4838 
4846  {
4847  return internalRequestAllProperties();
4848  }
4849 
4850 public Q_SLOTS:
4893  inline QDBusPendingReply<> UpdateConfiguration(const QVariantMap& properties, int timeout = -1)
4894  {
4895  if (!invalidationReason().isEmpty()) {
4896  return QDBusPendingReply<>(QDBusMessage::createError(
4897  invalidationReason(),
4898  invalidationMessage()
4899  ));
4900  }
4901 
4902  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
4903  this->staticInterfaceName(), QLatin1String("UpdateConfiguration"));
4904  callMessage << QVariant::fromValue(properties);
4905  return this->connection().asyncCall(callMessage, timeout);
4906  }
4907 
4908 protected:
4909  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
4910 };
4911 
4920 {
4921  Q_OBJECT
4922 
4923 public:
4930  static inline QLatin1String staticInterfaceName()
4931  {
4932  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Room2");
4933  }
4934 
4943  const QString& busName,
4944  const QString& objectPath,
4945  QObject* parent = 0
4946  );
4947 
4957  const QDBusConnection& connection,
4958  const QString& busName,
4959  const QString& objectPath,
4960  QObject* parent = 0
4961  );
4962 
4970 
4978  explicit ChannelInterfaceRoomInterface(const Tp::Client::ChannelInterface& mainInterface);
4979 
4987  ChannelInterfaceRoomInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
4988 
5015  {
5016  return internalRequestProperty(QLatin1String("RoomName"));
5017  }
5018 
5040  {
5041  return internalRequestProperty(QLatin1String("Server"));
5042  }
5043 
5057  {
5058  return internalRequestProperty(QLatin1String("Creator"));
5059  }
5060 
5074  {
5075  return internalRequestProperty(QLatin1String("CreatorHandle"));
5076  }
5077 
5091  {
5092  return internalRequestProperty(QLatin1String("CreationTimestamp"));
5093  }
5094 
5102  {
5103  return internalRequestAllProperties();
5104  }
5105 
5106 protected:
5107  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
5108 };
5109 
5118 {
5119  Q_OBJECT
5120 
5121 public:
5128  static inline QLatin1String staticInterfaceName()
5129  {
5130  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication");
5131  }
5132 
5141  const QString& busName,
5142  const QString& objectPath,
5143  QObject* parent = 0
5144  );
5145 
5155  const QDBusConnection& connection,
5156  const QString& busName,
5157  const QString& objectPath,
5158  QObject* parent = 0
5159  );
5160 
5168 
5177 
5185  ChannelInterfaceSASLAuthenticationInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
5186 
5210  {
5211  return internalRequestProperty(QLatin1String("AvailableMechanisms"));
5212  }
5213 
5236  {
5237  return internalRequestProperty(QLatin1String("HasInitialData"));
5238  }
5239 
5261  {
5262  return internalRequestProperty(QLatin1String("CanTryAgain"));
5263  }
5264 
5279  {
5280  return internalRequestProperty(QLatin1String("SASLStatus"));
5281  }
5282 
5312  {
5313  return internalRequestProperty(QLatin1String("SASLError"));
5314  }
5315 
5338  {
5339  return internalRequestProperty(QLatin1String("SASLErrorDetails"));
5340  }
5341 
5407  {
5408  return internalRequestProperty(QLatin1String("AuthorizationIdentity"));
5409  }
5410 
5473  {
5474  return internalRequestProperty(QLatin1String("DefaultUsername"));
5475  }
5476 
5505  {
5506  return internalRequestProperty(QLatin1String("DefaultRealm"));
5507  }
5508 
5531  {
5532  return internalRequestProperty(QLatin1String("MaySaveResponse"));
5533  }
5534 
5542  {
5543  return internalRequestAllProperties();
5544  }
5545 
5546 public Q_SLOTS:
5573  inline QDBusPendingReply<> StartMechanism(const QString& mechanism, int timeout = -1)
5574  {
5575  if (!invalidationReason().isEmpty()) {
5576  return QDBusPendingReply<>(QDBusMessage::createError(
5577  invalidationReason(),
5578  invalidationMessage()
5579  ));
5580  }
5581 
5582  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5583  this->staticInterfaceName(), QLatin1String("StartMechanism"));
5584  callMessage << QVariant::fromValue(mechanism);
5585  return this->connection().asyncCall(callMessage, timeout);
5586  }
5587 
5642  inline QDBusPendingReply<> StartMechanismWithData(const QString& mechanism, const QByteArray& initialData, int timeout = -1)
5643  {
5644  if (!invalidationReason().isEmpty()) {
5645  return QDBusPendingReply<>(QDBusMessage::createError(
5646  invalidationReason(),
5647  invalidationMessage()
5648  ));
5649  }
5650 
5651  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5652  this->staticInterfaceName(), QLatin1String("StartMechanismWithData"));
5653  callMessage << QVariant::fromValue(mechanism) << QVariant::fromValue(initialData);
5654  return this->connection().asyncCall(callMessage, timeout);
5655  }
5656 
5674  inline QDBusPendingReply<> Respond(const QByteArray& responseData, int timeout = -1)
5675  {
5676  if (!invalidationReason().isEmpty()) {
5677  return QDBusPendingReply<>(QDBusMessage::createError(
5678  invalidationReason(),
5679  invalidationMessage()
5680  ));
5681  }
5682 
5683  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5684  this->staticInterfaceName(), QLatin1String("Respond"));
5685  callMessage << QVariant::fromValue(responseData);
5686  return this->connection().asyncCall(callMessage, timeout);
5687  }
5688 
5717  inline QDBusPendingReply<> AcceptSASL(int timeout = -1)
5718  {
5719  if (!invalidationReason().isEmpty()) {
5720  return QDBusPendingReply<>(QDBusMessage::createError(
5721  invalidationReason(),
5722  invalidationMessage()
5723  ));
5724  }
5725 
5726  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5727  this->staticInterfaceName(), QLatin1String("AcceptSASL"));
5728  return this->connection().asyncCall(callMessage, timeout);
5729  }
5730 
5759  inline QDBusPendingReply<> AbortSASL(uint reason, const QString& debugMessage, int timeout = -1)
5760  {
5761  if (!invalidationReason().isEmpty()) {
5762  return QDBusPendingReply<>(QDBusMessage::createError(
5763  invalidationReason(),
5764  invalidationMessage()
5765  ));
5766  }
5767 
5768  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
5769  this->staticInterfaceName(), QLatin1String("AbortSASL"));
5770  callMessage << QVariant::fromValue(reason) << QVariant::fromValue(debugMessage);
5771  return this->connection().asyncCall(callMessage, timeout);
5772  }
5773 
5774 Q_SIGNALS:
5792  void SASLStatusChanged(uint status, const QString& reason, const QVariantMap& details);
5793 
5813  void NewChallenge(const QByteArray& challengeData);
5814 
5815 protected:
5816  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
5817 };
5818 
5827 {
5828  Q_OBJECT
5829 
5830 public:
5837  static inline QLatin1String staticInterfaceName()
5838  {
5839  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.SMS");
5840  }
5841 
5850  const QString& busName,
5851  const QString& objectPath,
5852  QObject* parent = 0
5853  );
5854 
5864  const QDBusConnection& connection,
5865  const QString& busName,
5866  const QString& objectPath,
5867  QObject* parent = 0
5868  );
5869 
5877 
5885  explicit ChannelInterfaceSMSInterface(const Tp::Client::ChannelInterface& mainInterface);
5886 
5894  ChannelInterfaceSMSInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
5895 
5936  {
5937  return internalRequestProperty(QLatin1String("Flash"));
5938  }
5939 
6003  {
6004  return internalRequestProperty(QLatin1String("SMSChannel"));
6005  }
6006 
6014  {
6015  return internalRequestAllProperties();
6016  }
6017 
6018 public Q_SLOTS:
6083  inline QDBusPendingReply<uint, int, int> GetSMSLength(const Tp::MessagePartList& message, int timeout = -1)
6084  {
6085  if (!invalidationReason().isEmpty()) {
6086  return QDBusPendingReply<uint, int, int>(QDBusMessage::createError(
6087  invalidationReason(),
6088  invalidationMessage()
6089  ));
6090  }
6091 
6092  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6093  this->staticInterfaceName(), QLatin1String("GetSMSLength"));
6094  callMessage << QVariant::fromValue(message);
6095  return this->connection().asyncCall(callMessage, timeout);
6096  }
6097 
6098 Q_SIGNALS:
6108  void SMSChannelChanged(bool SMSChannel);
6109 
6110 protected:
6111  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6112 };
6113 
6122 {
6123  Q_OBJECT
6124 
6125 public:
6132  static inline QLatin1String staticInterfaceName()
6133  {
6134  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Securable");
6135  }
6136 
6145  const QString& busName,
6146  const QString& objectPath,
6147  QObject* parent = 0
6148  );
6149 
6159  const QDBusConnection& connection,
6160  const QString& busName,
6161  const QString& objectPath,
6162  QObject* parent = 0
6163  );
6164 
6172 
6181 
6189  ChannelInterfaceSecurableInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
6190 
6213  {
6214  return internalRequestProperty(QLatin1String("Encrypted"));
6215  }
6216 
6234  {
6235  return internalRequestProperty(QLatin1String("Verified"));
6236  }
6237 
6245  {
6246  return internalRequestAllProperties();
6247  }
6248 
6249 protected:
6250  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6251 };
6252 
6261 {
6262  Q_OBJECT
6263 
6264 public:
6271  static inline QLatin1String staticInterfaceName()
6272  {
6273  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.ServicePoint");
6274  }
6275 
6284  const QString& busName,
6285  const QString& objectPath,
6286  QObject* parent = 0
6287  );
6288 
6298  const QDBusConnection& connection,
6299  const QString& busName,
6300  const QString& objectPath,
6301  QObject* parent = 0
6302  );
6303 
6311 
6320 
6328  ChannelInterfaceServicePointInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
6329 
6350  {
6351  return internalRequestProperty(QLatin1String("InitialServicePoint"));
6352  }
6353 
6367  {
6368  return internalRequestProperty(QLatin1String("CurrentServicePoint"));
6369  }
6370 
6378  {
6379  return internalRequestAllProperties();
6380  }
6381 
6382 Q_SIGNALS:
6399  void ServicePointChanged(const Tp::ServicePoint& servicePoint);
6400 
6401 protected:
6402  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6403 };
6404 
6413 {
6414  Q_OBJECT
6415 
6416 public:
6423  static inline QLatin1String staticInterfaceName()
6424  {
6425  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Subject2");
6426  }
6427 
6436  const QString& busName,
6437  const QString& objectPath,
6438  QObject* parent = 0
6439  );
6440 
6450  const QDBusConnection& connection,
6451  const QString& busName,
6452  const QString& objectPath,
6453  QObject* parent = 0
6454  );
6455 
6463 
6471  explicit ChannelInterfaceSubjectInterface(const Tp::Client::ChannelInterface& mainInterface);
6472 
6480  ChannelInterfaceSubjectInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
6481 
6502  {
6503  return internalRequestProperty(QLatin1String("Subject"));
6504  }
6505 
6523  {
6524  return internalRequestProperty(QLatin1String("Actor"));
6525  }
6526 
6540  {
6541  return internalRequestProperty(QLatin1String("ActorHandle"));
6542  }
6543 
6561  {
6562  return internalRequestProperty(QLatin1String("Timestamp"));
6563  }
6564 
6590  {
6591  return internalRequestProperty(QLatin1String("CanSet"));
6592  }
6593 
6601  {
6602  return internalRequestAllProperties();
6603  }
6604 
6605 public Q_SLOTS:
6629  inline QDBusPendingReply<> SetSubject(const QString& subject, int timeout = -1)
6630  {
6631  if (!invalidationReason().isEmpty()) {
6632  return QDBusPendingReply<>(QDBusMessage::createError(
6633  invalidationReason(),
6634  invalidationMessage()
6635  ));
6636  }
6637 
6638  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
6639  this->staticInterfaceName(), QLatin1String("SetSubject"));
6640  callMessage << QVariant::fromValue(subject);
6641  return this->connection().asyncCall(callMessage, timeout);
6642  }
6643 
6644 protected:
6645  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6646 };
6647 
6656 {
6657  Q_OBJECT
6658 
6659 public:
6666  static inline QLatin1String staticInterfaceName()
6667  {
6668  return QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Tube");
6669  }
6670 
6679  const QString& busName,
6680  const QString& objectPath,
6681  QObject* parent = 0
6682  );
6683 
6693  const QDBusConnection& connection,
6694  const QString& busName,
6695  const QString& objectPath,
6696  QObject* parent = 0
6697  );
6698 
6706 
6714  explicit ChannelInterfaceTubeInterface(const Tp::Client::ChannelInterface& mainInterface);
6715 
6723  ChannelInterfaceTubeInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
6724 
6771  {
6772  return internalRequestProperty(QLatin1String("Parameters"));
6773  }
6774 
6791  {
6792  return internalRequestProperty(QLatin1String("State"));
6793  }
6794 
6802  {
6803  return internalRequestAllProperties();
6804  }
6805 
6806 Q_SIGNALS:
6817  void TubeChannelStateChanged(uint state);
6818 
6819 protected:
6820  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
6821 };
6822 
6831 {
6832  Q_OBJECT
6833 
6834 public:
6841  static inline QLatin1String staticInterfaceName()
6842  {
6843  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.Call1");
6844  }
6845 
6854  const QString& busName,
6855  const QString& objectPath,
6856  QObject* parent = 0
6857  );
6858 
6868  const QDBusConnection& connection,
6869  const QString& busName,
6870  const QString& objectPath,
6871  QObject* parent = 0
6872  );
6873 
6881 
6889  explicit ChannelTypeCallInterface(const Tp::Client::ChannelInterface& mainInterface);
6890 
6898  ChannelTypeCallInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
6899 
6916  {
6917  return internalRequestProperty(QLatin1String("Contents"));
6918  }
6919 
6984  {
6985  return internalRequestProperty(QLatin1String("CallStateDetails"));
6986  }
6987 
7013  {
7014  return internalRequestProperty(QLatin1String("CallState"));
7015  }
7016 
7037  {
7038  return internalRequestProperty(QLatin1String("CallFlags"));
7039  }
7040 
7057  {
7058  return internalRequestProperty(QLatin1String("CallStateReason"));
7059  }
7060 
7095  {
7096  return internalRequestProperty(QLatin1String("HardwareStreaming"));
7097  }
7098 
7125  {
7126  return internalRequestProperty(QLatin1String("CallMembers"));
7127  }
7128 
7141  {
7142  return internalRequestProperty(QLatin1String("MemberIdentifiers"));
7143  }
7144 
7167  {
7168  return internalRequestProperty(QLatin1String("InitialTransport"));
7169  }
7170 
7241  {
7242  return internalRequestProperty(QLatin1String("InitialAudio"));
7243  }
7244 
7266  {
7267  return internalRequestProperty(QLatin1String("InitialVideo"));
7268  }
7269 
7298  {
7299  return internalRequestProperty(QLatin1String("InitialAudioName"));
7300  }
7301 
7318  {
7319  return internalRequestProperty(QLatin1String("InitialVideoName"));
7320  }
7321 
7354  {
7355  return internalRequestProperty(QLatin1String("MutableContents"));
7356  }
7357 
7365  {
7366  return internalRequestAllProperties();
7367  }
7368 
7369 public Q_SLOTS:
7398  inline QDBusPendingReply<> SetRinging(int timeout = -1)
7399  {
7400  if (!invalidationReason().isEmpty()) {
7401  return QDBusPendingReply<>(QDBusMessage::createError(
7402  invalidationReason(),
7403  invalidationMessage()
7404  ));
7405  }
7406 
7407  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7408  this->staticInterfaceName(), QLatin1String("SetRinging"));
7409  return this->connection().asyncCall(callMessage, timeout);
7410  }
7411 
7442  inline QDBusPendingReply<> SetQueued(int timeout = -1)
7443  {
7444  if (!invalidationReason().isEmpty()) {
7445  return QDBusPendingReply<>(QDBusMessage::createError(
7446  invalidationReason(),
7447  invalidationMessage()
7448  ));
7449  }
7450 
7451  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7452  this->staticInterfaceName(), QLatin1String("SetQueued"));
7453  return this->connection().asyncCall(callMessage, timeout);
7454  }
7455 
7490  inline QDBusPendingReply<> Accept(int timeout = -1)
7491  {
7492  if (!invalidationReason().isEmpty()) {
7493  return QDBusPendingReply<>(QDBusMessage::createError(
7494  invalidationReason(),
7495  invalidationMessage()
7496  ));
7497  }
7498 
7499  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7500  this->staticInterfaceName(), QLatin1String("Accept"));
7501  return this->connection().asyncCall(callMessage, timeout);
7502  }
7503 
7529  inline QDBusPendingReply<> Hangup(uint reason, const QString& detailedHangupReason, const QString& message, int timeout = -1)
7530  {
7531  if (!invalidationReason().isEmpty()) {
7532  return QDBusPendingReply<>(QDBusMessage::createError(
7533  invalidationReason(),
7534  invalidationMessage()
7535  ));
7536  }
7537 
7538  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7539  this->staticInterfaceName(), QLatin1String("Hangup"));
7540  callMessage << QVariant::fromValue(reason) << QVariant::fromValue(detailedHangupReason) << QVariant::fromValue(message);
7541  return this->connection().asyncCall(callMessage, timeout);
7542  }
7543 
7582  inline QDBusPendingReply<QDBusObjectPath> AddContent(const QString& contentName, uint contentType, uint initialDirection, int timeout = -1)
7583  {
7584  if (!invalidationReason().isEmpty()) {
7585  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
7586  invalidationReason(),
7587  invalidationMessage()
7588  ));
7589  }
7590 
7591  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7592  this->staticInterfaceName(), QLatin1String("AddContent"));
7593  callMessage << QVariant::fromValue(contentName) << QVariant::fromValue(contentType) << QVariant::fromValue(initialDirection);
7594  return this->connection().asyncCall(callMessage, timeout);
7595  }
7596 
7597 Q_SIGNALS:
7609  void ContentAdded(const QDBusObjectPath& content);
7610 
7626  void ContentRemoved(const QDBusObjectPath& content, const Tp::CallStateReason& reason);
7627 
7655  void CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason& callStateReason, const QVariantMap& callStateDetails);
7656 
7685  void CallMembersChanged(const Tp::CallMemberMap& flagsChanged, const Tp::HandleIdentifierMap& identifiers, const Tp::UIntList& removed, const Tp::CallStateReason& reason);
7686 
7687 protected:
7688  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7689 };
7690 
7699 {
7700  Q_OBJECT
7701 
7702 public:
7709  static inline QLatin1String staticInterfaceName()
7710  {
7711  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.ContactList");
7712  }
7713 
7722  const QString& busName,
7723  const QString& objectPath,
7724  QObject* parent = 0
7725  );
7726 
7736  const QDBusConnection& connection,
7737  const QString& busName,
7738  const QString& objectPath,
7739  QObject* parent = 0
7740  );
7741 
7749 
7757  explicit ChannelTypeContactListInterface(const Tp::Client::ChannelInterface& mainInterface);
7758 
7766  ChannelTypeContactListInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
7767 
7775  {
7776  return internalRequestAllProperties();
7777  }
7778 
7779 protected:
7780  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
7781 };
7782 
7791 {
7792  Q_OBJECT
7793 
7794 public:
7801  static inline QLatin1String staticInterfaceName()
7802  {
7803  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.ContactSearch");
7804  }
7805 
7814  const QString& busName,
7815  const QString& objectPath,
7816  QObject* parent = 0
7817  );
7818 
7828  const QDBusConnection& connection,
7829  const QString& busName,
7830  const QString& objectPath,
7831  QObject* parent = 0
7832  );
7833 
7841 
7849  explicit ChannelTypeContactSearchInterface(const Tp::Client::ChannelInterface& mainInterface);
7850 
7858  ChannelTypeContactSearchInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
7859 
7871  {
7872  return internalRequestProperty(QLatin1String("SearchState"));
7873  }
7874 
7901  {
7902  return internalRequestProperty(QLatin1String("Limit"));
7903  }
7904 
7920  {
7921  return internalRequestProperty(QLatin1String("AvailableSearchKeys"));
7922  }
7923 
7945  {
7946  return internalRequestProperty(QLatin1String("Server"));
7947  }
7948 
7956  {
7957  return internalRequestAllProperties();
7958  }
7959 
7960 public Q_SLOTS:
7978  inline QDBusPendingReply<> Search(const Tp::ContactSearchMap& terms, int timeout = -1)
7979  {
7980  if (!invalidationReason().isEmpty()) {
7981  return QDBusPendingReply<>(QDBusMessage::createError(
7982  invalidationReason(),
7983  invalidationMessage()
7984  ));
7985  }
7986 
7987  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
7988  this->staticInterfaceName(), QLatin1String("Search"));
7989  callMessage << QVariant::fromValue(terms);
7990  return this->connection().asyncCall(callMessage, timeout);
7991  }
7992 
8007  inline QDBusPendingReply<> More(int timeout = -1)
8008  {
8009  if (!invalidationReason().isEmpty()) {
8010  return QDBusPendingReply<>(QDBusMessage::createError(
8011  invalidationReason(),
8012  invalidationMessage()
8013  ));
8014  }
8015 
8016  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8017  this->staticInterfaceName(), QLatin1String("More"));
8018  return this->connection().asyncCall(callMessage, timeout);
8019  }
8020 
8053  inline QDBusPendingReply<> Stop(int timeout = -1)
8054  {
8055  if (!invalidationReason().isEmpty()) {
8056  return QDBusPendingReply<>(QDBusMessage::createError(
8057  invalidationReason(),
8058  invalidationMessage()
8059  ));
8060  }
8061 
8062  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8063  this->staticInterfaceName(), QLatin1String("Stop"));
8064  return this->connection().asyncCall(callMessage, timeout);
8065  }
8066 
8067 Q_SIGNALS:
8117  void SearchStateChanged(uint state, const QString& error, const QVariantMap& details);
8118 
8131  void SearchResultReceived(const Tp::ContactSearchResultMap& result);
8132 
8133 protected:
8134  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
8135 };
8136 
8145 {
8146  Q_OBJECT
8147 
8148 public:
8155  static inline QLatin1String staticInterfaceName()
8156  {
8157  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.DBusTube");
8158  }
8159 
8168  const QString& busName,
8169  const QString& objectPath,
8170  QObject* parent = 0
8171  );
8172 
8182  const QDBusConnection& connection,
8183  const QString& busName,
8184  const QString& objectPath,
8185  QObject* parent = 0
8186  );
8187 
8195 
8203  explicit ChannelTypeDBusTubeInterface(const Tp::Client::ChannelInterface& mainInterface);
8204 
8212  ChannelTypeDBusTubeInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
8213 
8233  {
8234  return internalRequestProperty(QLatin1String("ServiceName"));
8235  }
8236 
8250  {
8251  return internalRequestProperty(QLatin1String("DBusNames"));
8252  }
8253 
8282  {
8283  return internalRequestProperty(QLatin1String("SupportedAccessControls"));
8284  }
8285 
8293  {
8294  return internalRequestAllProperties();
8295  }
8296 
8297 public Q_SLOTS:
8322  inline QDBusPendingReply<QString> Offer(const QVariantMap& parameters, uint accesscontrol, int timeout = -1)
8323  {
8324  if (!invalidationReason().isEmpty()) {
8325  return QDBusPendingReply<QString>(QDBusMessage::createError(
8326  invalidationReason(),
8327  invalidationMessage()
8328  ));
8329  }
8330 
8331  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8332  this->staticInterfaceName(), QLatin1String("Offer"));
8333  callMessage << QVariant::fromValue(parameters) << QVariant::fromValue(accesscontrol);
8334  return this->connection().asyncCall(callMessage, timeout);
8335  }
8336 
8360  inline QDBusPendingReply<QString> Accept(uint accesscontrol, int timeout = -1)
8361  {
8362  if (!invalidationReason().isEmpty()) {
8363  return QDBusPendingReply<QString>(QDBusMessage::createError(
8364  invalidationReason(),
8365  invalidationMessage()
8366  ));
8367  }
8368 
8369  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8370  this->staticInterfaceName(), QLatin1String("Accept"));
8371  callMessage << QVariant::fromValue(accesscontrol);
8372  return this->connection().asyncCall(callMessage, timeout);
8373  }
8374 
8375 Q_SIGNALS:
8391  void DBusNamesChanged(const Tp::DBusTubeParticipants& added, const Tp::UIntList& removed);
8392 
8393 protected:
8394  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
8395 };
8396 
8405 {
8406  Q_OBJECT
8407 
8408 public:
8415  static inline QLatin1String staticInterfaceName()
8416  {
8417  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.FileTransfer");
8418  }
8419 
8428  const QString& busName,
8429  const QString& objectPath,
8430  QObject* parent = 0
8431  );
8432 
8442  const QDBusConnection& connection,
8443  const QString& busName,
8444  const QString& objectPath,
8445  QObject* parent = 0
8446  );
8447 
8455 
8463  explicit ChannelTypeFileTransferInterface(const Tp::Client::ChannelInterface& mainInterface);
8464 
8472  ChannelTypeFileTransferInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
8473 
8489  {
8490  return internalRequestProperty(QLatin1String("State"));
8491  }
8492 
8511  {
8512  return internalRequestProperty(QLatin1String("ContentType"));
8513  }
8514 
8537  {
8538  return internalRequestProperty(QLatin1String("Filename"));
8539  }
8540 
8565  {
8566  return internalRequestProperty(QLatin1String("Size"));
8567  }
8568 
8596  {
8597  return internalRequestProperty(QLatin1String("ContentHashType"));
8598  }
8599 
8621  {
8622  return internalRequestProperty(QLatin1String("ContentHash"));
8623  }
8624 
8643  {
8644  return internalRequestProperty(QLatin1String("Description"));
8645  }
8646 
8664  {
8665  return internalRequestProperty(QLatin1String("Date"));
8666  }
8667 
8697  {
8698  return internalRequestProperty(QLatin1String("AvailableSocketTypes"));
8699  }
8700 
8715  {
8716  return internalRequestProperty(QLatin1String("TransferredBytes"));
8717  }
8718 
8742  {
8743  return internalRequestProperty(QLatin1String("InitialOffset"));
8744  }
8745 
8782  {
8783  return internalRequestProperty(QLatin1String("URI"));
8784  }
8785 
8821  inline Tp::PendingOperation *setPropertyURI(QString newValue)
8822  {
8823  return internalSetProperty(QLatin1String("URI"), QVariant::fromValue(newValue));
8824  }
8825 
8859  {
8860  return internalRequestProperty(QLatin1String("FileCollection"));
8861  }
8862 
8870  {
8871  return internalRequestAllProperties();
8872  }
8873 
8874 public Q_SLOTS:
8919  inline QDBusPendingReply<QDBusVariant> AcceptFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, qulonglong offset, int timeout = -1)
8920  {
8921  if (!invalidationReason().isEmpty()) {
8922  return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
8923  invalidationReason(),
8924  invalidationMessage()
8925  ));
8926  }
8927 
8928  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8929  this->staticInterfaceName(), QLatin1String("AcceptFile"));
8930  callMessage << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam) << QVariant::fromValue(offset);
8931  return this->connection().asyncCall(callMessage, timeout);
8932  }
8933 
8967  inline QDBusPendingReply<QDBusVariant> ProvideFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, int timeout = -1)
8968  {
8969  if (!invalidationReason().isEmpty()) {
8970  return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
8971  invalidationReason(),
8972  invalidationMessage()
8973  ));
8974  }
8975 
8976  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
8977  this->staticInterfaceName(), QLatin1String("ProvideFile"));
8978  callMessage << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
8979  return this->connection().asyncCall(callMessage, timeout);
8980  }
8981 
8982 Q_SIGNALS:
9000  void FileTransferStateChanged(uint state, uint reason);
9001 
9014  void TransferredBytesChanged(qulonglong count);
9015 
9027  void InitialOffsetDefined(qulonglong initialOffset);
9028 
9040  void URIDefined(const QString& URI);
9041 
9042 protected:
9043  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
9044 };
9045 
9054 {
9055  Q_OBJECT
9056 
9057 public:
9064  static inline QLatin1String staticInterfaceName()
9065  {
9066  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.RoomList");
9067  }
9068 
9077  const QString& busName,
9078  const QString& objectPath,
9079  QObject* parent = 0
9080  );
9081 
9091  const QDBusConnection& connection,
9092  const QString& busName,
9093  const QString& objectPath,
9094  QObject* parent = 0
9095  );
9096 
9104 
9112  explicit ChannelTypeRoomListInterface(const Tp::Client::ChannelInterface& mainInterface);
9113 
9121  ChannelTypeRoomListInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
9122 
9137  {
9138  return internalRequestProperty(QLatin1String("Server"));
9139  }
9140 
9148  {
9149  return internalRequestAllProperties();
9150  }
9151 
9152 public Q_SLOTS:
9168  inline QDBusPendingReply<bool> GetListingRooms(int timeout = -1)
9169  {
9170  if (!invalidationReason().isEmpty()) {
9171  return QDBusPendingReply<bool>(QDBusMessage::createError(
9172  invalidationReason(),
9173  invalidationMessage()
9174  ));
9175  }
9176 
9177  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
9178  this->staticInterfaceName(), QLatin1String("GetListingRooms"));
9179  return this->connection().asyncCall(callMessage, timeout);
9180  }
9181 
9195  inline QDBusPendingReply<> ListRooms(int timeout = -1)
9196  {
9197  if (!invalidationReason().isEmpty()) {
9198  return QDBusPendingReply<>(QDBusMessage::createError(
9199  invalidationReason(),
9200  invalidationMessage()
9201  ));
9202  }
9203 
9204  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
9205  this->staticInterfaceName(), QLatin1String("ListRooms"));
9206  return this->connection().asyncCall(callMessage, timeout);
9207  }
9208 
9221  inline QDBusPendingReply<> StopListing(int timeout = -1)
9222  {
9223  if (!invalidationReason().isEmpty()) {
9224  return QDBusPendingReply<>(QDBusMessage::createError(
9225  invalidationReason(),
9226  invalidationMessage()
9227  ));
9228  }
9229 
9230  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
9231  this->staticInterfaceName(), QLatin1String("StopListing"));
9232  return this->connection().asyncCall(callMessage, timeout);
9233  }
9234 
9235 Q_SIGNALS:
9294  void GotRooms(const Tp::RoomInfoList& rooms);
9295 
9306  void ListingRooms(bool listing);
9307 
9308 protected:
9309  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
9310 };
9311 
9320 {
9321  Q_OBJECT
9322 
9323 public:
9330  static inline QLatin1String staticInterfaceName()
9331  {
9332  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.ServerAuthentication");
9333  }
9334 
9343  const QString& busName,
9344  const QString& objectPath,
9345  QObject* parent = 0
9346  );
9347 
9357  const QDBusConnection& connection,
9358  const QString& busName,
9359  const QString& objectPath,
9360  QObject* parent = 0
9361  );
9362 
9370 
9379 
9387  ChannelTypeServerAuthenticationInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
9388 
9406  {
9407  return internalRequestProperty(QLatin1String("AuthenticationMethod"));
9408  }
9409 
9417  {
9418  return internalRequestAllProperties();
9419  }
9420 
9421 protected:
9422  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
9423 };
9424 
9433 {
9434  Q_OBJECT
9435 
9436 public:
9443  static inline QLatin1String staticInterfaceName()
9444  {
9445  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection");
9446  }
9447 
9456  const QString& busName,
9457  const QString& objectPath,
9458  QObject* parent = 0
9459  );
9460 
9470  const QDBusConnection& connection,
9471  const QString& busName,
9472  const QString& objectPath,
9473  QObject* parent = 0
9474  );
9475 
9483 
9492 
9500  ChannelTypeServerTLSConnectionInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
9501 
9513  {
9514  return internalRequestProperty(QLatin1String("ServerCertificate"));
9515  }
9516 
9531  {
9532  return internalRequestProperty(QLatin1String("Hostname"));
9533  }
9534 
9562  {
9563  return internalRequestProperty(QLatin1String("ReferenceIdentities"));
9564  }
9565 
9573  {
9574  return internalRequestAllProperties();
9575  }
9576 
9577 protected:
9578  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
9579 };
9580 
9589 {
9590  Q_OBJECT
9591 
9592 public:
9599  static inline QLatin1String staticInterfaceName()
9600  {
9601  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.StreamTube");
9602  }
9603 
9612  const QString& busName,
9613  const QString& objectPath,
9614  QObject* parent = 0
9615  );
9616 
9626  const QDBusConnection& connection,
9627  const QString& busName,
9628  const QString& objectPath,
9629  QObject* parent = 0
9630  );
9631 
9639 
9647  explicit ChannelTypeStreamTubeInterface(const Tp::Client::ChannelInterface& mainInterface);
9648 
9656  ChannelTypeStreamTubeInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
9657 
9681  {
9682  return internalRequestProperty(QLatin1String("Service"));
9683  }
9684 
9720  {
9721  return internalRequestProperty(QLatin1String("SupportedSocketTypes"));
9722  }
9723 
9731  {
9732  return internalRequestAllProperties();
9733  }
9734 
9735 public Q_SLOTS:
9766  inline QDBusPendingReply<> Offer(uint addresstype, const QDBusVariant& address, uint accesscontrol, const QVariantMap& parameters, int timeout = -1)
9767  {
9768  if (!invalidationReason().isEmpty()) {
9769  return QDBusPendingReply<>(QDBusMessage::createError(
9770  invalidationReason(),
9771  invalidationMessage()
9772  ));
9773  }
9774 
9775  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
9776  this->staticInterfaceName(), QLatin1String("Offer"));
9777  callMessage << QVariant::fromValue(addresstype) << QVariant::fromValue(address) << QVariant::fromValue(accesscontrol) << QVariant::fromValue(parameters);
9778  return this->connection().asyncCall(callMessage, timeout);
9779  }
9780 
9821  inline QDBusPendingReply<QDBusVariant> Accept(uint addresstype, uint accesscontrol, const QDBusVariant& accesscontrolparam, int timeout = -1)
9822  {
9823  if (!invalidationReason().isEmpty()) {
9824  return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
9825  invalidationReason(),
9826  invalidationMessage()
9827  ));
9828  }
9829 
9830  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
9831  this->staticInterfaceName(), QLatin1String("Accept"));
9832  callMessage << QVariant::fromValue(addresstype) << QVariant::fromValue(accesscontrol) << QVariant::fromValue(accesscontrolparam);
9833  return this->connection().asyncCall(callMessage, timeout);
9834  }
9835 
9836 Q_SIGNALS:
9877  void NewRemoteConnection(uint handle, const QDBusVariant& connectionParam, uint connectionID);
9878 
9894  void NewLocalConnection(uint connectionID);
9895 
9927  void ConnectionClosed(uint connectionID, const QString& error, const QString& message);
9928 
9929 protected:
9930  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
9931 };
9932 
9941 {
9942  Q_OBJECT
9943 
9944 public:
9951  static inline QLatin1String staticInterfaceName()
9952  {
9953  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.StreamedMedia");
9954  }
9955 
9964  const QString& busName,
9965  const QString& objectPath,
9966  QObject* parent = 0
9967  );
9968 
9978  const QDBusConnection& connection,
9979  const QString& busName,
9980  const QString& objectPath,
9981  QObject* parent = 0
9982  );
9983 
9991 
9999  explicit ChannelTypeStreamedMediaInterface(const Tp::Client::ChannelInterface& mainInterface);
10000 
10008  ChannelTypeStreamedMediaInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
10009 
10099  {
10100  return internalRequestProperty(QLatin1String("InitialAudio"));
10101  }
10102 
10124  {
10125  return internalRequestProperty(QLatin1String("InitialVideo"));
10126  }
10127 
10171  {
10172  return internalRequestProperty(QLatin1String("ImmutableStreams"));
10173  }
10174 
10182  {
10183  return internalRequestAllProperties();
10184  }
10185 
10186 public Q_SLOTS:
10214  inline QDBusPendingReply<Tp::MediaStreamInfoList> ListStreams(int timeout = -1)
10215  {
10216  if (!invalidationReason().isEmpty()) {
10217  return QDBusPendingReply<Tp::MediaStreamInfoList>(QDBusMessage::createError(
10218  invalidationReason(),
10219  invalidationMessage()
10220  ));
10221  }
10222 
10223  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10224  this->staticInterfaceName(), QLatin1String("ListStreams"));
10225  return this->connection().asyncCall(callMessage, timeout);
10226  }
10227 
10254  inline QDBusPendingReply<> RemoveStreams(const Tp::UIntList& streams, int timeout = -1)
10255  {
10256  if (!invalidationReason().isEmpty()) {
10257  return QDBusPendingReply<>(QDBusMessage::createError(
10258  invalidationReason(),
10259  invalidationMessage()
10260  ));
10261  }
10262 
10263  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10264  this->staticInterfaceName(), QLatin1String("RemoveStreams"));
10265  callMessage << QVariant::fromValue(streams);
10266  return this->connection().asyncCall(callMessage, timeout);
10267  }
10268 
10305  inline QDBusPendingReply<> RequestStreamDirection(uint streamID, uint streamDirection, int timeout = -1)
10306  {
10307  if (!invalidationReason().isEmpty()) {
10308  return QDBusPendingReply<>(QDBusMessage::createError(
10309  invalidationReason(),
10310  invalidationMessage()
10311  ));
10312  }
10313 
10314  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10315  this->staticInterfaceName(), QLatin1String("RequestStreamDirection"));
10316  callMessage << QVariant::fromValue(streamID) << QVariant::fromValue(streamDirection);
10317  return this->connection().asyncCall(callMessage, timeout);
10318  }
10319 
10372  inline QDBusPendingReply<Tp::MediaStreamInfoList> RequestStreams(uint contactHandle, const Tp::UIntList& types, int timeout = -1)
10373  {
10374  if (!invalidationReason().isEmpty()) {
10375  return QDBusPendingReply<Tp::MediaStreamInfoList>(QDBusMessage::createError(
10376  invalidationReason(),
10377  invalidationMessage()
10378  ));
10379  }
10380 
10381  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10382  this->staticInterfaceName(), QLatin1String("RequestStreams"));
10383  callMessage << QVariant::fromValue(contactHandle) << QVariant::fromValue(types);
10384  return this->connection().asyncCall(callMessage, timeout);
10385  }
10386 
10387 Q_SIGNALS:
10454  void StreamAdded(uint streamID, uint contactHandle, uint streamType);
10455 
10487  void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags);
10488 
10506  void StreamError(uint streamID, uint errorCode, const QString& message);
10507 
10517  void StreamRemoved(uint streamID);
10518 
10532  void StreamStateChanged(uint streamID, uint streamState);
10533 
10534 protected:
10535  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
10536 };
10537 
10546 {
10547  Q_OBJECT
10548 
10549 public:
10556  static inline QLatin1String staticInterfaceName()
10557  {
10558  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.Text");
10559  }
10560 
10569  const QString& busName,
10570  const QString& objectPath,
10571  QObject* parent = 0
10572  );
10573 
10583  const QDBusConnection& connection,
10584  const QString& busName,
10585  const QString& objectPath,
10586  QObject* parent = 0
10587  );
10588 
10596 
10604  explicit ChannelTypeTextInterface(const Tp::Client::ChannelInterface& mainInterface);
10605 
10613  ChannelTypeTextInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
10614 
10622  {
10623  return internalRequestAllProperties();
10624  }
10625 
10626 public Q_SLOTS:
10642  inline QDBusPendingReply<> AcknowledgePendingMessages(const Tp::UIntList& IDs, int timeout = -1)
10643  {
10644  if (!invalidationReason().isEmpty()) {
10645  return QDBusPendingReply<>(QDBusMessage::createError(
10646  invalidationReason(),
10647  invalidationMessage()
10648  ));
10649  }
10650 
10651  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10652  this->staticInterfaceName(), QLatin1String("AcknowledgePendingMessages"));
10653  callMessage << QVariant::fromValue(IDs);
10654  return this->connection().asyncCall(callMessage, timeout);
10655  }
10656 
10672  inline QDBusPendingReply<Tp::UIntList> GetMessageTypes(int timeout = -1)
10673  {
10674  if (!invalidationReason().isEmpty()) {
10675  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
10676  invalidationReason(),
10677  invalidationMessage()
10678  ));
10679  }
10680 
10681  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10682  this->staticInterfaceName(), QLatin1String("GetMessageTypes"));
10683  return this->connection().asyncCall(callMessage, timeout);
10684  }
10685 
10716  inline QDBusPendingReply<Tp::PendingTextMessageList> ListPendingMessages(bool clear, int timeout = -1)
10717  {
10718  if (!invalidationReason().isEmpty()) {
10719  return QDBusPendingReply<Tp::PendingTextMessageList>(QDBusMessage::createError(
10720  invalidationReason(),
10721  invalidationMessage()
10722  ));
10723  }
10724 
10725  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10726  this->staticInterfaceName(), QLatin1String("ListPendingMessages"));
10727  callMessage << QVariant::fromValue(clear);
10728  return this->connection().asyncCall(callMessage, timeout);
10729  }
10730 
10763  inline QDBusPendingReply<> Send(uint type, const QString& text, int timeout = -1)
10764  {
10765  if (!invalidationReason().isEmpty()) {
10766  return QDBusPendingReply<>(QDBusMessage::createError(
10767  invalidationReason(),
10768  invalidationMessage()
10769  ));
10770  }
10771 
10772  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
10773  this->staticInterfaceName(), QLatin1String("Send"));
10774  callMessage << QVariant::fromValue(type) << QVariant::fromValue(text);
10775  return this->connection().asyncCall(callMessage, timeout);
10776  }
10777 
10778 Q_SIGNALS:
10786  void LostMessage();
10787 
10821  void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString& text);
10822 
10851  void SendError(uint error, uint timestamp, uint type, const QString& text);
10852 
10876  void Sent(uint timestamp, uint type, const QString& text);
10877 
10878 protected:
10879  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
10880 };
10881 
10890 {
10891  Q_OBJECT
10892 
10893 public:
10900  static inline QLatin1String staticInterfaceName()
10901  {
10902  return QLatin1String("org.freedesktop.Telepathy.Channel.Type.Tubes");
10903  }
10904 
10913  const QString& busName,
10914  const QString& objectPath,
10915  QObject* parent = 0
10916  );
10917 
10927  const QDBusConnection& connection,
10928  const QString& busName,
10929  const QString& objectPath,
10930  QObject* parent = 0
10931  );
10932 
10940 
10948  explicit ChannelTypeTubesInterface(const Tp::Client::ChannelInterface& mainInterface);
10949 
10957  ChannelTypeTubesInterface(const Tp::Client::ChannelInterface& mainInterface, QObject* parent);
10958 
10966  {
10967  return internalRequestAllProperties();
10968  }
10969 
10970 public Q_SLOTS:
11007  inline QDBusPendingReply<Tp::SupportedSocketMap> GetAvailableStreamTubeTypes(int timeout = -1)
11008  {
11009  if (!invalidationReason().isEmpty()) {
11010  return QDBusPendingReply<Tp::SupportedSocketMap>(QDBusMessage::createError(
11011  invalidationReason(),
11012  invalidationMessage()
11013  ));
11014  }
11015 
11016  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11017  this->staticInterfaceName(), QLatin1String("GetAvailableStreamTubeTypes"));
11018  return this->connection().asyncCall(callMessage, timeout);
11019  }
11020 
11034  inline QDBusPendingReply<Tp::UIntList> GetAvailableTubeTypes(int timeout = -1)
11035  {
11036  if (!invalidationReason().isEmpty()) {
11037  return QDBusPendingReply<Tp::UIntList>(QDBusMessage::createError(
11038  invalidationReason(),
11039  invalidationMessage()
11040  ));
11041  }
11042 
11043  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11044  this->staticInterfaceName(), QLatin1String("GetAvailableTubeTypes"));
11045  return this->connection().asyncCall(callMessage, timeout);
11046  }
11047 
11063  inline QDBusPendingReply<Tp::TubeInfoList> ListTubes(int timeout = -1)
11064  {
11065  if (!invalidationReason().isEmpty()) {
11066  return QDBusPendingReply<Tp::TubeInfoList>(QDBusMessage::createError(
11067  invalidationReason(),
11068  invalidationMessage()
11069  ));
11070  }
11071 
11072  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11073  this->staticInterfaceName(), QLatin1String("ListTubes"));
11074  return this->connection().asyncCall(callMessage, timeout);
11075  }
11076 
11104  inline QDBusPendingReply<uint> OfferDBusTube(const QString& service, const QVariantMap& parameters, int timeout = -1)
11105  {
11106  if (!invalidationReason().isEmpty()) {
11107  return QDBusPendingReply<uint>(QDBusMessage::createError(
11108  invalidationReason(),
11109  invalidationMessage()
11110  ));
11111  }
11112 
11113  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11114  this->staticInterfaceName(), QLatin1String("OfferDBusTube"));
11115  callMessage << QVariant::fromValue(service) << QVariant::fromValue(parameters);
11116  return this->connection().asyncCall(callMessage, timeout);
11117  }
11118 
11178  inline QDBusPendingReply<uint> OfferStreamTube(const QString& service, const QVariantMap& parameters, uint addressType, const QDBusVariant& address, uint accessControl, const QDBusVariant& accessControlParam, int timeout = -1)
11179  {
11180  if (!invalidationReason().isEmpty()) {
11181  return QDBusPendingReply<uint>(QDBusMessage::createError(
11182  invalidationReason(),
11183  invalidationMessage()
11184  ));
11185  }
11186 
11187  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11188  this->staticInterfaceName(), QLatin1String("OfferStreamTube"));
11189  callMessage << QVariant::fromValue(service) << QVariant::fromValue(parameters) << QVariant::fromValue(addressType) << QVariant::fromValue(address) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
11190  return this->connection().asyncCall(callMessage, timeout);
11191  }
11192 
11215  inline QDBusPendingReply<QString> AcceptDBusTube(uint ID, int timeout = -1)
11216  {
11217  if (!invalidationReason().isEmpty()) {
11218  return QDBusPendingReply<QString>(QDBusMessage::createError(
11219  invalidationReason(),
11220  invalidationMessage()
11221  ));
11222  }
11223 
11224  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11225  this->staticInterfaceName(), QLatin1String("AcceptDBusTube"));
11226  callMessage << QVariant::fromValue(ID);
11227  return this->connection().asyncCall(callMessage, timeout);
11228  }
11229 
11267  inline QDBusPendingReply<QDBusVariant> AcceptStreamTube(uint ID, uint addressType, uint accessControl, const QDBusVariant& accessControlParam, int timeout = -1)
11268  {
11269  if (!invalidationReason().isEmpty()) {
11270  return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
11271  invalidationReason(),
11272  invalidationMessage()
11273  ));
11274  }
11275 
11276  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11277  this->staticInterfaceName(), QLatin1String("AcceptStreamTube"));
11278  callMessage << QVariant::fromValue(ID) << QVariant::fromValue(addressType) << QVariant::fromValue(accessControl) << QVariant::fromValue(accessControlParam);
11279  return this->connection().asyncCall(callMessage, timeout);
11280  }
11281 
11296  inline QDBusPendingReply<> CloseTube(uint ID, int timeout = -1)
11297  {
11298  if (!invalidationReason().isEmpty()) {
11299  return QDBusPendingReply<>(QDBusMessage::createError(
11300  invalidationReason(),
11301  invalidationMessage()
11302  ));
11303  }
11304 
11305  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11306  this->staticInterfaceName(), QLatin1String("CloseTube"));
11307  callMessage << QVariant::fromValue(ID);
11308  return this->connection().asyncCall(callMessage, timeout);
11309  }
11310 
11330  inline QDBusPendingReply<QString> GetDBusTubeAddress(uint ID, int timeout = -1)
11331  {
11332  if (!invalidationReason().isEmpty()) {
11333  return QDBusPendingReply<QString>(QDBusMessage::createError(
11334  invalidationReason(),
11335  invalidationMessage()
11336  ));
11337  }
11338 
11339  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11340  this->staticInterfaceName(), QLatin1String("GetDBusTubeAddress"));
11341  callMessage << QVariant::fromValue(ID);
11342  return this->connection().asyncCall(callMessage, timeout);
11343  }
11344 
11365  inline QDBusPendingReply<Tp::DBusTubeMemberList> GetDBusNames(uint ID, int timeout = -1)
11366  {
11367  if (!invalidationReason().isEmpty()) {
11368  return QDBusPendingReply<Tp::DBusTubeMemberList>(QDBusMessage::createError(
11369  invalidationReason(),
11370  invalidationMessage()
11371  ));
11372  }
11373 
11374  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11375  this->staticInterfaceName(), QLatin1String("GetDBusNames"));
11376  callMessage << QVariant::fromValue(ID);
11377  return this->connection().asyncCall(callMessage, timeout);
11378  }
11379 
11405  inline QDBusPendingReply<uint, QDBusVariant> GetStreamTubeSocketAddress(uint ID, int timeout = -1)
11406  {
11407  if (!invalidationReason().isEmpty()) {
11408  return QDBusPendingReply<uint, QDBusVariant>(QDBusMessage::createError(
11409  invalidationReason(),
11410  invalidationMessage()
11411  ));
11412  }
11413 
11414  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
11415  this->staticInterfaceName(), QLatin1String("GetStreamTubeSocketAddress"));
11416  callMessage << QVariant::fromValue(ID);
11417  return this->connection().asyncCall(callMessage, timeout);
11418  }
11419 
11420 Q_SIGNALS:
11450  void NewTube(uint ID, uint initiator, uint type, const QString& service, const QVariantMap& parameters, uint state);
11451 
11465  void TubeStateChanged(uint ID, uint state);
11466 
11477  void TubeClosed(uint ID);
11478 
11497  void DBusNamesChanged(uint ID, const Tp::DBusTubeMemberList& added, const Tp::UIntList& removed);
11498 
11513  void StreamTubeNewConnection(uint ID, uint handle);
11514 
11515 protected:
11516  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
11517 };
11518 }
11519 }
11520 Q_DECLARE_METATYPE(Tp::Client::ChannelInterface*)
11526 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceDTMFInterface*)
11529 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceGroupInterface*)
11530 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceHoldInterface*)
11535 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceRoomInterface*)
11537 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceSMSInterface*)
11541 Q_DECLARE_METATYPE(Tp::Client::ChannelInterfaceTubeInterface*)
11542 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeCallInterface*)
11545 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeDBusTubeInterface*)
11547 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeRoomListInterface*)
11550 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeStreamTubeInterface*)
11552 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeTextInterface*)
11553 Q_DECLARE_METATYPE(Tp::Client::ChannelTypeTubesInterface*)
Tp::PendingVariant * requestPropertyURI() const
Definition: cli-channel.h:8781
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3508
Tp::PendingVariant * requestPropertyInitialTransport() const
Definition: cli-channel.h:7166
Tp::PendingVariant * requestPropertyCanSet() const
Definition: cli-channel.h:6589
QDBusPendingReply< Tp::MessagePartContentMap > GetPendingMessageContent(uint messageID, const Tp::UIntList &parts, int timeout=-1)
Definition: cli-channel.h:4181
Tp::PendingVariant * requestPropertyPasswordHint() const
Definition: cli-channel.h:4759
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:4382
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
QDBusPendingReply< Tp::MediaStreamInfoList > ListStreams(int timeout=-1)
Definition: cli-channel.h:10214
QDBusPendingReply MultipleTones(const QString &tones, int timeout=-1)
Definition: cli-channel.h:2230
QDBusPendingReply< QString > SendMessage(const Tp::MessagePartList &message, uint flags, int timeout=-1)
Definition: cli-channel.h:4126
QDBusPendingReply< Tp::UIntList > GetMembers(int timeout=-1)
Definition: cli-channel.h:3054
Definition: cli-channel.h:6830
Tp::PendingVariant * requestPropertyDBusNames() const
Definition: cli-channel.h:8249
QDBusPendingReply Stop(int timeout=-1)
Definition: cli-channel.h:8053
Tp::PendingVariant * requestPropertyHostname() const
Definition: cli-channel.h:9530
QDBusPendingReply RemoveMembersWithReason(const Tp::UIntList &contacts, const QString &message, uint reason, int timeout=-1)
Definition: cli-channel.h:3211
Tp::PendingVariant * requestPropertyInitiatorHandle() const
Definition: cli-channel.h:434
QDBusPendingReply< Tp::LocalPendingInfoList > GetLocalPendingMembersWithInfo(int timeout=-1)
Definition: cli-channel.h:3030
Tp::PendingVariant * requestPropertyTitle() const
Definition: cli-channel.h:4638
QDBusPendingReply RemoveMembers(const Tp::UIntList &contacts, const QString &message, int timeout=-1)
Definition: cli-channel.h:3172
Definition: cli-channel.h:9588
QDBusPendingReply AcceptSASL(int timeout=-1)
Definition: cli-channel.h:5717
QDBusPendingReply More(int timeout=-1)
Definition: cli-channel.h:8007
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:937
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9951
QDBusPendingReply SetRinging(int timeout=-1)
Definition: cli-channel.h:7398
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:6801
Definition: cli-channel.h:8144
QDBusPendingReply< bool > GetListingRooms(int timeout=-1)
Definition: cli-channel.h:9168
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:4058
Definition: cli-channel.h:6412
Tp::PendingVariant * requestPropertyAvailableSearchKeys() const
Definition: cli-channel.h:7919
QDBusPendingReply Close(int timeout=-1)
Definition: cli-channel.h:504
QDBusPendingReply< uint, uint > GetHoldState(int timeout=-1)
Definition: cli-channel.h:3597
Tp::PendingVariant * requestPropertyTargetHandle() const
Definition: cli-channel.h:213
Tp::PendingVariant * requestPropertyInitialChannels() const
Definition: cli-channel.h:1677
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9330
Definition: cli-channel.h:10889
QDBusPendingReply Search(const Tp::ContactSearchMap &terms, int timeout=-1)
Definition: cli-channel.h:7978
Tp::PendingVariant * requestPropertyAvailableMechanisms() const
Definition: cli-channel.h:5209
Tp::PendingVariant * requestPropertyDescription() const
Definition: cli-channel.h:8642
Tp::PendingVariant * requestPropertyCurrentServicePoint() const
Definition: cli-channel.h:6366
QDBusPendingReply Accept(int timeout=-1)
Definition: cli-channel.h:7490
QDBusPendingReply AddMembers(const Tp::UIntList &contacts, const QString &message, int timeout=-1)
Definition: cli-channel.h:2868
Definition: build/TelepathyQt/_gen/types.h:2092
Tp::PendingVariant * requestPropertyCaptchaErrorDetails() const
Definition: cli-channel.h:1111
QDBusPendingReply< Tp::ChannelCallStateMap > GetCallStates(int timeout=-1)
Definition: cli-channel.h:885
Definition: cli-channel.h:4306
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:7955
Tp::PendingVariant * requestPropertyInitiatorID() const
Definition: cli-channel.h:473
Tp::PendingVariant * requestPropertyInitialOffset() const
Definition: cli-channel.h:8741
Tp::PendingVariant * requestPropertyChannels() const
Definition: cli-channel.h:1611
QDBusPendingReply< uint, uint > GetHandle(int timeout=-1)
Definition: cli-channel.h:572
Tp::PendingVariant * requestPropertyServerCertificate() const
Definition: cli-channel.h:9512
Tp::PendingVariant * requestPropertyContentHash() const
Definition: cli-channel.h:8620
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:55
Definition: build/TelepathyQt/_gen/types.h:1655
Tp::PendingVariant * requestPropertyInitialAudio() const
Definition: cli-channel.h:7240
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:10900
QDBusPendingReply< QString > Accept(uint accesscontrol, int timeout=-1)
Definition: cli-channel.h:8360
Tp::PendingVariant * requestPropertyRoomName() const
Definition: cli-channel.h:5014
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6271
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:8292
Tp::PendingVariant * requestPropertyCreatorHandle() const
Definition: cli-channel.h:5073
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:6244
Tp::PendingVariant * requestPropertyInitialTones() const
Definition: cli-channel.h:2064
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1976
Tp::PendingVariant * requestPropertyMemberIdentifiers() const
Definition: cli-channel.h:7140
QDBusPendingReply< Tp::UIntList > GetLocalPendingMembers(int timeout=-1)
Definition: cli-channel.h:2998
Tp::PendingVariant * requestPropertyTransferredBytes() const
Definition: cli-channel.h:8714
QDBusPendingReply< Tp::MediaStreamInfoList > RequestStreams(uint contactHandle, const Tp::UIntList &types, int timeout=-1)
Definition: cli-channel.h:10372
Tp::PendingVariant * requestPropertyContentType() const
Definition: cli-channel.h:8510
Tp::PendingVariant * requestPropertyAnonymousID() const
Definition: cli-channel.h:761
Tp::PendingVariant * requestPropertyActor() const
Definition: cli-channel.h:6522
Tp::PendingVariant * requestPropertyTimestamp() const
Definition: cli-channel.h:6560
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3730
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4317
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:3795
Definition: build/TelepathyQt/_gen/types.h:1452
QDBusPendingReply< QByteArray > GetCaptchaData(uint ID, const QString &mimeType, int timeout=-1)
Definition: cli-channel.h:1232
Definition: cli-channel.h:2638
Tp::PendingVariant * requestPropertyCanUpdateConfiguration() const
Definition: cli-channel.h:4778
QDBusPendingReply RemoveStreams(const Tp::UIntList &streams, int timeout=-1)
Definition: cli-channel.h:10254
QDBusPendingReply StartMechanism(const QString &mechanism, int timeout=-1)
Definition: cli-channel.h:5573
Tp::PendingVariant * requestPropertyInitialInviteeHandles() const
Definition: cli-channel.h:1755
Tp::PendingVariant * requestPropertyInvitationMessage() const
Definition: cli-channel.h:1816
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6666
QDBusPendingReply< Tp::DBusTubeMemberList > GetDBusNames(uint ID, int timeout=-1)
Definition: cli-channel.h:11365
Tp::PendingVariant * requestPropertyHasInitialData() const
Definition: cli-channel.h:5235
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:6600
QDBusPendingReply AbortSASL(uint reason, const QString &debugMessage, int timeout=-1)
Definition: cli-channel.h:5759
QDBusPendingReply< uint > GetPasswordFlags(int timeout=-1)
Definition: cli-channel.h:4405
QDBusPendingReply< Tp::UIntList > GetAvailableTubeTypes(int timeout=-1)
Definition: cli-channel.h:11034
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
QDBusPendingReply UpdateConfiguration(const QVariantMap &properties, int timeout=-1)
Definition: cli-channel.h:4893
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:10556
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6132
QDBusPendingReply< Tp::CaptchaInfoList, uint, QString > GetCaptchas(int timeout=-1)
Definition: cli-channel.h:1181
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3866
QDBusPendingReply AnswerCaptchas(const Tp::CaptchaAnswers &answers, int timeout=-1)
Definition: cli-channel.h:1265
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:8869
Tp::PendingVariant * requestPropertyInitialServicePoint() const
Definition: cli-channel.h:6349
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4930
Tp::PendingVariant * requestPropertySASLStatus() const
Definition: cli-channel.h:5278
Tp::PendingVariant * requestPropertySize() const
Definition: cli-channel.h:8564
QDBusPendingReply StopTone(uint streamID, int timeout=-1)
Definition: cli-channel.h:2170
Tp::PendingVariant * requestPropertyRemotePendingMembers() const
Definition: cli-channel.h:2784
Tp::PendingVariant * requestPropertyCallStateDetails() const
Definition: cli-channel.h:6983
Definition: build/TelepathyQt/_gen/types.h:1271
Tp::PendingVariant * requestPropertyHandleOwners() const
Definition: cli-channel.h:2740
Tp::PendingVariant * requestPropertyAnonymityMandatory() const
Definition: cli-channel.h:735
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:9572
Tp::PendingVariant * requestPropertySASLError() const
Definition: cli-channel.h:5311
Tp::PendingVariant * requestPropertyOriginalChannels() const
Definition: cli-channel.h:1886
QDBusPendingReply SetChatState(uint state, int timeout=-1)
Definition: cli-channel.h:1470
Tp::PendingVariant * requestPropertyEncrypted() const
Definition: cli-channel.h:6212
Tp::PendingVariant * requestPropertyLimit() const
Definition: cli-channel.h:4590
QDBusPendingReply< Tp::UIntList > GetHandleOwners(const Tp::UIntList &handles, int timeout=-1)
Definition: cli-channel.h:2972
Tp::PendingVariant * requestPropertyFileCollection() const
Definition: cli-channel.h:8858
Tp::PendingVariant * requestPropertyHardwareStreaming() const
Definition: cli-channel.h:7094
QDBusPendingReply StartMechanismWithData(const QString &mechanism, const QByteArray &initialData, int timeout=-1)
Definition: cli-channel.h:5642
QDBusPendingReply< Tp::UIntList, Tp::UIntList, Tp::UIntList > GetAllMembers(int timeout=-1)
Definition: cli-channel.h:2905
QDBusPendingReply< QString > Offer(const QVariantMap &parameters, uint accesscontrol, int timeout=-1)
Definition: cli-channel.h:8322
QDBusPendingReply< Tp::UIntList > GetRemotePendingMembers(int timeout=-1)
Definition: cli-channel.h:3079
Definition: cli-channel.h:1965
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:4845
QDBusPendingReply< Tp::MediaSessionHandlerInfoList > GetSessionHandlers(int timeout=-1)
Definition: cli-channel.h:3812
Tp::PendingVariant * requestPropertyModerated() const
Definition: cli-channel.h:4604
Tp::PendingVariant * requestPropertyMutableContents() const
Definition: cli-channel.h:7353
Tp::PendingVariant * requestPropertyContents() const
Definition: cli-channel.h:6915
Tp::PendingVariant * requestPropertyDescription() const
Definition: cli-channel.h:4653
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:9416
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:8155
QDBusPendingReply CloseTube(uint ID, int timeout=-1)
Definition: cli-channel.h:11296
Definition: cli-channel.h:44
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6841
Tp::PendingVariant * requestPropertySelfHandle() const
Definition: cli-channel.h:2803
QDBusPendingReply< QString > GetChannelType(int timeout=-1)
Definition: cli-channel.h:535
Tp::PendingVariant * requestPropertyPasswordProtected() const
Definition: cli-channel.h:4706
QDBusPendingReply< uint > GetSelfHandle(int timeout=-1)
Definition: cli-channel.h:3103
Tp::PendingVariant * requestPropertyInitialVideo() const
Definition: cli-channel.h:7265
QDBusPendingReply SetSubject(const QString &subject, int timeout=-1)
Definition: cli-channel.h:6629
QDBusPendingReply Hangup(uint reason, const QString &detailedHangupReason, const QString &message, int timeout=-1)
Definition: cli-channel.h:7529
Tp::PendingVariant * requestPropertySMSChannel() const
Definition: cli-channel.h:6002
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:484
Definition: cli-channel.h:5826
QDBusPendingReply SetQueued(int timeout=-1)
Definition: cli-channel.h:7442
QDBusPendingReply< uint > OfferDBusTube(const QString &service, const QVariantMap &parameters, int timeout=-1)
Definition: cli-channel.h:11104
Definition: build/TelepathyQt/_gen/types.h:2710
Tp::PendingVariant * requestPropertyAnonymous() const
Definition: cli-channel.h:4562
Tp::PendingVariant * requestPropertyTargetHandleType() const
Definition: cli-channel.h:295
QDBusPendingReply< Tp::UIntList > GetMessageTypes(int timeout=-1)
Definition: cli-channel.h:10672
Definition: cli-channel.h:10545
Tp::PendingVariant * requestPropertyLocalPendingMembers() const
Definition: cli-channel.h:2755
Tp::PendingOperation * setPropertyServiceName(QString newValue)
Definition: cli-channel.h:2575
QDBusPendingReply< QDBusVariant > ProvideFile(uint addressType, uint accessControl, const QDBusVariant &accessControlParam, int timeout=-1)
Definition: cli-channel.h:8967
Tp::PendingVariant * requestPropertyCurrentlySendingTones() const
Definition: cli-channel.h:2046
Tp::PendingVariant * requestPropertyInitialAudio() const
Definition: cli-channel.h:10098
Tp::PendingVariant * requestPropertyCallMembers() const
Definition: cli-channel.h:7124
Definition: cli-channel.h:3497
Tp::PendingVariant * requestPropertyCreator() const
Definition: cli-channel.h:5056
Definition: cli-channel.h:8404
Tp::PendingVariant * requestPropertySupportedSocketTypes() const
Definition: cli-channel.h:9719
QDBusPendingReply< Tp::SupportedSocketMap > GetAvailableStreamTubeTypes(int timeout=-1)
Definition: cli-channel.h:11007
QDBusPendingReply< QString > AcceptDBusTube(uint ID, int timeout=-1)
Definition: cli-channel.h:11215
QDBusPendingReply< QDBusObjectPath > AddContent(const QString &contentName, uint contentType, uint initialDirection, int timeout=-1)
Definition: cli-channel.h:7582
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:1122
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingVariant * requestPropertySASLErrorDetails() const
Definition: cli-channel.h:5337
Definition: build/TelepathyQt/_gen/types.h:329
QDBusPendingReply StartTone(uint streamID, uchar event, int timeout=-1)
Definition: cli-channel.h:2133
Tp::PendingVariant * requestPropertyAuthenticationMethod() const
Definition: cli-channel.h:9405
QDBusPendingReply StopListing(int timeout=-1)
Definition: cli-channel.h:9221
Tp::PendingVariant * requestPropertyMetadata() const
Definition: cli-channel.h:2593
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:864
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:1897
Tp::PendingOperation * setPropertyURI(QString newValue)
Definition: cli-channel.h:8821
Tp::PendingVariant * requestPropertyState() const
Definition: cli-channel.h:8488
Definition: build/TelepathyQt/_gen/types.h:107
QDBusPendingReply Destroy(int timeout=-1)
Definition: cli-channel.h:2443
Tp::PendingVariant * requestPropertyMessagePartSupportFlags() const
Definition: cli-channel.h:4008
QDBusPendingReply< QDBusVariant > AcceptFile(uint addressType, uint accessControl, const QDBusVariant &accessControlParam, qulonglong offset, int timeout=-1)
Definition: cli-channel.h:8919
Tp::PendingVariant * requestPropertyInviteOnly() const
Definition: cli-channel.h:4576
QDBusPendingReply< Tp::PendingTextMessageList > ListPendingMessages(bool clear, int timeout=-1)
Definition: cli-channel.h:10716
Tp::PendingVariant * requestPropertyChannelType() const
Definition: cli-channel.h:126
Tp::PendingVariant * requestPropertySupportedAccessControls() const
Definition: cli-channel.h:8281
QDBusPendingReply< QDBusVariant > Accept(uint addresstype, uint accesscontrol, const QDBusVariant &accesscontrolparam, int timeout=-1)
Definition: cli-channel.h:9821
Tp::PendingVariant * requestPropertyLimit() const
Definition: cli-channel.h:7900
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:2832
Tp::PendingVariant * requestPropertyAvailableSocketTypes() const
Definition: cli-channel.h:8696
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:8415
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:5837
QDBusPendingReply< bool > ProvidePassword(const QString &password, int timeout=-1)
Definition: cli-channel.h:4439
Definition: cli-channel.h:9940
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:6377
Tp::PendingVariant * requestPropertyFilename() const
Definition: cli-channel.h:8536
Tp::PendingVariant * requestPropertyPrivate() const
Definition: cli-channel.h:4686
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:5128
Definition: cli-channel.h:7790
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:7709
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9443
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:2097
Tp::PendingVariant * requestPropertyCreationTimestamp() const
Definition: cli-channel.h:5090
Tp::PendingVariant * requestPropertyCaptchaStatus() const
Definition: cli-channel.h:1047
Tp::PendingVariant * requestPropertyDefaultUsername() const
Definition: cli-channel.h:5472
Tp::PendingVariant * requestPropertyActorHandle() const
Definition: cli-channel.h:6539
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-channel.h:164
Definition: cli-channel.h:7698
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:10621
Tp::PendingVariant * requestPropertyReferenceIdentities() const
Definition: cli-channel.h:9561
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:10181
QDBusPendingReply AcknowledgePendingMessages(const Tp::UIntList &IDs, int timeout=-1)
Definition: cli-channel.h:10642
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:6013
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2699
Tp::PendingVariant * requestPropertyPendingMessages() const
Definition: cli-channel.h:4033
Tp::PendingVariant * requestPropertyImmutableStreams() const
Definition: cli-channel.h:10170
QList< DBusTubeMember > DBusTubeMemberList
Definition: build/TelepathyQt/_gen/types.h:1439
Definition: cli-channel.h:3855
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1344
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:9147
QDBusPendingReply< uint, QDBusVariant > GetStreamTubeSocketAddress(uint ID, int timeout=-1)
Definition: cli-channel.h:11405
Tp::PendingVariant * requestPropertyDate() const
Definition: cli-channel.h:8663
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4493
QDBusPendingReply Send(uint type, const QString &text, int timeout=-1)
Definition: cli-channel.h:10763
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:7364
Definition: build/TelepathyQt/_gen/types.h:577
Definition: abstract-adaptor.cpp:31
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:649
Tp::PendingVariant * requestPropertyServiceName() const
Definition: cli-channel.h:2554
Tp::PendingVariant * requestPropertyDeliveryReportingSupport() const
Definition: cli-channel.h:4047
QDBusPendingReply Offer(uint addresstype, const QDBusVariant &address, uint accesscontrol, const QVariantMap &parameters, int timeout=-1)
Definition: cli-channel.h:9766
Tp::PendingVariant * requestPropertyCanTryAgain() const
Definition: cli-channel.h:5260
Tp::PendingVariant * requestPropertyMutableProperties() const
Definition: cli-channel.h:4805
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9599
Tp::PendingVariant * requestPropertyCallState() const
Definition: cli-channel.h:7012
Tp::PendingVariant * requestPropertyCanRetryCaptcha() const
Definition: cli-channel.h:1017
Tp::PendingVariant * requestPropertySupportedContentTypes() const
Definition: cli-channel.h:3978
Tp::PendingVariant * requestPropertyPersistent() const
Definition: cli-channel.h:4670
QDBusPendingReply RequestHold(bool hold, int timeout=-1)
Definition: cli-channel.h:3674
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::PendingVariant * requestPropertyMembers() const
Definition: cli-channel.h:2769
Definition: build/TelepathyQt/_gen/types.h:296
Tp::PendingVariant * requestPropertyFlash() const
Definition: cli-channel.h:5935
QDBusPendingReply< uint > GetGroupFlags(int timeout=-1)
Definition: cli-channel.h:2933
Tp::PendingVariant * requestPropertyInitialInviteeIDs() const
Definition: cli-channel.h:1784
QDBusPendingReply< Tp::TubeInfoList > ListTubes(int timeout=-1)
Definition: cli-channel.h:11063
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2479
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1524
Tp::PendingVariant * requestPropertyMemberIdentifiers() const
Definition: cli-channel.h:2821
Tp::PendingVariant * requestPropertyPassword() const
Definition: cli-channel.h:4732
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:3573
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:9730
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:7774
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:5101
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:10965
Tp::PendingVariant * requestPropertyCallStateReason() const
Definition: cli-channel.h:7056
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:772
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2328
Tp::PendingVariant * requestPropertyParameters() const
Definition: cli-channel.h:6770
QDBusPendingReply< uint, int, int > GetSMSLength(const Tp::MessagePartList &message, int timeout=-1)
Definition: cli-channel.h:6083
Tp::PendingVariant * requestPropertyTargetID() const
Definition: cli-channel.h:271
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6423
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:799
Tp::PendingVariant * requestPropertySearchState() const
Definition: cli-channel.h:7870
Tp::PendingVariant * requestPropertyServer() const
Definition: cli-channel.h:9136
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
Tp::PendingOperation * setPropertyMetadata(Tp::Metadata newValue)
Definition: cli-channel.h:2611
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:2393
Tp::PendingVariant * requestPropertyInitialAudioName() const
Definition: cli-channel.h:7297
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:5541
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:7801
Definition: cli-channel.h:4919
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:2622
Tp::PendingVariant * requestPropertyServer() const
Definition: cli-channel.h:7944
QDBusPendingReply< QDBusVariant > AcceptStreamTube(uint ID, uint addressType, uint accessControl, const QDBusVariant &accessControlParam, int timeout=-1)
Definition: cli-channel.h:11267
Tp::PendingVariant * requestPropertyMaySaveResponse() const
Definition: cli-channel.h:5530
Tp::PendingVariant * requestPropertyInitialVideoName() const
Definition: cli-channel.h:7317
QDBusPendingReply ListRooms(int timeout=-1)
Definition: cli-channel.h:9195
Tp::PendingVariant * requestPropertyDefaultRealm() const
Definition: cli-channel.h:5504
Tp::PendingVariant * requestPropertyConfigurationRetrieved() const
Definition: cli-channel.h:4834
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::PendingVariant * requestPropertyState() const
Definition: cli-channel.h:6790
Tp::PendingVariant * requestPropertyAuthorizationIdentity() const
Definition: cli-channel.h:5406
Tp::PendingVariant * requestPropertyAnonymityModes() const
Definition: cli-channel.h:720
Tp::PendingVariant * requestPropertySubject() const
Definition: cli-channel.h:6501
Tp::PendingVariant * requestPropertyServiceName() const
Definition: cli-channel.h:8232
Tp::PendingVariant * requestPropertyVerified() const
Definition: cli-channel.h:6233
Definition: cli-channel.h:6655
Tp::PendingVariant * requestPropertyChatStates() const
Definition: cli-channel.h:1438
Tp::PendingVariant * requestPropertyCallFlags() const
Definition: cli-channel.h:7036
Tp::PendingVariant * requestPropertyService() const
Definition: cli-channel.h:9680
Tp::PendingVariant * requestPropertyInitialVideo() const
Definition: cli-channel.h:10123
Tp::PendingVariant * requestPropertyCaptchaError() const
Definition: cli-channel.h:1085
QDBusPendingReply< uint > OfferStreamTube(const QString &service, const QVariantMap &parameters, uint addressType, const QDBusVariant &address, uint accessControl, const QDBusVariant &accessControlParam, int timeout=-1)
Definition: cli-channel.h:11178
QDBusPendingReply RequestStreamDirection(uint streamID, uint streamDirection, int timeout=-1)
Definition: cli-channel.h:10305
Tp::PendingVariant * requestPropertyMessageTypes() const
Definition: cli-channel.h:3994
QDBusPendingReply< QStringList > GetInterfaces(int timeout=-1)
Definition: cli-channel.h:603
Tp::PendingVariant * requestPropertyContentHashType() const
Definition: cli-channel.h:8595
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2649
Tp::PendingVariant * requestPropertyDeferredTones() const
Definition: cli-channel.h:2086
Tp::PendingVariant * requestPropertyGroupFlags() const
Definition: cli-channel.h:2720
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9064
Tp::PendingVariant * requestPropertyServer() const
Definition: cli-channel.h:5039
Definition: build/TelepathyQt/_gen/types.h:1677
Tp::PendingVariant * requestPropertyRequested() const
Definition: cli-channel.h:368
Definition: cli-channel.h:9053
QDBusPendingReply CancelCaptcha(uint reason, const QString &debugMessage, int timeout=-1)
Definition: cli-channel.h:1307
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel.h:1449
QDBusPendingReply Respond(const QByteArray &responseData, int timeout=-1)
Definition: cli-channel.h:5674
QDBusPendingReply< QString > GetDBusTubeAddress(uint ID, int timeout=-1)
Definition: cli-channel.h:11330
Definition: build/TelepathyQt/_gen/types.h:3491


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00313.html0000644000175000017500000016000712727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::Client::DBus::DBusDaemonInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::DBus::DBusDaemonInterface Class Reference

#include <TelepathyQt/DBus>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QString > Hello (int timeout=-1)
 
QDBusPendingReply< uint > RequestName (const QString &name, uint flags, int timeout=-1)
 
QDBusPendingReply< uint > ReleaseName (const QString &name, int timeout=-1)
 
QDBusPendingReply< uint > StartServiceByName (const QString &service, uint flags, int timeout=-1)
 
QDBusPendingReply< bool > NameHasOwner (const QString &nameToCheck, int timeout=-1)
 
QDBusPendingReply< QStringList > ListNames (int timeout=-1)
 
QDBusPendingReply< QStringList > ListActivatableNames (int timeout=-1)
 
QDBusPendingReply AddMatch (const QString &rule, int timeout=-1)
 
QDBusPendingReply RemoveMatch (const QString &rule, int timeout=-1)
 
QDBusPendingReply< QString > GetNameOwner (const QString &name, int timeout=-1)
 
QDBusPendingReply< QStringList > ListQueuedOwners (const QString &name, int timeout=-1)
 
QDBusPendingReply< uint > GetConnectionUnixUser (const QString &connectionName, int timeout=-1)
 
QDBusPendingReply< uint > GetConnectionUnixProcessID (const QString &connectionName, int timeout=-1)
 
QDBusPendingReply< QByteArray > GetConnectionSELinuxSecurityContext (const QString &connectionName, int timeout=-1)
 
QDBusPendingReply ReloadConfig (int timeout=-1)
 
QDBusPendingReply< QString > GetId (int timeout=-1)
 

Signals

void NameOwnerChanged (const QString &name, const QString &oldOwner, const QString &newOwner)
 
void NameLost (const QString &name)
 
void NameAcquired (const QString &name)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 DBusDaemonInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 DBusDaemonInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 DBusDaemonInterface (Tp::DBusProxy *proxy)
 
 DBusDaemonInterface (const Tp::AbstractInterface &mainInterface)
 
 DBusDaemonInterface (const Tp::AbstractInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.DBus".

Constructor & Destructor Documentation

Tp::Client::DBus::DBusDaemonInterface::DBusDaemonInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a DBusDaemonInterface 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.
Tp::Client::DBus::DBusDaemonInterface::DBusDaemonInterface ( Tp::DBusProxy proxy)

Creates a DBusDaemonInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::DBus::DBusDaemonInterface::DBusDaemonInterface ( const Tp::AbstractInterface mainInterface)
explicit

Creates a DBusDaemonInterface 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.
Tp::Client::DBus::DBusDaemonInterface::DBusDaemonInterface ( const Tp::AbstractInterface mainInterface,
QObject *  parent 
)

Creates a DBusDaemonInterface 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 Tp::Client::DBus::DBusDaemonInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.DBus", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::DBus::DBusDaemonInterface::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<QString> Tp::Client::DBus::DBusDaemonInterface::Hello ( int  timeout = -1)
inlineslot

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

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.
QDBusPendingReply<uint> Tp::Client::DBus::DBusDaemonInterface::RequestName ( const QString &  name,
uint  flags,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<uint> Tp::Client::DBus::DBusDaemonInterface::ReleaseName ( const QString &  name,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<uint> Tp::Client::DBus::DBusDaemonInterface::StartServiceByName ( const QString &  service,
uint  flags,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<bool> Tp::Client::DBus::DBusDaemonInterface::NameHasOwner ( const QString &  nameToCheck,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<QStringList> Tp::Client::DBus::DBusDaemonInterface::ListNames ( int  timeout = -1)
inlineslot

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

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.
QDBusPendingReply<QStringList> Tp::Client::DBus::DBusDaemonInterface::ListActivatableNames ( int  timeout = -1)
inlineslot

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

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.
QDBusPendingReply Tp::Client::DBus::DBusDaemonInterface::AddMatch ( const QString &  rule,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply Tp::Client::DBus::DBusDaemonInterface::RemoveMatch ( const QString &  rule,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<QString> Tp::Client::DBus::DBusDaemonInterface::GetNameOwner ( const QString &  name,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<QStringList> Tp::Client::DBus::DBusDaemonInterface::ListQueuedOwners ( const QString &  name,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<uint> Tp::Client::DBus::DBusDaemonInterface::GetConnectionUnixUser ( const QString &  connectionName,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<uint> Tp::Client::DBus::DBusDaemonInterface::GetConnectionUnixProcessID ( const QString &  connectionName,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply<QByteArray> Tp::Client::DBus::DBusDaemonInterface::GetConnectionSELinuxSecurityContext ( const QString &  connectionName,
int  timeout = -1 
)
inlineslot

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

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.
QDBusPendingReply Tp::Client::DBus::DBusDaemonInterface::ReloadConfig ( int  timeout = -1)
inlineslot

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

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.
QDBusPendingReply<QString> Tp::Client::DBus::DBusDaemonInterface::GetId ( int  timeout = -1)
inlineslot

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

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 Tp::Client::DBus::DBusDaemonInterface::NameOwnerChanged ( const QString &  name,
const QString &  oldOwner,
const QString &  newOwner 
)
signal

Represents the signal NameOwnerChanged on the remote object.

void Tp::Client::DBus::DBusDaemonInterface::NameLost ( const QString &  name)
signal

Represents the signal NameLost on the remote object.

void Tp::Client::DBus::DBusDaemonInterface::NameAcquired ( const QString &  name)
signal

Represents the signal NameAcquired on the remote object.

void Tp::Client::DBus::DBusDaemonInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01284.html0000644000175000017500000002272212727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceCapabilitiesInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceCapabilitiesInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AdvertiseCapabilities(const Tp::CapabilityPairList &add, const QStringList &remove, int timeout=-1)Tp::Client::ConnectionInterfaceCapabilitiesInterfaceinlineslot
CapabilitiesChanged(const Tp::CapabilityChangeList &caps)Tp::Client::ConnectionInterfaceCapabilitiesInterfacesignal
ConnectionInterfaceCapabilitiesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceCapabilitiesInterface
ConnectionInterfaceCapabilitiesInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceCapabilitiesInterface
ConnectionInterfaceCapabilitiesInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceCapabilitiesInterface
ConnectionInterfaceCapabilitiesInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceCapabilitiesInterfaceexplicit
ConnectionInterfaceCapabilitiesInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceCapabilitiesInterface
GetCapabilities(const Tp::UIntList &handles, int timeout=-1)Tp::Client::ConnectionInterfaceCapabilitiesInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceCapabilitiesInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceCapabilitiesInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceCapabilitiesInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00068.html0000644000175000017500000006441212727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::BaseCallContentDTMFInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseCallContentDTMFInterface Class Reference

Base class for implementations of Call.Content.Interface.DTMF. More...

#include <TelepathyQt/BaseCall>

Inherits Tp::AbstractCallContentInterface.

Public Types

typedef Callback2< void, uchar, DBusError * > StartToneCallback
 
typedef Callback1< void, DBusError * > StopToneCallback
 
typedef Callback2< void, const QString &, DBusError * > MultipleTonesCallback
 

Public Member Functions

virtual ~BaseCallContentDTMFInterface ()
 
QVariantMap immutableProperties () const
 
bool currentlySendingTones () const
 
void setCurrentlySendingTones (bool sendingTones)
 
QString deferredTones () const
 
void setDeferredTones (const QString &deferredTones)
 
void setStartToneCallback (const StartToneCallback &cb)
 
void setStopToneCallback (const StopToneCallback &cb)
 
void setMultipleTonesCallback (const MultipleTonesCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractCallContentInterface
 AbstractCallContentInterface (const QString &interfaceName)
 
virtual ~AbstractCallContentInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseCallContentDTMFInterfacePtr create ()
 
template<typename BaseCallContentDTMFInterfaceSubclass >
static SharedPtr< BaseCallContentDTMFInterfaceSubclass > create ()
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Call.Content.Interface.DTMF.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseCallContentDTMFInterface::~BaseCallContentDTMFInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseCallContentDTMFInterfacePtr Tp::BaseCallContentDTMFInterface::create ( )
inlinestatic
template<typename BaseCallContentDTMFInterfaceSubclass >
static SharedPtr<BaseCallContentDTMFInterfaceSubclass> Tp::BaseCallContentDTMFInterface::create ( )
inlinestatic
QVariantMap Tp::BaseCallContentDTMFInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

bool Tp::BaseCallContentDTMFInterface::currentlySendingTones ( ) const
void Tp::BaseCallContentDTMFInterface::setCurrentlySendingTones ( bool  sendingTones)
QString Tp::BaseCallContentDTMFInterface::deferredTones ( ) const
void Tp::BaseCallContentDTMFInterface::setDeferredTones ( const QString &  deferredTones)
void Tp::BaseCallContentDTMFInterface::setStartToneCallback ( const StartToneCallback cb)
void Tp::BaseCallContentDTMFInterface::setStopToneCallback ( const StopToneCallback cb)
void Tp::BaseCallContentDTMFInterface::setMultipleTonesCallback ( const MultipleTonesCallback cb)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01029.html0000644000175000017500000000514212727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CurrencyAmount Member List

This is the complete list of members for Tp::CurrencyAmount, including all inherited members.

amountTp::CurrencyAmount
currencyTp::CurrencyAmount
scaleTp::CurrencyAmount


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00609_source.html0000644000175000017500000013240312727270137022363 0ustar00kaffeinekaffeine00000000000000 cli-channel-dispatcher.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel-dispatcher.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.ChannelDispatcher");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
106  {
107  return internalRequestProperty(QLatin1String("Interfaces"));
108  }
109 
124  {
125  return internalRequestProperty(QLatin1String("SupportsRequestHints"));
126  }
127 
135  {
136  return internalRequestAllProperties();
137  }
138 
139 public Q_SLOTS:
197  inline QDBusPendingReply<QDBusObjectPath> CreateChannel(const QDBusObjectPath& account, const QVariantMap& requestedProperties, qlonglong userActionTime, const QString& preferredHandler, int timeout = -1)
198  {
199  if (!invalidationReason().isEmpty()) {
200  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
201  invalidationReason(),
202  invalidationMessage()
203  ));
204  }
205 
206  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
207  this->staticInterfaceName(), QLatin1String("CreateChannel"));
208  callMessage << QVariant::fromValue(account) << QVariant::fromValue(requestedProperties) << QVariant::fromValue(userActionTime) << QVariant::fromValue(preferredHandler);
209  return this->connection().asyncCall(callMessage, timeout);
210  }
211 
267  inline QDBusPendingReply<QDBusObjectPath> EnsureChannel(const QDBusObjectPath& account, const QVariantMap& requestedProperties, qlonglong userActionTime, const QString& preferredHandler, int timeout = -1)
268  {
269  if (!invalidationReason().isEmpty()) {
270  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
271  invalidationReason(),
272  invalidationMessage()
273  ));
274  }
275 
276  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
277  this->staticInterfaceName(), QLatin1String("EnsureChannel"));
278  callMessage << QVariant::fromValue(account) << QVariant::fromValue(requestedProperties) << QVariant::fromValue(userActionTime) << QVariant::fromValue(preferredHandler);
279  return this->connection().asyncCall(callMessage, timeout);
280  }
281 
414  inline QDBusPendingReply<QDBusObjectPath> CreateChannelWithHints(const QDBusObjectPath& account, const QVariantMap& requestedProperties, qlonglong userActionTime, const QString& preferredHandler, const QVariantMap& hints, int timeout = -1)
415  {
416  if (!invalidationReason().isEmpty()) {
417  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
418  invalidationReason(),
419  invalidationMessage()
420  ));
421  }
422 
423  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
424  this->staticInterfaceName(), QLatin1String("CreateChannelWithHints"));
425  callMessage << QVariant::fromValue(account) << QVariant::fromValue(requestedProperties) << QVariant::fromValue(userActionTime) << QVariant::fromValue(preferredHandler) << QVariant::fromValue(hints);
426  return this->connection().asyncCall(callMessage, timeout);
427  }
428 
534  inline QDBusPendingReply<QDBusObjectPath> EnsureChannelWithHints(const QDBusObjectPath& account, const QVariantMap& requestedProperties, qlonglong userActionTime, const QString& preferredHandler, const QVariantMap& hints, int timeout = -1)
535  {
536  if (!invalidationReason().isEmpty()) {
537  return QDBusPendingReply<QDBusObjectPath>(QDBusMessage::createError(
538  invalidationReason(),
539  invalidationMessage()
540  ));
541  }
542 
543  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
544  this->staticInterfaceName(), QLatin1String("EnsureChannelWithHints"));
545  callMessage << QVariant::fromValue(account) << QVariant::fromValue(requestedProperties) << QVariant::fromValue(userActionTime) << QVariant::fromValue(preferredHandler) << QVariant::fromValue(hints);
546  return this->connection().asyncCall(callMessage, timeout);
547  }
548 
628  inline QDBusPendingReply<Tp::ObjectPathList, Tp::NotDelegatedMap> DelegateChannels(const Tp::ObjectPathList& channels, qlonglong userActionTime, const QString& preferredHandler, int timeout = -1)
629  {
630  if (!invalidationReason().isEmpty()) {
631  return QDBusPendingReply<Tp::ObjectPathList, Tp::NotDelegatedMap>(QDBusMessage::createError(
632  invalidationReason(),
633  invalidationMessage()
634  ));
635  }
636 
637  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
638  this->staticInterfaceName(), QLatin1String("DelegateChannels"));
639  callMessage << QVariant::fromValue(channels) << QVariant::fromValue(userActionTime) << QVariant::fromValue(preferredHandler);
640  return this->connection().asyncCall(callMessage, timeout);
641  }
642 
678  inline QDBusPendingReply<> PresentChannel(const QDBusObjectPath& channel, qlonglong userActionTime, int timeout = -1)
679  {
680  if (!invalidationReason().isEmpty()) {
681  return QDBusPendingReply<>(QDBusMessage::createError(
682  invalidationReason(),
683  invalidationMessage()
684  ));
685  }
686 
687  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
688  this->staticInterfaceName(), QLatin1String("PresentChannel"));
689  callMessage << QVariant::fromValue(channel) << QVariant::fromValue(userActionTime);
690  return this->connection().asyncCall(callMessage, timeout);
691  }
692 
693 protected:
694  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
695 };
696 
705 {
706  Q_OBJECT
707 
708 public:
715  static inline QLatin1String staticInterfaceName()
716  {
717  return QLatin1String("org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1");
718  }
719 
728  const QString& busName,
729  const QString& objectPath,
730  QObject* parent = 0
731  );
732 
742  const QDBusConnection& connection,
743  const QString& busName,
744  const QString& objectPath,
745  QObject* parent = 0
746  );
747 
755 
764 
773 
781  {
782  return internalRequestAllProperties();
783  }
784 
785 public Q_SLOTS:
873  inline QDBusPendingReply<QString> SendMessage(const QDBusObjectPath& account, const QString& targetID, const Tp::MessagePartList& message, uint flags, int timeout = -1)
874  {
875  if (!invalidationReason().isEmpty()) {
876  return QDBusPendingReply<QString>(QDBusMessage::createError(
877  invalidationReason(),
878  invalidationMessage()
879  ));
880  }
881 
882  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
883  this->staticInterfaceName(), QLatin1String("SendMessage"));
884  callMessage << QVariant::fromValue(account) << QVariant::fromValue(targetID) << QVariant::fromValue(message) << QVariant::fromValue(flags);
885  return this->connection().asyncCall(callMessage, timeout);
886  }
887 
888 protected:
889  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
890 };
891 }
892 }
893 Q_DECLARE_METATYPE(Tp::Client::ChannelDispatcherInterface*)
static QLatin1String staticInterfaceName()
Definition: cli-channel-dispatcher.h:55
QDBusPendingReply< QDBusObjectPath > EnsureChannelWithHints(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)
Definition: cli-channel-dispatcher.h:534
Definition: cli-channel-dispatcher.h:704
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel-dispatcher.h:134
Definition: build/TelepathyQt/_gen/types.h:84
Definition: cli-channel-dispatcher.h:44
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-channel-dispatcher.h:780
QDBusPendingReply< QString > SendMessage(const QDBusObjectPath &account, const QString &targetID, const Tp::MessagePartList &message, uint flags, int timeout=-1)
Definition: cli-channel-dispatcher.h:873
QDBusPendingReply< Tp::ObjectPathList, Tp::NotDelegatedMap > DelegateChannels(const Tp::ObjectPathList &channels, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
Definition: cli-channel-dispatcher.h:628
QDBusPendingReply< QDBusObjectPath > CreateChannel(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
Definition: cli-channel-dispatcher.h:197
QDBusPendingReply< QDBusObjectPath > CreateChannelWithHints(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)
Definition: cli-channel-dispatcher.h:414
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-channel-dispatcher.h:105
Tp::PendingVariant * requestPropertySupportsRequestHints() const
Definition: cli-channel-dispatcher.h:123
Definition: abstract-adaptor.cpp:31
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
static QLatin1String staticInterfaceName()
Definition: cli-channel-dispatcher.h:715
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusPendingReply< QDBusObjectPath > EnsureChannel(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
Definition: cli-channel-dispatcher.h:267
QDBusPendingReply PresentChannel(const QDBusObjectPath &channel, qlonglong userActionTime, int timeout=-1)
Definition: cli-channel-dispatcher.h:678


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00883.html0000644000175000017500000012700712727270137021013 0ustar00kaffeinekaffeine00000000000000 List types
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes | Typedefs

Classes

struct  Tp::ByteArrayList
 
struct  Tp::ObjectPathList
 
struct  Tp::UIntList
 

Typedefs

typedef QList< AliasPair > Tp::AliasPairList
 
typedef QList< CallMemberMap > Tp::CallMemberMapList
 
typedef QList< Candidate > Tp::CandidateList
 
typedef QList< CapabilityChange > Tp::CapabilityChangeList
 
typedef QList< CapabilityPair > Tp::CapabilityPairList
 
typedef QList< CaptchaInfo > Tp::CaptchaInfoList
 
typedef QList< ChannelClass > Tp::ChannelClassList
 
typedef QList< ChannelDetails > Tp::ChannelDetailsList
 
typedef QList< ChannelInfo > Tp::ChannelInfoList
 
typedef QList< ContactCapability > Tp::ContactCapabilityList
 
typedef QList< ContactInfoField > Tp::ContactInfoFieldList
 
typedef QList< DBusTubeMember > Tp::DBusTubeMemberList
 
typedef QList< DebugMessage > Tp::DebugMessageList
 
typedef QList< FieldSpec > Tp::FieldSpecs
 
typedef QList< HTTPPostData > Tp::HTTPPostDataList
 
typedef QList< LocalPendingInfo > Tp::LocalPendingInfoList
 
typedef QList< Mail > Tp::MailList
 
typedef QList< MailAddress > Tp::MailAddressList
 
typedef QList< MediaSessionHandlerInfo > Tp::MediaSessionHandlerInfoList
 
typedef QList< MediaStreamHandlerTransport > Tp::MediaStreamHandlerTransportList
 
typedef QList< MediaStreamInfo > Tp::MediaStreamInfoList
 
typedef QList< MessagePart > Tp::MessagePartList
 
typedef QList< MessagePartList > Tp::MessagePartListList
 
typedef QList< ObjectImmutablePropertiesMap > Tp::ObjectImmutablePropertiesMapList
 
typedef QList< ParamSpec > Tp::ParamSpecList
 
typedef QList< PendingTextMessage > Tp::PendingTextMessageList
 
typedef QList< PropertyFlagsChange > Tp::PropertyFlagsChangeList
 
typedef QList< PropertySpec > Tp::PropertySpecList
 
typedef QList< PropertyValue > Tp::PropertyValueList
 
typedef QList< QualifiedPropertyValueMap > Tp::QualifiedPropertyValueMapList
 
typedef QList< RTCPFeedbackMessage > Tp::RTCPFeedbackMessageList
 
typedef QList< RTPHeaderExtension > Tp::RTPHeaderExtensionsList
 
typedef QList< RequestableChannelClass > Tp::RequestableChannelClassList
 
typedef QList< RoomInfo > Tp::RoomInfoList
 
typedef QList< SocketAddressIP > Tp::SocketAddressIPList
 
typedef QList< StringStringMap > Tp::StringStringMapList
 
typedef QList< StringVariantMap > Tp::StringVariantMapList
 
typedef QList< TLSCertificateRejection > Tp::TLSCertificateRejectionList
 
typedef QList< TubeInfo > Tp::TubeInfoList
 
typedef QList< VideoResolution > Tp::VideoResolutionStruct
 
typedef QList< CandidatePair > Tp::CandidatePairList
 
typedef QList< Codec > Tp::CodecList
 
typedef QList< ContactCapabilitiesMap > Tp::ContactCapabilitiesMapList
 
typedef QList< HandlerCapabilities > Tp::HandlerCapabilitiesList
 
typedef QList< MediaStreamHandlerCandidate > Tp::MediaStreamHandlerCandidateList
 
typedef QList< MediaStreamHandlerCodec > Tp::MediaStreamHandlerCodecList
 
typedef QList< ServicePointInfo > Tp::ServicePointInfoList
 

Detailed Description

List types generated from the specification.

Typedef Documentation

typedef QList<AliasPair> Tp::AliasPairList

Array of AliasPair values.

typedef QList<CallMemberMap> Tp::CallMemberMapList

Array of CallMemberMap values.

typedef QList<Candidate> Tp::CandidateList

Array of Candidate values.

typedef QList<CapabilityChange> Tp::CapabilityChangeList

Array of CapabilityChange values.

typedef QList<CapabilityPair> Tp::CapabilityPairList

Array of CapabilityPair values.

typedef QList<CaptchaInfo> Tp::CaptchaInfoList

Array of CaptchaInfo values.

typedef QList<ChannelClass> Tp::ChannelClassList

Array of ChannelClass values.

typedef QList<ChannelDetails> Tp::ChannelDetailsList

Array of ChannelDetails values.

typedef QList<ChannelInfo> Tp::ChannelInfoList

Array of ChannelInfo values.

typedef QList<ContactCapability> Tp::ContactCapabilityList

Array of ContactCapability values.

typedef QList<ContactInfoField> Tp::ContactInfoFieldList

Array of ContactInfoField values.

typedef QList<DBusTubeMember> Tp::DBusTubeMemberList

Array of DBusTubeMember values.

typedef QList<DebugMessage> Tp::DebugMessageList

Array of DebugMessage values.

typedef QList<FieldSpec> Tp::FieldSpecs

Array of FieldSpec values.

typedef QList<HTTPPostData> Tp::HTTPPostDataList

Array of HTTPPostData values.

typedef QList<LocalPendingInfo> Tp::LocalPendingInfoList

Array of LocalPendingInfo values.

typedef QList<Mail> Tp::MailList

Array of Mail values.

typedef QList<MailAddress> Tp::MailAddressList

Array of MailAddress values.

typedef QList<MediaSessionHandlerInfo> Tp::MediaSessionHandlerInfoList

Array of MediaSessionHandlerInfo values.

typedef QList<MediaStreamHandlerTransport> Tp::MediaStreamHandlerTransportList

Array of MediaStreamHandlerTransport values.

typedef QList<MediaStreamInfo> Tp::MediaStreamInfoList

Array of MediaStreamInfo values.

typedef QList<MessagePart> Tp::MessagePartList

Array of MessagePart values.

typedef QList<MessagePartList> Tp::MessagePartListList

Array of MessagePartList values.

typedef QList<ObjectImmutablePropertiesMap> Tp::ObjectImmutablePropertiesMapList

Array of ObjectImmutablePropertiesMap values.

typedef QList<ParamSpec> Tp::ParamSpecList

Array of ParamSpec values.

typedef QList<PendingTextMessage> Tp::PendingTextMessageList

Array of PendingTextMessage values.

typedef QList<PropertyFlagsChange> Tp::PropertyFlagsChangeList

Array of PropertyFlagsChange values.

typedef QList<PropertySpec> Tp::PropertySpecList

Array of PropertySpec values.

typedef QList<PropertyValue> Tp::PropertyValueList

Array of PropertyValue values.

typedef QList<QualifiedPropertyValueMap> Tp::QualifiedPropertyValueMapList

Array of QualifiedPropertyValueMap values.

typedef QList<RTCPFeedbackMessage> Tp::RTCPFeedbackMessageList

Array of RTCPFeedbackMessage values.

typedef QList<RTPHeaderExtension> Tp::RTPHeaderExtensionsList

Array of RTPHeaderExtension values.

typedef QList<RequestableChannelClass> Tp::RequestableChannelClassList

Array of RequestableChannelClass values.

typedef QList<RoomInfo> Tp::RoomInfoList

Array of RoomInfo values.

typedef QList<SocketAddressIP> Tp::SocketAddressIPList

Array of SocketAddressIP values.

typedef QList<StringStringMap> Tp::StringStringMapList

Array of StringStringMap values.

typedef QList<StringVariantMap> Tp::StringVariantMapList

Array of StringVariantMap values.

typedef QList<TLSCertificateRejection> Tp::TLSCertificateRejectionList

Array of TLSCertificateRejection values.

typedef QList<TubeInfo> Tp::TubeInfoList

Array of TubeInfo values.

typedef QList<VideoResolution> Tp::VideoResolutionStruct

Array of VideoResolution values.

typedef QList<CandidatePair> Tp::CandidatePairList

Array of CandidatePair values.

typedef QList<Codec> Tp::CodecList

Array of Codec values.

typedef QList<ContactCapabilitiesMap> Tp::ContactCapabilitiesMapList

Array of ContactCapabilitiesMap values.

typedef QList<HandlerCapabilities> Tp::HandlerCapabilitiesList

Array of HandlerCapabilities values.

typedef QList<MediaStreamHandlerCandidate> Tp::MediaStreamHandlerCandidateList

Array of MediaStreamHandlerCandidate values.

typedef QList<MediaStreamHandlerCodec> Tp::MediaStreamHandlerCodecList

Array of MediaStreamHandlerCodec values.

typedef QList<ServicePointInfo> Tp::ServicePointInfoList

Array of ServicePointInfo values.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00382.html0000644000175000017500000002644212727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Public Attributes | List of all members
Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(T::* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
 
typedef R ResultType
 

Public Member Functions

 MemberFunctor7 (T *object, FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
 

Public Attributes

T * object
 
FunctionType fn
 

Member Typedef Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
typedef R(T::* Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
typedef R Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::ResultType

Constructor & Destructor Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::MemberFunctor7 ( T *  object,
FunctionType  fn 
)
inline

Member Function Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
ResultType Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6,
Arg7  a7 
) const
inline

Member Data Documentation

template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
T* Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::object
template<class R, class T, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
FunctionType Tp::MemberFunctor7< R, T, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01343.html0000644000175000017500000002120412727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeFileTransferAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeFileTransferAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
AcceptFile(uint addressType, uint accessControl, const QDBusVariant &accessControlParam, qulonglong offset, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeFileTransferAdaptorslot
adaptee() const Tp::AbstractAdaptor
AvailableSocketTypes() const Tp::Service::ChannelTypeFileTransferAdaptor
ContentHash() const Tp::Service::ChannelTypeFileTransferAdaptor
ContentHashType() const Tp::Service::ChannelTypeFileTransferAdaptor
ContentType() const Tp::Service::ChannelTypeFileTransferAdaptor
Date() const Tp::Service::ChannelTypeFileTransferAdaptor
dbusConnection() const Tp::AbstractAdaptor
Description() const Tp::Service::ChannelTypeFileTransferAdaptor
FileCollection() const Tp::Service::ChannelTypeFileTransferAdaptor
Filename() const Tp::Service::ChannelTypeFileTransferAdaptor
FileTransferStateChanged(uint state, uint reason)Tp::Service::ChannelTypeFileTransferAdaptorsignal
InitialOffset() const Tp::Service::ChannelTypeFileTransferAdaptor
InitialOffsetDefined(qulonglong initialOffset)Tp::Service::ChannelTypeFileTransferAdaptorsignal
ProvideFile(uint addressType, uint accessControl, const QDBusVariant &accessControlParam, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeFileTransferAdaptorslot
SetURI(const QString &newValue)Tp::Service::ChannelTypeFileTransferAdaptor
Size() const Tp::Service::ChannelTypeFileTransferAdaptor
State() const Tp::Service::ChannelTypeFileTransferAdaptor
TransferredBytes() const Tp::Service::ChannelTypeFileTransferAdaptor
TransferredBytesChanged(qulonglong count)Tp::Service::ChannelTypeFileTransferAdaptorsignal
URI() const Tp::Service::ChannelTypeFileTransferAdaptor
URIDefined(const QString &URI)Tp::Service::ChannelTypeFileTransferAdaptorsignal
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00127.html0000644000175000017500000010600512727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface Class Reference

#include <TelepathyQt/CallContentMediaDescriptionInterface>

Inherits Tp::AbstractInterface.

Public Member Functions

 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (Tp::DBusProxy *proxy)
 
 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)
 
 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyLossRLEMaxSize () const
 
Tp::PendingVariantrequestPropertyDuplicateRLEMaxSize () const
 
Tp::PendingVariantrequestPropertyPacketReceiptTimesMaxSize () const
 
Tp::PendingVariantrequestPropertyDLRRMaxSize () const
 
Tp::PendingVariantrequestPropertyRTTMode () const
 
Tp::PendingVariantrequestPropertyStatisticsFlags () const
 
Tp::PendingVariantrequestPropertyEnableMetrics () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports".

Constructor & Destructor Documentation

Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface ( Tp::DBusProxy proxy)

Creates a CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface)
explicit

Creates a CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface,
QObject *  parent 
)

Creates a CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface 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 Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyLossRLEMaxSize ( ) const
inline

Asynchronous getter for the remote object property LossRLEMaxSize of type uint.

If non-zero, enable Loss Run Length Encoded Report Blocks. The value of this integer represents the max-size of report blocks, as specified in RFC 3611 section 5.1. MAXUINT32 is used to indicate that there is no limit.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyDuplicateRLEMaxSize ( ) const
inline

Asynchronous getter for the remote object property DuplicateRLEMaxSize of type uint.

If non-zero, enable Duplicate Run-Length-Encoded Report Blocks. The value of this integer represents the max-size of report blocks, as specified in RFC 3611 section 5.1. MAXUINT32 is used to indicate that there is no limit.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyPacketReceiptTimesMaxSize ( ) const
inline

Asynchronous getter for the remote object property PacketReceiptTimesMaxSize of type uint.

If non-zero, enable Packet Receipt Times Report Blocks. The value of this integer represents the max-size of report blocks, as specified in RFC 3611 section 5.1. MAXUINT32 is used to indicate that there is no limit.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyDLRRMaxSize ( ) const
inline

Asynchronous getter for the remote object property DLRRMaxSize of type uint.

If non-zero, enable Receiver Reference Time and Delay since Last Receiver Report Blocks (for estimating Round Trip Times between non-senders and other parties in the call. The value of this integer represents the max-size of report blocks, as specified in RFC 3611 section 5.1. MAXUINT32 is used to indicate that there is no limit.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyRTTMode ( ) const
inline

Asynchronous getter for the remote object property RTTMode of type uint.

Who is allowed to send Delay since Last Receiver Reports.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyStatisticsFlags ( ) const
inline

Asynchronous getter for the remote object property StatisticsFlags of type uint.

Which fields SHOULD be included in the statistics summary report blocks that are sent, and whether to send VoIP Metrics Report Blocks. There can be zero or more flags set.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::requestPropertyEnableMetrics ( ) const
inline

Asynchronous getter for the remote object property EnableMetrics of type bool.

Whether to enable VoIP Metrics Report Blocks. These blocks are of a fixed size.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::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.
void Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00605_source.html0000644000175000017500000110010012727270137022345 0ustar00kaffeinekaffeine00000000000000 cli-channel-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/channel.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ChannelInterface::ChannelInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ChannelInterface::ChannelInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(Closed()), NULL, NULL);
28 
29  Tp::AbstractInterface::invalidate(proxy, error, message);
30 }
31 
32 ChannelInterfaceAnonymityInterface::ChannelInterfaceAnonymityInterface(const QString& busName, const QString& objectPath, QObject *parent)
33  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
34 {
35 }
36 
37 ChannelInterfaceAnonymityInterface::ChannelInterfaceAnonymityInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
38  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
39 {
40 }
41 
44 {
45 }
46 
48  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
49 {
50 }
51 
53  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
54 {
55 }
56 
58  const QString &error, const QString &message)
59 {
60 
61  Tp::AbstractInterface::invalidate(proxy, error, message);
62 }
63 
64 ChannelInterfaceCallStateInterface::ChannelInterfaceCallStateInterface(const QString& busName, const QString& objectPath, QObject *parent)
65  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
66 {
67 }
68 
69 ChannelInterfaceCallStateInterface::ChannelInterfaceCallStateInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
70  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
71 {
72 }
73 
76 {
77 }
78 
80  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
81 {
82 }
83 
85  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
86 {
87 }
88 
90  const QString &error, const QString &message)
91 {
92  disconnect(this, SIGNAL(CallStateChanged(uint, uint)), NULL, NULL);
93 
94  Tp::AbstractInterface::invalidate(proxy, error, message);
95 }
96 
97 ChannelInterfaceCaptchaAuthenticationInterface::ChannelInterfaceCaptchaAuthenticationInterface(const QString& busName, const QString& objectPath, QObject *parent)
98  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
99 {
100 }
101 
102 ChannelInterfaceCaptchaAuthenticationInterface::ChannelInterfaceCaptchaAuthenticationInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
103  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
104 {
105 }
106 
109 {
110 }
111 
113  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
114 {
115 }
116 
118  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
119 {
120 }
121 
123  const QString &error, const QString &message)
124 {
125 
126  Tp::AbstractInterface::invalidate(proxy, error, message);
127 }
128 
129 ChannelInterfaceChatStateInterface::ChannelInterfaceChatStateInterface(const QString& busName, const QString& objectPath, QObject *parent)
130  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
131 {
132 }
133 
134 ChannelInterfaceChatStateInterface::ChannelInterfaceChatStateInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
135  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
136 {
137 }
138 
141 {
142 }
143 
145  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
146 {
147 }
148 
150  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
151 {
152 }
153 
155  const QString &error, const QString &message)
156 {
157  disconnect(this, SIGNAL(ChatStateChanged(uint, uint)), NULL, NULL);
158 
159  Tp::AbstractInterface::invalidate(proxy, error, message);
160 }
161 
162 ChannelInterfaceConferenceInterface::ChannelInterfaceConferenceInterface(const QString& busName, const QString& objectPath, QObject *parent)
163  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
164 {
165 }
166 
167 ChannelInterfaceConferenceInterface::ChannelInterfaceConferenceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
168  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
169 {
170 }
171 
174 {
175 }
176 
178  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
179 {
180 }
181 
183  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
184 {
185 }
186 
188  const QString &error, const QString &message)
189 {
190  disconnect(this, SIGNAL(ChannelMerged(const QDBusObjectPath&, uint, const QVariantMap&)), NULL, NULL);
191  disconnect(this, SIGNAL(ChannelRemoved(const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
192 
193  Tp::AbstractInterface::invalidate(proxy, error, message);
194 }
195 
196 ChannelInterfaceDTMFInterface::ChannelInterfaceDTMFInterface(const QString& busName, const QString& objectPath, QObject *parent)
197  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
198 {
199 }
200 
201 ChannelInterfaceDTMFInterface::ChannelInterfaceDTMFInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
202  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
203 {
204 }
205 
208 {
209 }
210 
212  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
213 {
214 }
215 
217  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
218 {
219 }
220 
222  const QString &error, const QString &message)
223 {
224  disconnect(this, SIGNAL(TonesDeferred(const QString&)), NULL, NULL);
225  disconnect(this, SIGNAL(SendingTones(const QString&)), NULL, NULL);
226  disconnect(this, SIGNAL(StoppedTones(bool)), NULL, NULL);
227 
228  Tp::AbstractInterface::invalidate(proxy, error, message);
229 }
230 
231 ChannelInterfaceDestroyableInterface::ChannelInterfaceDestroyableInterface(const QString& busName, const QString& objectPath, QObject *parent)
232  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
233 {
234 }
235 
236 ChannelInterfaceDestroyableInterface::ChannelInterfaceDestroyableInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
237  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
238 {
239 }
240 
243 {
244 }
245 
247  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
248 {
249 }
250 
252  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
253 {
254 }
255 
257  const QString &error, const QString &message)
258 {
259 
260  Tp::AbstractInterface::invalidate(proxy, error, message);
261 }
262 
263 ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface(const QString& busName, const QString& objectPath, QObject *parent)
264  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
265 {
266 }
267 
268 ChannelInterfaceFileTransferMetadataInterface::ChannelInterfaceFileTransferMetadataInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
269  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
270 {
271 }
272 
275 {
276 }
277 
279  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
280 {
281 }
282 
284  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
285 {
286 }
287 
289  const QString &error, const QString &message)
290 {
291 
292  Tp::AbstractInterface::invalidate(proxy, error, message);
293 }
294 
295 ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface(const QString& busName, const QString& objectPath, QObject *parent)
296  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
297 {
298 }
299 
300 ChannelInterfaceGroupInterface::ChannelInterfaceGroupInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
301  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
302 {
303 }
304 
307 {
308 }
309 
311  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
312 {
313 }
314 
316  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
317 {
318 }
319 
321  const QString &error, const QString &message)
322 {
323  disconnect(this, SIGNAL(HandleOwnersChanged(const Tp::HandleOwnerMap&, const Tp::UIntList&)), NULL, NULL);
324  disconnect(this, SIGNAL(HandleOwnersChangedDetailed(const Tp::HandleOwnerMap&, const Tp::UIntList&, const Tp::HandleIdentifierMap&)), NULL, NULL);
325  disconnect(this, SIGNAL(SelfHandleChanged(uint)), NULL, NULL);
326  disconnect(this, SIGNAL(SelfContactChanged(uint, const QString&)), NULL, NULL);
327  disconnect(this, SIGNAL(GroupFlagsChanged(uint, uint)), NULL, NULL);
328  disconnect(this, SIGNAL(MembersChanged(const QString&, const Tp::UIntList&, const Tp::UIntList&, const Tp::UIntList&, const Tp::UIntList&, uint, uint)), NULL, NULL);
329  disconnect(this, SIGNAL(MembersChangedDetailed(const Tp::UIntList&, const Tp::UIntList&, const Tp::UIntList&, const Tp::UIntList&, const QVariantMap&)), NULL, NULL);
330 
331  Tp::AbstractInterface::invalidate(proxy, error, message);
332 }
333 
334 ChannelInterfaceHoldInterface::ChannelInterfaceHoldInterface(const QString& busName, const QString& objectPath, QObject *parent)
335  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
336 {
337 }
338 
339 ChannelInterfaceHoldInterface::ChannelInterfaceHoldInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
340  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
341 {
342 }
343 
346 {
347 }
348 
350  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
351 {
352 }
353 
355  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
356 {
357 }
358 
360  const QString &error, const QString &message)
361 {
362  disconnect(this, SIGNAL(HoldStateChanged(uint, uint)), NULL, NULL);
363 
364  Tp::AbstractInterface::invalidate(proxy, error, message);
365 }
366 
367 ChannelInterfaceMediaSignallingInterface::ChannelInterfaceMediaSignallingInterface(const QString& busName, const QString& objectPath, QObject *parent)
368  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
369 {
370 }
371 
372 ChannelInterfaceMediaSignallingInterface::ChannelInterfaceMediaSignallingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
373  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
374 {
375 }
376 
379 {
380 }
381 
383  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
384 {
385 }
386 
388  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
389 {
390 }
391 
393  const QString &error, const QString &message)
394 {
395  disconnect(this, SIGNAL(NewSessionHandler(const QDBusObjectPath&, const QString&)), NULL, NULL);
396 
397  Tp::AbstractInterface::invalidate(proxy, error, message);
398 }
399 
400 ChannelInterfaceMessagesInterface::ChannelInterfaceMessagesInterface(const QString& busName, const QString& objectPath, QObject *parent)
401  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
402 {
403 }
404 
405 ChannelInterfaceMessagesInterface::ChannelInterfaceMessagesInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
406  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
407 {
408 }
409 
412 {
413 }
414 
416  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
417 {
418 }
419 
421  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
422 {
423 }
424 
426  const QString &error, const QString &message)
427 {
428  disconnect(this, SIGNAL(MessageSent(const Tp::MessagePartList&, uint, const QString&)), NULL, NULL);
429  disconnect(this, SIGNAL(PendingMessagesRemoved(const Tp::UIntList&)), NULL, NULL);
430  disconnect(this, SIGNAL(MessageReceived(const Tp::MessagePartList&)), NULL, NULL);
431 
432  Tp::AbstractInterface::invalidate(proxy, error, message);
433 }
434 
435 ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface(const QString& busName, const QString& objectPath, QObject *parent)
436  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
437 {
438 }
439 
440 ChannelInterfacePasswordInterface::ChannelInterfacePasswordInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
441  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
442 {
443 }
444 
447 {
448 }
449 
451  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
452 {
453 }
454 
456  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
457 {
458 }
459 
461  const QString &error, const QString &message)
462 {
463  disconnect(this, SIGNAL(PasswordFlagsChanged(uint, uint)), NULL, NULL);
464 
465  Tp::AbstractInterface::invalidate(proxy, error, message);
466 }
467 
468 ChannelInterfaceRoomConfigInterface::ChannelInterfaceRoomConfigInterface(const QString& busName, const QString& objectPath, QObject *parent)
469  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
470 {
471 }
472 
473 ChannelInterfaceRoomConfigInterface::ChannelInterfaceRoomConfigInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
474  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
475 {
476 }
477 
480 {
481 }
482 
484  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
485 {
486 }
487 
489  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
490 {
491 }
492 
494  const QString &error, const QString &message)
495 {
496 
497  Tp::AbstractInterface::invalidate(proxy, error, message);
498 }
499 
500 ChannelInterfaceRoomInterface::ChannelInterfaceRoomInterface(const QString& busName, const QString& objectPath, QObject *parent)
501  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
502 {
503 }
504 
505 ChannelInterfaceRoomInterface::ChannelInterfaceRoomInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
506  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
507 {
508 }
509 
512 {
513 }
514 
516  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
517 {
518 }
519 
521  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
522 {
523 }
524 
526  const QString &error, const QString &message)
527 {
528 
529  Tp::AbstractInterface::invalidate(proxy, error, message);
530 }
531 
532 ChannelInterfaceSASLAuthenticationInterface::ChannelInterfaceSASLAuthenticationInterface(const QString& busName, const QString& objectPath, QObject *parent)
533  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
534 {
535 }
536 
537 ChannelInterfaceSASLAuthenticationInterface::ChannelInterfaceSASLAuthenticationInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
538  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
539 {
540 }
541 
544 {
545 }
546 
548  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
549 {
550 }
551 
553  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
554 {
555 }
556 
558  const QString &error, const QString &message)
559 {
560  disconnect(this, SIGNAL(SASLStatusChanged(uint, const QString&, const QVariantMap&)), NULL, NULL);
561  disconnect(this, SIGNAL(NewChallenge(const QByteArray&)), NULL, NULL);
562 
563  Tp::AbstractInterface::invalidate(proxy, error, message);
564 }
565 
566 ChannelInterfaceSMSInterface::ChannelInterfaceSMSInterface(const QString& busName, const QString& objectPath, QObject *parent)
567  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
568 {
569 }
570 
571 ChannelInterfaceSMSInterface::ChannelInterfaceSMSInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
572  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
573 {
574 }
575 
578 {
579 }
580 
582  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
583 {
584 }
585 
587  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
588 {
589 }
590 
592  const QString &error, const QString &message)
593 {
594  disconnect(this, SIGNAL(SMSChannelChanged(bool)), NULL, NULL);
595 
596  Tp::AbstractInterface::invalidate(proxy, error, message);
597 }
598 
599 ChannelInterfaceSecurableInterface::ChannelInterfaceSecurableInterface(const QString& busName, const QString& objectPath, QObject *parent)
600  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
601 {
602 }
603 
604 ChannelInterfaceSecurableInterface::ChannelInterfaceSecurableInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
605  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
606 {
607 }
608 
611 {
612 }
613 
615  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
616 {
617 }
618 
620  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
621 {
622 }
623 
625  const QString &error, const QString &message)
626 {
627 
628  Tp::AbstractInterface::invalidate(proxy, error, message);
629 }
630 
631 ChannelInterfaceServicePointInterface::ChannelInterfaceServicePointInterface(const QString& busName, const QString& objectPath, QObject *parent)
632  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
633 {
634 }
635 
636 ChannelInterfaceServicePointInterface::ChannelInterfaceServicePointInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
637  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
638 {
639 }
640 
643 {
644 }
645 
647  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
648 {
649 }
650 
652  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
653 {
654 }
655 
657  const QString &error, const QString &message)
658 {
659  disconnect(this, SIGNAL(ServicePointChanged(const Tp::ServicePoint&)), NULL, NULL);
660 
661  Tp::AbstractInterface::invalidate(proxy, error, message);
662 }
663 
664 ChannelInterfaceSubjectInterface::ChannelInterfaceSubjectInterface(const QString& busName, const QString& objectPath, QObject *parent)
665  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
666 {
667 }
668 
669 ChannelInterfaceSubjectInterface::ChannelInterfaceSubjectInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
670  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
671 {
672 }
673 
676 {
677 }
678 
680  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
681 {
682 }
683 
685  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
686 {
687 }
688 
690  const QString &error, const QString &message)
691 {
692 
693  Tp::AbstractInterface::invalidate(proxy, error, message);
694 }
695 
696 ChannelInterfaceTubeInterface::ChannelInterfaceTubeInterface(const QString& busName, const QString& objectPath, QObject *parent)
697  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
698 {
699 }
700 
701 ChannelInterfaceTubeInterface::ChannelInterfaceTubeInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
702  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
703 {
704 }
705 
708 {
709 }
710 
712  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
713 {
714 }
715 
717  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
718 {
719 }
720 
722  const QString &error, const QString &message)
723 {
724  disconnect(this, SIGNAL(TubeChannelStateChanged(uint)), NULL, NULL);
725 
726  Tp::AbstractInterface::invalidate(proxy, error, message);
727 }
728 
729 ChannelTypeCallInterface::ChannelTypeCallInterface(const QString& busName, const QString& objectPath, QObject *parent)
730  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
731 {
732 }
733 
734 ChannelTypeCallInterface::ChannelTypeCallInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
735  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
736 {
737 }
738 
741 {
742 }
743 
745  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
746 {
747 }
748 
750  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
751 {
752 }
753 
755  const QString &error, const QString &message)
756 {
757  disconnect(this, SIGNAL(ContentAdded(const QDBusObjectPath&)), NULL, NULL);
758  disconnect(this, SIGNAL(ContentRemoved(const QDBusObjectPath&, const Tp::CallStateReason&)), NULL, NULL);
759  disconnect(this, SIGNAL(CallStateChanged(uint, uint, const Tp::CallStateReason&, const QVariantMap&)), NULL, NULL);
760  disconnect(this, SIGNAL(CallMembersChanged(const Tp::CallMemberMap&, const Tp::HandleIdentifierMap&, const Tp::UIntList&, const Tp::CallStateReason&)), NULL, NULL);
761 
762  Tp::AbstractInterface::invalidate(proxy, error, message);
763 }
764 
765 ChannelTypeContactListInterface::ChannelTypeContactListInterface(const QString& busName, const QString& objectPath, QObject *parent)
766  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
767 {
768 }
769 
770 ChannelTypeContactListInterface::ChannelTypeContactListInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
771  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
772 {
773 }
774 
777 {
778 }
779 
781  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
782 {
783 }
784 
786  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
787 {
788 }
789 
791  const QString &error, const QString &message)
792 {
793 
794  Tp::AbstractInterface::invalidate(proxy, error, message);
795 }
796 
797 ChannelTypeContactSearchInterface::ChannelTypeContactSearchInterface(const QString& busName, const QString& objectPath, QObject *parent)
798  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
799 {
800 }
801 
802 ChannelTypeContactSearchInterface::ChannelTypeContactSearchInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
803  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
804 {
805 }
806 
809 {
810 }
811 
813  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
814 {
815 }
816 
818  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
819 {
820 }
821 
823  const QString &error, const QString &message)
824 {
825  disconnect(this, SIGNAL(SearchStateChanged(uint, const QString&, const QVariantMap&)), NULL, NULL);
826  disconnect(this, SIGNAL(SearchResultReceived(const Tp::ContactSearchResultMap&)), NULL, NULL);
827 
828  Tp::AbstractInterface::invalidate(proxy, error, message);
829 }
830 
831 ChannelTypeDBusTubeInterface::ChannelTypeDBusTubeInterface(const QString& busName, const QString& objectPath, QObject *parent)
832  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
833 {
834 }
835 
836 ChannelTypeDBusTubeInterface::ChannelTypeDBusTubeInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
837  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
838 {
839 }
840 
843 {
844 }
845 
847  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
848 {
849 }
850 
852  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
853 {
854 }
855 
857  const QString &error, const QString &message)
858 {
859  disconnect(this, SIGNAL(DBusNamesChanged(const Tp::DBusTubeParticipants&, const Tp::UIntList&)), NULL, NULL);
860 
861  Tp::AbstractInterface::invalidate(proxy, error, message);
862 }
863 
864 ChannelTypeFileTransferInterface::ChannelTypeFileTransferInterface(const QString& busName, const QString& objectPath, QObject *parent)
865  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
866 {
867 }
868 
869 ChannelTypeFileTransferInterface::ChannelTypeFileTransferInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
870  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
871 {
872 }
873 
876 {
877 }
878 
880  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
881 {
882 }
883 
885  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
886 {
887 }
888 
890  const QString &error, const QString &message)
891 {
892  disconnect(this, SIGNAL(FileTransferStateChanged(uint, uint)), NULL, NULL);
893  disconnect(this, SIGNAL(TransferredBytesChanged(qulonglong)), NULL, NULL);
894  disconnect(this, SIGNAL(InitialOffsetDefined(qulonglong)), NULL, NULL);
895  disconnect(this, SIGNAL(URIDefined(const QString&)), NULL, NULL);
896 
897  Tp::AbstractInterface::invalidate(proxy, error, message);
898 }
899 
900 ChannelTypeRoomListInterface::ChannelTypeRoomListInterface(const QString& busName, const QString& objectPath, QObject *parent)
901  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
902 {
903 }
904 
905 ChannelTypeRoomListInterface::ChannelTypeRoomListInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
906  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
907 {
908 }
909 
912 {
913 }
914 
916  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
917 {
918 }
919 
921  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
922 {
923 }
924 
926  const QString &error, const QString &message)
927 {
928  disconnect(this, SIGNAL(GotRooms(const Tp::RoomInfoList&)), NULL, NULL);
929  disconnect(this, SIGNAL(ListingRooms(bool)), NULL, NULL);
930 
931  Tp::AbstractInterface::invalidate(proxy, error, message);
932 }
933 
934 ChannelTypeServerAuthenticationInterface::ChannelTypeServerAuthenticationInterface(const QString& busName, const QString& objectPath, QObject *parent)
935  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
936 {
937 }
938 
939 ChannelTypeServerAuthenticationInterface::ChannelTypeServerAuthenticationInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
940  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
941 {
942 }
943 
946 {
947 }
948 
950  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
951 {
952 }
953 
955  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
956 {
957 }
958 
960  const QString &error, const QString &message)
961 {
962 
963  Tp::AbstractInterface::invalidate(proxy, error, message);
964 }
965 
966 ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface(const QString& busName, const QString& objectPath, QObject *parent)
967  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
968 {
969 }
970 
971 ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
972  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
973 {
974 }
975 
978 {
979 }
980 
982  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
983 {
984 }
985 
987  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
988 {
989 }
990 
992  const QString &error, const QString &message)
993 {
994 
995  Tp::AbstractInterface::invalidate(proxy, error, message);
996 }
997 
998 ChannelTypeStreamTubeInterface::ChannelTypeStreamTubeInterface(const QString& busName, const QString& objectPath, QObject *parent)
999  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
1000 {
1001 }
1002 
1003 ChannelTypeStreamTubeInterface::ChannelTypeStreamTubeInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
1004  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
1005 {
1006 }
1007 
1010 {
1011 }
1012 
1014  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
1015 {
1016 }
1017 
1019  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
1020 {
1021 }
1022 
1024  const QString &error, const QString &message)
1025 {
1026  disconnect(this, SIGNAL(NewRemoteConnection(uint, const QDBusVariant&, uint)), NULL, NULL);
1027  disconnect(this, SIGNAL(NewLocalConnection(uint)), NULL, NULL);
1028  disconnect(this, SIGNAL(ConnectionClosed(uint, const QString&, const QString&)), NULL, NULL);
1029 
1030  Tp::AbstractInterface::invalidate(proxy, error, message);
1031 }
1032 
1033 ChannelTypeStreamedMediaInterface::ChannelTypeStreamedMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
1034  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
1035 {
1036 }
1037 
1038 ChannelTypeStreamedMediaInterface::ChannelTypeStreamedMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
1039  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
1040 {
1041 }
1042 
1045 {
1046 }
1047 
1049  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
1050 {
1051 }
1052 
1054  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
1055 {
1056 }
1057 
1059  const QString &error, const QString &message)
1060 {
1061  disconnect(this, SIGNAL(StreamAdded(uint, uint, uint)), NULL, NULL);
1062  disconnect(this, SIGNAL(StreamDirectionChanged(uint, uint, uint)), NULL, NULL);
1063  disconnect(this, SIGNAL(StreamError(uint, uint, const QString&)), NULL, NULL);
1064  disconnect(this, SIGNAL(StreamRemoved(uint)), NULL, NULL);
1065  disconnect(this, SIGNAL(StreamStateChanged(uint, uint)), NULL, NULL);
1066 
1067  Tp::AbstractInterface::invalidate(proxy, error, message);
1068 }
1069 
1070 ChannelTypeTextInterface::ChannelTypeTextInterface(const QString& busName, const QString& objectPath, QObject *parent)
1071  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
1072 {
1073 }
1074 
1075 ChannelTypeTextInterface::ChannelTypeTextInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
1076  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
1077 {
1078 }
1079 
1082 {
1083 }
1084 
1086  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
1087 {
1088 }
1089 
1091  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
1092 {
1093 }
1094 
1096  const QString &error, const QString &message)
1097 {
1098  disconnect(this, SIGNAL(LostMessage()), NULL, NULL);
1099  disconnect(this, SIGNAL(Received(uint, uint, uint, uint, uint, const QString&)), NULL, NULL);
1100  disconnect(this, SIGNAL(SendError(uint, uint, uint, const QString&)), NULL, NULL);
1101  disconnect(this, SIGNAL(Sent(uint, uint, const QString&)), NULL, NULL);
1102 
1103  Tp::AbstractInterface::invalidate(proxy, error, message);
1104 }
1105 
1106 ChannelTypeTubesInterface::ChannelTypeTubesInterface(const QString& busName, const QString& objectPath, QObject *parent)
1107  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
1108 {
1109 }
1110 
1111 ChannelTypeTubesInterface::ChannelTypeTubesInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
1112  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
1113 {
1114 }
1115 
1118 {
1119 }
1120 
1122  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
1123 {
1124 }
1125 
1127  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
1128 {
1129 }
1130 
1132  const QString &error, const QString &message)
1133 {
1134  disconnect(this, SIGNAL(NewTube(uint, uint, uint, const QString&, const QVariantMap&, uint)), NULL, NULL);
1135  disconnect(this, SIGNAL(TubeStateChanged(uint, uint)), NULL, NULL);
1136  disconnect(this, SIGNAL(TubeClosed(uint)), NULL, NULL);
1137  disconnect(this, SIGNAL(DBusNamesChanged(uint, const Tp::DBusTubeMemberList&, const Tp::UIntList&)), NULL, NULL);
1138  disconnect(this, SIGNAL(StreamTubeNewConnection(uint, uint)), NULL, NULL);
1139 
1140  Tp::AbstractInterface::invalidate(proxy, error, message);
1141 }
1142 }
1143 }
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3508
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:721
ChannelTypeServerAuthenticationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:934
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:889
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:689
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:359
void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags)
ChannelInterfaceMediaSignallingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:367
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:525
ChannelInterfaceSASLAuthenticationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:532
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:154
void StreamStateChanged(uint streamID, uint streamState)
void ChannelRemoved(const QDBusObjectPath &channel, const QVariantMap &details)
void DBusNamesChanged(const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed)
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:937
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9951
void FileTransferStateChanged(uint state, uint reason)
ChannelTypeContactListInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:765
ChannelInterfaceSubjectInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:664
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:221
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9330
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:122
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:656
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:55
Definition: build/TelepathyQt/_gen/types.h:1655
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:10900
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6271
ChannelInterfaceCallStateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:64
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1976
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:624
void ChatStateChanged(uint contact, uint state)
ChannelTypeStreamedMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:1033
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3730
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4317
Definition: build/TelepathyQt/_gen/types.h:1452
void HandleOwnersChangedDetailed(const Tp::HandleOwnerMap &added, const Tp::UIntList &removed, const Tp::HandleIdentifierMap &identifiers)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:392
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:187
ChannelInterfaceRoomInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:500
void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString &text)
void InitialOffsetDefined(qulonglong initialOffset)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:991
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:320
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6666
void SASLStatusChanged(uint status, const QString &reason, const QVariantMap &details)
void ChannelMerged(const QDBusObjectPath &channel, uint channelSpecificHandle, const QVariantMap &properties)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:460
void CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason &callStateReason, const QVariantMap &callStateDetails)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:10556
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:1023
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6132
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:3866
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4930
void HandleOwnersChanged(const Tp::HandleOwnerMap &added, const Tp::UIntList &removed)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:288
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:790
ChannelTypeFileTransferInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:864
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:1058
ChannelInterfaceChatStateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:129
ChannelTypeTubesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:1106
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:8155
void DBusNamesChanged(uint ID, const Tp::DBusTubeMemberList &added, const Tp::UIntList &removed)
void SearchResultReceived(const Tp::ContactSearchResultMap &result)
void CallMembersChanged(const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
Definition: cli-channel.h:44
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6841
ChannelInterfaceGroupInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:295
ChannelInterfaceServicePointInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:631
void SearchStateChanged(uint state, const QString &error, const QVariantMap &details)
ChannelTypeRoomListInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:900
ChannelInterfacePasswordInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:435
void StreamAdded(uint streamID, uint contactHandle, uint streamType)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:557
Definition: build/TelepathyQt/_gen/types.h:2710
ChannelInterfaceMessagesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:400
void ServicePointChanged(const Tp::ServicePoint &servicePoint)
ChannelInterfaceDestroyableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:231
ChannelInterfaceRoomConfigInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:468
ChannelTypeDBusTubeInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:831
ChannelInterfaceAnonymityInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:32
Definition: build/TelepathyQt/_gen/types.h:329
void NewLocalConnection(uint connectionID)
ChannelInterfaceSecurableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:599
Definition: build/TelepathyQt/_gen/types.h:107
void TransferredBytesChanged(qulonglong count)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:493
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:57
void GroupFlagsChanged(uint added, uint removed)
void MembersChanged(const QString &message, const Tp::UIntList &added, const Tp::UIntList &removed, const Tp::UIntList &localPending, const Tp::UIntList &remotePending, uint actor, uint reason)
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:8415
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:5837
ChannelInterfaceFileTransferMetadataInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:263
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:5128
void SelfContactChanged(uint selfHandle, const QString &selfID)
ChannelInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:196
void TonesDeferred(const QString &tones)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:925
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:7709
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:24
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9443
ChannelInterfaceSMSInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:566
ChannelTypeCallInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:729
void PasswordFlagsChanged(uint added, uint removed)
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2699
QList< DBusTubeMember > DBusTubeMemberList
Definition: build/TelepathyQt/_gen/types.h:1439
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1344
void PendingMessagesRemoved(const Tp::UIntList &messageIDs)
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:4493
void Sent(uint timestamp, uint type, const QString &text)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:856
ChannelTypeServerTLSConnectionInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:966
Definition: abstract-adaptor.cpp:31
ChannelTypeStreamTubeInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:998
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:649
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:822
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:754
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9599
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:1095
void StreamError(uint streamID, uint errorCode, const QString &message)
Definition: build/TelepathyQt/_gen/types.h:296
void NewSessionHandler(const QDBusObjectPath &sessionHandler, const QString &sessionType)
void SendError(uint error, uint timestamp, uint type, const QString &text)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:1131
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2479
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:1524
void CallStateChanged(uint contact, uint state)
ChannelInterfaceTubeInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:696
ChannelTypeTextInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:1070
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2328
void HoldStateChanged(uint holdState, uint reason)
ChannelInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:9
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:6423
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:799
void MessageSent(const Tp::MessagePartList &content, uint flags, const QString &messageToken)
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
void SendingTones(const QString &tones)
void NewChallenge(const QByteArray &challengeData)
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:7801
void ContentRemoved(const QDBusObjectPath &content, const Tp::CallStateReason &reason)
ChannelTypeContactSearchInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:797
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:256
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
void MembersChangedDetailed(const Tp::UIntList &added, const Tp::UIntList &removed, const Tp::UIntList &localPending, const Tp::UIntList &remotePending, const QVariantMap &details)
void NewRemoteConnection(uint handle, const QDBusVariant &connectionParam, uint connectionID)
void GotRooms(const Tp::RoomInfoList &rooms)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:425
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:591
void ContentAdded(const QDBusObjectPath &content)
ChannelInterfaceConferenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:162
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:89
ChannelInterfaceHoldInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:334
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:2649
static QLatin1String staticInterfaceName()
Definition: cli-channel.h:9064
Definition: build/TelepathyQt/_gen/types.h:1677
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-body.hpp:959
void ConnectionClosed(uint connectionID, const QString &error, const QString &message)
void StreamTubeNewConnection(uint ID, uint handle)
void TubeStateChanged(uint ID, uint state)
ChannelInterfaceCaptchaAuthenticationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-body.hpp:97
void MessageReceived(const Tp::MessagePartList &message)
void NewTube(uint ID, uint initiator, uint type, const QString &service, const QVariantMap &parameters, uint state)
Definition: build/TelepathyQt/_gen/types.h:3491


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01098.html0000644000175000017500000001122212727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::NotFilter< T > Member List

This is the complete list of members for Tp::NotFilter< T >, including all inherited members.

create(const SharedPtr< const Filter< T > > &filter=SharedPtr< const Filter< T > >())Tp::NotFilter< T >inlinestatic
Filter()Tp::Filter< T >inlineprotected
filter() const Tp::NotFilter< T >inline
isValid() const Tp::NotFilter< T >inlinevirtual
matches(const SharedPtr< T > &t) const Tp::NotFilter< T >inlinevirtual
RefCounted()Tp::RefCountedinline
~Filter()Tp::Filter< T >inlinevirtual
~NotFilter()Tp::NotFilter< T >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00942.html0000644000175000017500000003045712727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionAvatarsInterface Member List

This is the complete list of members for Tp::BaseConnectionAvatarsInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
avatarDetails() const Tp::BaseConnectionAvatarsInterface
avatarRetrieved(uint contact, const QString &token, const QByteArray &avatar, const QString &type)Tp::BaseConnectionAvatarsInterface
avatarUpdated(uint contact, const QString &newAvatarToken)Tp::BaseConnectionAvatarsInterface
BaseConnectionAvatarsInterface()Tp::BaseConnectionAvatarsInterfaceprotected
clearAvatar(DBusError *error)Tp::BaseConnectionAvatarsInterface
ClearAvatarCallback typedefTp::BaseConnectionAvatarsInterface
create()Tp::BaseConnectionAvatarsInterfaceinlinestatic
create()Tp::BaseConnectionAvatarsInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getKnownAvatarTokens(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionAvatarsInterface
GetKnownAvatarTokensCallback typedefTp::BaseConnectionAvatarsInterface
immutableProperties() const Tp::BaseConnectionAvatarsInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestAvatars(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionAvatarsInterface
RequestAvatarsCallback typedefTp::BaseConnectionAvatarsInterface
setAvatar(const QByteArray &avatar, const QString &mimeType, DBusError *error)Tp::BaseConnectionAvatarsInterface
SetAvatarCallback typedefTp::BaseConnectionAvatarsInterface
setAvatarDetails(const AvatarSpec &spec)Tp::BaseConnectionAvatarsInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setClearAvatarCallback(const ClearAvatarCallback &cb)Tp::BaseConnectionAvatarsInterface
setGetKnownAvatarTokensCallback(const GetKnownAvatarTokensCallback &cb)Tp::BaseConnectionAvatarsInterface
setRequestAvatarsCallback(const RequestAvatarsCallback &cb)Tp::BaseConnectionAvatarsInterface
setSetAvatarCallback(const SetAvatarCallback &cb)Tp::BaseConnectionAvatarsInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionAvatarsInterface()Tp::BaseConnectionAvatarsInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00441.html0000644000175000017500000010454012727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::Client::PropertiesInterfaceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::PropertiesInterfaceInterface Class Reference

#include <TelepathyQt/Properties>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::PropertyValueListGetProperties (const Tp::UIntList &properties, int timeout=-1)
 
QDBusPendingReply< Tp::PropertySpecListListProperties (int timeout=-1)
 
QDBusPendingReply SetProperties (const Tp::PropertyValueList &properties, int timeout=-1)
 

Signals

void PropertiesChanged (const Tp::PropertyValueList &properties)
 
void PropertyFlagsChanged (const Tp::PropertyFlagsChangeList &properties)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 PropertiesInterfaceInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 PropertiesInterfaceInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 PropertiesInterfaceInterface (Tp::DBusProxy *proxy)
 
 PropertiesInterfaceInterface (const Tp::AbstractInterface &mainInterface)
 
 PropertiesInterfaceInterface (const Tp::AbstractInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Properties".

Constructor & Destructor Documentation

Tp::Client::PropertiesInterfaceInterface::PropertiesInterfaceInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a PropertiesInterfaceInterface 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.
Tp::Client::PropertiesInterfaceInterface::PropertiesInterfaceInterface ( Tp::DBusProxy proxy)

Creates a PropertiesInterfaceInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::PropertiesInterfaceInterface::PropertiesInterfaceInterface ( const Tp::AbstractInterface mainInterface)
explicit

Creates a PropertiesInterfaceInterface 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.
Tp::Client::PropertiesInterfaceInterface::PropertiesInterfaceInterface ( const Tp::AbstractInterface mainInterface,
QObject *  parent 
)

Creates a PropertiesInterfaceInterface 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 Tp::Client::PropertiesInterfaceInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Properties", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::PropertiesInterfaceInterface::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<Tp::PropertyValueList> Tp::Client::PropertiesInterfaceInterface::GetProperties ( const Tp::UIntList properties,
int  timeout = -1 
)
inlineslot

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

Returns an array of (identifier, value) pairs containing the current values of the given properties.

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

Parameters
properties
An array of property identifiers
timeoutThe timeout in milliseconds.
Returns

An array of structs containing:

  • integer identifiers
  • variant boxed values

QDBusPendingReply<Tp::PropertySpecList> Tp::Client::PropertiesInterfaceInterface::ListProperties ( int  timeout = -1)
inlineslot

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

Returns a dictionary of the properties available on this channel.

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.
Returns
An array of structs containing: an integer identifier a string 
property name a string representing the D-Bus signature of this 
property a bitwise OR of the flags applicable to this property
QDBusPendingReply Tp::Client::PropertiesInterfaceInterface::SetProperties ( const Tp::PropertyValueList properties,
int  timeout = -1 
)
inlineslot

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

Takes an array of (identifier, value) pairs containing desired values to set the given properties. In the case of any errors, no properties will be changed. When the changes have been acknowledged by the server, the PropertiesChanged signal will be emitted.

All properties given must have the PROPERTY_FLAG_WRITE flag, or PermissionDenied will be returned. If any variants are of the wrong type, NotAvailable will be returned. If any given property identifiers are invalid, InvalidArgument will be returned.

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

Parameters
properties
An array mapping integer property identifiers to boxed values
timeoutThe timeout in milliseconds.
void Tp::Client::PropertiesInterfaceInterface::PropertiesChanged ( const Tp::PropertyValueList properties)
signal

Represents the signal PropertiesChanged on the remote object.

Emitted when the value of readable properties has changed.

Parameters
properties

An array of structs containing:

  • integer identifiers
  • variant boxed values

The array should contain only properties whose values have actually changed.

void Tp::Client::PropertiesInterfaceInterface::PropertyFlagsChanged ( const Tp::PropertyFlagsChangeList properties)
signal

Represents the signal PropertyFlagsChanged on the remote object.

Emitted when the flags of some room properties have changed.

Parameters
properties

An array of structs containing:

  • integer identifiers
  • a bitwise OR of the current flags

The array should contain only properties whose flags have actually changed.

void Tp::Client::PropertiesInterfaceInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00196.html0000644000175000017500000006545712727270137021022 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceSecurableInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ChannelInterfaceSecurableInterface Class Reference

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Member Functions

 ChannelInterfaceSecurableInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSecurableInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSecurableInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceSecurableInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceSecurableInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyEncrypted () const
 
Tp::PendingVariantrequestPropertyVerified () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceSecurableInterface::ChannelInterfaceSecurableInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceSecurableInterface 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.
Tp::Client::ChannelInterfaceSecurableInterface::ChannelInterfaceSecurableInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceSecurableInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceSecurableInterface::ChannelInterfaceSecurableInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceSecurableInterface 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 Tp::Client::ChannelInterfaceSecurableInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Securable", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSecurableInterface::requestPropertyEncrypted ( ) const
inline

Asynchronous getter for the remote object property Encrypted of type bool.

True if this channel occurs over an encrypted connection. This does not imply that steps have been taken to avoid man-in-the-middle attacks.

For future support for RFC 5056 Channel Binding it is desirable to be able to use some SASL mechanisms over an encrypted connection to an unverified peer, which can prove that it is the desired destination during the SASL negotiation.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSecurableInterface::requestPropertyVerified ( ) const
inline

Asynchronous getter for the remote object property Verified of type bool.

True if this channel occurs over a connection that is protected against tampering, and has been verified to be with the desired destination: for instance, one where TLS was previously negotiated, and the TLS certificate has been verified against a configured certificate authority or accepted by the user.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceSecurableInterface::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.
void Tp::Client::ChannelInterfaceSecurableInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00601_source.html0000644000175000017500000006360712727270137022364 0ustar00kaffeinekaffeine00000000000000 cli-call-stream-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-stream-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-stream.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallStreamInterface::CallStreamInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallStreamInterface::CallStreamInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(RemoteMembersChanged(const Tp::ContactSendingStateMap&, const Tp::HandleIdentifierMap&, const Tp::UIntList&, const Tp::CallStateReason&)), NULL, NULL);
28  disconnect(this, SIGNAL(LocalSendingStateChanged(uint, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42 
45 {
46 }
47 
49  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52 
54  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57 
59  const QString &error, const QString &message)
60 {
61  disconnect(this, SIGNAL(SendingStateChanged(uint)), NULL, NULL);
62  disconnect(this, SIGNAL(ReceivingStateChanged(uint)), NULL, NULL);
63  disconnect(this, SIGNAL(LocalCandidatesAdded(const Tp::CandidateList&)), NULL, NULL);
64  disconnect(this, SIGNAL(LocalCredentialsChanged(const QString&, const QString&)), NULL, NULL);
65  disconnect(this, SIGNAL(RelayInfoChanged(const Tp::StringVariantMapList&)), NULL, NULL);
66  disconnect(this, SIGNAL(STUNServersChanged(const Tp::SocketAddressIPList&)), NULL, NULL);
67  disconnect(this, SIGNAL(ServerInfoRetrieved()), NULL, NULL);
68  disconnect(this, SIGNAL(EndpointsChanged(const Tp::ObjectPathList&, const Tp::ObjectPathList&)), NULL, NULL);
69  disconnect(this, SIGNAL(ICERestartRequested()), NULL, NULL);
70 
71  Tp::AbstractInterface::invalidate(proxy, error, message);
72 }
73 }
74 }
CallStreamInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:33
QList< SocketAddressIP > SocketAddressIPList
Definition: build/TelepathyQt/_gen/types.h:2885
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:58
Definition: build/TelepathyQt/_gen/types.h:1655
Definition: cli-call-stream.h:44
static QLatin1String staticInterfaceName()
Definition: cli-call-stream.h:388
void RemoteMembersChanged(const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
CallStreamInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-body.hpp:9
Definition: build/TelepathyQt/_gen/types.h:84
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-body.hpp:24
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
void LocalCredentialsChanged(const QString &username, const QString &password)
QList< Candidate > CandidateList
Definition: build/TelepathyQt/_gen/types.h:422
void STUNServersChanged(const Tp::SocketAddressIPList &servers)
void LocalCandidatesAdded(const Tp::CandidateList &candidates)
void EndpointsChanged(const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)
Definition: build/TelepathyQt/_gen/types.h:329
Definition: build/TelepathyQt/_gen/types.h:107
QList< StringVariantMap > StringVariantMapList
Definition: build/TelepathyQt/_gen/types.h:3096
void LocalSendingStateChanged(uint state, const Tp::CallStateReason &reason)
Definition: abstract-adaptor.cpp:31
Definition: build/TelepathyQt/_gen/types.h:1293
static QLatin1String staticInterfaceName()
Definition: cli-call-stream.h:55
void RelayInfoChanged(const Tp::StringVariantMapList &relayInfo)
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01157.html0000644000175000017500000000703412727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReadinessHelper::Introspectable Member List

This is the complete list of members for Tp::ReadinessHelper::Introspectable, including all inherited members.

Introspectable()Tp::ReadinessHelper::Introspectable
Introspectable(const QSet< uint > &makesSenseForStatuses, const Features &dependsOnFeatures, const QStringList &dependsOnInterfaces, IntrospectFunc introspectFunc, void *introspectFuncData, bool critical=false)Tp::ReadinessHelper::Introspectable
Introspectable(const Introspectable &other)Tp::ReadinessHelper::Introspectable
operator=(const Introspectable &other)Tp::ReadinessHelper::Introspectable
~Introspectable()Tp::ReadinessHelper::Introspectable


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00500.html0000644000175000017500000006355512727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::StatefulDBusProxy Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | List of all members
Tp::StatefulDBusProxy Class Reference

The StatefulDBusProxy class is a base class representing a remote object whose API is stateful. More...

#include <TelepathyQt/StatefulDBusProxy>

Inherits Tp::DBusProxy.

Inherited by Tp::CallContent, Tp::CallStream, Tp::Channel, Tp::ChannelDispatchOperation, Tp::ChannelRequest, Tp::Connection, and Tp::DebugReceiver.

Public Member Functions

 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Static Public Member Functions

static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Additional Inherited Members

- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 

Detailed Description

The StatefulDBusProxy class is a base class representing a remote object whose API is stateful.

These objects do not remain useful if the service providing them exits or crashes, so they emit invalidated() if this happens.

Examples include the Connection and Channel classes.

Constructor & Destructor Documentation

Tp::StatefulDBusProxy::StatefulDBusProxy ( const QDBusConnection &  dbusConnection,
const QString &  busName,
const QString &  objectPath,
const Feature featureCore 
)

Construct a new StatefulDBusProxy object.

Parameters
dbusConnectionQDBusConnection to use.
busNameD-Bus bus name of the service that provides the remote object.
objectPathThe object path.
featureCoreThe object core feature.
Tp::StatefulDBusProxy::~StatefulDBusProxy ( )
virtual

Class destructor.

Member Function Documentation

QString Tp::StatefulDBusProxy::uniqueNameFrom ( const QDBusConnection &  bus,
const QString &  wellKnownOrUnique 
)
static
QString Tp::StatefulDBusProxy::uniqueNameFrom ( const QDBusConnection &  bus,
const QString &  wellKnownOrUnique,
QString &  error,
QString &  message 
)
static


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00255.html0000644000175000017500000010270512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceCapabilitiesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceCapabilitiesInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::CapabilityPairListAdvertiseCapabilities (const Tp::CapabilityPairList &add, const QStringList &remove, int timeout=-1)
 
QDBusPendingReply< Tp::ContactCapabilityListGetCapabilities (const Tp::UIntList &handles, int timeout=-1)
 

Signals

void CapabilitiesChanged (const Tp::CapabilityChangeList &caps)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceCapabilitiesInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceCapabilitiesInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceCapabilitiesInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceCapabilitiesInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceCapabilitiesInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Capabilities".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceCapabilitiesInterface 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.
Tp::Client::ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceCapabilitiesInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceCapabilitiesInterface 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.
Tp::Client::ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceCapabilitiesInterface 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 Tp::Client::ConnectionInterfaceCapabilitiesInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Capabilities", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceCapabilitiesInterface::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<Tp::CapabilityPairList> Tp::Client::ConnectionInterfaceCapabilitiesInterface::AdvertiseCapabilities ( const Tp::CapabilityPairList add,
const QStringList &  remove,
int  timeout = -1 
)
inlineslot

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

Used by user interfaces to indicate which channel types they are able to handle on this connection. Because these may be provided by different client processes, this method accepts channel types to add and remove from the set already advertised on this connection. The type of advertised capabilities (create versus invite) is protocol-dependent and hence cannot be set by the this method. In the case of a client adding an already advertised channel type but with new channel type specific flags, the connection manager should simply add the new flags to the set of advertised capabilities.

Upon a successful invocation of this method, the CapabilitiesChanged() signal will be emitted for the user's own handle ( ConnectionInterface::GetSelfHandle() ) by the connection manager to indicate the changes that have been made. This signal should also be monitored to ensure that the set is kept accurate - for example, a client may remove capabilities or type specific capability flags when it exits which are still provided by another client.

On connections managed by the ChannelDispatcherInterface , this method SHOULD NOT be used by clients other than the ChannelDispatcher itself.

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

Parameters
add An array of structures containing:
  • a string channel type
  • a bitwise OR of type specific capability flags
remove
An array of D-Bus interface names of channel types to remove
timeoutThe timeout in milliseconds.
Returns
An array of structures describing the current capabilities 
containing: a string channel type a bitwise OR of type specific 
capability flags
QDBusPendingReply<Tp::ContactCapabilityList> Tp::Client::ConnectionInterfaceCapabilitiesInterface::GetCapabilities ( const Tp::UIntList handles,
int  timeout = -1 
)
inlineslot

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

Returns an array of capabilities for the given contact handles.

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

Parameters
handles

An array of contact handles for this connection.

This may include zero, which originally meant a query for capabilities available on the connection itself. This usage is deprecated; clients SHOULD NOT do this, and connection managers SHOULD proceed as though zero had not been present in this list.

timeoutThe timeout in milliseconds.
Returns

An array of structures containing:

  • an integer handle representing the contact
  • a string channel type
  • a bitwise OR of generic capability flags for the type
  • a bitwise OR of type specific capability flags for the type

void Tp::Client::ConnectionInterfaceCapabilitiesInterface::CapabilitiesChanged ( const Tp::CapabilityChangeList caps)
signal

Represents the signal CapabilitiesChanged on the remote object.

Announce that there has been a change of capabilities on the given handle.

If the handle is zero, the capabilities refer to the connection itself, in some poorly defined way. This usage is deprecated and clients should ignore it.

Parameters
caps An array of structures containing:
  • an integer handle representing the contact
  • a string channel type
  • a bitwise OR of the contact's old generic capability flags
  • a bitwise OR of the contact's new generic capability flags
  • a bitwise OR of the contact's old type specific capability flags
  • a bitwise OR of the contact's new type specific capability flags
void Tp::Client::ConnectionInterfaceCapabilitiesInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01216.html0000644000175000017500000001304212727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::WeakPtr< T > Member List

This is the complete list of members for Tp::WeakPtr< T >, including all inherited members.

isNull() const Tp::WeakPtr< T >inline
operator UnspecifiedBoolType() const Tp::WeakPtr< T >inline
operator!() const Tp::WeakPtr< T >inline
operator=(const WeakPtr< T > &o)Tp::WeakPtr< T >inline
operator=(const SharedPtr< T > &o)Tp::WeakPtr< T >inline
qHash(const WeakPtr< T > &ptr)Tp::WeakPtr< T >friend
swap(WeakPtr< T > &o)Tp::WeakPtr< T >inline
toStrongRef() const Tp::WeakPtr< T >inline
WeakPtr()Tp::WeakPtr< T >inline
WeakPtr(T *d)Tp::WeakPtr< T >inlineexplicit
WeakPtr(const WeakPtr< T > &o)Tp::WeakPtr< T >inline
WeakPtr(const SharedPtr< T > &o)Tp::WeakPtr< T >inline
~WeakPtr()Tp::WeakPtr< T >inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_g.html0000644000175000017500000000323012727270137023530 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- g -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00314.html0000644000175000017500000003227012727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::DBusError Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::DBusError Class Reference

Small container class, containing a D-Bus error. More...

#include <TelepathyQt/DBusError>

Public Member Functions

 DBusError ()
 
 DBusError (const QString &name, const QString &message)
 
 ~DBusError ()
 
bool isValid () const
 
bool operator== (const DBusError &other) const
 
bool operator!= (const DBusError &other) const
 
QString name () const
 
QString message () const
 
void set (const QString &name, const QString &message)
 

Detailed Description

Small container class, containing a D-Bus error.

Constructor & Destructor Documentation

Tp::DBusError::DBusError ( )

Construct an empty DBusError

Tp::DBusError::DBusError ( const QString &  name,
const QString &  message 
)

Construct a DBusError with the given error name and message.

Parameters
nameThe D-Bus error name.
messageA human-readable description of the error.
Tp::DBusError::~DBusError ( )

Class destructor.

Member Function Documentation

bool Tp::DBusError::isValid ( ) const
inline

Return whether this DBusError is set to contain an error or not.

Returns
true if the error name and message have been set, or false otherwise.
bool Tp::DBusError::operator== ( const DBusError other) const

Compare this error with another one.

Parameters
otherThe other error to compare to.
Returns
true if the two errors have the same name and message or false otherwise.
bool Tp::DBusError::operator!= ( const DBusError other) const

Compare this error with another one.

Parameters
otherThe other error to compare to.
Returns
false if the two errors have the same name and message or true otherwise.
QString Tp::DBusError::name ( ) const

Return the D-Bus name of this error.

Returns
The D-Bus name of this error.
QString Tp::DBusError::message ( ) const

Return the human-readable description of the error.

Returns
The human-readable description of the error.
void Tp::DBusError::set ( const QString &  name,
const QString &  message 
)

Set this DBusError to contain the given error name and message.

Parameters
nameThe D-Bus error name to set.
messageThe description of the error to set.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01285.html0000644000175000017500000003011512727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceCellularInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceCellularInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceCellularInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceCellularInterface
ConnectionInterfaceCellularInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceCellularInterface
ConnectionInterfaceCellularInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceCellularInterface
ConnectionInterfaceCellularInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceCellularInterfaceexplicit
ConnectionInterfaceCellularInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceCellularInterface
IMSIChanged(const QString &IMSI)Tp::Client::ConnectionInterfaceCellularInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceCellularInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyIMSI() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyMessageNationalCharacterSet() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyMessageReducedCharacterSet() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyMessageServiceCentre() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyMessageValidityPeriod() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
requestPropertyOverrideMessageServiceCentre() const Tp::Client::ConnectionInterfaceCellularInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyMessageNationalCharacterSet(QString newValue)Tp::Client::ConnectionInterfaceCellularInterfaceinline
setPropertyMessageReducedCharacterSet(bool newValue)Tp::Client::ConnectionInterfaceCellularInterfaceinline
setPropertyMessageServiceCentre(QString newValue)Tp::Client::ConnectionInterfaceCellularInterfaceinline
setPropertyMessageValidityPeriod(uint newValue)Tp::Client::ConnectionInterfaceCellularInterfaceinline
setPropertyOverrideMessageServiceCentre(bool newValue)Tp::Client::ConnectionInterfaceCellularInterfaceinline
staticInterfaceName()Tp::Client::ConnectionInterfaceCellularInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00069.html0000644000175000017500000005666712727270137021024 0ustar00kaffeinekaffeine00000000000000 Tp::BaseCallMuteInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Signals | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseCallMuteInterface Class Reference

Base class for implementations of Call.Interface.Mute. More...

#include <TelepathyQt/BaseCall>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, const Tp::LocalMuteState &, DBusError * > SetMuteStateCallback
 

Signals

void muteStateChanged (const Tp::LocalMuteState &state)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseCallMuteInterface ()
 
QVariantMap immutableProperties () const
 
Tp::LocalMuteState localMuteState () const
 
void setMuteState (const Tp::LocalMuteState &state)
 
void setSetMuteStateCallback (const SetMuteStateCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseCallMuteInterfacePtr create ()
 
template<typename BaseCallMuteInterfaceSubclass >
static SharedPtr< BaseCallMuteInterfaceSubclass > create ()
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Call.Interface.Mute.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseCallMuteInterface::~BaseCallMuteInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseCallMuteInterfacePtr Tp::BaseCallMuteInterface::create ( )
inlinestatic
template<typename BaseCallMuteInterfaceSubclass >
static SharedPtr<BaseCallMuteInterfaceSubclass> Tp::BaseCallMuteInterface::create ( )
inlinestatic
QVariantMap Tp::BaseCallMuteInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::LocalMuteState Tp::BaseCallMuteInterface::localMuteState ( ) const
void Tp::BaseCallMuteInterface::setMuteState ( const Tp::LocalMuteState state)
void Tp::BaseCallMuteInterface::setSetMuteStateCallback ( const SetMuteStateCallback cb)
void Tp::BaseCallMuteInterface::muteStateChanged ( const Tp::LocalMuteState state)
signal


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00884.html0000644000175000017500000003537512727270137021022 0ustar00kaffeinekaffeine00000000000000 Mapping types
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes
Mapping types

Classes

struct  Tp::AddressingNormalizationMap
 
struct  Tp::AliasMap
 
struct  Tp::AvatarTokenMap
 
struct  Tp::CallMemberMap
 
struct  Tp::CandidateInfo
 
struct  Tp::CaptchaAnswers
 
struct  Tp::ChannelCallStateMap
 
struct  Tp::ChannelClass
 
struct  Tp::ChannelOriginatorMap
 
struct  Tp::ChatStateMap
 
struct  Tp::ComponentStateMap
 
struct  Tp::ContactAttributesMap
 
struct  Tp::ContactClientTypes
 
struct  Tp::ContactLocations
 
struct  Tp::ContactMediaDescriptionPropertiesMap
 
struct  Tp::ContactSSRCsMap
 
struct  Tp::ContactSearchMap
 
struct  Tp::ContactSendingStateMap
 
struct  Tp::DBusTubeParticipants
 
struct  Tp::HandleIdentifierMap
 
struct  Tp::HandleOwnerMap
 
struct  Tp::Location
 
struct  Tp::Mail
 
struct  Tp::MediaDescriptionProperties
 
struct  Tp::MessagePart
 
struct  Tp::MessagePartContentMap
 
struct  Tp::Metadata
 
struct  Tp::MultipleStatusMap
 
struct  Tp::ObjectImmutablePropertiesMap
 
struct  Tp::ProtocolPropertiesMap
 
struct  Tp::QualifiedPropertyValueMap
 
struct  Tp::SingleContactAttributesMap
 
struct  Tp::StringStringMap
 
struct  Tp::StringVariantMap
 
struct  Tp::SupportedSocketMap
 
struct  Tp::VCardFieldAddressMap
 
struct  Tp::ContactCapabilitiesMap
 
struct  Tp::ContactInfoMap
 
struct  Tp::ContactSearchResultMap
 
struct  Tp::ContactSubscriptionMap
 
struct  Tp::NotDelegatedMap
 
struct  Tp::SimpleContactPresences
 
struct  Tp::SimpleStatusSpecMap
 
struct  Tp::ContactCodecMap
 
struct  Tp::ContactPresences
 
struct  Tp::RTCPFeedbackMessageMap
 
struct  Tp::StatusSpecMap
 

Detailed Description

Mapping types generated from the specification.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/namespacemembers_vars.html0000644000175000017500000001655112727270137024533 0ustar00kaffeinekaffeine00000000000000 Namespace Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- n -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00383.html0000644000175000017500000005716712727270137021017 0ustar00kaffeinekaffeine00000000000000 Tp::Message Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Message Class Reference

The Message class represents a Telepathy message in a TextChannel. More...

#include <TelepathyQt/Message>

Inherited by Tp::ReceivedMessage.

Public Member Functions

 Message (ChannelTextMessageType, const QString &)
 
 Message (const Message &other)
 
 ~Message ()
 
Messageoperator= (const Message &other)
 
bool operator== (const Message &other) const
 
bool operator!= (const Message &other) const
 
QDateTime sent () const
 
ChannelTextMessageType messageType () const
 
bool isTruncated () const
 
bool hasNonTextContent () const
 
QString messageToken () const
 
bool isSpecificToDBusInterface () const
 
QString dbusInterface () const
 
QString text () const
 
MessagePart header () const
 
int size () const
 
MessagePart part (uint index) const
 
MessagePartList parts () const
 

Detailed Description

The Message class represents a Telepathy message in a TextChannel.

This class is implicitly shared, like QString.

Constructor & Destructor Documentation

Tp::Message::Message ( ChannelTextMessageType  type,
const QString &  text 
)

Construct a new Message object.

Parameters
typeThe message type.
textThe message body.
Tp::Message::Message ( const Message other)

Copy constructor.

Tp::Message::~Message ( )

Class destructor.

Member Function Documentation

Message & Tp::Message::operator= ( const Message other)

Assignment operator.

bool Tp::Message::operator== ( const Message other) const

Equality operator.

bool Tp::Message::operator!= ( const Message other) const
inline
QDateTime Tp::Message::sent ( ) const

Return the time the message was sent, or QDateTime() if that time is unknown.

Returns
The timestamp as QDateTime.
ChannelTextMessageType Tp::Message::messageType ( ) const

Return the type of this message, or ChannelTextMessageTypeNormal if the type is not recognised.

Returns
The type as ChannelTextMessageType.
bool Tp::Message::isTruncated ( ) const

Return whether this message was truncated during delivery.

Returns
true if truncated, false otherwise.
bool Tp::Message::hasNonTextContent ( ) const

Return whether this message contains parts not representable as plain text.

Returns
true if it cannot completely be represented as plain text, false otherwise.
QString Tp::Message::messageToken ( ) const

Return the unique token identifying this message (e.g. the id attribute for XMPP messages), or an empty string if there is no suitable token.

Returns
The non-empty message identifier, or an empty string if none.
bool Tp::Message::isSpecificToDBusInterface ( ) const

Return whether this message is specific to a D-Bus interface. This is false in almost all cases.

If this function returns true, the message is specific to the interface indicated by dbusInterface(). Clients that don't understand that interface should not display the message. However, if the client would acknowledge an ordinary message, it must also acknowledge this interface-specific message.

Returns
true if dbusInterface() would return a non-empty string, false otherwise.
See also
dbusInterface()
QString Tp::Message::dbusInterface ( ) const

Return the D-Bus interface to which this message is specific, or an empty string for normal messages.

Returns
The D-Bus interface name, or an empty string.
See also
isSpecificToDBusInterface()
QString Tp::Message::text ( ) const

Return the message body containing all "text/plain" parts.

Returns
The body text.
MessagePart Tp::Message::header ( ) const

Return the message's header part, as defined by the Telepathy specification.

This is provided for advanced clients that need to access additional information not available through the normal Message API.

Returns
The header as a MessagePart object. The same thing as part(0).
int Tp::Message::size ( ) const

Return the number of parts in this message.

Returns
1 greater than the largest valid argument to part().
See also
part(), parts()
MessagePart Tp::Message::part ( uint  index) const

Return the message's part for index, as defined by the Telepathy specification.

This is provided for advanced clients that need to access additional information not available through the normal Message API.

Parameters
indexThe part to access, which must be strictly less than size(); part number 0 is the header, parts numbered 1 or greater are the body of the message.
Returns
A MessagePart object.
MessagePartList Tp::Message::parts ( ) const

Return the list of message parts forming this message.

Returns
The list of MessagePart objects.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01344.html0000644000175000017500000001147012727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeRoomListAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeRoomListAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetListingRooms(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeRoomListAdaptorslot
GotRooms(const Tp::RoomInfoList &rooms)Tp::Service::ChannelTypeRoomListAdaptorsignal
ListingRooms(bool listing)Tp::Service::ChannelTypeRoomListAdaptorsignal
ListRooms(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeRoomListAdaptorslot
Server() const Tp::Service::ChannelTypeRoomListAdaptor
StopListing(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeRoomListAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00128.html0000644000175000017500000006577012727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface Class Reference

#include <TelepathyQt/CallContentMediaDescriptionInterface>

Inherits Tp::AbstractInterface.

Public Member Functions

 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (Tp::DBusProxy *proxy)
 
 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)
 
 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyFeedbackMessages () const
 
Tp::PendingVariantrequestPropertyDoesAVPF () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback".

Constructor & Destructor Documentation

Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentMediaDescriptionInterfaceRTCPFeedbackInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface ( Tp::DBusProxy proxy)

Creates a CallContentMediaDescriptionInterfaceRTCPFeedbackInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface)
explicit

Creates a CallContentMediaDescriptionInterfaceRTCPFeedbackInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface,
QObject *  parent 
)

Creates a CallContentMediaDescriptionInterfaceRTCPFeedbackInterface 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 Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::requestPropertyFeedbackMessages ( ) const
inline

Asynchronous getter for the remote object property FeedbackMessages of type Tp::RTCPFeedbackMessageMap.

A map of remote feedback codec properties that are supported.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::requestPropertyDoesAVPF ( ) const
inline

Asynchronous getter for the remote object property DoesAVPF of type bool.

True if the remote contact supports Audio-Visual Profile Feedback (AVPF), otherwise False.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::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.
void Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_0x7e.html0000644000175000017500000006173712727270137023052 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- ~ -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01099.html0000644000175000017500000000677112727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Object Member List

This is the complete list of members for Tp::Object, including all inherited members.

notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00943.html0000644000175000017500000002360012727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionClientTypesInterface Member List

This is the complete list of members for Tp::BaseConnectionClientTypesInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionClientTypesInterface()Tp::BaseConnectionClientTypesInterfaceprotected
clientTypesUpdated(uint contact, const QStringList &clientTypes)Tp::BaseConnectionClientTypesInterface
create()Tp::BaseConnectionClientTypesInterfaceinlinestatic
create()Tp::BaseConnectionClientTypesInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getClientTypes(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionClientTypesInterface
GetClientTypesCallback typedefTp::BaseConnectionClientTypesInterface
immutableProperties() const Tp::BaseConnectionClientTypesInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestClientTypes(uint contact, DBusError *error)Tp::BaseConnectionClientTypesInterface
RequestClientTypesCallback typedefTp::BaseConnectionClientTypesInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setGetClientTypesCallback(const GetClientTypesCallback &cb)Tp::BaseConnectionClientTypesInterface
setRequestClientTypesCallback(const RequestClientTypesCallback &cb)Tp::BaseConnectionClientTypesInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionClientTypesInterface()Tp::BaseConnectionClientTypesInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00597_source.html0000644000175000017500000014270612727270137022400 0ustar00kaffeinekaffeine00000000000000 cli-call-content-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-content-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-content.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallContentInterface::CallContentInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallContentInterface::CallContentInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(StreamsAdded(const Tp::ObjectPathList&)), NULL, NULL);
28  disconnect(this, SIGNAL(StreamsRemoved(const Tp::ObjectPathList&, const Tp::CallStateReason&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 CallContentInterfaceAudioControlInterface::CallContentInterfaceAudioControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42 
45 {
46 }
47 
49  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52 
54  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57 
59  const QString &error, const QString &message)
60 {
61 
62  Tp::AbstractInterface::invalidate(proxy, error, message);
63 }
64 
65 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QString& busName, const QString& objectPath, QObject *parent)
66  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69 
70 CallContentInterfaceDTMFInterface::CallContentInterfaceDTMFInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
71  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
72 {
73 }
74 
77 {
78 }
79 
81  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84 
86  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89 
91  const QString &error, const QString &message)
92 {
93  disconnect(this, SIGNAL(TonesDeferred(const QString&)), NULL, NULL);
94  disconnect(this, SIGNAL(SendingTones(const QString&)), NULL, NULL);
95  disconnect(this, SIGNAL(StoppedTones(bool)), NULL, NULL);
96 
97  Tp::AbstractInterface::invalidate(proxy, error, message);
98 }
99 
100 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QString& busName, const QString& objectPath, QObject *parent)
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
102 {
103 }
104 
105 CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
106  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
107 {
108 }
109 
112 {
113 }
114 
116  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
117 {
118 }
119 
121  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
122 {
123 }
124 
126  const QString &error, const QString &message)
127 {
128  disconnect(this, SIGNAL(NewMediaDescriptionOffer(const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
129  disconnect(this, SIGNAL(MediaDescriptionOfferDone()), NULL, NULL);
130  disconnect(this, SIGNAL(LocalMediaDescriptionChanged(const QVariantMap&)), NULL, NULL);
131  disconnect(this, SIGNAL(RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap&)), NULL, NULL);
132  disconnect(this, SIGNAL(MediaDescriptionsRemoved(const Tp::UIntList&)), NULL, NULL);
133  disconnect(this, SIGNAL(DTMFChangeRequested(uchar, uint)), NULL, NULL);
134 
135  Tp::AbstractInterface::invalidate(proxy, error, message);
136 }
137 
138 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QString& busName, const QString& objectPath, QObject *parent)
139  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
140 {
141 }
142 
143 CallContentInterfaceVideoControlInterface::CallContentInterfaceVideoControlInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
144  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
145 {
146 }
147 
150 {
151 }
152 
154  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
155 {
156 }
157 
159  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
160 {
161 }
162 
164  const QString &error, const QString &message)
165 {
166  disconnect(this, SIGNAL(KeyFrameRequested()), NULL, NULL);
167  disconnect(this, SIGNAL(VideoResolutionChanged(const Tp::VideoResolution&)), NULL, NULL);
168  disconnect(this, SIGNAL(BitrateChanged(uint)), NULL, NULL);
169  disconnect(this, SIGNAL(FramerateChanged(uint)), NULL, NULL);
170  disconnect(this, SIGNAL(MTUChanged(uint)), NULL, NULL);
171 
172  Tp::AbstractInterface::invalidate(proxy, error, message);
173 }
174 }
175 }
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:125
Definition: build/TelepathyQt/_gen/types.h:3286
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:798
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:100
void RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)
Definition: build/TelepathyQt/_gen/types.h:84
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:55
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:1222
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:9
void StreamsAdded(const Tp::ObjectPathList &streams)
void LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)
void DTMFChangeRequested(uchar event, uint state)
void StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)
Definition: build/TelepathyQt/_gen/types.h:329
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:291
Definition: cli-call-content.h:44
Definition: build/TelepathyQt/_gen/types.h:107
void MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)
void NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:33
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:138
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:58
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:163
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-body.hpp:65
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:24
static QLatin1String staticInterfaceName()
Definition: cli-call-content.h:480
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
void VideoResolutionChanged(const Tp::VideoResolution &newResolution)
void TonesDeferred(const QString &tones)
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Definition: build/TelepathyQt/_gen/types.h:1229
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-body.hpp:90


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00442.html0000644000175000017500000000777312727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::PropertyFlagsChange Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::PropertyFlagsChange Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint propertyID
 
uint newFlags
 

Detailed Description

Structure type generated from the specification.

A struct (property ID, flags) representing a change to a property's flags, as seen in the PropertyFlagsChanged signal on the Properties interface.

Member Data Documentation

uint Tp::PropertyFlagsChange::propertyID
uint Tp::PropertyFlagsChange::newFlags


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00197.html0000644000175000017500000002424412727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceServicePointAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | List of all members
Tp::Service::ChannelInterfaceServicePointAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Signals

void ServicePointChanged (const Tp::ServicePoint &servicePoint)
 

Public Member Functions

Tp::ServicePoint InitialServicePoint () const
 
Tp::ServicePoint CurrentServicePoint () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::ServicePoint Tp::Service::ChannelInterfaceServicePointAdaptor::InitialServicePoint ( ) const

Return the value of the exported D-Bus object property InitialServicePoint of type Tp::ServicePoint.

Adaptees should export this property as a Qt property named 'initialServicePoint' with type Tp::ServicePoint.

This property is used to indicate that the channel target is a well-known service point. Please note that the CM (or lower layers of the stack or network) may forward the connection to other other service points, which the CM SHOULD indicate via ServicePointChanged() signal.

This property SHOULD be set for channel requests that are specifically targeting service points.

Returns
The value of exported property InitialServicePoint.
Tp::ServicePoint Tp::Service::ChannelInterfaceServicePointAdaptor::CurrentServicePoint ( ) const

Return the value of the exported D-Bus object property CurrentServicePoint of type Tp::ServicePoint.

Adaptees should export this property as a Qt property named 'currentServicePoint' with type Tp::ServicePoint.

The service point that the channel is connected to. If the channel is not connected to a service point, the CM MUST set the Service_Point_Type field to None; for instance, this will be the case for ordinary calls.

Returns
The value of exported property CurrentServicePoint.
void Tp::Service::ChannelInterfaceServicePointAdaptor::ServicePointChanged ( const Tp::ServicePoint servicePoint)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void servicePointChanged(const Tp::ServicePoint& servicePoint);

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

Parameters
servicePoint
The new service point that is being used.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01158.html0000644000175000017500000001060212727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReadyObject Member List

This is the complete list of members for Tp::ReadyObject, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
missingFeatures() const Tp::ReadyObjectvirtual
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
requestedFeatures() const Tp::ReadyObjectvirtual
~ReadyObject()Tp::ReadyObjectvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00593_source.html0000644000175000017500000010127512727270137022370 0ustar00kaffeinekaffeine00000000000000 cli-account-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-account-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/account.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 AccountInterface::AccountInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 AccountInterface::AccountInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(Removed()), NULL, NULL);
28  disconnect(this, SIGNAL(AccountPropertyChanged(const QVariantMap&)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 
33 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QString& busName, const QString& objectPath, QObject *parent)
34  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
35 {
36 }
37 
38 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
39  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
40 {
41 }
42 
45 {
46 }
47 
49  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
50 {
51 }
52 
54  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
55 {
56 }
57 
59  const QString &error, const QString &message)
60 {
61 
62  Tp::AbstractInterface::invalidate(proxy, error, message);
63 }
64 
65 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QString& busName, const QString& objectPath, QObject *parent)
66  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
67 {
68 }
69 
70 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
71  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
72 {
73 }
74 
77 {
78 }
79 
81  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
82 {
83 }
84 
86  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
87 {
88 }
89 
91  const QString &error, const QString &message)
92 {
93  disconnect(this, SIGNAL(AvatarChanged()), NULL, NULL);
94 
95  Tp::AbstractInterface::invalidate(proxy, error, message);
96 }
97 
98 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QString& busName, const QString& objectPath, QObject *parent)
99  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
100 {
101 }
102 
103 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
104  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
105 {
106 }
107 
110 {
111 }
112 
114  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
115 {
116 }
117 
119  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
120 {
121 }
122 
124  const QString &error, const QString &message)
125 {
126 
127  Tp::AbstractInterface::invalidate(proxy, error, message);
128 }
129 }
130 }
AccountInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:9
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:123
static QLatin1String staticInterfaceName()
Definition: cli-account.h:1485
void AccountPropertyChanged(const QVariantMap &properties)
AccountInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:33
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
static QLatin1String staticInterfaceName()
Definition: cli-account.h:55
AccountInterfaceStorageInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:98
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:90
static QLatin1String staticInterfaceName()
Definition: cli-account.h:1346
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:24
Definition: cli-account.h:44
Definition: abstract-adaptor.cpp:31
static QLatin1String staticInterfaceName()
Definition: cli-account.h:1193
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
AccountInterfaceAvatarInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-body.hpp:65
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-body.hpp:58


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00501.html0000644000175000017500000005442712727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::StatelessDBusProxy Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::StatelessDBusProxy Class Reference

The StatelessDBusProxy class is a base class representing a remote object whose API is basically stateless. More...

#include <TelepathyQt/DBusProxy>

Inherits Tp::DBusProxy.

Inherited by Tp::Account, Tp::AccountManager, and Tp::ConnectionManager.

Public Member Functions

 StatelessDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatelessDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Additional Inherited Members

- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 

Detailed Description

The StatelessDBusProxy class is a base class representing a remote object whose API is basically stateless.

These objects can remain valid even if the service providing them exits and is restarted.

Examples include the AccountManager, Account and ConnectionManager.

Constructor & Destructor Documentation

Tp::StatelessDBusProxy::StatelessDBusProxy ( const QDBusConnection &  dbusConnection,
const QString &  busName,
const QString &  objectPath,
const Feature featureCore 
)

Construct a new StatelessDBusProxy object.

Parameters
dbusConnectionQDBusConnection to use.
busNameD-Bus bus name of the service that provides the remote object.
objectPathThe object path.
featureCoreThe object core feature.
Tp::StatelessDBusProxy::~StatelessDBusProxy ( )
virtual

Class destructor.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00256.html0000644000175000017500000006214612727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceCellularAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceCellularAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Signals

void IMSIChanged (const QString &IMSI)
 

Public Member Functions

uint MessageValidityPeriod () const
 
void SetMessageValidityPeriod (const uint &newValue)
 
bool OverrideMessageServiceCentre () const
 
void SetOverrideMessageServiceCentre (const bool &newValue)
 
QString MessageServiceCentre () const
 
void SetMessageServiceCentre (const QString &newValue)
 
QString IMSI () const
 
bool MessageReducedCharacterSet () const
 
void SetMessageReducedCharacterSet (const bool &newValue)
 
QString MessageNationalCharacterSet () const
 
void SetMessageNationalCharacterSet (const QString &newValue)
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ConnectionInterfaceCellularAdaptor::MessageValidityPeriod ( ) const

Return the value of the exported D-Bus object property MessageValidityPeriod of type uint.

Adaptees should export this property as a Qt property named 'messageValidityPeriod' with type uint.

Define how long should the service centre try message delivery before giving up, failing delivery and deleting the message. A value of 0 means to use the service centre's default period.

The value specified is in seconds. Note that various protocols or implementations may round the value up (eg. to a minute or hour precision). The maximum validity period may vary depending on protocol or provider.

Returns
The value of exported property MessageValidityPeriod.
void Tp::Service::ConnectionInterfaceCellularAdaptor::SetMessageValidityPeriod ( const uint &  newValue)

Set the value of the exported D-Bus object property MessageValidityPeriod of type uint.

Adaptees should export this property as a writable Qt property named 'messageValidityPeriod' with type uint.

Define how long should the service centre try message delivery before giving up, failing delivery and deleting the message. A value of 0 means to use the service centre's default period.

The value specified is in seconds. Note that various protocols or implementations may round the value up (eg. to a minute or hour precision). The maximum validity period may vary depending on protocol or provider.

bool Tp::Service::ConnectionInterfaceCellularAdaptor::OverrideMessageServiceCentre ( ) const

Return the value of the exported D-Bus object property OverrideMessageServiceCentre of type bool.

Adaptees should export this property as a Qt property named 'overrideMessageServiceCentre' with type bool.

If True, SMSes will be sent via the service centre specified by MessageServiceCentre . If False, the SIM's default SMSC will be used, ignoring the value of MessageServiceCentre.

It could be desirable for a configuration interface to remember the user's previous choice of custom SMSC, even if it's not in use. This boolean allows that choice to be saved as an account parameter by Mission Control, rather than the UI needing to save it elsewhere to be restored if the user wants to reactivate it.

Returns
The value of exported property OverrideMessageServiceCentre.
void Tp::Service::ConnectionInterfaceCellularAdaptor::SetOverrideMessageServiceCentre ( const bool &  newValue)

Set the value of the exported D-Bus object property OverrideMessageServiceCentre of type bool.

Adaptees should export this property as a writable Qt property named 'overrideMessageServiceCentre' with type bool.

If True, SMSes will be sent via the service centre specified by MessageServiceCentre . If False, the SIM's default SMSC will be used, ignoring the value of MessageServiceCentre.

It could be desirable for a configuration interface to remember the user's previous choice of custom SMSC, even if it's not in use. This boolean allows that choice to be saved as an account parameter by Mission Control, rather than the UI needing to save it elsewhere to be restored if the user wants to reactivate it.

QString Tp::Service::ConnectionInterfaceCellularAdaptor::MessageServiceCentre ( ) const

Return the value of the exported D-Bus object property MessageServiceCentre of type QString.

Adaptees should export this property as a Qt property named 'messageServiceCentre' with type QString.

Address for the messaging service centre. Typically (as is the case for GSM's SMSC), it's the ISDN / telephony address (ie. a phone number). If OverrideMessageServiceCentre is False, this property's value should be ignored by the CM in favour of the SIM's default SMSC.

Returns
The value of exported property MessageServiceCentre.
void Tp::Service::ConnectionInterfaceCellularAdaptor::SetMessageServiceCentre ( const QString &  newValue)

Set the value of the exported D-Bus object property MessageServiceCentre of type QString.

Adaptees should export this property as a writable Qt property named 'messageServiceCentre' with type QString.

Address for the messaging service centre. Typically (as is the case for GSM's SMSC), it's the ISDN / telephony address (ie. a phone number). If OverrideMessageServiceCentre is False, this property's value should be ignored by the CM in favour of the SIM's default SMSC.

QString Tp::Service::ConnectionInterfaceCellularAdaptor::IMSI ( ) const

Return the value of the exported D-Bus object property IMSI of type QString.

Adaptees should export this property as a Qt property named 'imsi' with type QString.

The International Mobile Subscriber Identifier, if it exists. This would originate from a SIM card. If the IMSI is unknown, this will contain an empty string ("").

Returns
The value of exported property IMSI.
bool Tp::Service::ConnectionInterfaceCellularAdaptor::MessageReducedCharacterSet ( ) const

Return the value of the exported D-Bus object property MessageReducedCharacterSet of type bool.

Adaptees should export this property as a Qt property named 'messageReducedCharacterSet' with type bool.

Determines how to encode SMSes containing characters that do not fit into a non-Unicode character set. If False (which SHOULD be the default), messages will be encoded as UCS-2 and sent with no loss of fidelity (at the potential financial cost of using twice as many SMSes); if True, the message will be recoded in an implementationâ€specific way to fit into a GSM reduced character set.

Returns
The value of exported property MessageReducedCharacterSet.
void Tp::Service::ConnectionInterfaceCellularAdaptor::SetMessageReducedCharacterSet ( const bool &  newValue)

Set the value of the exported D-Bus object property MessageReducedCharacterSet of type bool.

Adaptees should export this property as a writable Qt property named 'messageReducedCharacterSet' with type bool.

Determines how to encode SMSes containing characters that do not fit into a non-Unicode character set. If False (which SHOULD be the default), messages will be encoded as UCS-2 and sent with no loss of fidelity (at the potential financial cost of using twice as many SMSes); if True, the message will be recoded in an implementationâ€specific way to fit into a GSM reduced character set.

QString Tp::Service::ConnectionInterfaceCellularAdaptor::MessageNationalCharacterSet ( ) const

Return the value of the exported D-Bus object property MessageNationalCharacterSet of type QString.

Adaptees should export this property as a Qt property named 'messageNationalCharacterSet' with type QString.

Hint for the connection manager for the GSM character set that should be used to send SMSes. The connection manager SHOULD follow this hint unless it has other ways to determine a better encoding. If the value is "gsm" (which SHOULD be the default), SMSes will be encoded in the normal 7-bit GSM character set, eventually falling back to UCS-2; see the MessageReducedCharacterSet property for details. Other valid character sets are specified in the GSM standard and are, for instance, "turkey", "spain" or "portugal". If the SMS cannot be encoded using the requested character set the behaviour is implementation-specific, but it is RECOMMENDED that the connection manager should behave as if this property was set to "gsm".

Returns
The value of exported property MessageNationalCharacterSet.
void Tp::Service::ConnectionInterfaceCellularAdaptor::SetMessageNationalCharacterSet ( const QString &  newValue)

Set the value of the exported D-Bus object property MessageNationalCharacterSet of type QString.

Adaptees should export this property as a writable Qt property named 'messageNationalCharacterSet' with type QString.

Hint for the connection manager for the GSM character set that should be used to send SMSes. The connection manager SHOULD follow this hint unless it has other ways to determine a better encoding. If the value is "gsm" (which SHOULD be the default), SMSes will be encoded in the normal 7-bit GSM character set, eventually falling back to UCS-2; see the MessageReducedCharacterSet property for details. Other valid character sets are specified in the GSM standard and are, for instance, "turkey", "spain" or "portugal". If the SMS cannot be encoded using the requested character set the behaviour is implementation-specific, but it is RECOMMENDED that the connection manager should behave as if this property was set to "gsm".

void Tp::Service::ConnectionInterfaceCellularAdaptor::IMSIChanged ( const QString &  IMSI)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void imsiChanged(const QString& IMSI);

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

Parameters
IMSI
The new IMSI value. This may be an empty string in the case where 
the IMSI is being reset or removed.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01217.html0000644000175000017500000004307712727270137021007 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AccountInterface Member List

This is the complete list of members for Tp::Client::AccountInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AccountInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterface
AccountInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterface
AccountInterface(Tp::DBusProxy *proxy)Tp::Client::AccountInterface
AccountPropertyChanged(const QVariantMap &properties)Tp::Client::AccountInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AccountInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Reconnect(int timeout=-1)Tp::Client::AccountInterfaceinlineslot
Remove(int timeout=-1)Tp::Client::AccountInterfaceinlineslot
Removed()Tp::Client::AccountInterfacesignal
requestAllProperties() const Tp::Client::AccountInterfaceinline
requestPropertyAutomaticPresence() const Tp::Client::AccountInterfaceinline
requestPropertyChangingPresence() const Tp::Client::AccountInterfaceinline
requestPropertyConnectAutomatically() const Tp::Client::AccountInterfaceinline
requestPropertyConnection() const Tp::Client::AccountInterfaceinline
requestPropertyConnectionError() const Tp::Client::AccountInterfaceinline
requestPropertyConnectionErrorDetails() const Tp::Client::AccountInterfaceinline
requestPropertyConnectionStatus() const Tp::Client::AccountInterfaceinline
requestPropertyConnectionStatusReason() const Tp::Client::AccountInterfaceinline
requestPropertyCurrentPresence() const Tp::Client::AccountInterfaceinline
requestPropertyDisplayName() const Tp::Client::AccountInterfaceinline
requestPropertyEnabled() const Tp::Client::AccountInterfaceinline
requestPropertyHasBeenOnline() const Tp::Client::AccountInterfaceinline
requestPropertyIcon() const Tp::Client::AccountInterfaceinline
requestPropertyInterfaces() const Tp::Client::AccountInterfaceinline
requestPropertyNickname() const Tp::Client::AccountInterfaceinline
requestPropertyNormalizedName() const Tp::Client::AccountInterfaceinline
requestPropertyParameters() const Tp::Client::AccountInterfaceinline
requestPropertyRequestedPresence() const Tp::Client::AccountInterfaceinline
requestPropertyService() const Tp::Client::AccountInterfaceinline
requestPropertySupersedes() const Tp::Client::AccountInterfaceinline
requestPropertyValid() const Tp::Client::AccountInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyAutomaticPresence(Tp::SimplePresence newValue)Tp::Client::AccountInterfaceinline
setPropertyConnectAutomatically(bool newValue)Tp::Client::AccountInterfaceinline
setPropertyDisplayName(QString newValue)Tp::Client::AccountInterfaceinline
setPropertyEnabled(bool newValue)Tp::Client::AccountInterfaceinline
setPropertyIcon(QString newValue)Tp::Client::AccountInterfaceinline
setPropertyNickname(QString newValue)Tp::Client::AccountInterfaceinline
setPropertyRequestedPresence(Tp::SimplePresence newValue)Tp::Client::AccountInterfaceinline
setPropertyService(QString newValue)Tp::Client::AccountInterfaceinline
setPropertySupersedes(Tp::ObjectPathList newValue)Tp::Client::AccountInterfaceinline
staticInterfaceName()Tp::Client::AccountInterfaceinlinestatic
UpdateParameters(const QVariantMap &set, const QStringList &unset, int timeout=-1)Tp::Client::AccountInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_h.html0000644000175000017500000000445612727270137023544 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- h -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00315.html0000644000175000017500000002046312727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::DBusObject Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::DBusObject Class Reference

A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object. More...

#include <TelepathyQt/DBusObject>

Inherits QObject.

Public Member Functions

 DBusObject (const QDBusConnection &dbusConnection, QObject *parent=0)
 
virtual ~DBusObject ()
 
QString objectPath () const
 
QDBusConnection dbusConnection () const
 

Protected Member Functions

void setObjectPath (const QString &path)
 

Detailed Description

A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object.

Constructor & Destructor Documentation

Tp::DBusObject::DBusObject ( const QDBusConnection &  dbusConnection,
QObject *  parent = 0 
)

Construct a DBusObject that operates on the given dbusConnection.

Parameters
dbusConnectionThe D-Bus connection to use.
parentThe QObject parent of this instance.
Tp::DBusObject::~DBusObject ( )
virtual

Class destructor.

Member Function Documentation

QString Tp::DBusObject::objectPath ( ) const
QDBusConnection Tp::DBusObject::dbusConnection ( ) const

Return the D-Bus connection associated with this object.

Returns
The D-Bus connection associated with this object.
void Tp::DBusObject::setObjectPath ( const QString &  path)
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01286.html0000644000175000017500000002261312727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceClientTypesInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceClientTypesInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ClientTypesUpdated(uint contact, const QStringList &clientTypes)Tp::Client::ConnectionInterfaceClientTypesInterfacesignal
ConnectionInterfaceClientTypesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceClientTypesInterface
ConnectionInterfaceClientTypesInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceClientTypesInterface
ConnectionInterfaceClientTypesInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceClientTypesInterface
ConnectionInterfaceClientTypesInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceClientTypesInterfaceexplicit
ConnectionInterfaceClientTypesInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceClientTypesInterface
GetClientTypes(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceClientTypesInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceClientTypesInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceClientTypesInterfaceinline
RequestClientTypes(uint contact, int timeout=-1)Tp::Client::ConnectionInterfaceClientTypesInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceClientTypesInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01030.html0000644000175000017500000001011212727270137020760 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusError Member List

This is the complete list of members for Tp::DBusError, including all inherited members.

DBusError()Tp::DBusError
DBusError(const QString &name, const QString &message)Tp::DBusError
isValid() const Tp::DBusErrorinline
message() const Tp::DBusError
name() const Tp::DBusError
operator!=(const DBusError &other) const Tp::DBusError
operator==(const DBusError &other) const Tp::DBusError
set(const QString &name, const QString &message)Tp::DBusError
~DBusError()Tp::DBusError


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00586_source.html0000644000175000017500000022113712727270137022372 0ustar00kaffeinekaffeine00000000000000 channel-factory.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
channel-factory.h
1 
23 #ifndef _TelepathyQt_channel_factory_h_HEADER_GUARD_
24 #define _TelepathyQt_channel_factory_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/DBusProxyFactory>
31 #include <TelepathyQt/SharedPtr>
32 #include <TelepathyQt/Types>
33 
34 // For Q_DISABLE_COPY
35 #include <QtGlobal>
36 #include <QString>
37 #include <QVariantMap>
38 
39 class QDBusConnection;
40 
41 namespace Tp
42 {
43 
44 class ChannelClassSpec;
45 
46 class TP_QT_EXPORT ChannelFactory : public DBusProxyFactory
47 {
48  Q_OBJECT
49  Q_DISABLE_COPY(ChannelFactory)
50 
51 public:
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53  struct TP_QT_EXPORT Constructor : public RefCounted
54  {
55  virtual ~Constructor() {}
56 
57  virtual ChannelPtr construct(const ConnectionPtr &conn, const QString &objectPath,
58  const QVariantMap &immutableProperties) const = 0;
59  };
60  typedef SharedPtr<Constructor> ConstructorPtr;
61  typedef SharedPtr<const Constructor> ConstructorConstPtr;
62 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
63 
64  static ChannelFactoryPtr create(const QDBusConnection &bus);
65 
66  virtual ~ChannelFactory();
67 
68  Features featuresForTextChats(const QVariantMap &additionalProps = QVariantMap()) const;
69  void addFeaturesForTextChats(const Features &features,
70  const QVariantMap &additionalProps = QVariantMap());
71 
72  ConstructorConstPtr constructorForTextChats(
73  const QVariantMap &additionalProps = QVariantMap()) const;
74 
75  template<typename Subclass>
76  void setSubclassForTextChats(const QVariantMap &additionalProps = QVariantMap())
77  {
78  setConstructorForTextChats(SubclassCtor<Subclass>::create(), additionalProps);
79  }
80 
81  void setConstructorForTextChats(const ConstructorConstPtr &ctor,
82  const QVariantMap &additionalProps = QVariantMap());
83 
84  Features featuresForTextChatrooms(const QVariantMap &additionalProps = QVariantMap()) const;
85  void addFeaturesForTextChatrooms(const Features &features,
86  const QVariantMap &additionalProps = QVariantMap());
87 
88  ConstructorConstPtr constructorForTextChatrooms(
89  const QVariantMap &additionalProps = QVariantMap()) const;
90 
91  template<typename Subclass>
92  void setSubclassForTextChatrooms(const QVariantMap &additionalProps = QVariantMap())
93  {
94  setConstructorForTextChatrooms(SubclassCtor<Subclass>::create(), additionalProps);
95  }
96 
97  void setConstructorForTextChatrooms(const ConstructorConstPtr &ctor,
98  const QVariantMap &additionalProps = QVariantMap());
99 
100  Features featuresForCalls(const QVariantMap &additionalProps = QVariantMap()) const;
101  void addFeaturesForCalls(const Features &features,
102  const QVariantMap &additionalProps = QVariantMap());
103 
104  template<typename Subclass>
105  void setSubclassForCalls(const QVariantMap &additionalProps = QVariantMap())
106  {
107  setConstructorForCalls(SubclassCtor<Subclass>::create(), additionalProps);
108  }
109 
110  void setConstructorForCalls(const ConstructorConstPtr &ctor,
111  const QVariantMap &additionalProps = QVariantMap());
112 
113  TP_QT_DEPRECATED Features featuresForStreamedMediaCalls(const QVariantMap &additionalProps = QVariantMap()) const;
114  TP_QT_DEPRECATED void addFeaturesForStreamedMediaCalls(const Features &features,
115  const QVariantMap &additionalProps = QVariantMap());
116 
117  TP_QT_DEPRECATED ConstructorConstPtr constructorForStreamedMediaCalls(
118  const QVariantMap &additionalProps = QVariantMap()) const;
119 
120  template<typename Subclass>
121  TP_QT_DEPRECATED void setSubclassForStreamedMediaCalls(const QVariantMap &additionalProps = QVariantMap())
122  {
123  setConstructorForStreamedMediaCalls(SubclassCtor<Subclass>::create(), additionalProps);
124  }
125 
126  TP_QT_DEPRECATED void setConstructorForStreamedMediaCalls(const ConstructorConstPtr &ctor,
127  const QVariantMap &additionalProps = QVariantMap());
128 
129  Features featuresForRoomLists(const QVariantMap &additionalProps = QVariantMap()) const;
130  void addFeaturesForRoomLists(const Features &features,
131  const QVariantMap &additionalProps = QVariantMap());
132 
133  ConstructorConstPtr constructorForRoomLists(
134  const QVariantMap &additionalProps = QVariantMap()) const;
135 
136  template<typename Subclass>
137  void setSubclassForRoomLists(const QVariantMap &additionalProps = QVariantMap())
138  {
139  setConstructorForRoomLists(SubclassCtor<Subclass>::create(), additionalProps);
140  }
141 
142  void setConstructorForRoomLists(const ConstructorConstPtr &ctor,
143  const QVariantMap &additionalProps = QVariantMap());
144 
145  Features featuresForOutgoingFileTransfers(const QVariantMap &additionalProps = QVariantMap()) const;
146  void addFeaturesForOutgoingFileTransfers(const Features &features,
147  const QVariantMap &additionalProps = QVariantMap());
148 
149  ConstructorConstPtr constructorForOutgoingFileTransfers(
150  const QVariantMap &additionalProps = QVariantMap()) const;
151 
152  template<typename Subclass>
153  void setSubclassForOutgoingFileTransfers(const QVariantMap &additionalProps = QVariantMap())
154  {
155  setConstructorForOutgoingFileTransfers(SubclassCtor<Subclass>::create(), additionalProps);
156  }
157 
158  void setConstructorForOutgoingFileTransfers(const ConstructorConstPtr &ctor,
159  const QVariantMap &additionalProps = QVariantMap());
160 
161  Features featuresForIncomingFileTransfers(const QVariantMap &additionalProps = QVariantMap()) const;
162  void addFeaturesForIncomingFileTransfers(const Features &features,
163  const QVariantMap &additionalProps = QVariantMap());
164 
165  ConstructorConstPtr constructorForIncomingFileTransfers(
166  const QVariantMap &additionalProps = QVariantMap()) const;
167 
168  template<typename Subclass>
169  void setSubclassForIncomingFileTransfers(const QVariantMap &additionalProps = QVariantMap())
170  {
171  setConstructorForIncomingFileTransfers(SubclassCtor<Subclass>::create(), additionalProps);
172  }
173 
174  void setConstructorForIncomingFileTransfers(const ConstructorConstPtr &ctor,
175  const QVariantMap &additionalProps = QVariantMap());
176 
177  Features featuresForOutgoingStreamTubes(const QVariantMap &additionalProps = QVariantMap()) const;
178  void addFeaturesForOutgoingStreamTubes(const Features &features,
179  const QVariantMap &additionalProps = QVariantMap());
180 
181  ConstructorConstPtr constructorForOutgoingStreamTubes(
182  const QVariantMap &additionalProps = QVariantMap()) const;
183 
184  template<typename Subclass>
185  void setSubclassForOutgoingStreamTubes(const QVariantMap &additionalProps = QVariantMap())
186  {
187  setConstructorForOutgoingStreamTubes(SubclassCtor<Subclass>::create(), additionalProps);
188  }
189 
190  void setConstructorForOutgoingStreamTubes(const ConstructorConstPtr &ctor,
191  const QVariantMap &additionalProps = QVariantMap());
192 
193  Features featuresForIncomingStreamTubes(const QVariantMap &additionalProps = QVariantMap()) const;
194  void addFeaturesForIncomingStreamTubes(const Features &features,
195  const QVariantMap &additionalProps = QVariantMap());
196 
197  ConstructorConstPtr constructorForIncomingStreamTubes(
198  const QVariantMap &additionalProps = QVariantMap()) const;
199 
200  template<typename Subclass>
201  void setSubclassForIncomingStreamTubes(const QVariantMap &additionalProps = QVariantMap())
202  {
203  setConstructorForIncomingStreamTubes(SubclassCtor<Subclass>::create(), additionalProps);
204  }
205 
206  void setConstructorForIncomingStreamTubes(const ConstructorConstPtr &ctor,
207  const QVariantMap &additionalProps = QVariantMap());
208 
209  Features featuresForOutgoingRoomStreamTubes(const QVariantMap &additionalProps = QVariantMap()) const;
210  void addFeaturesForOutgoingRoomStreamTubes(const Features &features,
211  const QVariantMap &additionalProps = QVariantMap());
212 
213  ConstructorConstPtr constructorForOutgoingRoomStreamTubes(
214  const QVariantMap &additionalProps = QVariantMap()) const;
215 
216  template<typename Subclass>
217  void setSubclassForOutgoingRoomStreamTubes(const QVariantMap &additionalProps = QVariantMap())
218  {
219  setConstructorForOutgoingRoomStreamTubes(SubclassCtor<Subclass>::create(), additionalProps);
220  }
221 
222  void setConstructorForOutgoingRoomStreamTubes(const ConstructorConstPtr &ctor,
223  const QVariantMap &additionalProps = QVariantMap());
224 
225  Features featuresForIncomingRoomStreamTubes(const QVariantMap &additionalProps = QVariantMap()) const;
226  void addFeaturesForIncomingRoomStreamTubes(const Features &features,
227  const QVariantMap &additionalProps = QVariantMap());
228 
229  ConstructorConstPtr constructorForIncomingRoomStreamTubes(
230  const QVariantMap &additionalProps = QVariantMap()) const;
231 
232  template<typename Subclass>
233  void setSubclassForIncomingRoomStreamTubes(const QVariantMap &additionalProps = QVariantMap())
234  {
235  setConstructorForIncomingRoomStreamTubes(SubclassCtor<Subclass>::create(), additionalProps);
236  }
237 
238  void setConstructorForIncomingRoomStreamTubes(const ConstructorConstPtr &ctor,
239  const QVariantMap &additionalProps = QVariantMap());
240 
241  Features featuresForOutgoingDBusTubes(const QVariantMap &additionalProps = QVariantMap()) const;
242  void addFeaturesForOutgoingDBusTubes(const Features &features,
243  const QVariantMap &additionalProps = QVariantMap());
244 
245  ConstructorConstPtr constructorForOutgoingDBusTubes(
246  const QVariantMap &additionalProps = QVariantMap()) const;
247 
248  template<typename Subclass>
249  void setSubclassForOutgoingDBusTubes(const QVariantMap &additionalProps = QVariantMap())
250  {
251  setConstructorForOutgoingDBusTubes(SubclassCtor<Subclass>::create(), additionalProps);
252  }
253 
254  void setConstructorForOutgoingDBusTubes(const ConstructorConstPtr &ctor,
255  const QVariantMap &additionalProps = QVariantMap());
256 
257  Features featuresForIncomingDBusTubes(const QVariantMap &additionalProps = QVariantMap()) const;
258  void addFeaturesForIncomingDBusTubes(const Features &features,
259  const QVariantMap &additionalProps = QVariantMap());
260 
261  ConstructorConstPtr constructorForIncomingDBusTubes(
262  const QVariantMap &additionalProps = QVariantMap()) const;
263 
264  template<typename Subclass>
265  void setSubclassForIncomingDBusTubes(const QVariantMap &additionalProps = QVariantMap())
266  {
267  setConstructorForIncomingDBusTubes(SubclassCtor<Subclass>::create(), additionalProps);
268  }
269 
270  void setConstructorForIncomingDBusTubes(const ConstructorConstPtr &ctor,
271  const QVariantMap &additionalProps = QVariantMap());
272 
273  Features featuresForOutgoingRoomDBusTubes(const QVariantMap &additionalProps = QVariantMap()) const;
274  void addFeaturesForOutgoingRoomDBusTubes(const Features &features,
275  const QVariantMap &additionalProps = QVariantMap());
276 
277  ConstructorConstPtr constructorForOutgoingRoomDBusTubes(
278  const QVariantMap &additionalProps = QVariantMap()) const;
279 
280  template<typename Subclass>
281  void setSubclassForOutgoingRoomDBusTubes(const QVariantMap &additionalProps = QVariantMap())
282  {
283  setConstructorForOutgoingRoomDBusTubes(SubclassCtor<Subclass>::create(), additionalProps);
284  }
285 
286  void setConstructorForOutgoingRoomDBusTubes(const ConstructorConstPtr &ctor,
287  const QVariantMap &additionalProps = QVariantMap());
288 
289  Features featuresForIncomingRoomDBusTubes(const QVariantMap &additionalProps = QVariantMap()) const;
290  void addFeaturesForIncomingRoomDBusTubes(const Features &features,
291  const QVariantMap &additionalProps = QVariantMap());
292 
293  ConstructorConstPtr constructorForIncomingRoomDBusTubes(
294  const QVariantMap &additionalProps = QVariantMap()) const;
295 
296  template<typename Subclass>
297  void setSubclassForIncomingRoomDBusTubes(const QVariantMap &additionalProps = QVariantMap())
298  {
299  setConstructorForIncomingRoomDBusTubes(SubclassCtor<Subclass>::create(), additionalProps);
300  }
301 
302  void setConstructorForIncomingRoomDBusTubes(const ConstructorConstPtr &ctor,
303  const QVariantMap &additionalProps = QVariantMap());
304 
305  Features featuresForContactSearches(const QVariantMap &additionalProps = QVariantMap()) const;
306  void addFeaturesForContactSearches(const Features &features,
307  const QVariantMap &additionalProps = QVariantMap());
308 
309  ConstructorConstPtr constructorForContactSearches(
310  const QVariantMap &additionalProps = QVariantMap()) const;
311 
312  template<typename Subclass>
313  void setSubclassForContactSearches(const QVariantMap &additionalProps = QVariantMap())
314  {
315  setConstructorForContactSearches(SubclassCtor<Subclass>::create(), additionalProps);
316  }
317 
318  void setConstructorForContactSearches(const ConstructorConstPtr &ctor,
319  const QVariantMap &additionalProps = QVariantMap());
320 
321  Features featuresForServerAuthentication(const QVariantMap &additionalProps = QVariantMap()) const;
322  void addFeaturesForServerAuthentication(const Features &features,
323  const QVariantMap &additionalProps = QVariantMap());
324 
325  ConstructorConstPtr constructorForServerAuthentication(
326  const QVariantMap &additionalProps = QVariantMap()) const;
327 
328  template<typename Subclass>
329  void setSubclassForServerAuthentication(const QVariantMap &additionalProps = QVariantMap())
330  {
331  setConstructorForServerAuthentication(SubclassCtor<Subclass>::create(), additionalProps);
332  }
333 
334  void setConstructorForServerAuthentication(const ConstructorConstPtr &ctor,
335  const QVariantMap &additionalProps = QVariantMap());
336 
337  Features commonFeatures() const;
338  void addCommonFeatures(const Features &features);
339 
340  ConstructorConstPtr fallbackConstructor() const;
341 
342  template <typename Subclass>
344  {
345  setFallbackConstructor(SubclassCtor<Subclass>::create());
346  }
347 
348  void setFallbackConstructor(const ConstructorConstPtr &ctor);
349 
350  Features featuresFor(const ChannelClassSpec &channelClass) const;
351  void addFeaturesFor(const ChannelClassSpec &channelClass, const Features &features);
352 
353  template <typename Subclass>
354  void setSubclassFor(const ChannelClassSpec &channelClass)
355  {
356  setConstructorFor(channelClass, SubclassCtor<Subclass>::create());
357  }
358 
359  ConstructorConstPtr constructorFor(const ChannelClassSpec &channelClass) const;
360  void setConstructorFor(const ChannelClassSpec &channelClass, const ConstructorConstPtr &ctor);
361 
362  PendingReady *proxy(const ConnectionPtr &connection, const QString &channelPath,
363  const QVariantMap &immutableProperties) const;
364 
365 protected:
366  ChannelFactory(const QDBusConnection &bus);
367 
368 #ifndef DOXYGEN_SHOULD_SKIP_THIS
369  template <typename Subclass>
370  struct SubclassCtor : public Constructor
371  {
372  static ConstructorPtr create()
373  {
374  return ConstructorPtr(new SubclassCtor<Subclass>());
375  }
376 
377  virtual ~SubclassCtor() {}
378 
379  ChannelPtr construct(const ConnectionPtr &conn, const QString &objectPath,
380  const QVariantMap &immutableProperties) const
381  {
382  return Subclass::create(conn, objectPath, immutableProperties);
383  }
384  };
385 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
386 
387  virtual QString finalBusNameFrom(const QString &uniqueOrWellKnown) const;
388  // Nothing we'd like to prepare()
389  virtual Features featuresFor(const DBusProxyPtr &proxy) const;
390 
391 private:
392  struct Private;
393  Private *mPriv;
394 };
395 
396 } // Tp
397 
398 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
void setSubclassForTextChats(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:76
void setSubclassForIncomingStreamTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:201
void setSubclassForServerAuthentication(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:329
The ChannelFactory class is responsible for constructing Channel objects according to application-def...
Definition: channel-factory.h:46
void setSubclassFor(const ChannelClassSpec &channelClass)
Definition: channel-factory.h:354
void setSubclassForIncomingRoomStreamTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:233
void setSubclassForOutgoingDBusTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:249
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
void setSubclassForOutgoingRoomStreamTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:217
void setSubclassForIncomingRoomDBusTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:297
void setSubclassForOutgoingStreamTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:185
The Features class represents a list of Feature.
Definition: feature.h:61
The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching...
Definition: dbus-proxy-factory.h:48
void setSubclassForTextChatrooms(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:92
void setSubclassForIncomingDBusTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:265
void setSubclassForContactSearches(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:313
The ChannelClassSpec class represents a Telepathy channel class.
Definition: channel-class-spec.h:42
void setSubclassForRoomLists(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:137
void setSubclassForOutgoingRoomDBusTubes(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:281
Definition: abstract-adaptor.cpp:31
void setFallbackSubclass()
Definition: channel-factory.h:343
void setSubclassForCalls(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:105
void setSubclassForOutgoingFileTransfers(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:153
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
TP_QT_DEPRECATED void setSubclassForStreamedMediaCalls(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:121
void setSubclassForIncomingFileTransfers(const QVariantMap &additionalProps=QVariantMap())
Definition: channel-factory.h:169


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00885.html0000644000175000017500000001217612727270137021015 0ustar00kaffeinekaffeine00000000000000 Types and constants
   Home · All Classes · All Namespaces · Modules · Functions · Files
Modules
Types and constants

Modules

 Utility string constants
 
 Flag type constants
 
 Enumerated type constants
 
 Interface string constants
 
 Error string constants
 
 Structure types
 
 List types
 
 Mapping types
 

Detailed Description

This file is part of TelepathyQt

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Enumerated, flag, structure, list and mapping types and utility constants.

Enumerated, flag, structure, list and mapping types and utility constants.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00384.html0000644000175000017500000002377712727270137021020 0ustar00kaffeinekaffeine00000000000000 Tp::MessageContentPart Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::MessageContentPart Class Reference

The MessageContentPart class represents a Telepathy message part. More...

#include <TelepathyQt/MessageContentPart>

Public Member Functions

 MessageContentPart ()
 
 MessageContentPart (const MessagePart &mp)
 
 MessageContentPart (const MessageContentPart &other)
 
 ~MessageContentPart ()
 
bool isValid () const
 
MessageContentPartoperator= (const MessageContentPart &other)
 
bool operator== (const MessageContentPart &other) const
 
MessagePart barePart () const
 

Detailed Description

The MessageContentPart class represents a Telepathy message part.

Constructor & Destructor Documentation

Tp::MessageContentPart::MessageContentPart ( )
Tp::MessageContentPart::MessageContentPart ( const MessagePart mp)
Tp::MessageContentPart::MessageContentPart ( const MessageContentPart other)
Tp::MessageContentPart::~MessageContentPart ( )

Member Function Documentation

bool Tp::MessageContentPart::isValid ( ) const
inline
MessageContentPart & Tp::MessageContentPart::operator= ( const MessageContentPart other)
bool Tp::MessageContentPart::operator== ( const MessageContentPart other) const
MessagePart Tp::MessageContentPart::barePart ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01345.html0000644000175000017500000000655512727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeServerAuthenticationAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeServerAuthenticationAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AuthenticationMethod() const Tp::Service::ChannelTypeServerAuthenticationAdaptor
dbusConnection() const Tp::AbstractAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00129.html0000644000175000017500000006321512727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface Class Reference

#include <TelepathyQt/CallContentMediaDescriptionInterface>

Inherits Tp::AbstractInterface.

Public Member Functions

 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (Tp::DBusProxy *proxy)
 
 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)
 
 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface (const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyHeaderExtensions () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions".

Constructor & Destructor Documentation

Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface ( Tp::DBusProxy proxy)

Creates a CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface)
explicit

Creates a CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface 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.
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface ( const Tp::Client::CallContentMediaDescriptionInterface mainInterface,
QObject *  parent 
)

Creates a CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface 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 Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::requestPropertyHeaderExtensions ( ) const
inline

Asynchronous getter for the remote object property HeaderExtensions of type Tp::RTPHeaderExtensionsList.

A list of remote header extensions which are supported.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::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.
void Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00582_source.html0000644000175000017500000004262712727270137022373 0ustar00kaffeinekaffeine00000000000000 channel-dispatch-operation.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
channel-dispatch-operation.h
1 
23 #ifndef _TelepathyQt_channel_dispatch_operation_h_HEADER_GUARD_
24 #define _TelepathyQt_channel_dispatch_operation_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-channel-dispatch-operation.h>
31 
32 #include <TelepathyQt/Constants>
33 #include <TelepathyQt/DBus>
34 #include <TelepathyQt/DBusProxy>
35 #include <TelepathyQt/Feature>
36 #include <TelepathyQt/OptionalInterfaceFactory>
37 #include <TelepathyQt/ReadinessHelper>
38 #include <TelepathyQt/Types>
39 #include <TelepathyQt/SharedPtr>
40 
41 #include <QString>
42 #include <QStringList>
43 #include <QVariantMap>
44 
45 namespace Tp
46 {
47 
48 class PendingOperation;
49 
50 class TP_QT_EXPORT ChannelDispatchOperation : public StatefulDBusProxy,
51  public OptionalInterfaceFactory<ChannelDispatchOperation>
52 {
53  Q_OBJECT
54  Q_DISABLE_COPY(ChannelDispatchOperation)
55 
56 public:
57  static const Feature FeatureCore;
58 
59  static ChannelDispatchOperationPtr create(const QDBusConnection &bus,
60  const QString &objectPath, const QVariantMap &immutableProperties,
61  const QList<ChannelPtr> &initialChannels,
62  const AccountFactoryConstPtr &accountFactory,
63  const ConnectionFactoryConstPtr &connectionFactory,
64  const ChannelFactoryConstPtr &channelFactory,
65  const ContactFactoryConstPtr &contactFactory);
66  virtual ~ChannelDispatchOperation();
67 
68  ConnectionPtr connection() const;
69 
70  AccountPtr account() const;
71 
72  QList<ChannelPtr> channels() const;
73 
74  QStringList possibleHandlers() const;
75 
76  PendingOperation *handleWith(const QString &handler);
77 
78  PendingOperation *claim();
79  PendingOperation *claim(const AbstractClientHandlerPtr &handler);
80 
81 Q_SIGNALS:
82  void channelLost(const Tp::ChannelPtr &channel, const QString &errorName,
83  const QString &errorMessage);
84 
85 protected:
86  ChannelDispatchOperation(const QDBusConnection &bus,
87  const QString &objectPath, const QVariantMap &immutableProperties,
88  const QList<ChannelPtr> &initialChannels,
89  const AccountFactoryConstPtr &accountFactory,
90  const ConnectionFactoryConstPtr &connectionFactory,
91  const ChannelFactoryConstPtr &channelFactory,
92  const ContactFactoryConstPtr &contactFactory);
93 
94  Client::ChannelDispatchOperationInterface *baseInterface() const;
95 
96 private Q_SLOTS:
97  TP_QT_NO_EXPORT void onFinished();
98  TP_QT_NO_EXPORT void gotMainProperties(QDBusPendingCallWatcher *watcher);
99  TP_QT_NO_EXPORT void onChannelLost(const QDBusObjectPath &channelObjectPath,
100  const QString &errorName, const QString &errorMessage);
101  TP_QT_NO_EXPORT void onProxiesPrepared(Tp::PendingOperation *op);
102 
103 private:
104  class PendingClaim;
105  friend class PendingClaim;
106 
107  struct Private;
108  friend struct Private;
109  Private *mPriv;
110 };
111 
112 } // Tp
113 
114 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
static const Feature FeatureCore
Definition: channel-dispatch-operation.h:57
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful...
Definition: dbus-proxy.h:96
Definition: cli-channel-dispatch-operation.h:44
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
The ChannelDispatchOperation class represents a Telepathy channel dispatch operation.
Definition: channel-dispatch-operation.h:50
Definition: abstract-adaptor.cpp:31
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00944.html0000644000175000017500000002412712727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionContactCapabilitiesInterface Member List

This is the complete list of members for Tp::BaseConnectionContactCapabilitiesInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionContactCapabilitiesInterface()Tp::BaseConnectionContactCapabilitiesInterfaceprotected
contactCapabilitiesChanged(const Tp::ContactCapabilitiesMap &caps)Tp::BaseConnectionContactCapabilitiesInterface
create()Tp::BaseConnectionContactCapabilitiesInterfaceinlinestatic
create()Tp::BaseConnectionContactCapabilitiesInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getContactCapabilities(const Tp::UIntList &handles, DBusError *error)Tp::BaseConnectionContactCapabilitiesInterface
GetContactCapabilitiesCallback typedefTp::BaseConnectionContactCapabilitiesInterface
immutableProperties() const Tp::BaseConnectionContactCapabilitiesInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setGetContactCapabilitiesCallback(const GetContactCapabilitiesCallback &cb)Tp::BaseConnectionContactCapabilitiesInterface
setUpdateCapabilitiesCallback(const UpdateCapabilitiesCallback &cb)Tp::BaseConnectionContactCapabilitiesInterface
updateCapabilities(const Tp::HandlerCapabilitiesList &handlerCapabilities, DBusError *error)Tp::BaseConnectionContactCapabilitiesInterface
UpdateCapabilitiesCallback typedefTp::BaseConnectionContactCapabilitiesInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionContactCapabilitiesInterface()Tp::BaseConnectionContactCapabilitiesInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00443.html0000644000175000017500000001235112727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::PropertySpec Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::PropertySpec Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint propertyID
 
QString name
 
QString signature
 
uint flags
 

Detailed Description

Structure type generated from the specification.

A struct (property ID, property name, D-Bus signature, flags) representing a property, as returned by ListProperties on the Properties interface.

Member Data Documentation

uint Tp::PropertySpec::propertyID
QString Tp::PropertySpec::name
QString Tp::PropertySpec::signature
uint Tp::PropertySpec::flags


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00198.html0000644000175000017500000007203612727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceServicePointInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ChannelInterfaceServicePointInterface Class Reference

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Signals

void ServicePointChanged (const Tp::ServicePoint &servicePoint)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelInterfaceServicePointInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceServicePointInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceServicePointInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceServicePointInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceServicePointInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyInitialServicePoint () const
 
Tp::PendingVariantrequestPropertyCurrentServicePoint () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceServicePointInterface::ChannelInterfaceServicePointInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceServicePointInterface 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.
Tp::Client::ChannelInterfaceServicePointInterface::ChannelInterfaceServicePointInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceServicePointInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceServicePointInterface::ChannelInterfaceServicePointInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceServicePointInterface 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 Tp::Client::ChannelInterfaceServicePointInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.ServicePoint", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceServicePointInterface::requestPropertyInitialServicePoint ( ) const
inline

Asynchronous getter for the remote object property InitialServicePoint of type Tp::ServicePoint.

This property is used to indicate that the channel target is a well-known service point. Please note that the CM (or lower layers of the stack or network) may forward the connection to other other service points, which the CM SHOULD indicate via ServicePointChanged() signal.

This property SHOULD be set for channel requests that are specifically targeting service points.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceServicePointInterface::requestPropertyCurrentServicePoint ( ) const
inline

Asynchronous getter for the remote object property CurrentServicePoint of type Tp::ServicePoint.

The service point that the channel is connected to. If the channel is not connected to a service point, the CM MUST set the Service_Point_Type field to None; for instance, this will be the case for ordinary calls.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceServicePointInterface::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.
void Tp::Client::ChannelInterfaceServicePointInterface::ServicePointChanged ( const Tp::ServicePoint servicePoint)
signal

Represents the signal ServicePointChanged on the remote object.

Emitted when a channel changes the service point that it's connected to. This might be a new call being connected to a service, a call connected to a service being routed to a different service (ie, an emergency call being routed from a generic emergency PSAP to a poison control PSAP), or any number of other things. Note that this should be emitted as soon as the CM has been notified of the switch, and has updated its internal state. The CM MAY still be in the process of connecting to the new service point.

Parameters
servicePoint
The new service point that is being used.
void Tp::Client::ChannelInterfaceServicePointInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01159.html0000644000175000017500000002613712727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReceivedMessage Member List

This is the complete list of members for Tp::ReceivedMessage, including all inherited members.

clearSenderHandle()Tp::ReceivedMessageprotected
dbusInterface() const Tp::Message
deliveryDetails() const Tp::ReceivedMessage
hasNonTextContent() const Tp::Message
header() const Tp::Message
isDeliveryReport() const Tp::ReceivedMessage
isFromChannel(const TextChannelPtr &channel) const Tp::ReceivedMessage
isRescued() const Tp::ReceivedMessage
isScrollback() const Tp::ReceivedMessage
isSpecificToDBusInterface() const Tp::Message
isTruncated() const Tp::Message
Message(ChannelTextMessageType, const QString &)Tp::Message
Message(const Message &other)Tp::Message
messageToken() const Tp::Message
messageType() const Tp::Message
operator!=(const Message &other) const Tp::Messageinline
operator=(const ReceivedMessage &other)Tp::ReceivedMessage
Tp::Message::operator=(const Message &other)Tp::Message
operator==(const Message &other) const Tp::Message
part(uint index) const Tp::Message
parts() const Tp::Message
pendingId() const Tp::ReceivedMessageprotected
received() const Tp::ReceivedMessage
ReceivedMessage(const ReceivedMessage &other)Tp::ReceivedMessage
ReceivedMessage(const MessagePartList &parts, const TextChannelPtr &channel)Tp::ReceivedMessageprotected
ReceivedMessage()Tp::ReceivedMessageprotected
sender() const Tp::ReceivedMessage
senderHandle() const Tp::ReceivedMessageprotected
senderId() const Tp::ReceivedMessageprotected
senderNickname() const Tp::ReceivedMessage
sent() const Tp::Message
setForceNonText()Tp::ReceivedMessageprotected
setSender(const ContactPtr &sender)Tp::ReceivedMessageprotected
size() const Tp::Message
supersededToken() const Tp::ReceivedMessage
text() const Tp::Message
~Message()Tp::Message
~ReceivedMessage()Tp::ReceivedMessage


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00502.html0000644000175000017500000001225412727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::StatusSpec Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::StatusSpec Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint type
 
bool maySetOnSelf
 
bool exclusive
 
StringStringMap parameterTypes
 

Detailed Description

Structure type generated from the specification.

Member Data Documentation

uint Tp::StatusSpec::type
bool Tp::StatusSpec::maySetOnSelf
bool Tp::StatusSpec::exclusive
StringStringMap Tp::StatusSpec::parameterTypes


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00257.html0000644000175000017500000013523512727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceCellularInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceCellularInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Signals

void IMSIChanged (const QString &IMSI)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceCellularInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceCellularInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceCellularInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceCellularInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceCellularInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyMessageValidityPeriod () const
 
Tp::PendingOperationsetPropertyMessageValidityPeriod (uint newValue)
 
Tp::PendingVariantrequestPropertyOverrideMessageServiceCentre () const
 
Tp::PendingOperationsetPropertyOverrideMessageServiceCentre (bool newValue)
 
Tp::PendingVariantrequestPropertyMessageServiceCentre () const
 
Tp::PendingOperationsetPropertyMessageServiceCentre (QString newValue)
 
Tp::PendingVariantrequestPropertyIMSI () const
 
Tp::PendingVariantrequestPropertyMessageReducedCharacterSet () const
 
Tp::PendingOperationsetPropertyMessageReducedCharacterSet (bool newValue)
 
Tp::PendingVariantrequestPropertyMessageNationalCharacterSet () const
 
Tp::PendingOperationsetPropertyMessageNationalCharacterSet (QString newValue)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Cellular".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceCellularInterface::ConnectionInterfaceCellularInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceCellularInterface 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.
Tp::Client::ConnectionInterfaceCellularInterface::ConnectionInterfaceCellularInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceCellularInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceCellularInterface::ConnectionInterfaceCellularInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceCellularInterface 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.
Tp::Client::ConnectionInterfaceCellularInterface::ConnectionInterfaceCellularInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceCellularInterface 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 Tp::Client::ConnectionInterfaceCellularInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Cellular", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyMessageValidityPeriod ( ) const
inline

Asynchronous getter for the remote object property MessageValidityPeriod of type uint.

Define how long should the service centre try message delivery before giving up, failing delivery and deleting the message. A value of 0 means to use the service centre's default period.

The value specified is in seconds. Note that various protocols or implementations may round the value up (eg. to a minute or hour precision). The maximum validity period may vary depending on protocol or provider.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceCellularInterface::setPropertyMessageValidityPeriod ( uint  newValue)
inline

Asynchronous setter for the remote object property MessageValidityPeriod of type uint.

Define how long should the service centre try message delivery before giving up, failing delivery and deleting the message. A value of 0 means to use the service centre's default period.

The value specified is in seconds. Note that various protocols or implementations may round the value up (eg. to a minute or hour precision). The maximum validity period may vary depending on protocol or provider.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyOverrideMessageServiceCentre ( ) const
inline

Asynchronous getter for the remote object property OverrideMessageServiceCentre of type bool.

If True, SMSes will be sent via the service centre specified by MessageServiceCentre . If False, the SIM's default SMSC will be used, ignoring the value of MessageServiceCentre.

It could be desirable for a configuration interface to remember the user's previous choice of custom SMSC, even if it's not in use. This boolean allows that choice to be saved as an account parameter by Mission Control, rather than the UI needing to save it elsewhere to be restored if the user wants to reactivate it.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceCellularInterface::setPropertyOverrideMessageServiceCentre ( bool  newValue)
inline

Asynchronous setter for the remote object property OverrideMessageServiceCentre of type bool.

If True, SMSes will be sent via the service centre specified by MessageServiceCentre . If False, the SIM's default SMSC will be used, ignoring the value of MessageServiceCentre.

It could be desirable for a configuration interface to remember the user's previous choice of custom SMSC, even if it's not in use. This boolean allows that choice to be saved as an account parameter by Mission Control, rather than the UI needing to save it elsewhere to be restored if the user wants to reactivate it.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyMessageServiceCentre ( ) const
inline

Asynchronous getter for the remote object property MessageServiceCentre of type QString.

Address for the messaging service centre. Typically (as is the case for GSM's SMSC), it's the ISDN / telephony address (ie. a phone number). If OverrideMessageServiceCentre is False, this property's value should be ignored by the CM in favour of the SIM's default SMSC.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceCellularInterface::setPropertyMessageServiceCentre ( QString  newValue)
inline

Asynchronous setter for the remote object property MessageServiceCentre of type QString.

Address for the messaging service centre. Typically (as is the case for GSM's SMSC), it's the ISDN / telephony address (ie. a phone number). If OverrideMessageServiceCentre is False, this property's value should be ignored by the CM in favour of the SIM's default SMSC.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyIMSI ( ) const
inline

Asynchronous getter for the remote object property IMSI of type QString.

The International Mobile Subscriber Identifier, if it exists. This would originate from a SIM card. If the IMSI is unknown, this will contain an empty string ("").

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyMessageReducedCharacterSet ( ) const
inline

Asynchronous getter for the remote object property MessageReducedCharacterSet of type bool.

Determines how to encode SMSes containing characters that do not fit into a non-Unicode character set. If False (which SHOULD be the default), messages will be encoded as UCS-2 and sent with no loss of fidelity (at the potential financial cost of using twice as many SMSes); if True, the message will be recoded in an implementationâ€specific way to fit into a GSM reduced character set.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceCellularInterface::setPropertyMessageReducedCharacterSet ( bool  newValue)
inline

Asynchronous setter for the remote object property MessageReducedCharacterSet of type bool.

Determines how to encode SMSes containing characters that do not fit into a non-Unicode character set. If False (which SHOULD be the default), messages will be encoded as UCS-2 and sent with no loss of fidelity (at the potential financial cost of using twice as many SMSes); if True, the message will be recoded in an implementationâ€specific way to fit into a GSM reduced character set.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceCellularInterface::requestPropertyMessageNationalCharacterSet ( ) const
inline

Asynchronous getter for the remote object property MessageNationalCharacterSet of type QString.

Hint for the connection manager for the GSM character set that should be used to send SMSes. The connection manager SHOULD follow this hint unless it has other ways to determine a better encoding. If the value is "gsm" (which SHOULD be the default), SMSes will be encoded in the normal 7-bit GSM character set, eventually falling back to UCS-2; see the MessageReducedCharacterSet property for details. Other valid character sets are specified in the GSM standard and are, for instance, "turkey", "spain" or "portugal". If the SMS cannot be encoded using the requested character set the behaviour is implementation-specific, but it is RECOMMENDED that the connection manager should behave as if this property was set to "gsm".

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceCellularInterface::setPropertyMessageNationalCharacterSet ( QString  newValue)
inline

Asynchronous setter for the remote object property MessageNationalCharacterSet of type QString.

Hint for the connection manager for the GSM character set that should be used to send SMSes. The connection manager SHOULD follow this hint unless it has other ways to determine a better encoding. If the value is "gsm" (which SHOULD be the default), SMSes will be encoded in the normal 7-bit GSM character set, eventually falling back to UCS-2; see the MessageReducedCharacterSet property for details. Other valid character sets are specified in the GSM standard and are, for instance, "turkey", "spain" or "portugal". If the SMS cannot be encoded using the requested character set the behaviour is implementation-specific, but it is RECOMMENDED that the connection manager should behave as if this property was set to "gsm".

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceCellularInterface::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.
void Tp::Client::ConnectionInterfaceCellularInterface::IMSIChanged ( const QString &  IMSI)
signal

Represents the signal IMSIChanged on the remote object.

Emitted when the IMSI for the connection changes. This sort of thing is rare, but could happen on cellular phones that allow hot-swapping of SIM cards. In the case of SIM swapping, this signal would be emitted twice; the first time while the SIM is being ejected (with an empty string), and the second time after a new SIM has been inserted (assuming that the IMSI can be determined from the new SIM).

Parameters
IMSI
The new IMSI value. This may be an empty string in the case where 
the IMSI is being reset or removed.
void Tp::Client::ConnectionInterfaceCellularInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01218.html0000644000175000017500000002170312727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AccountInterfaceAddressingInterface Member List

This is the complete list of members for Tp::Client::AccountInterfaceAddressingInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AccountInterfaceAddressingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceAddressingInterface
AccountInterfaceAddressingInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceAddressingInterface
AccountInterfaceAddressingInterface(Tp::DBusProxy *proxy)Tp::Client::AccountInterfaceAddressingInterface
AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface &mainInterface)Tp::Client::AccountInterfaceAddressingInterfaceexplicit
AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface &mainInterface, QObject *parent)Tp::Client::AccountInterfaceAddressingInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AccountInterfaceAddressingInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::AccountInterfaceAddressingInterfaceinline
requestPropertyURISchemes() const Tp::Client::AccountInterfaceAddressingInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetURISchemeAssociation(const QString &URIScheme, bool association, int timeout=-1)Tp::Client::AccountInterfaceAddressingInterfaceinlineslot
staticInterfaceName()Tp::Client::AccountInterfaceAddressingInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00001.html0000644000175000017500000000663212727270137020771 0ustar00kaffeinekaffeine00000000000000 Deprecated List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Deprecated List
Member Tp::AccountManager::accountForPath (const QString &path) const
See accountForObjectPath()
Member Tp::AccountManager::accountsForPaths (const QStringList &paths) const
See accountsForObjectPaths()
Member Tp::SimpleCallObserver::streamedMediaCallEnded (const Tp::StreamedMediaChannelPtr &channel, const QString &errorName, const QString &errorMessage)
Use callEnded() instead. Modern clients shouldn't use StreamedMedia channels.
Member Tp::SimpleCallObserver::streamedMediaCalls () const
Use calls() instead. Modern clients shouldn't use StreamedMedia channels.
Member Tp::SimpleCallObserver::streamedMediaCallStarted (const Tp::StreamedMediaChannelPtr &channel)
Use callStarted() instead. Modern clients shouldn't use StreamedMedia channels.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00575_source.html0000644000175000017500000004164612727270137022375 0ustar00kaffeinekaffeine00000000000000 captcha-authentication.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
captcha-authentication.h
1 
23 #ifndef _TelepathyQt_captcha_authentication_h_HEADER_GUARD_
24 #define _TelepathyQt_captcha_authentication_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/Connection>
32 
33 #include <TelepathyQt/Global>
34 #include <TelepathyQt/SharedPtr>
35 
36 namespace Tp
37 {
38 
39 class PendingCaptchaAnswer;
40 class PendingCaptchaCancel;
41 class PendingCaptchas;
42 
43 class TP_QT_EXPORT CaptchaAuthentication : public Tp::Object
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(CaptchaAuthentication)
47 
48 public:
50  NoChallenge = 0,
51  OCRChallenge = 1,
52  AudioRecognitionChallenge = 2,
53  PictureQuestionChallenge = 4,
54  PictureRecognitionChallenge = 8,
55  TextQuestionChallenge = 16,
56  SpeechQuestionChallenge = 32,
57  SpeechRecognitionChallenge = 64,
58  VideoQuestionChallenge = 128,
59  VideoRecognitionChallenge = 256,
60  UnknownChallenge = 32768
61  };
62  Q_DECLARE_FLAGS(ChallengeTypes, ChallengeType)
63 
64  virtual ~CaptchaAuthentication();
65 
66  ChannelPtr channel() const;
67 
68  bool canRetry() const;
69  Tp::CaptchaStatus status() const;
70 
71  QString error() const;
72  Connection::ErrorDetails errorDetails() const;
73 
74  Tp::PendingCaptchas *requestCaptchas(const QStringList &preferredMimeTypes = QStringList(),
75  ChallengeTypes preferredTypes = ~ChallengeTypes(NoChallenge));
76  Tp::PendingOperation *answer(uint id, const QString &answer);
77  Tp::PendingOperation *answer(const Tp::CaptchaAnswers &response);
78 
79 Q_SIGNALS:
80  void statusChanged(Tp::CaptchaStatus status);
81 
82 public Q_SLOTS:
83  Tp::PendingOperation *cancel(Tp::CaptchaCancelReason reason,
84  const QString &message = QString());
85 
86 private Q_SLOTS:
87  TP_QT_NO_EXPORT void onPropertiesChanged(const QVariantMap &changedProperties,
88  const QStringList &invalidatedProperties);
89 
90 private:
91  TP_QT_NO_EXPORT CaptchaAuthentication(const ChannelPtr &parent);
92 
94 
95  struct Private;
96  friend struct Private;
97  Private *mPriv;
98 };
99 
100 } // namespace Tp
101 
102 Q_DECLARE_OPERATORS_FOR_FLAGS(Tp::CaptchaAuthentication::ChallengeTypes)
103 
104 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
CaptchaCancelReason
Definition: build/TelepathyQt/_gen/constants.h:2985
CaptchaStatus
Definition: build/TelepathyQt/_gen/constants.h:3025
The ServerAuthenticationChannel class is a base class for all ServerAuthentication types...
Definition: server-authentication-channel.h:35
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition: pending-captchas.h:41
The CaptchaAuthentication class exposes CaptchaAuthentication&#39;s features for channels implementing it...
Definition: captcha-authentication.h:43
ChallengeType
Definition: captcha-authentication.h:49
The Connection class represents a Telepathy connection.
Definition: connection.h:61
Definition: build/TelepathyQt/_gen/types.h:577
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_i.html0000644000175000017500000000550312727270137023537 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- i -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00316.html0000644000175000017500000006765012727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::DBusProxy Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Protected Member Functions | List of all members
Tp::DBusProxy Class Reference

The DBusProxy class is a base class representing a remote object available over D-Bus. More...

#include <TelepathyQt/DBusProxy>

Inherits Tp::Object, and Tp::ReadyObject.

Inherited by Tp::StatefulDBusProxy, and Tp::StatelessDBusProxy.

Signals

void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Protected Member Functions

void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 

Detailed Description

The DBusProxy class is a base class representing a remote object available over D-Bus.

All Telepathy-Qt client convenience classes that wrap Telepathy interfaces inherit from this class in order to provide basic D-Bus interface information.

Constructor & Destructor Documentation

Tp::DBusProxy::DBusProxy ( const QDBusConnection &  dbusConnection,
const QString &  busName,
const QString &  objectPath,
const Feature featureCore 
)

Construct a new DBusProxy object.

Parameters
dbusConnectionQDBusConnection to use.
busNameD-Bus bus name of the service that provides the remote object.
objectPathThe object path.
featureCoreThe object core feature.
Tp::DBusProxy::~DBusProxy ( )
virtual

Class destructor.

Member Function Documentation

QDBusConnection Tp::DBusProxy::dbusConnection ( ) const

Return the D-Bus connection through which the remote object is accessed.

Returns
A QDBusConnection object.
QString Tp::DBusProxy::busName ( ) const

Return the D-Bus bus name (either a unique name or a well-known name) of the service that provides the remote object.

Returns
The D-Bus bus name.
QString Tp::DBusProxy::objectPath ( ) const

Return the D-Bus object path of the remote object within the service.

Returns
The D-Bus object path.
bool Tp::DBusProxy::isValid ( ) const

Return whether this proxy is still valid (has not emitted invalidated()).

Returns
true if still valid, false otherwise.
QString Tp::DBusProxy::invalidationReason ( ) const

Return the error name indicating the reason this proxy became invalid.

Returns
A D-Bus error name, or QString() if this object is still valid.
QString Tp::DBusProxy::invalidationMessage ( ) const

Return a debugging message indicating the reason this proxy became invalid.

Returns
A debugging message, or QString() if this object is still valid.
void Tp::DBusProxy::invalidated ( Tp::DBusProxy proxy,
const QString &  errorName,
const QString &  errorMessage 
)
signal

Emitted when this object is no longer usable.

After this signal is emitted, any D-Bus method calls on the object will fail, but it may be possible to retrieve information that has already been retrieved and cached.

Parameters
proxyThis proxy.
errorNameThe name of a D-Bus error describing the reason for the invalidation.
errorMessageA debugging message associated with the error.
void Tp::DBusProxy::setBusName ( const QString &  busName)
protected

Sets the D-Bus bus name. This is used by subclasses after converting well-known names to unique names.

Parameters
busNameThe D-Bus bus name to set.
void Tp::DBusProxy::invalidate ( const QString &  reason,
const QString &  message 
)
protected

Called by subclasses when the DBusProxy should become invalid.

This method takes care of setting the invalidationReason, invalidationMessage, and emitting the invalidated signal.

Parameters
reasonA D-Bus error name (a string in a subset of ASCII, prefixed with a reversed domain name)
messageA debugging message associated with the error
void Tp::DBusProxy::invalidate ( const QDBusError &  error)
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01287.html0000644000175000017500000002435112727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactBlockingInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactBlockingInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
BlockContacts(const Tp::UIntList &contacts, bool reportAbusive, int timeout=-1)Tp::Client::ConnectionInterfaceContactBlockingInterfaceinlineslot
BlockedContactsChanged(const Tp::HandleIdentifierMap &blockedContacts, const Tp::HandleIdentifierMap &unblockedContacts)Tp::Client::ConnectionInterfaceContactBlockingInterfacesignal
ConnectionInterfaceContactBlockingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactBlockingInterface
ConnectionInterfaceContactBlockingInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactBlockingInterface
ConnectionInterfaceContactBlockingInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactBlockingInterface
ConnectionInterfaceContactBlockingInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactBlockingInterfaceexplicit
ConnectionInterfaceContactBlockingInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactBlockingInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactBlockingInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceContactBlockingInterfaceinline
RequestBlockedContacts(int timeout=-1)Tp::Client::ConnectionInterfaceContactBlockingInterfaceinlineslot
requestPropertyContactBlockingCapabilities() const Tp::Client::ConnectionInterfaceContactBlockingInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactBlockingInterfaceinlinestatic
UnblockContacts(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactBlockingInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00571_source.html0000644000175000017500000030355012727270137022364 0ustar00kaffeinekaffeine00000000000000 callbacks.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
callbacks.h
1 
23 #ifndef _TelepathyQt_callbacks_h_HEADER_GUARD_
24 #define _TelepathyQt_callbacks_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Functors>
31 #include <TelepathyQt/Global>
32 
33 namespace Tp
34 {
35 
36 struct TP_QT_EXPORT AbstractFunctorCaller
37 {
38  typedef void *(*HookType)(void*);
39 
40  AbstractFunctorCaller(HookType invokeMethodHook) : invokeMethodHook(invokeMethodHook) {}
42 
43  virtual AbstractFunctorCaller *clone() const = 0;
44 
45  HookType invokeMethodHook;
46 
47 private:
49  AbstractFunctorCaller &operator=(const AbstractFunctorCaller &other);
50 };
51 
52 template <class T, class Functor>
54 {
55  BaseFunctorCaller(const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
56  : AbstractFunctorCaller(invokeMethodHook),
57  functor(functor) {}
58  virtual ~BaseFunctorCaller() {}
59 
60  virtual AbstractFunctorCaller *clone() const { return new T(functor); }
61 
62  Functor functor;
63 };
64 
65 struct TP_QT_EXPORT BaseCallback
66 {
67  BaseCallback() : caller(0) {}
68  /* takes ownership of caller */
69  BaseCallback(AbstractFunctorCaller *caller) : caller(caller) {}
70  BaseCallback(const BaseCallback &other) : caller(other.caller->clone()) {}
71  virtual ~BaseCallback() { delete caller; }
72 
73  bool isValid() const { return caller != 0; }
74 
76  {
77  if (caller == other.caller) return *this;
78  delete caller;
79  caller = other.caller->clone();
80  return *this;
81  }
82 
83 protected:
84  /* may be null */
86 };
87 
88 template <class Functor, class R >
89 struct FunctorCaller0 : public BaseFunctorCaller<FunctorCaller0<Functor, R >, Functor>
90 {
91  typedef R ResultType;
92  typedef R (*InvokeType)(AbstractFunctorCaller* );
93 
94  explicit FunctorCaller0(const Functor &functor) : BaseFunctorCaller<FunctorCaller0, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller0<Functor, R >::invoke)) {}
95 
96  static ResultType invoke(AbstractFunctorCaller *call )
97  {
98  typedef FunctorCaller0<Functor, R > Type;
99  Type *typed = static_cast<Type*>(call);
100  return (typed->functor)();
101  }
102 };
103 
104 template <class R >
105 struct Callback0 : public BaseCallback
106 {
107  typedef R (*FunctionType)();
108  typedef R ResultType;
109 
111  template <class Functor>
112  Callback0(const Functor &functor) : BaseCallback(new FunctorCaller0<Functor, R >(functor)) {}
113 
114  ResultType operator()() const
115  {
116  if (caller) {
117  typedef R (*InvokeType)(AbstractFunctorCaller* );
118  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
119  return invokeMethod(caller );
120  }
121  return ResultType();
122  }
123 };
124 
125 template <class Functor, class R , class Arg1>
126 struct FunctorCaller1 : public BaseFunctorCaller<FunctorCaller1<Functor, R , Arg1>, Functor>
127 {
128  typedef R ResultType;
129  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1);
130 
131  explicit FunctorCaller1(const Functor &functor) : BaseFunctorCaller<FunctorCaller1, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller1<Functor, R , Arg1>::invoke)) {}
132 
133  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1)
134  {
136  Type *typed = static_cast<Type*>(call);
137  return (typed->functor)(a1);
138  }
139 };
140 
141 template <class R , class Arg1>
142 struct Callback1 : public BaseCallback
143 {
144  typedef R (*FunctionType)(Arg1);
145  typedef R ResultType;
146 
148  template <class Functor>
149  Callback1(const Functor &functor) : BaseCallback(new FunctorCaller1<Functor, R , Arg1>(functor)) {}
150 
151  ResultType operator()(Arg1 a1) const
152  {
153  if (caller) {
154  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1);
155  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
156  return invokeMethod(caller , a1);
157  }
158  return ResultType();
159  }
160 };
161 
162 template <class Functor, class R , class Arg1, class Arg2>
163 struct FunctorCaller2 : public BaseFunctorCaller<FunctorCaller2<Functor, R , Arg1, Arg2>, Functor>
164 {
165  typedef R ResultType;
166  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2);
167 
168  explicit FunctorCaller2(const Functor &functor) : BaseFunctorCaller<FunctorCaller2, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller2<Functor, R , Arg1, Arg2>::invoke)) {}
169 
170  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2)
171  {
173  Type *typed = static_cast<Type*>(call);
174  return (typed->functor)(a1, a2);
175  }
176 };
177 
178 template <class R , class Arg1, class Arg2>
179 struct Callback2 : public BaseCallback
180 {
181  typedef R (*FunctionType)(Arg1, Arg2);
182  typedef R ResultType;
183 
185  template <class Functor>
186  Callback2(const Functor &functor) : BaseCallback(new FunctorCaller2<Functor, R , Arg1, Arg2>(functor)) {}
187 
188  ResultType operator()(Arg1 a1, Arg2 a2) const
189  {
190  if (caller) {
191  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2);
192  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
193  return invokeMethod(caller , a1, a2);
194  }
195  return ResultType();
196  }
197 };
198 
199 template <class Functor, class R , class Arg1, class Arg2, class Arg3>
200 struct FunctorCaller3 : public BaseFunctorCaller<FunctorCaller3<Functor, R , Arg1, Arg2, Arg3>, Functor>
201 {
202  typedef R ResultType;
203  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3);
204 
205  explicit FunctorCaller3(const Functor &functor) : BaseFunctorCaller<FunctorCaller3, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller3<Functor, R , Arg1, Arg2, Arg3>::invoke)) {}
206 
207  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2, Arg3 a3)
208  {
210  Type *typed = static_cast<Type*>(call);
211  return (typed->functor)(a1, a2, a3);
212  }
213 };
214 
215 template <class R , class Arg1, class Arg2, class Arg3>
216 struct Callback3 : public BaseCallback
217 {
218  typedef R (*FunctionType)(Arg1, Arg2, Arg3);
219  typedef R ResultType;
220 
222  template <class Functor>
223  Callback3(const Functor &functor) : BaseCallback(new FunctorCaller3<Functor, R , Arg1, Arg2, Arg3>(functor)) {}
224 
225  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const
226  {
227  if (caller) {
228  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3);
229  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
230  return invokeMethod(caller , a1, a2, a3);
231  }
232  return ResultType();
233  }
234 };
235 
236 template <class Functor, class R , class Arg1, class Arg2, class Arg3, class Arg4>
237 struct FunctorCaller4 : public BaseFunctorCaller<FunctorCaller4<Functor, R , Arg1, Arg2, Arg3, Arg4>, Functor>
238 {
239  typedef R ResultType;
240  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4);
241 
242  explicit FunctorCaller4(const Functor &functor) : BaseFunctorCaller<FunctorCaller4, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller4<Functor, R , Arg1, Arg2, Arg3, Arg4>::invoke)) {}
243 
244  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
245  {
247  Type *typed = static_cast<Type*>(call);
248  return (typed->functor)(a1, a2, a3, a4);
249  }
250 };
251 
252 template <class R , class Arg1, class Arg2, class Arg3, class Arg4>
253 struct Callback4 : public BaseCallback
254 {
255  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4);
256  typedef R ResultType;
257 
259  template <class Functor>
260  Callback4(const Functor &functor) : BaseCallback(new FunctorCaller4<Functor, R , Arg1, Arg2, Arg3, Arg4>(functor)) {}
261 
262  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
263  {
264  if (caller) {
265  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4);
266  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
267  return invokeMethod(caller , a1, a2, a3, a4);
268  }
269  return ResultType();
270  }
271 };
272 
273 template <class Functor, class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
274 struct FunctorCaller5 : public BaseFunctorCaller<FunctorCaller5<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5>, Functor>
275 {
276  typedef R ResultType;
277  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5);
278 
279  explicit FunctorCaller5(const Functor &functor) : BaseFunctorCaller<FunctorCaller5, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller5<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5>::invoke)) {}
280 
281  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
282  {
284  Type *typed = static_cast<Type*>(call);
285  return (typed->functor)(a1, a2, a3, a4, a5);
286  }
287 };
288 
289 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
290 struct Callback5 : public BaseCallback
291 {
292  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5);
293  typedef R ResultType;
294 
296  template <class Functor>
297  Callback5(const Functor &functor) : BaseCallback(new FunctorCaller5<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5>(functor)) {}
298 
299  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
300  {
301  if (caller) {
302  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5);
303  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
304  return invokeMethod(caller , a1, a2, a3, a4, a5);
305  }
306  return ResultType();
307  }
308 };
309 
310 template <class Functor, class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
311 struct FunctorCaller6 : public BaseFunctorCaller<FunctorCaller6<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6>, Functor>
312 {
313  typedef R ResultType;
314  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6);
315 
316  explicit FunctorCaller6(const Functor &functor) : BaseFunctorCaller<FunctorCaller6, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller6<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6>::invoke)) {}
317 
318  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6)
319  {
321  Type *typed = static_cast<Type*>(call);
322  return (typed->functor)(a1, a2, a3, a4, a5, a6);
323  }
324 };
325 
326 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6>
327 struct Callback6 : public BaseCallback
328 {
329  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6);
330  typedef R ResultType;
331 
333  template <class Functor>
334  Callback6(const Functor &functor) : BaseCallback(new FunctorCaller6<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6>(functor)) {}
335 
336  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
337  {
338  if (caller) {
339  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6);
340  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
341  return invokeMethod(caller , a1, a2, a3, a4, a5, a6);
342  }
343  return ResultType();
344  }
345 };
346 
347 template <class Functor, class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
348 struct FunctorCaller7 : public BaseFunctorCaller<FunctorCaller7<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7>, Functor>
349 {
350  typedef R ResultType;
351  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7);
352 
353  explicit FunctorCaller7(const Functor &functor) : BaseFunctorCaller<FunctorCaller7, Functor>(functor, reinterpret_cast<AbstractFunctorCaller::HookType>(&FunctorCaller7<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7>::invoke)) {}
354 
355  static ResultType invoke(AbstractFunctorCaller *call , Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7)
356  {
358  Type *typed = static_cast<Type*>(call);
359  return (typed->functor)(a1, a2, a3, a4, a5, a6, a7);
360  }
361 };
362 
363 template <class R , class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class Arg6, class Arg7>
364 struct Callback7 : public BaseCallback
365 {
366  typedef R (*FunctionType)(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7);
367  typedef R ResultType;
368 
370  template <class Functor>
371  Callback7(const Functor &functor) : BaseCallback(new FunctorCaller7<Functor, R , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7>(functor)) {}
372 
373  ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
374  {
375  if (caller) {
376  typedef R (*InvokeType)(AbstractFunctorCaller* , Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7);
377  InvokeType invokeMethod = reinterpret_cast<InvokeType>(caller->invokeMethodHook);
378  return invokeMethod(caller , a1, a2, a3, a4, a5, a6, a7);
379  }
380  return ResultType();
381  }
382 };
383 
384 }
385 
386 #endif
BaseCallback(const BaseCallback &other)
Definition: callbacks.h:70
R ResultType
Definition: callbacks.h:165
BaseCallback(AbstractFunctorCaller *caller)
Definition: callbacks.h:69
virtual ~BaseFunctorCaller()
Definition: callbacks.h:58
Callback with 1 argument.
Definition: callbacks.h:142
HookType invokeMethodHook
Definition: callbacks.h:45
R ResultType
Definition: callbacks.h:219
Callback2()
Definition: callbacks.h:184
Definition: callbacks.h:237
R ResultType
Definition: callbacks.h:350
Callback with 6 arguments.
Definition: callbacks.h:327
R ResultType
Definition: callbacks.h:108
Definition: callbacks.h:36
Callback3()
Definition: callbacks.h:221
Definition: callbacks.h:348
Callback5(const Functor &functor)
Definition: callbacks.h:297
Callback6(const Functor &functor)
Definition: callbacks.h:334
Definition: callbacks.h:53
BaseCallback & operator=(const BaseCallback &other)
Definition: callbacks.h:75
ResultType operator()(Arg1 a1) const
Definition: callbacks.h:151
R ResultType
Definition: callbacks.h:91
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6)
Definition: callbacks.h:318
Callback0()
Definition: callbacks.h:110
Functor functor
Definition: callbacks.h:62
R ResultType
Definition: callbacks.h:128
Definition: callbacks.h:89
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1)
Definition: callbacks.h:133
AbstractFunctorCaller(HookType invokeMethodHook)
Definition: callbacks.h:40
virtual AbstractFunctorCaller * clone() const =0
R ResultType
Definition: callbacks.h:313
R ResultType
Definition: callbacks.h:293
BaseFunctorCaller(const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
Definition: callbacks.h:55
void *(* HookType)(void *)
Definition: callbacks.h:38
Callback3(const Functor &functor)
Definition: callbacks.h:223
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
Definition: callbacks.h:262
virtual AbstractFunctorCaller * clone() const
Definition: callbacks.h:60
Definition: callbacks.h:311
FunctorCaller5(const Functor &functor)
Definition: callbacks.h:279
FunctorCaller1(const Functor &functor)
Definition: callbacks.h:131
R ResultType
Definition: callbacks.h:276
static ResultType invoke(AbstractFunctorCaller *call)
Definition: callbacks.h:96
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
Definition: callbacks.h:299
Callback1()
Definition: callbacks.h:147
Definition: callbacks.h:200
Callback with 0 arguments.
Definition: callbacks.h:105
Callback6()
Definition: callbacks.h:332
Callback with 5 arguments.
Definition: callbacks.h:290
Callback with 3 arguments.
Definition: callbacks.h:216
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3) const
Definition: callbacks.h:225
FunctorCaller7(const Functor &functor)
Definition: callbacks.h:353
Callback2(const Functor &functor)
Definition: callbacks.h:186
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
Definition: callbacks.h:373
Callback7()
Definition: callbacks.h:369
FunctorCaller3(const Functor &functor)
Definition: callbacks.h:205
Base class for all the callback classes.
Definition: callbacks.h:65
Definition: callbacks.h:163
virtual ~BaseCallback()
Definition: callbacks.h:71
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2)
Definition: callbacks.h:170
Callback0(const Functor &functor)
Definition: callbacks.h:112
ResultType operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
Definition: callbacks.h:336
Callback with 4 arguments.
Definition: callbacks.h:253
Definition: callbacks.h:274
Callback with 2 arguments.
Definition: callbacks.h:179
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7)
Definition: callbacks.h:355
bool isValid() const
Definition: callbacks.h:73
R ResultType
Definition: callbacks.h:239
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
Definition: callbacks.h:281
Callback4(const Functor &functor)
Definition: callbacks.h:260
Callback4()
Definition: callbacks.h:258
Definition: abstract-adaptor.cpp:31
ResultType operator()() const
Definition: callbacks.h:114
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
Definition: callbacks.h:244
ResultType operator()(Arg1 a1, Arg2 a2) const
Definition: callbacks.h:188
R ResultType
Definition: callbacks.h:182
FunctorCaller0(const Functor &functor)
Definition: callbacks.h:94
Callback1(const Functor &functor)
Definition: callbacks.h:149
Callback7(const Functor &functor)
Definition: callbacks.h:371
static ResultType invoke(AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3)
Definition: callbacks.h:207
FunctorCaller6(const Functor &functor)
Definition: callbacks.h:316
Callback5()
Definition: callbacks.h:295
Callback with 7 arguments.
Definition: callbacks.h:364
R ResultType
Definition: callbacks.h:145
R ResultType
Definition: callbacks.h:330
R ResultType
Definition: callbacks.h:202
AbstractFunctorCaller * caller
Definition: callbacks.h:85
BaseCallback()
Definition: callbacks.h:67
R ResultType
Definition: callbacks.h:367
FunctorCaller2(const Functor &functor)
Definition: callbacks.h:168
R ResultType
Definition: callbacks.h:256
FunctorCaller4(const Functor &functor)
Definition: callbacks.h:242
virtual ~AbstractFunctorCaller()
Definition: callbacks.h:41
Definition: callbacks.h:126


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00070.html0000644000175000017500000011420712727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members

Base class for channel implementations. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::DBusService.

Signals

void closed ()
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseChannel ()
 
QVariantMap immutableProperties () const
 
bool registerObject (DBusError *error=NULL)
 
virtual QString uniqueName () const
 
Tp::BaseConnectionconnection () const
 
QString channelType () const
 
QList< AbstractChannelInterfacePtr > interfaces () const
 
AbstractChannelInterfacePtr interface (const QString &interfaceName) const
 
uint targetHandle () const
 
QString targetID () const
 
uint targetHandleType () const
 
bool requested () const
 
uint initiatorHandle () const
 
QString initiatorID () const
 
Tp::ChannelDetails details () const
 
void setInitiatorHandle (uint initiatorHandle)
 
void setInitiatorID (const QString &initiatorID)
 
void setTargetID (const QString &targetID)
 
void setRequested (bool requested)
 
void close ()
 
bool plugInterface (const AbstractChannelInterfacePtr &interface)
 
- Public Member Functions inherited from Tp::DBusService
 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelPtr create (BaseConnection *connection, const QString &channelType, Tp::HandleType targetHandleType=Tp::HandleTypeNone, uint targetHandle=0)
 

Protected Member Functions

 BaseChannel (const QDBusConnection &dbusConnection, BaseConnection *connection, const QString &channelType, uint targetHandleType, uint targetHandle)
 
virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for channel implementations.

Constructor & Destructor Documentation

Tp::BaseChannel::~BaseChannel ( )
virtual

Class destructor.

Tp::BaseChannel::BaseChannel ( const QDBusConnection &  dbusConnection,
BaseConnection connection,
const QString &  channelType,
uint  targetHandleType,
uint  targetHandle 
)
protected

Member Function Documentation

static BaseChannelPtr Tp::BaseChannel::create ( BaseConnection connection,
const QString &  channelType,
Tp::HandleType  targetHandleType = Tp::HandleTypeNone,
uint  targetHandle = 0 
)
inlinestatic
QVariantMap Tp::BaseChannel::immutableProperties ( ) const
virtual

Return the immutable properties of this channel object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns
The immutable properties of this channel object.

Implements Tp::DBusService.

bool Tp::BaseChannel::registerObject ( DBusError error = NULL)
QString Tp::BaseChannel::uniqueName ( ) const
virtual

Return a unique name for this channel.

Returns
A unique name for this channel.
BaseConnection * Tp::BaseChannel::connection ( ) const
QString Tp::BaseChannel::channelType ( ) const
QList< AbstractChannelInterfacePtr > Tp::BaseChannel::interfaces ( ) const
AbstractChannelInterfacePtr Tp::BaseChannel::interface ( const QString &  interfaceName) const

Return a pointer to the interface with the given name.

Parameters
interfaceNameThe D-Bus name of the interface, ex. TP_QT_IFACE_PROTOCOL_INTERFACE_ADDRESSING.
Returns
A pointer to the AbstractProtocolInterface object that implements the D-Bus interface with the given name, or a null pointer if such an interface has not been plugged into this object.
See also
plugInterface(), interfaces()
uint Tp::BaseChannel::targetHandle ( ) const
QString Tp::BaseChannel::targetID ( ) const
uint Tp::BaseChannel::targetHandleType ( ) const
bool Tp::BaseChannel::requested ( ) const
uint Tp::BaseChannel::initiatorHandle ( ) const
QString Tp::BaseChannel::initiatorID ( ) const
Tp::ChannelDetails Tp::BaseChannel::details ( ) const
void Tp::BaseChannel::setInitiatorHandle ( uint  initiatorHandle)
void Tp::BaseChannel::setInitiatorID ( const QString &  initiatorID)
void Tp::BaseChannel::setTargetID ( const QString &  targetID)
void Tp::BaseChannel::setRequested ( bool  requested)
void Tp::BaseChannel::close ( )
bool Tp::BaseChannel::plugInterface ( const AbstractChannelInterfacePtr &  interface)

Plug a new interface into this Protocol D-Bus object.

This property is immutable and cannot change after this Protocol object has been registered on the bus with registerObject().

Parameters
interfaceAn AbstractProtocolInterface instance that implements the interface that is to be plugged.
Returns
true on success or false otherwise
See also
interfaces(), interface()
void Tp::BaseChannel::closed ( )
signal
bool Tp::BaseChannel::registerObject ( const QString &  busName,
const QString &  objectPath,
DBusError error 
)
protectedvirtual

Reimplemented from DBusService.

Reimplemented from Tp::DBusService.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01031.html0000644000175000017500000000630712727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusObject Member List

This is the complete list of members for Tp::DBusObject, including all inherited members.

dbusConnection() const Tp::DBusObject
DBusObject(const QDBusConnection &dbusConnection, QObject *parent=0)Tp::DBusObject
objectPath() const Tp::DBusObject
setObjectPath(const QString &path)Tp::DBusObjectprotected
~DBusObject()Tp::DBusObjectvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00385.html0000644000175000017500000002354212727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::MessageContentPartList Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::MessageContentPartList Class Reference

The MessageContentPartList class represents a list of MessageContentPart. More...

#include <TelepathyQt/MessageContentPartList>

Inherits QList< MessageContentPart >.

Public Member Functions

 MessageContentPartList ()
 
 MessageContentPartList (const MessagePart &mp)
 
 MessageContentPartList (const MessagePartList &mps)
 
 MessageContentPartList (const MessageContentPart &mcp)
 
 MessageContentPartList (const QList< MessageContentPart > &other)
 
MessagePartList bareParts () const
 

Detailed Description

The MessageContentPartList class represents a list of MessageContentPart.

Constructor & Destructor Documentation

Tp::MessageContentPartList::MessageContentPartList ( )
inline
Tp::MessageContentPartList::MessageContentPartList ( const MessagePart mp)
inline
Tp::MessageContentPartList::MessageContentPartList ( const MessagePartList mps)
inline
Tp::MessageContentPartList::MessageContentPartList ( const MessageContentPart mcp)
inline
Tp::MessageContentPartList::MessageContentPartList ( const QList< MessageContentPart > &  other)
inline

Member Function Documentation

MessagePartList Tp::MessageContentPartList::bareParts ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01346.html0000644000175000017500000000757612727270137021016 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeServerTLSConnectionAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeServerTLSConnectionAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
Hostname() const Tp::Service::ChannelTypeServerTLSConnectionAdaptor
ReferenceIdentities() const Tp::Service::ChannelTypeServerTLSConnectionAdaptor
ServerCertificate() const Tp::Service::ChannelTypeServerTLSConnectionAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00840_source.html0000644000175000017500000007127212727270137022366 0ustar00kaffeinekaffeine00000000000000 types.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
telepathy-qt/TelepathyQt/types.h
1 
23 #ifndef _TelepathyQt_types_h_HEADER_GUARD_
24 #define _TelepathyQt_types_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/types.h>
31 
32 #include <TelepathyQt/Global>
33 #include <TelepathyQt/SharedPtr>
34 #include <TelepathyQt/MethodInvocationContext>
35 
36 #include <QDBusVariant>
37 
38 namespace Tp
39 {
40 
41 TP_QT_EXPORT void registerTypes();
42 
43 template <typename T> class Filter;
44 template <typename T> class GenericCapabilityFilter;
45 template <typename T> class GenericPropertyFilter;
46 
47 class AbstractClient;
48 class AbstractClientApprover;
49 class AbstractClientHandler;
50 class AbstractClientObserver;
51 class Account;
52 typedef GenericCapabilityFilter<Account> AccountCapabilityFilter;
53 class AccountFactory;
54 typedef Filter<Account> AccountFilter;
55 class AccountManager;
56 class AccountPropertyFilter;
57 class AccountSet;
58 class CallChannel;
59 class CallContent;
60 class CallStream;
61 class CaptchaAuthentication;
62 class Channel;
63 class ChannelDispatchOperation;
64 class ChannelFactory;
65 class ChannelRequest;
66 class ClientObject;
67 class ClientRegistrar;
68 class Connection;
69 class ConnectionFactory;
70 class ConnectionLowlevel;
71 class ConnectionManager;
72 class ConnectionManagerLowlevel;
73 class Contact;
74 class ContactFactory;
75 class ContactManager;
76 class ContactMessenger;
77 class ContactSearchChannel;
78 class DBusProxy;
79 class DebugReceiver;
80 class DBusTubeChannel;
81 class FileTransferChannel;
82 class IncomingDBusTubeChannel;
83 class IncomingFileTransferChannel;
84 class IncomingStreamTubeChannel;
85 class OutgoingDBusTubeChannel;
86 class OutgoingFileTransferChannel;
87 class OutgoingStreamTubeChannel;
88 class Profile;
89 class ProfileManager;
90 class RoomListChannel;
91 class ServerAuthenticationChannel;
92 class SimpleObserver;
93 class SimpleCallObserver;
94 class SimpleTextObserver;
95 class StreamedMediaChannel;
96 class StreamedMediaStream;
97 class StreamTubeChannel;
98 class StreamTubeClient;
99 class StreamTubeServer;
100 class TextChannel;
101 class TubeChannel;
102 
103 #ifndef DOXYGEN_SHOULD_SKIP_THIS
104 
105 typedef SharedPtr<AbstractClient> AbstractClientPtr;
106 typedef SharedPtr<AbstractClientApprover> AbstractClientApproverPtr;
107 typedef SharedPtr<AbstractClientHandler> AbstractClientHandlerPtr;
108 typedef SharedPtr<AbstractClientObserver> AbstractClientObserverPtr;
109 typedef SharedPtr<Account> AccountPtr;
110 typedef SharedPtr<AccountCapabilityFilter> AccountCapabilityFilterPtr;
111 typedef SharedPtr<const AccountCapabilityFilter> AccountCapabilityFilterConstPtr;
112 typedef SharedPtr<AccountFactory> AccountFactoryPtr;
113 typedef SharedPtr<const AccountFactory> AccountFactoryConstPtr;
114 typedef SharedPtr<AccountFilter> AccountFilterPtr;
115 typedef SharedPtr<const AccountFilter> AccountFilterConstPtr;
116 typedef SharedPtr<AccountManager> AccountManagerPtr;
117 typedef SharedPtr<AccountPropertyFilter> AccountPropertyFilterPtr;
118 typedef SharedPtr<const AccountPropertyFilter> AccountPropertyFilterConstPtr;
119 typedef SharedPtr<AccountSet> AccountSetPtr;
120 typedef SharedPtr<CallChannel> CallChannelPtr;
121 typedef SharedPtr<CallContent> CallContentPtr;
122 typedef SharedPtr<CallStream> CallStreamPtr;
123 typedef SharedPtr<CaptchaAuthentication> CaptchaAuthenticationPtr;
124 typedef SharedPtr<Channel> ChannelPtr;
125 typedef SharedPtr<ChannelDispatchOperation> ChannelDispatchOperationPtr;
126 typedef SharedPtr<ChannelFactory> ChannelFactoryPtr;
127 typedef SharedPtr<const ChannelFactory> ChannelFactoryConstPtr;
128 typedef SharedPtr<ChannelRequest> ChannelRequestPtr;
129 typedef SharedPtr<ClientObject> ClientObjectPtr;
130 typedef SharedPtr<ClientRegistrar> ClientRegistrarPtr;
131 typedef SharedPtr<Connection> ConnectionPtr;
132 typedef SharedPtr<ConnectionFactory> ConnectionFactoryPtr;
133 typedef SharedPtr<const ConnectionFactory> ConnectionFactoryConstPtr;
134 typedef SharedPtr<ConnectionLowlevel> ConnectionLowlevelPtr;
135 typedef SharedPtr<const ConnectionLowlevel> ConnectionLowlevelConstPtr;
136 typedef SharedPtr<ConnectionManager> ConnectionManagerPtr;
137 typedef SharedPtr<ConnectionManagerLowlevel> ConnectionManagerLowlevelPtr;
138 typedef SharedPtr<const ConnectionManagerLowlevel> ConnectionManagerLowlevelConstPtr;
139 typedef SharedPtr<Contact> ContactPtr;
140 typedef QSet<ContactPtr> Contacts;
141 typedef SharedPtr<ContactFactory> ContactFactoryPtr;
142 typedef SharedPtr<const ContactFactory> ContactFactoryConstPtr;
143 typedef SharedPtr<ContactManager> ContactManagerPtr;
144 typedef SharedPtr<ContactMessenger> ContactMessengerPtr;
145 typedef SharedPtr<ContactSearchChannel> ContactSearchChannelPtr;
146 typedef SharedPtr<DBusProxy> DBusProxyPtr;
147 typedef SharedPtr<DBusTubeChannel> DBusTubeChannelPtr;
148 typedef SharedPtr<DebugReceiver> DebugReceiverPtr;
149 typedef SharedPtr<FileTransferChannel> FileTransferChannelPtr;
150 typedef SharedPtr<IncomingDBusTubeChannel> IncomingDBusTubeChannelPtr;
151 typedef SharedPtr<IncomingFileTransferChannel> IncomingFileTransferChannelPtr;
152 typedef SharedPtr<IncomingStreamTubeChannel> IncomingStreamTubeChannelPtr;
153 typedef SharedPtr<OutgoingDBusTubeChannel> OutgoingDBusTubeChannelPtr;
154 typedef SharedPtr<OutgoingFileTransferChannel> OutgoingFileTransferChannelPtr;
155 typedef SharedPtr<OutgoingStreamTubeChannel> OutgoingStreamTubeChannelPtr;
156 typedef SharedPtr<Profile> ProfilePtr;
157 typedef SharedPtr<ProfileManager> ProfileManagerPtr;
158 typedef SharedPtr<RoomListChannel> RoomListChannelPtr;
159 typedef SharedPtr<ServerAuthenticationChannel> ServerAuthenticationChannelPtr;
160 typedef SharedPtr<SimpleObserver> SimpleObserverPtr;
161 typedef SharedPtr<SimpleCallObserver> SimpleCallObserverPtr;
162 typedef SharedPtr<SimpleTextObserver> SimpleTextObserverPtr;
163 typedef TP_QT_DEPRECATED SharedPtr<StreamedMediaChannel> StreamedMediaChannelPtr;
164 typedef TP_QT_DEPRECATED SharedPtr<StreamedMediaStream> StreamedMediaStreamPtr;
165 typedef SharedPtr<StreamTubeChannel> StreamTubeChannelPtr;
166 typedef SharedPtr<StreamTubeClient> StreamTubeClientPtr;
167 typedef SharedPtr<StreamTubeServer> StreamTubeServerPtr;
168 typedef SharedPtr<TextChannel> TextChannelPtr;
169 typedef SharedPtr<TubeChannel> TubeChannelPtr;
170 
171 template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil,
172  typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil,
173  typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil,
174  typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
175 class MethodInvocationContextPtr : public SharedPtr<MethodInvocationContext<T1, T2, T3, T4, T5, T6, T7, T8> >
176 {
177 public:
178  inline MethodInvocationContextPtr() { }
179  explicit inline MethodInvocationContextPtr(MethodInvocationContext<T1, T2, T3, T4, T5, T6, T7, T8> *d)
180  : SharedPtr<MethodInvocationContext<T1, T2, T3, T4, T5, T6, T7, T8> >(d) { }
181  inline MethodInvocationContextPtr(const SharedPtr<MethodInvocationContext<T1, T2, T3, T4, T5, T6, T7, T8> > &o)
182  : SharedPtr<MethodInvocationContext<T1, T2, T3, T4, T5, T6, T7, T8> >(o) { }
183 };
184 
185 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
186 
187 } // Tp
188 
189 #endif
Filter< Account > AccountFilter
Definition: account-filter.h:35
void registerTypes()
Definition: types.cpp:42
Definition: abstract-adaptor.cpp:31
GenericCapabilityFilter< Account > AccountCapabilityFilter
Definition: account-capability-filter.h:35


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00945.html0000644000175000017500000003127412727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionContactInfoInterface Member List

This is the complete list of members for Tp::BaseConnectionContactInfoInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionContactInfoInterface()Tp::BaseConnectionContactInfoInterfaceprotected
contactInfoChanged(uint contact, const Tp::ContactInfoFieldList &contactInfo)Tp::BaseConnectionContactInfoInterface
contactInfoFlags() const Tp::BaseConnectionContactInfoInterface
create()Tp::BaseConnectionContactInfoInterfaceinlinestatic
create()Tp::BaseConnectionContactInfoInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getContactInfo(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactInfoInterface
GetContactInfoCallback typedefTp::BaseConnectionContactInfoInterface
immutableProperties() const Tp::BaseConnectionContactInfoInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
refreshContactInfo(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactInfoInterface
RefreshContactInfoCallback typedefTp::BaseConnectionContactInfoInterface
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestContactInfo(uint contact, DBusError *error)Tp::BaseConnectionContactInfoInterface
RequestContactInfoCallback typedefTp::BaseConnectionContactInfoInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setContactInfo(const Tp::ContactInfoFieldList &contactInfo, DBusError *error)Tp::BaseConnectionContactInfoInterface
SetContactInfoCallback typedefTp::BaseConnectionContactInfoInterface
setContactInfoFlags(const Tp::ContactInfoFlags &contactInfoFlags)Tp::BaseConnectionContactInfoInterface
setGetContactInfoCallback(const GetContactInfoCallback &cb)Tp::BaseConnectionContactInfoInterface
setRefreshContactInfoCallback(const RefreshContactInfoCallback &cb)Tp::BaseConnectionContactInfoInterface
setRequestContactInfoCallback(const RequestContactInfoCallback &cb)Tp::BaseConnectionContactInfoInterface
setSetContactInfoCallback(const SetContactInfoCallback &cb)Tp::BaseConnectionContactInfoInterface
setSupportedFields(const Tp::FieldSpecs &supportedFields)Tp::BaseConnectionContactInfoInterface
supportedFields() const Tp::BaseConnectionContactInfoInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionContactInfoInterface()Tp::BaseConnectionContactInfoInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00444.html0000644000175000017500000001004512727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::PropertyValue Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::PropertyValue Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint identifier
 
QDBusVariant value
 

Detailed Description

Structure type generated from the specification.

A struct (property ID, value) representing a property's value, as seen in the PropertiesChanged signal on the Properties interface, returned by the GetProperties method and passed to the SetProperties method.

Member Data Documentation

uint Tp::PropertyValue::identifier
QDBusVariant Tp::PropertyValue::value


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00199.html0000644000175000017500000004357012727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceSMSAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ChannelInterfaceSMSAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

uint GetSMSLength (const Tp::MessagePartList &message, const QDBusMessage &dbusMessage, int &remainingCharacters, int &estimatedCost)
 

Signals

void SMSChannelChanged (bool SMSChannel)
 

Public Member Functions

bool Flash () const
 
bool SMSChannel () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::ChannelInterfaceSMSAdaptor::Flash ( ) const

Return the value of the exported D-Bus object property Flash of type bool.

Adaptees should export this property as a Qt property named 'flash' with type bool.

If True, then this channel is exclusively for receiving class 0 SMSes (and no SMSes can be sent using ChannelInterfaceMessagesInterface::SendMessage() on this channel). If False, no incoming class 0 SMSes will appear on this channel.

This property is immutable (cannot change), and therefore SHOULD appear wherever immutable properties are reported, e.g. ConnectionInterfaceRequestsInterface::NewChannels() signals.

Class 0 SMSes should be displayed immediately to the user, and need not be saved to the device memory unless the user explicitly chooses to do so. This is unlike “normalâ€, class 1 SMSes, which must be stored, but need not be shown immediately in their entirity to the user.

Separating class 0 SMSes into their own channel with this immutable property allows them to be dispatched to a different ClientHandlerInterface —which would include this property in its ClientHandlerInterface::HandlerChannelFilter —avoiding the normal Text channel handler having to decide for each message whether it should be displayed to the user immediately or handled normally.

Currently, no mechanism is defined for sending class 0 SMSes. It seems reasonable to support specifying the class of an outgoing SMS in its header Message_Part, rather than requiring the UI to request a special channel for such SMSes; hence, we define here that channels with Flash set to True are read-only.

Returns
The value of exported property Flash.
bool Tp::Service::ChannelInterfaceSMSAdaptor::SMSChannel ( ) const

Return the value of the exported D-Bus object property SMSChannel of type bool.

Adaptees should export this property as a Qt property named 'smsChannel' with type bool.

If TRUE, messages sent and received on this channel are transmitted via SMS.

If this property is included in the channel request, the Connection Manager MUST return an appropriate channel (i.e. if TRUE the channel must be for SMSes, if FALSE it must not), or else fail to provide the requested channel with the NotCapable error.

For example, to explicitly request an SMS channel to a contact. You might construct a channel request like:

{
  Channel.Type: Channel.Type.Text,
  Channel.TargetHandleType: Handle_Type_Contact,
  Channel.TargetID: escher.cat,
  Channel.Interface.SMS.SMSChannel: True,
}
Some protocols allow us to send SMSes to a remote contact, without knowing the phone number to which those SMSes will be sent. This provides a mechanism to request such channels.

If this property is not included in the channel request, the Connection Manager MAY return an SMS channel if that is the most appropriate medium (i.e. if the channel target is a phone number).

To some types of identifiers (i.e. phone numbers) it only makes sense to return an SMS channel, this is what happens currently with telepathy-ring. We don't want to break this behaviour when we are not explicit about the type of channel we want. Alternatively, for protocols where there is an SMS fallback for IM messages, it's possible that we don't care what sort of channel we get, and simply want notification of the transport.

Some protocols have a fallback to deliver IM messages via SMS. On these protocols, the Connection Manager SHOULD set the property value as appropriate, and notify its change with SMSChannelChanged() .

Protocols such as MSN can fall back to delivering IM messages via SMS. Where possible we want clients to be able to inform the user that their messages are going to be redirected to the remote contact's phone.

Returns
The value of exported property SMSChannel.
uint Tp::Service::ChannelInterfaceSMSAdaptor::GetSMSLength ( const Tp::MessagePartList message,
const QDBusMessage &  dbusMessage,
int &  remainingCharacters,
int &  estimatedCost 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getSMSLength(const Tp::MessagePartList& message, const Tp::Service::ChannelInterfaceSMSAdaptor::GetSMSLengthContextPtr &context);

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

Returns the number of 140 octet chunks required to send a message via SMS, as well as the number of remaining characters available in the final chunk and, if possible, an estimate of the cost.

There are a number of different SMS encoding mechanisms, and the client doesn't know which mechanisms an individual CM might support. This method allows the client, without any knowledge of the encoding mechanism, to provide length details to the user.

Clients SHOULD limit the frequency with which this method is called and SHOULD NOT call it for every keystroke. Clients MAY estimate the remaining size between single keystrokes.

Parameters
message
The message the user wishes to send.
remainingCharactersOutput parameter

The number of further characters that can be fit in the final chunk. A negative value indicates that the message will be truncated by abs(Remaining_Characters). The value MIN_INT32 (-231) indicates the message will be truncated by an unknown amount.

For example, in the GSM standard 7-bit encoding, a 162 character message would return 144 remaining characters (because of the space required for the multipart SMS header).

Parameters
estimatedCostOutput parameter

The estimated cost of sending this message. The currency and scale of this value are the same as the \\\ \\link ConnectionInterfaceBalanceInterface::requestPropertyAccountBalance() ConnectionInterfaceBalanceInterface::AccountBalance \\endlink \\htmlonly property.

A value of -1 indicates the cost could not be estimated.

Returns

The number of 140 octet chunks required to send this message.

For example, in the GSM standard 7-bit encoding, a 162 character message would require 2 chunks.

void Tp::Service::ChannelInterfaceSMSAdaptor::SMSChannelChanged ( bool  SMSChannel)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void smsChannelChanged(bool SMSChannel);

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

Parameters
SMSChannel
The new value for SMSChannel.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00837_source.html0000644000175000017500000002557512727270137022401 0ustar00kaffeinekaffeine00000000000000 tube-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
tube-channel.h
1 
22 #ifndef _TelepathyQt_tube_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_tube_channel_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28 
29 #include <TelepathyQt/Channel>
30 
31 namespace Tp
32 {
33 
34 class TP_QT_EXPORT TubeChannel : public Channel
35 {
36  Q_OBJECT
37  Q_DISABLE_COPY(TubeChannel)
38 
39 public:
40  static const Feature FeatureCore;
41 
42  static TubeChannelPtr create(const ConnectionPtr &connection,
43  const QString &objectPath, const QVariantMap &immutableProperties);
44 
45  virtual ~TubeChannel();
46 
47  TubeChannelState state() const;
48 
49  QVariantMap parameters() const;
50 
51 Q_SIGNALS:
52  void stateChanged(Tp::TubeChannelState state);
53 
54 protected:
55  TubeChannel(const ConnectionPtr &connection, const QString &objectPath,
56  const QVariantMap &immutableProperties,
57  const Feature &coreFeature = TubeChannel::FeatureCore);
58 
59  void setParameters(const QVariantMap &parameters);
60 
61 private Q_SLOTS:
62  TP_QT_NO_EXPORT void onTubeChannelStateChanged(uint newstate);
63  TP_QT_NO_EXPORT void gotTubeProperties(Tp::PendingOperation *op);
64 
65 private:
66  struct Private;
67  friend struct Private;
68  Private *mPriv;
69 };
70 
71 }
72 
73 #endif
static const Feature FeatureCore
Definition: tube-channel.h:40
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The TubeChannel class is a base class for all tube types.
Definition: tube-channel.h:34
Definition: abstract-adaptor.cpp:31
TubeChannelState
Definition: build/TelepathyQt/_gen/constants.h:3729
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00503.html0000644000175000017500000001403512727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::StatusSpecMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::StatusSpecMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, StatusSpec >.

Public Member Functions

 StatusSpecMap ()
 
 StatusSpecMap (const QMap< QString, StatusSpec > &a)
 
StatusSpecMapoperator= (const QMap< QString, StatusSpec > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, StatusSpec>, but needed to have a discrete type in the Qt type system.

Constructor & Destructor Documentation

Tp::StatusSpecMap::StatusSpecMap ( )
inline
Tp::StatusSpecMap::StatusSpecMap ( const QMap< QString, StatusSpec > &  a)
inline

Member Function Documentation

StatusSpecMap& Tp::StatusSpecMap::operator= ( const QMap< QString, StatusSpec > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00258.html0000644000175000017500000003256212727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceClientTypesAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | List of all members
Tp::Service::ConnectionInterfaceClientTypesAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::ContactClientTypes GetClientTypes (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
QStringList RequestClientTypes (uint contact, const QDBusMessage &dbusMessage)
 

Signals

void ClientTypesUpdated (uint contact, const QStringList &clientTypes)
 

Additional Inherited Members

- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::ContactClientTypes Tp::Service::ConnectionInterfaceClientTypesAdaptor::GetClientTypes ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getClientTypes(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceClientTypesAdaptor::GetClientTypesContextPtr &context);

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

Return the client types of the given contacts, if they are already known. If any of the given contacts' client types are not known, request their current client types, but return immediately without waiting for a reply; if a reply with a non-empty client type array is later received for those contacts, the ClientTypesUpdated signal will be emitted for them. This method is appropriate for "lazy" client type finding, for instance displaying the client types (if available) of everyone in your contact list.

Parameters
contacts
The contacts whose client types should be returned or signalled.
Returns
The contacts&apos; client types, if already known. Contacts whose 
client types are not already known are omitted from the mapping; 
contacts known to have no client type information appear in the 
mapping with an empty list.
QStringList Tp::Service::ConnectionInterfaceClientTypesAdaptor::RequestClientTypes ( uint  contact,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestClientTypes(uint contact, const Tp::Service::ConnectionInterfaceClientTypesAdaptor::RequestClientTypesContextPtr &context);

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

Return the current client types of the given contact. If necessary, make a request to the server for up-to-date information, and wait for a reply. This method is appropriate for use in a "Contact Information..." dialog; it can be used to show progress information (while waiting for the method to return), and can distinguish between various error conditions.

Parameters
contact
The contact whose client types should be returned.
Returns
The contact&apos;s client types. It MAY be empty, indicating that 
no client type information was found.
void Tp::Service::ConnectionInterfaceClientTypesAdaptor::ClientTypesUpdated ( uint  contact,
const QStringList &  clientTypes 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void clientTypesUpdated(uint contact, const QStringList& clientTypes);

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

Parameters
contact
The contact.
clientTypes
The contact&apos;s client types, or an empty list to indicate that 
nothing is known about the contact&apos;s client types.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01219.html0000644000175000017500000002211412727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AccountInterfaceAvatarInterface Member List

This is the complete list of members for Tp::Client::AccountInterfaceAvatarInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AccountInterfaceAvatarInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceAvatarInterface
AccountInterfaceAvatarInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceAvatarInterface
AccountInterfaceAvatarInterface(Tp::DBusProxy *proxy)Tp::Client::AccountInterfaceAvatarInterface
AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface &mainInterface)Tp::Client::AccountInterfaceAvatarInterfaceexplicit
AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface &mainInterface, QObject *parent)Tp::Client::AccountInterfaceAvatarInterface
AvatarChanged()Tp::Client::AccountInterfaceAvatarInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AccountInterfaceAvatarInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::AccountInterfaceAvatarInterfaceinline
requestPropertyAvatar() const Tp::Client::AccountInterfaceAvatarInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyAvatar(Tp::Avatar newValue)Tp::Client::AccountInterfaceAvatarInterfaceinline
staticInterfaceName()Tp::Client::AccountInterfaceAvatarInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00833_source.html0000644000175000017500000006731212727270137022370 0ustar00kaffeinekaffeine00000000000000 text-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
text-channel.h
1 
23 #ifndef _TelepathyQt_text_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_text_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/PendingSendMessage>
33 
34 namespace Tp
35 {
36 
37 class Message;
38 class ReceivedMessage;
39 
40 class TP_QT_EXPORT TextChannel : public Channel
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(TextChannel)
44 
45 public:
46  static const Feature FeatureCore;
50  static const Feature FeatureChatState;
51 
52  static TextChannelPtr create(const ConnectionPtr &connection,
53  const QString &objectPath, const QVariantMap &immutableProperties);
54 
55  virtual ~TextChannel();
56 
57  bool hasMessagesInterface() const;
58  bool hasChatStateInterface() const;
59  bool canInviteContacts() const;
60 
61  // requires FeatureMessageCapabilities
62  bool supportsMessageType(ChannelTextMessageType messageType) const;
63  QList<ChannelTextMessageType> supportedMessageTypes() const;
64  QStringList supportedContentTypes() const;
65  MessagePartSupportFlags messagePartSupport() const;
66  DeliveryReportingSupportFlags deliveryReportingSupport() const;
67 
68  // requires FeatureMessageQueue
69  QList<ReceivedMessage> messageQueue() const;
70 
71  // requires FeatureChatState
72  ChannelChatState chatState(const ContactPtr &contact) const;
73 
74 public Q_SLOTS:
75  void acknowledge(const QList<ReceivedMessage> &messages);
76 
77  void forget(const QList<ReceivedMessage> &messages);
78 
79  PendingSendMessage *send(const QString &text,
81  MessageSendingFlags flags = 0);
82 
83  PendingSendMessage *send(const MessagePartList &parts,
84  MessageSendingFlags flags = 0);
85 
87  const QList<ContactPtr> &contacts,
88  const QString &message = QString())
89  {
90  return groupAddContacts(contacts, message);
91  }
92 
93  PendingOperation *requestChatState(ChannelChatState state);
94 
95 Q_SIGNALS:
96  // FeatureMessageSentSignal
97  void messageSent(const Tp::Message &message,
99  const QString &sentMessageToken);
100 
101  // FeatureMessageQueue
102  void messageReceived(const Tp::ReceivedMessage &message);
103  void pendingMessageRemoved(
104  const Tp::ReceivedMessage &message);
105 
106  // FeatureChatState
107  void chatStateChanged(const Tp::ContactPtr &contact,
108  Tp::ChannelChatState state);
109 
110 protected:
111  TextChannel(const ConnectionPtr &connection, const QString &objectPath,
112  const QVariantMap &immutableProperties,
113  const Feature &coreFeature = TextChannel::FeatureCore);
114 
115 private Q_SLOTS:
116  TP_QT_NO_EXPORT void onContactsFinished(Tp::PendingOperation *);
117  TP_QT_NO_EXPORT void onAcknowledgePendingMessagesReply(QDBusPendingCallWatcher *);
118 
119  TP_QT_NO_EXPORT void onMessageSent(const Tp::MessagePartList &, uint,
120  const QString &);
121  TP_QT_NO_EXPORT void onMessageReceived(const Tp::MessagePartList &);
122  TP_QT_NO_EXPORT void onPendingMessagesRemoved(const Tp::UIntList &);
123 
124  TP_QT_NO_EXPORT void onTextSent(uint, uint, const QString &);
125  TP_QT_NO_EXPORT void onTextReceived(uint, uint, uint, uint, uint, const QString &);
126  TP_QT_NO_EXPORT void onTextSendError(uint, uint, uint, const QString &);
127 
128  TP_QT_NO_EXPORT void gotProperties(QDBusPendingCallWatcher *);
129  TP_QT_NO_EXPORT void gotPendingMessages(QDBusPendingCallWatcher *);
130 
131  TP_QT_NO_EXPORT void onChatStateChanged(uint, uint);
132 
133 private:
134  struct Private;
135  friend struct Private;
136  Private *mPriv;
137 };
138 
139 } // Tp
140 
141 #endif
The PendingSendMessage class represents the parameters of and the reply to an asynchronous message se...
Definition: pending-send-message.h:41
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
static const Feature FeatureCore
Definition: text-channel.h:46
The ReceivedMessage class is a subclass of Message, representing a received message only...
Definition: message.h:97
static const Feature FeatureMessageSentSignal
Definition: text-channel.h:49
static const Feature FeatureMessageCapabilities
Definition: text-channel.h:48
The TextChannel class represents a Telepathy channel of type Text.
Definition: text-channel.h:40
The Message class represents a Telepathy message in a TextChannel.
Definition: message.h:44
QFlags< MessageSendingFlag > MessageSendingFlags
Definition: build/TelepathyQt/_gen/constants.h:1166
Definition: build/TelepathyQt/_gen/types.h:107
QFlags< MessagePartSupportFlag > MessagePartSupportFlags
Definition: build/TelepathyQt/_gen/constants.h:1106
ChannelChatState
Definition: build/TelepathyQt/_gen/constants.h:3078
PendingOperation * inviteContacts(const QList< ContactPtr > &contacts, const QString &message=QString())
Definition: text-channel.h:86
Definition: abstract-adaptor.cpp:31
QFlags< DeliveryReportingSupportFlag > DeliveryReportingSupportFlags
Definition: build/TelepathyQt/_gen/constants.h:1219
static const Feature FeatureMessageQueue
Definition: text-channel.h:47
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
static const Feature FeatureChatState
Definition: text-channel.h:50
Definition: build/TelepathyQt/_gen/constants.h:2871
ChannelTextMessageType
Definition: build/TelepathyQt/_gen/constants.h:2866
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00002.html0000644000175000017500000001107112727270137020763 0ustar00kaffeinekaffeine00000000000000 Todo List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Todo List
Member Tp::Channel::create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
immutableProperties should be used to populate the corresponding accessors (such as channelType()) already on construction, not only when making FeatureCore ready (fd.o #41654)
Member Tp::DBusProxyFactory::initialPrepare (const DBusProxyPtr &proxy) const
FIXME actually implement this... :) Currently just a vtable placeholder.
Member Tp::DBusProxyFactory::readyPrepare (const DBusProxyPtr &proxy) const
FIXME actually implement this... :) Currently just a vtable placeholder.
Member Tp::Object::notify (const char *propertyName)
Use for more classes beyond Account. Most importantly Contact.
Class Tp::StreamTubeClient
Coin up a small Python script or alike to easily generate the .client and .service files. (fd.o #41614)
Member Tp::StreamTubeClient::setToAcceptAsTcp (TcpSourceAddressGenerator *generator=0)
Make it possible to set the tube client to auto-close tubes if the desired access control level is not achieved, as an alternative to the current best-effort behavior.
Member Tp::StreamTubeClient::setToAcceptAsUnix (bool requireCredentials=false)
Make it possible to set the tube client to auto-close tubes if the desired access control level is not achieved, as an alternative to the current best-effort behavior.
Class Tp::StreamTubeServer

Coin up a small Python script or alike to easily generate the .client and .service files. (fd.o #41614)

Support exporting Unix sockets as well. (fd.o #41615)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00557_source.html0000644000175000017500000003013712727270137022366 0ustar00kaffeinekaffeine00000000000000 base-debug.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
base-debug.h
1 
22 #ifndef _TelepathyQt_base_debug_h_HEADER_GUARD_
23 #define _TelepathyQt_base_debug_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28 
29 #include <TelepathyQt/Callbacks>
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/DBusService>
32 #include <TelepathyQt/Global>
33 #include <TelepathyQt/Types>
34 
35 namespace Tp
36 {
37 
38 class TP_QT_EXPORT BaseDebug : public DBusService
39 {
40  Q_OBJECT
41 public:
42  explicit BaseDebug(const QDBusConnection &dbusConnection = QDBusConnection::sessionBus());
43 
44  bool isEnabled() const;
45  int getMessagesLimit() const;
46 
48  void setGetMessagesCallback(const GetMessagesCallback &cb);
49 
50  DebugMessageList getMessages(DBusError *error) const;
51 
52 public Q_SLOTS:
53  void setEnabled(bool enabled);
54  void setGetMessagesLimit(int limit);
55  void clear();
56 
57  void newDebugMessage(const QString &domain, DebugLevel level, const QString &message);
58  void newDebugMessage(double time, const QString &domain, DebugLevel level, const QString &message);
59 
60  QVariantMap immutableProperties() const;
61 
62  bool registerObject(DBusError *error = NULL);
63 
64 protected:
65  class Adaptee;
66  friend class Adaptee;
67  struct Private;
68  friend struct Private;
69  Private *mPriv;
70 };
71 
72 } // namespace Tp
73 
74 #endif // _TelepathyQt_base_debug_h_HEADER_GUARD_
DebugLevel
Definition: build/TelepathyQt/_gen/constants.h:4036
Callback1< DebugMessageList, DBusError * > GetMessagesCallback
Definition: base-debug.h:47
Definition: base-debug.h:38
Base class for D-Bus services.
Definition: dbus-service.h:46
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
QList< DebugMessage > DebugMessageList
Definition: build/TelepathyQt/_gen/types.h:1522
Definition: abstract-adaptor.cpp:31
Private * mPriv
Definition: base-debug.h:69


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00317.html0000644000175000017500000005730112727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::DBusProxyFactory Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::DBusProxyFactory Class Referenceabstract

The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching and making them ready as appropriate. More...

#include <TelepathyQt/DBusProxyFactory>

Inherits QObject, and Tp::RefCounted.

Inherited by Tp::ChannelFactory, and Tp::FixedFeatureFactory.

Public Member Functions

virtual ~DBusProxyFactory ()
 
const QDBusConnection & dbusConnection () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

 DBusProxyFactory (const QDBusConnection &bus)
 
DBusProxyPtr cachedProxy (const QString &busName, const QString &objectPath) const
 
PendingReadynowHaveProxy (const DBusProxyPtr &proxy) const
 
virtual QString finalBusNameFrom (const QString &uniqueOrWellKnown) const =0
 
virtual PendingOperationinitialPrepare (const DBusProxyPtr &proxy) const
 
virtual PendingOperationreadyPrepare (const DBusProxyPtr &proxy) const
 
virtual Features featuresFor (const DBusProxyPtr &proxy) const =0
 

Detailed Description

The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching and making them ready as appropriate.

Constructor & Destructor Documentation

Tp::DBusProxyFactory::~DBusProxyFactory ( )
virtual

Class destructor.

Tp::DBusProxyFactory::DBusProxyFactory ( const QDBusConnection &  bus)
protected

Construct a new DBusProxyFactory object.

The intention for storing the bus here is that it generally doesn't make sense to construct proxies for multiple buses in the same context. Allowing that would lead to more complex keying needs in the cache, as well.

Parameters
busThe D-Bus bus connection for the objects constructed using this factory.

Member Function Documentation

const QDBusConnection & Tp::DBusProxyFactory::dbusConnection ( ) const

Return the D-Bus connection all of the proxies from this factory communicate with.

Returns
A QDBusConnection object.
DBusProxyPtr Tp::DBusProxyFactory::cachedProxy ( const QString &  busName,
const QString &  objectPath 
) const
protected

Return a cached proxy with the given busName and objectPath.

If a proxy has not been previously put into the cache by nowHaveProxy for those identifying attributes, or a previously cached proxy has since been invalidated and/or destroyed, a Null shared pointer is returned instead.

Parameters
busNameBus name of the proxy to return.
objectPathObject path of the proxy to return.
Returns
A pointer to the DBusProxy object, if any.
PendingReady * Tp::DBusProxyFactory::nowHaveProxy ( const DBusProxyPtr &  proxy) const
protected

Should be called by subclasses when they have a proxy, be it a newly-constructed one or one from the cache.

This function will then do the rest of the factory work, including caching the proxy if it's not cached already, doing any initialPrepare()/readyPrepare() work if appropriate, and making the features from featuresFor() ready if they aren't already.

The returned PendingReady only finishes when the initialPrepare() and readyPrepare() operations for the proxy has completed, and the requested features have all been made ready (or found unable to be made ready). Note that this might have happened already before calling this function, if the proxy was not a newly created one, but was looked up from the cache. DBusProxyFactory handles the necessary subleties for this to work.

Access to the proxy instance is allowed as soon as this method returns through PendingReady::proxy(), if the proxy is needed in a context where it's not required to be ready.

Parameters
proxyThe proxy which the factory should now make sure is prepared and made ready.
Returns
A PendingReady operation which will emit PendingReady::finished when the proxy is usable.
QString Tp::DBusProxyFactory::finalBusNameFrom ( const QString &  uniqueOrWellKnown) const
protectedpure virtual

"Normalize" a bus name according to the rules for the proxy class to construct.

Should be implemented by subclasses to transform the application-specified name uniqueOrWellKnown to whatever the proxy constructed for that name would have in its DBusProxy::busName() in the end.

For StatelessDBusProxy sub-classes this should mostly be an identity transform, while for StatefulDBusProxy sub-classes StatefulDBusProxy::uniqueNameFrom() or an equivalent thereof should be used in most cases.

If this is not implemented correctly, caching won't work properly.

Parameters
uniqueOrWellKnownAny valid D-Bus service name, either unique or well-known.
Returns
Whatever that name would turn to, when a proxy is constructed for it.

Implemented in Tp::ChannelFactory, Tp::AccountFactory, and Tp::ConnectionFactory.

PendingOperation * Tp::DBusProxyFactory::initialPrepare ( const DBusProxyPtr &  proxy) const
protectedvirtual

Allows subclasses to do arbitrary manipulation on the proxy before it is attempted to be made ready.

If a non-NULL operation is returned, the completion of that operation is waited for before starting to make the object ready whenever nowHaveProxy() is called the first time around for a given proxy.

Todo:
FIXME actually implement this... :) Currently just a vtable placeholder.
Parameters
proxyThe just-constructed proxy to be prepared.
Returns
NULL ie. nothing to do.
PendingOperation * Tp::DBusProxyFactory::readyPrepare ( const DBusProxyPtr &  proxy) const
protectedvirtual

Allows subclasses to do arbitrary manipulation on the proxy after it has been made ready.

If a non-NULL operation is returned, the completion of that operation is waited for before signaling that the object is ready for use after ReadyObject::becomeReady() for it has finished whenever nowHaveProxy() is called the first time around for a given proxy.

Todo:
FIXME actually implement this... :) Currently just a vtable placeholder.
Parameters
proxyThe just-readified proxy to be prepared.
Returns
NULL ie. nothing to do.
Features Tp::DBusProxyFactory::featuresFor ( const DBusProxyPtr &  proxy) const
protectedpure virtual

Return the features which should be made ready on a given proxy.

This can be used to implement instance-specific features based on arbitrary criteria. FixedFeatureFactory implements this as a fixed set of features independent of the instance, however.

It should be noted that if an empty set of features is returned, ReadyObject::becomeReady() is not called at all. In other words, any "core feature" is not automatically added to the requested features. This is to enable setting a factory to not make proxies ready at all, which is useful eg. in the case of account editing UIs which aren't interested in the state of Connection objects for the Account objects they're editing.

Parameters
proxyThe proxy on which the returned features will be made ready.
Returns
A list of Feature objects.

Implemented in Tp::ChannelFactory, and Tp::FixedFeatureFactory.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01288.html0000644000175000017500000002313212727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactCapabilitiesInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactCapabilitiesInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceContactCapabilitiesInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactCapabilitiesInterface
ConnectionInterfaceContactCapabilitiesInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactCapabilitiesInterface
ConnectionInterfaceContactCapabilitiesInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactCapabilitiesInterface
ConnectionInterfaceContactCapabilitiesInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceexplicit
ConnectionInterfaceContactCapabilitiesInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactCapabilitiesInterface
ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap &caps)Tp::Client::ConnectionInterfaceContactCapabilitiesInterfacesignal
GetContactCapabilities(const Tp::UIntList &handles, int timeout=-1)Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceinlinestatic
UpdateCapabilities(const Tp::HandlerCapabilitiesList &handlerCapabilities, int timeout=-1)Tp::Client::ConnectionInterfaceContactCapabilitiesInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00071.html0000644000175000017500000016434112727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelCallType Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Tp::BaseChannelCallType Class Reference

Base class for implementations of Channel.Type.Call. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
 
typedef Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
 
typedef Callback1< void, DBusError * > AcceptCallback
 
typedef Callback4< void, uint, const QString &, const QString &, DBusError * > HangupCallback
 
typedef Callback1< void, DBusError * > SetRingingCallback
 
typedef Callback1< void, DBusError * > SetQueuedCallback
 
typedef Callback4< QDBusObjectPath, const QString &, const Tp::MediaStreamType &, const Tp::MediaStreamDirection &, DBusError * > AddContentCallback
 

Public Member Functions

virtual ~BaseChannelCallType ()
 
QVariantMap immutableProperties () const
 
Tp::ObjectPathList contents ()
 
QVariantMap callStateDetails ()
 
uint callState ()
 
uint callFlags ()
 
Tp::CallStateReason callStateReason ()
 
bool hardwareStreaming ()
 
Tp::CallMemberMap callMembers ()
 
Tp::HandleIdentifierMap memberIdentifiers ()
 
uint initialTransport ()
 
bool initialAudio ()
 
bool initialVideo ()
 
QString initialAudioName ()
 
QString initialVideoName ()
 
bool mutableContents ()
 
void setAcceptCallback (const AcceptCallback &cb)
 
void setHangupCallback (const HangupCallback &cb)
 
void setSetRingingCallback (const SetRingingCallback &cb)
 
void setSetQueuedCallback (const SetQueuedCallback &cb)
 
void setAddContentCallback (const AddContentCallback &cb)
 
void setCallState (const Tp::CallState &state, uint flags, const Tp::CallStateReason &stateReason, const QVariantMap &callStateDetails)
 
void setMembersFlags (const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
 
BaseCallContentPtr addContent (const QString &name, const Tp::MediaStreamType &type, const Tp::MediaStreamDirection &direction)
 
void addContent (BaseCallContentPtr content)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelCallTypePtr create (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
 
template<typename BaseChannelCallTypeSubclass >
static SharedPtr< BaseChannelCallTypeSubclass > create (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
 

Public Attributes

CreateChannelCallback createChannel
 
EnsureChannelCallback ensureChannel
 
Tp::RequestableChannelClassList requestableChannelClasses
 

Protected Member Functions

 BaseChannelCallType (BaseChannel *channel, bool hardwareStreaming, uint initialTransport, bool initialAudio, bool initialVideo, QString initialAudioName, QString initialVideoName, bool mutableContents=false)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Type.Call.

Member Typedef Documentation

typedef Callback2<QDBusObjectPath, const QVariantMap&, DBusError*> Tp::BaseChannelCallType::CreateChannelCallback
typedef Callback4<void, uint, const QString &, const QString &, DBusError*> Tp::BaseChannelCallType::HangupCallback

Constructor & Destructor Documentation

Tp::BaseChannelCallType::~BaseChannelCallType ( )
virtual

Class destructor.

Tp::BaseChannelCallType::BaseChannelCallType ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
)
protected

Class constructor.

Member Function Documentation

static BaseChannelCallTypePtr Tp::BaseChannelCallType::create ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
)
inlinestatic
template<typename BaseChannelCallTypeSubclass >
static SharedPtr<BaseChannelCallTypeSubclass> Tp::BaseChannelCallType::create ( BaseChannel channel,
bool  hardwareStreaming,
uint  initialTransport,
bool  initialAudio,
bool  initialVideo,
QString  initialAudioName,
QString  initialVideoName,
bool  mutableContents = false 
)
inlinestatic
QVariantMap Tp::BaseChannelCallType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::ObjectPathList Tp::BaseChannelCallType::contents ( )
QVariantMap Tp::BaseChannelCallType::callStateDetails ( )
uint Tp::BaseChannelCallType::callState ( )
uint Tp::BaseChannelCallType::callFlags ( )
Tp::CallStateReason Tp::BaseChannelCallType::callStateReason ( )
bool Tp::BaseChannelCallType::hardwareStreaming ( )
Tp::CallMemberMap Tp::BaseChannelCallType::callMembers ( )
Tp::HandleIdentifierMap Tp::BaseChannelCallType::memberIdentifiers ( )
uint Tp::BaseChannelCallType::initialTransport ( )
bool Tp::BaseChannelCallType::initialAudio ( )
bool Tp::BaseChannelCallType::initialVideo ( )
QString Tp::BaseChannelCallType::initialAudioName ( )
QString Tp::BaseChannelCallType::initialVideoName ( )
bool Tp::BaseChannelCallType::mutableContents ( )
void Tp::BaseChannelCallType::setAcceptCallback ( const AcceptCallback cb)
void Tp::BaseChannelCallType::setHangupCallback ( const HangupCallback cb)
void Tp::BaseChannelCallType::setSetRingingCallback ( const SetRingingCallback cb)
void Tp::BaseChannelCallType::setSetQueuedCallback ( const SetQueuedCallback cb)
void Tp::BaseChannelCallType::setAddContentCallback ( const AddContentCallback cb)
void Tp::BaseChannelCallType::setCallState ( const Tp::CallState state,
uint  flags,
const Tp::CallStateReason stateReason,
const QVariantMap &  callStateDetails 
)
void Tp::BaseChannelCallType::setMembersFlags ( const Tp::CallMemberMap flagsChanged,
const Tp::HandleIdentifierMap identifiers,
const Tp::UIntList removed,
const Tp::CallStateReason reason 
)
BaseCallContentPtr Tp::BaseChannelCallType::addContent ( const QString &  name,
const Tp::MediaStreamType type,
const Tp::MediaStreamDirection direction 
)
void Tp::BaseChannelCallType::addContent ( BaseCallContentPtr  content)

Member Data Documentation

CreateChannelCallback Tp::BaseChannelCallType::createChannel
EnsureChannelCallback Tp::BaseChannelCallType::ensureChannel
Tp::RequestableChannelClassList Tp::BaseChannelCallType::requestableChannelClasses


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01032.html0000644000175000017500000002211112727270137020764 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusProxy Member List

This is the complete list of members for Tp::DBusProxy, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestedFeatures() const Tp::ReadyObjectvirtual
setBusName(const QString &busName)Tp::DBusProxyprotected
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00887.html0000644000175000017500000000566712727270137021026 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractAdaptor Member List

This is the complete list of members for Tp::AbstractAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00553_source.html0000644000175000017500000004323012727270137022360 0ustar00kaffeinekaffeine00000000000000 base-connection-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
base-connection-manager.h
1 
23 #ifndef _TelepathyQt_base_connection_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_base_connection_manager_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/DBusService>
31 #include <TelepathyQt/Global>
32 #include <TelepathyQt/Types>
33 
34 #include <QDBusConnection>
35 
36 class QString;
37 
38 namespace Tp
39 {
40 
41 class TP_QT_EXPORT BaseConnectionManager : public DBusService
42 {
43  Q_OBJECT
44  Q_DISABLE_COPY(BaseConnectionManager)
45 
46 public:
47  static BaseConnectionManagerPtr create(const QString &name)
48  {
49  return BaseConnectionManagerPtr(new BaseConnectionManager(
50  QDBusConnection::sessionBus(), name));
51  }
52  template<typename BaseConnectionManagerSubclass>
54  {
55  return SharedPtr<BaseConnectionManagerSubclass>(new BaseConnectionManagerSubclass(
56  QDBusConnection::sessionBus(), name));
57  }
58  static BaseConnectionManagerPtr create(const QDBusConnection &dbusConnection,
59  const QString &name)
60  {
61  return BaseConnectionManagerPtr(new BaseConnectionManager(dbusConnection, name));
62  }
63  template<typename BaseConnectionManagerSubclass>
64  static SharedPtr<BaseConnectionManagerSubclass> create(const QDBusConnection &dbusConnection,
65  const QString &name)
66  {
67  return SharedPtr<BaseConnectionManagerSubclass>(new BaseConnectionManagerSubclass(
68  dbusConnection, name));
69  }
70 
71  virtual ~BaseConnectionManager();
72 
73  QString name() const;
74 
75  QVariantMap immutableProperties() const;
76 
77  QList<BaseProtocolPtr> protocols() const;
78  BaseProtocolPtr protocol(const QString &protocolName) const;
79  bool hasProtocol(const QString &protocolName) const;
80  bool addProtocol(const BaseProtocolPtr &protocol);
81 
82  bool registerObject(DBusError *error = NULL);
83 
84  QList<BaseConnectionPtr> connections() const;
85 
86 Q_SIGNALS:
87  void newConnection(const BaseConnectionPtr &connection);
88 
89 protected:
90  BaseConnectionManager(const QDBusConnection &dbusConnection, const QString &name);
91 
92  virtual bool registerObject(const QString &busName, const QString &objectPath,
93  DBusError *error);
94 
95 private Q_SLOTS:
96  TP_QT_NO_EXPORT void removeConnection();
97 
98 private:
99  TP_QT_NO_EXPORT void addConnection(const BaseConnectionPtr &connection);
100 
101  class Adaptee;
102  friend class Adaptee;
103  class Private;
104  friend class Private;
105  Private *mPriv;
106 };
107 
108 }
109 
110 #endif
static BaseConnectionManagerPtr create(const QDBusConnection &dbusConnection, const QString &name)
Definition: base-connection-manager.h:58
Base class for D-Bus services.
Definition: dbus-service.h:46
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
static BaseConnectionManagerPtr create(const QString &name)
Definition: base-connection-manager.h:47
static SharedPtr< BaseConnectionManagerSubclass > create(const QString &name)
Definition: base-connection-manager.h:53
Base class for connection manager implementations.
Definition: base-connection-manager.h:41
Definition: abstract-adaptor.cpp:31
static SharedPtr< BaseConnectionManagerSubclass > create(const QDBusConnection &dbusConnection, const QString &name)
Definition: base-connection-manager.h:64
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00386.html0000644000175000017500000001357512727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::MessagePart Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::MessagePart Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QDBusVariant >.

Public Member Functions

 MessagePart ()
 
 MessagePart (const QMap< QString, QDBusVariant > &a)
 
MessagePartoperator= (const QMap< QString, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

Constructor & Destructor Documentation

Tp::MessagePart::MessagePart ( )
inline
Tp::MessagePart::MessagePart ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

MessagePart& Tp::MessagePart::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01347.html0000644000175000017500000001552012727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeStreamedMediaAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeStreamedMediaAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
ImmutableStreams() const Tp::Service::ChannelTypeStreamedMediaAdaptor
InitialAudio() const Tp::Service::ChannelTypeStreamedMediaAdaptor
InitialVideo() const Tp::Service::ChannelTypeStreamedMediaAdaptor
ListStreams(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamedMediaAdaptorslot
RemoveStreams(const Tp::UIntList &streams, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamedMediaAdaptorslot
RequestStreamDirection(uint streamID, uint streamDirection, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamedMediaAdaptorslot
RequestStreams(uint contactHandle, const Tp::UIntList &types, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamedMediaAdaptorslot
StreamAdded(uint streamID, uint contactHandle, uint streamType)Tp::Service::ChannelTypeStreamedMediaAdaptorsignal
StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags)Tp::Service::ChannelTypeStreamedMediaAdaptorsignal
StreamError(uint streamID, uint errorCode, const QString &message)Tp::Service::ChannelTypeStreamedMediaAdaptorsignal
StreamRemoved(uint streamID)Tp::Service::ChannelTypeStreamedMediaAdaptorsignal
StreamStateChanged(uint streamID, uint streamState)Tp::Service::ChannelTypeStreamedMediaAdaptorsignal
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00130.html0000644000175000017500000002426612727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::Service::CallInterfaceMuteAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::CallInterfaceMuteAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void RequestMuted (bool muted, const QDBusMessage &dbusMessage)
 

Signals

void MuteStateChanged (uint muteState)
 

Public Member Functions

uint LocalMuteState () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::CallInterfaceMuteAdaptor::LocalMuteState ( ) const

Return the value of the exported D-Bus object property LocalMuteState of type uint.

Adaptees should export this property as a Qt property named 'localMuteState' with type uint.

The current mute state of this part of the call. New Contents should inherit the value of this property from the parent Call1. Similarly, Streams should inherit it from the parent Content.

Returns
The value of exported property LocalMuteState.
void Tp::Service::CallInterfaceMuteAdaptor::RequestMuted ( bool  muted,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestMuted(bool muted, const Tp::Service::CallInterfaceMuteAdaptor::RequestMutedContextPtr &context);

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

Inform the CM that the Call, Content or Stream should be muted or unmuted. The CM will tell the streaming implementation to Mute Streams as required, and emit MuteStateChanged when done.

Parameters
muted
True if the client wishes to mute the Content or Call.
void Tp::Service::CallInterfaceMuteAdaptor::MuteStateChanged ( uint  muteState)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void muteStateChanged(uint muteState);

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

Parameters
muteState
The new mute state.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00946.html0000644000175000017500000004155012727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionContactListInterface Member List

This is the complete list of members for Tp::BaseConnectionContactListInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
authorizePublication(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactListInterface
AuthorizePublicationCallback typedefTp::BaseConnectionContactListInterface
BaseConnectionContactListInterface()Tp::BaseConnectionContactListInterfaceprotected
canChangeContactList() const Tp::BaseConnectionContactListInterface
contactListPersists() const Tp::BaseConnectionContactListInterface
contactListState() const Tp::BaseConnectionContactListInterface
contactsChangedWithID(const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)Tp::BaseConnectionContactListInterface
create()Tp::BaseConnectionContactListInterfaceinlinestatic
create()Tp::BaseConnectionContactListInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
download(DBusError *error)Tp::BaseConnectionContactListInterface
downloadAtConnection() const Tp::BaseConnectionContactListInterface
DownloadCallback typedefTp::BaseConnectionContactListInterface
getContactListAttributes(const QStringList &interfaces, bool hold, DBusError *error)Tp::BaseConnectionContactListInterface
GetContactListAttributesCallback typedefTp::BaseConnectionContactListInterface
immutableProperties() const Tp::BaseConnectionContactListInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
removeContacts(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactListInterface
RemoveContactsCallback typedefTp::BaseConnectionContactListInterface
requestSubscription(const Tp::UIntList &contacts, const QString &message, DBusError *error)Tp::BaseConnectionContactListInterface
RequestSubscriptionCallback typedefTp::BaseConnectionContactListInterface
requestUsesMessage() const Tp::BaseConnectionContactListInterface
setAuthorizePublicationCallback(const AuthorizePublicationCallback &cb)Tp::BaseConnectionContactListInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setCanChangeContactList(bool canChangeContactList)Tp::BaseConnectionContactListInterface
setContactListPersists(bool contactListPersists)Tp::BaseConnectionContactListInterface
setContactListState(uint contactListState)Tp::BaseConnectionContactListInterface
setDownloadAtConnection(bool downloadAtConnection)Tp::BaseConnectionContactListInterface
setDownloadCallback(const DownloadCallback &cb)Tp::BaseConnectionContactListInterface
setGetContactListAttributesCallback(const GetContactListAttributesCallback &cb)Tp::BaseConnectionContactListInterface
setRemoveContactsCallback(const RemoveContactsCallback &cb)Tp::BaseConnectionContactListInterface
setRequestSubscriptionCallback(const RequestSubscriptionCallback &cb)Tp::BaseConnectionContactListInterface
setRequestUsesMessage(bool requestUsesMessage)Tp::BaseConnectionContactListInterface
setUnpublishCallback(const UnpublishCallback &cb)Tp::BaseConnectionContactListInterface
setUnsubscribeCallback(const UnsubscribeCallback &cb)Tp::BaseConnectionContactListInterface
unpublish(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactListInterface
UnpublishCallback typedefTp::BaseConnectionContactListInterface
unsubscribe(const Tp::UIntList &contacts, DBusError *error)Tp::BaseConnectionContactListInterface
UnsubscribeCallback typedefTp::BaseConnectionContactListInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionContactListInterface()Tp::BaseConnectionContactListInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00445.html0000644000175000017500000010132312727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ProtocolAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | List of all members
Tp::Service::ProtocolAdaptor Class Reference

#include <TelepathyQt/_gen/svc-connection-manager.h>

Inherits Tp::AbstractAdaptor.

Public Slots

QString IdentifyAccount (const QVariantMap &parameters, const QDBusMessage &dbusMessage)
 
QString NormalizeContact (const QString &contactID, const QDBusMessage &dbusMessage)
 

Public Member Functions

QStringList Interfaces () const
 
Tp::ParamSpecList Parameters () const
 
QStringList ConnectionInterfaces () const
 
Tp::RequestableChannelClassList RequestableChannelClasses () const
 
QString VCardField () const
 
QString EnglishName () const
 
QString Icon () const
 
QStringList AuthenticationTypes () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ProtocolAdaptor::Interfaces ( ) const

Return the value of the exported D-Bus object property Interfaces of type QStringList.

Adaptees should export this property as a Qt property named 'interfaces' with type QStringList.

A list of interfaces supported by this Protocol object.

This property should not be confused with ConnectionInterfaces , which refers to the interfaces of connections to this protocol.

Connection managers with a .manager file (as described as part of the ConnectionManagerInterface interface) MUST cache this property in the protocol's section of the .manager file, using the key Interfaces. The corresponding value is a list of D-Bus interface names, each followed by a semicolon.

Returns
The value of exported property Interfaces.
Tp::ParamSpecList Tp::Service::ProtocolAdaptor::Parameters ( ) const

Return the value of the exported D-Bus object property Parameters of type Tp::ParamSpecList.

Adaptees should export this property as a Qt property named 'parameters' with type Tp::ParamSpecList.

The parameters which may be specified in the AccountInterface::Parameters of an AccountInterface (or, for specialised applications which do not use the account manager, passed to ConnectionManagerInterface::RequestConnection() ). Some parameters are mandatory, and some parameters only make sense when registering new accounts with the server; see the Param_Spec documentation for more details.

Connection managers with a .manager file (as described as part of the ConnectionManagerInterface interface) MUST cache this property in the protocol's section of the .manager file via keys of the form param-p and default-p, as documented in the ConnectionManagerInterface interface.

Returns
The value of exported property Parameters.
QStringList Tp::Service::ProtocolAdaptor::ConnectionInterfaces ( ) const

Return the value of the exported D-Bus object property ConnectionInterfaces of type QStringList.

Adaptees should export this property as a Qt property named 'connectionInterfaces' with type QStringList.

A list of interface names which might be in the ConnectionInterface::Interfaces property of a ConnectionInterface to this protocol. Whether a Connection will have all, some or none of these interfaces depends on server capabilities.

This property should not be confused with Interfaces .

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file, using the key ConnectionInterfaces. The corresponding value is a list of D-Bus interface names, each followed by a semicolon.

Returns
The value of exported property ConnectionInterfaces.
Tp::RequestableChannelClassList Tp::Service::ProtocolAdaptor::RequestableChannelClasses ( ) const

Return the value of the exported D-Bus object property RequestableChannelClasses of type Tp::RequestableChannelClassList.

Adaptees should export this property as a Qt property named 'requestableChannelClasses' with type Tp::RequestableChannelClassList.

A list of channel classes which might be requestable from a ConnectionInterface to this protocol (i.e. they will, or might, appear in the Connection's ConnectionInterfaceRequestsInterface::RequestableChannelClasses property).

Whether a Connection will have all, some or none of these requestable channel classes depends on server capabilities; similarly, individual contacts are not guaranteed to support all of these channel classes.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file, using the key RequestableChannelClasses. The corresponding value is a list of opaque strings, each followed by a semicolon; each of those strings is the name of a group in the .manager file which represents a channel class.

The names of the groups representing channel classes are not significant, and MUST NOT be interpreted. When writing .manager files, authors MAY choose mnemonic group names, generate group names mechanically (e.g. with an incrementing integer), or use some combination of these.

Each group representing a channel class has a key allowed which is a list of D-Bus property names representing allowed parameters. Any other keys that do not contain a space MUST be ignored. Any key containing a space represents a fixed property; the key has the form "propertyname type", and the value is encoded in the same way as for the default-p keys described in the ConnectionManagerInterface documentation.

Connection managers that have channel classes whose fixed properties are not representable in this form SHOULD NOT have .manager files.

For instance, this .manager file could represent a connection manager that supports 1-1 Text messages and StreamedMedia audio calls:

[Protocol jabber]
param-account=s required
param-password=s required
RequestableChannelClasses=rcc0;rcc1;

[rcc0]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.Text
org.freedesktop.Telepathy.Channel.TargetHandleType u=1
allowed=org.freedesktop.Telepathy.Channel.TargetHandle;org.freedesktop.Telepathy.Channel.TargetID;

[rcc1]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.StreamedMedia
org.freedesktop.Telepathy.Channel.TargetHandleType u=1
allowed=org.freedesktop.Telepathy.Channel.TargetHandle;org.freedesktop.Telepathy.Channel.TargetID;org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialAudio;

Returns
The value of exported property RequestableChannelClasses.
QString Tp::Service::ProtocolAdaptor::VCardField ( ) const

Return the value of the exported D-Bus object property VCardField of type QString.

Adaptees should export this property as a Qt property named 'vcardField' with type QString.

The name of the most common vCard field used for this protocol's contact identifiers, normalized to lower case, or the empty string if there is no such field.

For example, this would be x-jabber for Jabber/XMPP (including Google Talk), or tel for the PSTN.

A more exhaustive list of addressable vCard fields can be found in the Protocol's Addressing interface's ProtocolInterfaceAddressingInterface::AddressableVCardFields .

It is not necessarily valid to interpret contacts' identifiers as values of this vCard field. For instance, telepathy-sofiasip supports contacts whose identifiers are of the form sip:jenny@example.com or tel:8675309, which would not normally both be represented by any single vCard field. Arbitrary handles/identifiers as vCard fields are represented through the Connection's ConnectionInterfaceAddressingInterface contact attributes.

This is taken from Mission Control profiles as used on Maemo 5. One valid use of this field is to answer the question: given a contact's vCard containing an X-JABBER field, how can you communicate with the contact? By iterating through protocols looking for an x-jabber VCardField, one can build up a list of protocols that handle x-jabber, then offer the user a list of accounts for those protocols and/or the option to create a new account for one of those protocols.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key VCardField. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
The value of exported property VCardField.
QString Tp::Service::ProtocolAdaptor::EnglishName ( ) const

Return the value of the exported D-Bus object property EnglishName of type QString.

Adaptees should export this property as a Qt property named 'englishName' with type QString.

The name of the protocol in a form suitable for display to users, such as "AIM" or "Yahoo!", or the empty string if none is available.

This is effectively in the C locale (international English); user interfaces requiring a localized protocol name SHOULD look one up in their own message catalog based on either the Telepathy Protocol name or this property, but SHOULD use this English version as a fallback if no translated version can be found.

Many protocols are named after a company or product which isn't translated in non-English locales. This also provides a fallback display name, for UIs with no prior knowledge of a particular protocol.

If this property's value is empty, clients MAY fall back to using the Telepathy Protocol name, possibly with its capitalization adjusted.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key EnglishName. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
The value of exported property EnglishName.
QString Tp::Service::ProtocolAdaptor::Icon ( ) const

Return the value of the exported D-Bus object property Icon of type QString.

Adaptees should export this property as a Qt property named 'icon' with type QString.

The name of an icon in the system's icon theme, such as "im-msn", or the empty string.

This can be used as a default if the AccountInterface::Icon property is not set on an Account, or used by the AccountManagerInterface to choose a default icon if none is set during account creation.

If this property's value is empty, clients MAY fall back to generating a name based on the Protocol name.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key Icon. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
The value of exported property Icon.
QStringList Tp::Service::ProtocolAdaptor::AuthenticationTypes ( ) const

Return the value of the exported D-Bus object property AuthenticationTypes of type QStringList.

Adaptees should export this property as a Qt property named 'authenticationTypes' with type QStringList.

A list of D-Bus interfaces which provide information as to what kind of authentication channels can possibly appear before the connection reaches the CONNECTED state.

These can either be channel types, or where the channel type isn't enough information to be useful, interfaces indicating a specific use of a channel type. For example, ChannelTypeServerTLSConnectionInterface channels are obviously about TLS certificates so the channel type would appear in this list. However, a ChannelTypeServerAuthenticationInterface channel type alone does not explain enough about the authentication type in use as it is merely a base for the channel interfaces that appear in said channels. In this case, CMs should use the value of the ChannelTypeServerAuthenticationInterface::AuthenticationMethod property in this list.

For example, if a protocol's AuthenticationTypes contains two values:

[ ...  ChannelTypeServerTLSConnectionInterface ,
  ...  ChannelInterfaceSASLAuthenticationInterface ]

This tells a client that before the connection status reached CONNECTED, a ChannelTypeServerTLSConnectionInterface could appear carrying a TLS certificate. It also tells the client that before the connection status reaches CONNECTED, a ChannelTypeServerAuthenticationInterface channel could also appear, where ChannelTypeServerAuthenticationInterface::AuthenticationMethod = ChannelInterfaceSASLAuthenticationInterface . A hypothetical future Channel.Interface.Captcha interface would also appear in this list if the CM might require the user solve a captcha before connecting.

Returns
The value of exported property AuthenticationTypes.
QString Tp::Service::ProtocolAdaptor::IdentifyAccount ( const QVariantMap &  parameters,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void identifyAccount(const QVariantMap& parameters, const Tp::Service::ProtocolAdaptor::IdentifyAccountContextPtr &context);

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

Return a string which uniquely identifies the account to which the given parameters would connect.

For many protocols, this would return the well-known 'account' parameter. However, for IRC the returned string would be composed from the 'account' (i.e. nickname) and 'server' parameters. AccountManager implementations can use this to form the account-specific part of an Account's object path.

Parameters
parameters
A set of parameters as would be provided to RequestConnection
Returns
An opaque string suitable for use as the account-specific part of 
an Account&apos;s object path. This is not necessarily globally 
unique, but should represent a &quot;best-effort&quot; 
identification of the account. For a pathological case, consider a 
user signing in as &apos;me@example.com&apos; with 
&apos;server&apos; set to either jabber1.example.com or 
jabber2.example.com. Both of these should result in me@example.com 
being returned from this method, even if the user can actually be 
signed in to those two servers simultaneously.
QString Tp::Service::ProtocolAdaptor::NormalizeContact ( const QString &  contactID,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void normalizeContact(const QString& contactID, const Tp::Service::ProtocolAdaptor::NormalizeContactContextPtr &context);

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

Attempt to normalize the given contact ID. Where possible, this SHOULD return the same thing that would be returned by InspectHandles(RequestHandles(CONTACT, [Contact_ID])) on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

One common example of a best-effort offline normalization differing from the ideal normalization is XMPP.

On XMPP, contacts' JIDs should normally have the resource removed during normalization, but for contacts in a MUC (chatroom), the resource is an integral part of the JID - so the contact JID alice@example.com/Empathy should normalize to alice@example.com, but the in-MUC JID wonderland@conference.example.com/Alice should normalize to itself.

While online, the connection manager has enough context to know which chatrooms the user is in, and can infer from that whether to remove resources, but the best-effort normalization performed while offline does not have this context, so the best that can be done is to remove the resource from all JIDs.

This method MAY simply raise NotImplemented on some protocols.

In link-local XMPP, you can't talk to someone who isn't present on your local network, so normalizing identifiers in advance is meaningless.

Parameters
contactID
The identifier of a contact in this protocol
Returns
The identifier of a contact in this protocol, normalized as much as 
possible


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01160.html0000644000175000017500000001351412727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReceivedMessage::DeliveryDetails Member List

This is the complete list of members for Tp::ReceivedMessage::DeliveryDetails, including all inherited members.

dbusError() const Tp::ReceivedMessage::DeliveryDetails
debugMessage() const Tp::ReceivedMessage::DeliveryDetails
DeliveryDetails()Tp::ReceivedMessage::DeliveryDetails
DeliveryDetails(const DeliveryDetails &other)Tp::ReceivedMessage::DeliveryDetails
echoedMessage() const Tp::ReceivedMessage::DeliveryDetails
error() const Tp::ReceivedMessage::DeliveryDetails
hasDebugMessage() const Tp::ReceivedMessage::DeliveryDetails
hasEchoedMessage() const Tp::ReceivedMessage::DeliveryDetails
hasOriginalToken() const Tp::ReceivedMessage::DeliveryDetails
isError() const Tp::ReceivedMessage::DeliveryDetails
isValid() const Tp::ReceivedMessage::DeliveryDetailsinline
operator=(const DeliveryDetails &other)Tp::ReceivedMessage::DeliveryDetails
originalToken() const Tp::ReceivedMessage::DeliveryDetails
status() const Tp::ReceivedMessage::DeliveryDetails
~DeliveryDetails()Tp::ReceivedMessage::DeliveryDetails


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00504.html0000644000175000017500000000766012727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::StreamCredentials Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::StreamCredentials Struct Reference

#include <TelepathyQt/Types>

Public Attributes

QString username
 
QString password
 

Detailed Description

Structure type generated from the specification.

A username and password pair.

Member Data Documentation

QString Tp::StreamCredentials::username

The username.

QString Tp::StreamCredentials::password

The password.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00819_source.html0000644000175000017500000012475012727270137022374 0ustar00kaffeinekaffeine00000000000000 streamed-media-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
streamed-media-channel.h
1 
23 #ifndef _TelepathyQt_streamed_media_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_streamed_media_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/Object>
33 #include <TelepathyQt/SharedPtr>
34 #include <TelepathyQt/Types>
35 
36 namespace Tp
37 {
38 
40 
41 typedef QList<StreamedMediaStreamPtr> StreamedMediaStreams;
42 
43 class TP_QT_EXPORT_DEPRECATED PendingStreamedMediaStreams : public PendingOperation
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(PendingStreamedMediaStreams)
47 
48 public:
50 
51  StreamedMediaChannelPtr channel() const;
52 
53  StreamedMediaStreams streams() const;
54 
55 private Q_SLOTS:
56  TP_QT_NO_EXPORT void gotStreams(QDBusPendingCallWatcher *op);
57 
58  TP_QT_NO_EXPORT void onStreamRemoved(const Tp::StreamedMediaStreamPtr &stream);
59  TP_QT_NO_EXPORT void onStreamReady(Tp::PendingOperation *op);
60 
61 private:
62  friend class StreamedMediaChannel;
63 
64  TP_QT_NO_EXPORT PendingStreamedMediaStreams(const StreamedMediaChannelPtr &channel,
65  const ContactPtr &contact,
66  const QList<MediaStreamType> &types);
67 
68  struct Private;
69  friend struct Private;
70  Private *mPriv;
71 };
72 
73 class TP_QT_EXPORT_DEPRECATED StreamedMediaStream : public Object, private ReadyObject
74 {
75  Q_OBJECT
76  Q_DISABLE_COPY(StreamedMediaStream)
77 
78 public:
79  enum SendingState {
83  };
84 
86 
87  StreamedMediaChannelPtr channel() const;
88 
89  uint id() const;
90 
91  ContactPtr contact() const;
92 
93  MediaStreamState state() const;
94  MediaStreamType type() const;
95 
96  SendingState localSendingState() const;
97  SendingState remoteSendingState() const;
98 
99  bool sending() const;
100  bool receiving() const;
101 
102  bool localSendingRequested() const;
103  bool remoteSendingRequested() const;
104 
105  MediaStreamDirection direction() const;
106  MediaStreamPendingSend pendingSend() const;
107 
108  PendingOperation *requestSending(bool send);
109  PendingOperation *requestReceiving(bool receive);
110 
111  PendingOperation *requestDirection(MediaStreamDirection direction);
112  PendingOperation *requestDirection(bool send, bool receive);
113 
114  PendingOperation *startDTMFTone(DTMFEvent event);
115  PendingOperation *stopDTMFTone();
116 
117 Q_SIGNALS:
118  void localSendingStateChanged(Tp::StreamedMediaStream::SendingState localSendingState);
119  void remoteSendingStateChanged(Tp::StreamedMediaStream::SendingState remoteSendingState);
120 
121 private Q_SLOTS:
122  TP_QT_NO_EXPORT void gotContact(Tp::PendingOperation *op);
123 
124 private:
126  friend class StreamedMediaChannel;
127 
128  static const Feature FeatureCore;
129 
130  TP_QT_NO_EXPORT StreamedMediaStream(const StreamedMediaChannelPtr &channel, const MediaStreamInfo &info);
131 
132  TP_QT_NO_EXPORT void gotDirection(uint direction, uint pendingSend);
133  TP_QT_NO_EXPORT void gotStreamState(uint state);
134 
135  struct Private;
136  friend struct Private;
137  Private *mPriv;
138 };
139 
140 class TP_QT_EXPORT_DEPRECATED StreamedMediaChannel : public Channel
141 {
142  Q_OBJECT
143  Q_DISABLE_COPY(StreamedMediaChannel)
144  Q_ENUMS(StateChangeReason)
145 
146 public:
147  static const Feature FeatureCore;
148  static const Feature FeatureStreams;
150 
152  StateChangeReasonUnknown = 0,
153  StateChangeReasonUserRequested = 1
154  };
155 
156  static StreamedMediaChannelPtr create(const ConnectionPtr &connection,
157  const QString &objectPath, const QVariantMap &immutableProperties);
158 
159  virtual ~StreamedMediaChannel();
160 
161  bool awaitingLocalAnswer() const;
162  bool awaitingRemoteAnswer() const;
163 
164  PendingOperation *acceptCall();
165  PendingOperation *hangupCall();
166 
167  StreamedMediaStreams streams() const;
168  StreamedMediaStreams streamsForType(MediaStreamType type) const;
169 
170  PendingStreamedMediaStreams *requestStream(const ContactPtr &contact, MediaStreamType type);
171  PendingStreamedMediaStreams *requestStreams(const ContactPtr &contact, QList<MediaStreamType> types);
172 
173  PendingOperation *removeStream(const StreamedMediaStreamPtr &stream);
174  PendingOperation *removeStreams(const StreamedMediaStreams &streams);
175 
176  bool handlerStreamingRequired() const;
177 
178  LocalHoldState localHoldState() const;
179  LocalHoldStateReason localHoldStateReason() const;
180  PendingOperation *requestHold(bool hold);
181 
182 Q_SIGNALS:
183  void streamAdded(const Tp::StreamedMediaStreamPtr &stream);
184  void streamRemoved(const Tp::StreamedMediaStreamPtr &stream);
185  void streamDirectionChanged(const Tp::StreamedMediaStreamPtr &stream,
186  Tp::MediaStreamDirection direction,
187  Tp::MediaStreamPendingSend pendingSend);
188  void streamStateChanged(const Tp::StreamedMediaStreamPtr &stream,
189  Tp::MediaStreamState state);
190  void streamError(const Tp::StreamedMediaStreamPtr &stream,
191  Tp::MediaStreamError errorCode,
192  const QString &errorMessage);
193 
194  void localHoldStateChanged(Tp::LocalHoldState state,
195  Tp::LocalHoldStateReason reason);
196 
197 protected:
198  StreamedMediaChannel(const ConnectionPtr &connection,
199  const QString &objectPath, const QVariantMap &immutableProperties,
200  const Feature &coreFeature = StreamedMediaChannel::FeatureCore);
201 
202 private Q_SLOTS:
203  TP_QT_NO_EXPORT void onStreamReady(Tp::PendingOperation *op);
204 
205  TP_QT_NO_EXPORT void gotStreams(QDBusPendingCallWatcher *);
206  TP_QT_NO_EXPORT void onStreamAdded(uint, uint, uint);
207  TP_QT_NO_EXPORT void onStreamRemoved(uint);
208  TP_QT_NO_EXPORT void onStreamDirectionChanged(uint, uint, uint);
209  TP_QT_NO_EXPORT void onStreamStateChanged(uint streamId, uint streamState);
210  TP_QT_NO_EXPORT void onStreamError(uint, uint, const QString &);
211 
212  TP_QT_NO_EXPORT void gotLocalHoldState(QDBusPendingCallWatcher *);
213  TP_QT_NO_EXPORT void onLocalHoldStateChanged(uint, uint);
214 
215 private:
217 
218  StreamedMediaStreamPtr addStream(const MediaStreamInfo &streamInfo);
219  StreamedMediaStreamPtr lookupStreamById(uint streamId);
220 
221  struct Private;
222  friend struct Private;
223  Private *mPriv;
224 };
225 
226 } // Tp
227 
228 #endif
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
SendingState
Definition: streamed-media-channel.h:79
MediaStreamError
Definition: build/TelepathyQt/_gen/constants.h:3912
DTMFEvent
Definition: build/TelepathyQt/_gen/constants.h:3121
The StreamedMediaStream class represents a Telepathy streamed media stream.
Definition: streamed-media-channel.h:73
Definition: build/TelepathyQt/_gen/constants.h:4534
static const Feature FeatureStreams
Definition: streamed-media-channel.h:148
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
static const Feature FeatureLocalHoldState
Definition: streamed-media-channel.h:149
QFlags< MediaStreamPending > MediaStreamPendingSend
Definition: build/TelepathyQt/_gen/constants.h:682
The StreamedMediaChannel class represents a Telepathy channel of type StreamedMedia.
Definition: streamed-media-channel.h:140
Definition: ready-object.h:42
Definition: build/TelepathyQt/_gen/constants.h:4539
Class containing the result of an asynchronous streamed media stream creation request.
Definition: streamed-media-channel.h:43
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
MediaStreamState
Definition: build/TelepathyQt/_gen/constants.h:2744
QList< StreamedMediaStreamPtr > StreamedMediaStreams
Definition: streamed-media-channel.h:39
Definition: build/TelepathyQt/_gen/constants.h:4544
Definition: build/TelepathyQt/_gen/types.h:1988
Definition: abstract-adaptor.cpp:31
static const Feature FeatureCore
Definition: streamed-media-channel.h:147
The Object class provides an object with property notification.
Definition: object.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
StateChangeReason
Definition: streamed-media-channel.h:151
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00259.html0000644000175000017500000007670612727270137021021 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceClientTypesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceClientTypesInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::ContactClientTypesGetClientTypes (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< QStringList > RequestClientTypes (uint contact, int timeout=-1)
 

Signals

void ClientTypesUpdated (uint contact, const QStringList &clientTypes)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceClientTypesInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceClientTypesInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceClientTypesInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceClientTypesInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceClientTypesInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ClientTypes".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceClientTypesInterface::ConnectionInterfaceClientTypesInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceClientTypesInterface 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.
Tp::Client::ConnectionInterfaceClientTypesInterface::ConnectionInterfaceClientTypesInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceClientTypesInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceClientTypesInterface::ConnectionInterfaceClientTypesInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceClientTypesInterface 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.
Tp::Client::ConnectionInterfaceClientTypesInterface::ConnectionInterfaceClientTypesInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceClientTypesInterface 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 Tp::Client::ConnectionInterfaceClientTypesInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ClientTypes", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceClientTypesInterface::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<Tp::ContactClientTypes> Tp::Client::ConnectionInterfaceClientTypesInterface::GetClientTypes ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Return the client types of the given contacts, if they are already known. If any of the given contacts' client types are not known, request their current client types, but return immediately without waiting for a reply; if a reply with a non-empty client type array is later received for those contacts, the ClientTypesUpdated signal will be emitted for them. This method is appropriate for "lazy" client type finding, for instance displaying the client types (if available) of everyone in your contact list.

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

Parameters
contacts
The contacts whose client types should be returned or signalled.
timeoutThe timeout in milliseconds.
Returns
The contacts&apos; client types, if already known. Contacts whose 
client types are not already known are omitted from the mapping; 
contacts known to have no client type information appear in the 
mapping with an empty list.
QDBusPendingReply<QStringList> Tp::Client::ConnectionInterfaceClientTypesInterface::RequestClientTypes ( uint  contact,
int  timeout = -1 
)
inlineslot

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

Return the current client types of the given contact. If necessary, make a request to the server for up-to-date information, and wait for a reply. This method is appropriate for use in a "Contact Information..." dialog; it can be used to show progress information (while waiting for the method to return), and can distinguish between various error conditions.

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

Parameters
contact
The contact whose client types should be returned.
timeoutThe timeout in milliseconds.
Returns
The contact&apos;s client types. It MAY be empty, indicating that 
no client type information was found.
void Tp::Client::ConnectionInterfaceClientTypesInterface::ClientTypesUpdated ( uint  contact,
const QStringList &  clientTypes 
)
signal

Represents the signal ClientTypesUpdated on the remote object.

Emitted when a contact's client types change or become known.

Parameters
contact
The contact.
clientTypes
The contact&apos;s client types, or an empty list to indicate that 
nothing is known about the contact&apos;s client types.
void Tp::Client::ConnectionInterfaceClientTypesInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00003.html0000644000175000017500000000740112727270137020766 0ustar00kaffeinekaffeine00000000000000 Asynchronous Object Model
   Home · All Classes · All Namespaces · Modules · Functions · Files
Asynchronous Object Model

Overview

Telepathy-Qt uses D-Bus to communicate with applications implementing the Telepathy specification.

When dealing with D-Bus, method calls can take some time to return, and in this case is not desirable to make synchronous calls, which could turn into applications hanging waiting for method returns. In order to avoid this issue, all Telepathy-Qt high-level methods requiring D-Bus method calls will return a Tp::PendingOperation which will emit the signal Tp::PendingOperation::finished() when the operation has ended. See individual methods' documentation for more details.

Additionally Telepathy-Qt introduces a concept in which object features need to be enabled before usage. Information corresponding to enabled features can be inspected synchronously with no need for asynchronous D-Bus method calls and the associated programming complexity.

To avoid the complexity of doing asynchronous calls when making object features ready Telepathy-Qt also provides so called factories for the main objects. These object features can be enabled by constructing a corresponding factory and enabling the desired features, and passing these factories to the objects responsible for creating the objects whose features are required. Doing that, applications are guaranteed that the specified features are ready in objects signaled to them by the library.

However, if a particular feature is only ever used in a specific circumstance, such as an user opening some settings dialog separate from the general view of the application, features can be later enabled as needed by calling becomeReady(), or in the Tp::Contact case by calling Tp::ContactManager::upgradeContacts(), with the additional features on the object, and waiting for the resulting PendingOperation to finish.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00542_source.html0000644000175000017500000030067712727270137022371 0ustar00kaffeinekaffeine00000000000000 account.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
account.h
1 
23 #ifndef _TelepathyQt_account_h_HEADER_GUARD_
24 #define _TelepathyQt_account_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-account.h>
31 
32 #include <TelepathyQt/ChannelRequestHints>
33 #include <TelepathyQt/Connection>
34 #include <TelepathyQt/ConnectionCapabilities>
35 #include <TelepathyQt/ConnectionFactory>
36 #include <TelepathyQt/ContactFactory>
37 #include <TelepathyQt/ChannelFactory>
38 #include <TelepathyQt/ChannelDispatcherInterface>
39 #include <TelepathyQt/DBus>
40 #include <TelepathyQt/DBusProxy>
41 #include <TelepathyQt/FileTransferChannelCreationProperties>
42 #include <TelepathyQt/OptionalInterfaceFactory>
43 #include <TelepathyQt/Presence>
44 #include <TelepathyQt/PresenceSpec>
45 #include <TelepathyQt/ProtocolInfo>
46 #include <TelepathyQt/ReadinessHelper>
47 #include <TelepathyQt/Types>
48 #include <TelepathyQt/Constants>
49 #include <TelepathyQt/SharedPtr>
50 
51 #include <QSet>
52 #include <QString>
53 #include <QStringList>
54 #include <QVariantMap>
55 
56 namespace Tp
57 {
58 
59 class Account;
60 class Connection;
61 class PendingChannel;
62 class PendingChannelRequest;
63 class PendingConnection;
64 class PendingOperation;
65 class PendingReady;
66 class PendingStringList;
67 
68 class TP_QT_EXPORT Account : public StatelessDBusProxy,
69  public OptionalInterfaceFactory<Account>
70 {
71  Q_OBJECT
72  Q_DISABLE_COPY(Account)
73  Q_PROPERTY(bool valid READ isValidAccount NOTIFY validityChanged)
74  Q_PROPERTY(bool enabled READ isEnabled NOTIFY stateChanged)
75  Q_PROPERTY(QString cmName READ cmName)
76  Q_PROPERTY(QString protocolName READ protocolName)
77  Q_PROPERTY(QString serviceName READ serviceName NOTIFY serviceNameChanged)
78  Q_PROPERTY(ProfilePtr profile READ profile NOTIFY profileChanged)
79  Q_PROPERTY(QString displayName READ displayName NOTIFY displayNameChanged)
80  Q_PROPERTY(QString iconName READ iconName NOTIFY iconNameChanged)
81  Q_PROPERTY(QString nickname READ nickname NOTIFY nicknameChanged)
82  Q_PROPERTY(AvatarSpec avatarRequirements READ avatarRequirements)
83  Q_PROPERTY(Avatar avatar READ avatar NOTIFY avatarChanged)
84  Q_PROPERTY(QVariantMap parameters READ parameters NOTIFY parametersChanged)
85  Q_PROPERTY(ProtocolInfo protocolInfo READ protocolInfo)
86  Q_PROPERTY(ConnectionCapabilities capabilities READ capabilities NOTIFY capabilitiesChanged)
87  Q_PROPERTY(bool hasBeenOnline READ hasBeenOnline)
88  Q_PROPERTY(bool connectsAutomatically READ connectsAutomatically NOTIFY connectsAutomaticallyPropertyChanged)
89  Q_PROPERTY(ConnectionStatus connectionStatus READ connectionStatus NOTIFY connectionStatusChanged)
90  Q_PROPERTY(ConnectionStatusReason connectionStatusReason READ connectionStatusReason)
91  Q_PROPERTY(QString connectionError READ connectionError)
92  Q_PROPERTY(Tp::Connection::ErrorDetails connectionErrorDetails READ connectionErrorDetails)
93  Q_PROPERTY(ConnectionPtr connection READ connection NOTIFY connectionChanged)
94  Q_PROPERTY(bool changingPresence READ isChangingPresence NOTIFY changingPresence)
95  Q_PROPERTY(Presence automaticPresence READ automaticPresence NOTIFY automaticPresenceChanged)
96  Q_PROPERTY(Presence currentPresence READ currentPresence NOTIFY currentPresenceChanged)
97  Q_PROPERTY(Presence requestedPresence READ requestedPresence NOTIFY requestedPresenceChanged)
98  Q_PROPERTY(bool online READ isOnline NOTIFY onlinenessChanged)
99  Q_PROPERTY(QString uniqueIdentifier READ uniqueIdentifier)
100  Q_PROPERTY(QString normalizedName READ normalizedName NOTIFY normalizedNameChanged)
101 
102 public:
103  static const Feature FeatureCore;
104  static const Feature FeatureAvatar;
105  static const Feature FeatureProtocolInfo;
106  static const Feature FeatureCapabilities;
107  static const Feature FeatureProfile;
108 
109  static AccountPtr create(const QString &busName, const QString &objectPath,
110  const ConnectionFactoryConstPtr &connectionFactory =
111  ConnectionFactory::create(QDBusConnection::sessionBus()),
112  const ChannelFactoryConstPtr &channelFactory =
113  ChannelFactory::create(QDBusConnection::sessionBus()),
114  const ContactFactoryConstPtr &contactFactory =
115  ContactFactory::create());
116  static AccountPtr create(const QDBusConnection &bus,
117  const QString &busName, const QString &objectPath,
118  const ConnectionFactoryConstPtr &connectionFactory,
119  const ChannelFactoryConstPtr &channelFactory,
120  const ContactFactoryConstPtr &contactFactory =
121  ContactFactory::create());
122  virtual ~Account();
123 
124  ConnectionFactoryConstPtr connectionFactory() const;
125  ChannelFactoryConstPtr channelFactory() const;
126  ContactFactoryConstPtr contactFactory() const;
127 
128  bool isValidAccount() const;
129 
130  bool isEnabled() const;
131  PendingOperation *setEnabled(bool value);
132 
133  QString cmName() const;
134 
135  QString protocolName() const;
136 
137  QString serviceName() const;
138  PendingOperation *setServiceName(const QString &value);
139 
140  ProfilePtr profile() const;
141 
142  QString displayName() const;
143  PendingOperation *setDisplayName(const QString &value);
144 
145  QString iconName() const;
146  PendingOperation *setIconName(const QString &value);
147 
148  QString nickname() const;
149  PendingOperation *setNickname(const QString &value);
150 
151  AvatarSpec avatarRequirements() const;
152  // TODO: We probably want to expose the avatar file name once we have the avatar token and MC
153  // starts sharing the cache used by tp-qt and tp-glib and use Tp::AvatarData to represent
154  // it as used in Tp::Contact
155  const Avatar &avatar() const;
156  PendingOperation *setAvatar(const Avatar &avatar);
157 
158  QVariantMap parameters() const;
159  PendingStringList *updateParameters(const QVariantMap &set,
160  const QStringList &unset);
161 
162  ProtocolInfo protocolInfo() const;
163 
164  ConnectionCapabilities capabilities() const;
165 
166  bool connectsAutomatically() const;
167  PendingOperation *setConnectsAutomatically(bool value);
168 
169  bool hasBeenOnline() const;
170 
171  ConnectionStatus connectionStatus() const;
172  ConnectionStatusReason connectionStatusReason() const;
173  QString connectionError() const;
174  Connection::ErrorDetails connectionErrorDetails() const;
175  ConnectionPtr connection() const;
176 
177  bool isChangingPresence() const;
178 
179  PresenceSpecList allowedPresenceStatuses(bool includeAllStatuses = false) const;
180  uint maxPresenceStatusMessageLength() const;
181 
182  // TODO: Add overload methods to set presence from a Profile::Presence
183  // TODO: Add usablePresences() that would return a list of presences that could be set on the
184  // account
185  Presence automaticPresence() const;
186  PendingOperation *setAutomaticPresence(const Presence &presence);
187 
188  Presence currentPresence() const;
189 
190  Presence requestedPresence() const;
191  PendingOperation *setRequestedPresence(const Presence &presence);
192 
193  bool isOnline() const;
194 
195  QString uniqueIdentifier() const;
196 
197  QString normalizedName() const;
198 
199  PendingOperation *reconnect();
200 
201  PendingOperation *remove();
202 
203  bool supportsRequestHints() const;
204  bool requestsSucceedWithChannel() const;
205 
206  PendingChannelRequest *ensureTextChat(
207  const QString &contactIdentifier,
208  const QDateTime &userActionTime = QDateTime::currentDateTime(),
209  const QString &preferredHandler = QString(),
210  const ChannelRequestHints &hints = ChannelRequestHints());
211  PendingChannelRequest *ensureTextChat(
212  const ContactPtr &contact,
213  const QDateTime &userActionTime = QDateTime::currentDateTime(),
214  const QString &preferredHandler = QString(),
215  const ChannelRequestHints &hints = ChannelRequestHints());
216 
217  PendingChannelRequest *ensureTextChatroom(
218  const QString &roomName,
219  const QDateTime &userActionTime = QDateTime::currentDateTime(),
220  const QString &preferredHandler = QString(),
221  const ChannelRequestHints &hints = ChannelRequestHints());
222 
223  PendingChannelRequest *ensureAudioCall(
224  const QString &contactIdentifier,
225  const QString &initialAudioContentName = QString(),
226  const QDateTime &userActionTime = QDateTime::currentDateTime(),
227  const QString &preferredHandler = QString(),
228  const ChannelRequestHints &hints = ChannelRequestHints());
229  PendingChannelRequest *ensureAudioCall(
230  const ContactPtr &contact,
231  const QString &initialAudioContentName = QString(),
232  const QDateTime &userActionTime = QDateTime::currentDateTime(),
233  const QString &preferredHandler = QString(),
234  const ChannelRequestHints &hints = ChannelRequestHints());
235  PendingChannelRequest *ensureVideoCall(
236  const QString &contactIdentifier,
237  const QString &initialVideoContentName = QString(),
238  const QDateTime &userActionTime = QDateTime::currentDateTime(),
239  const QString &preferredHandler = QString(),
240  const ChannelRequestHints &hints = ChannelRequestHints());
241  PendingChannelRequest *ensureVideoCall(
242  const ContactPtr &contact,
243  const QString &initialVideoContentName = QString(),
244  const QDateTime &userActionTime = QDateTime::currentDateTime(),
245  const QString &preferredHandler = QString(),
246  const ChannelRequestHints &hints = ChannelRequestHints());
247  PendingChannelRequest *ensureAudioVideoCall(
248  const QString &contactIdentifier,
249  const QString &initialAudioContentName = QString(),
250  const QString &initialVideoContentName = QString(),
251  const QDateTime &userActionTime = QDateTime::currentDateTime(),
252  const QString &preferredHandler = QString(),
253  const ChannelRequestHints &hints = ChannelRequestHints());
254  PendingChannelRequest *ensureAudioVideoCall(
255  const ContactPtr &contact,
256  const QString &initialAudioContentName = QString(),
257  const QString &initialVideoContentName = QString(),
258  const QDateTime &userActionTime = QDateTime::currentDateTime(),
259  const QString &preferredHandler = QString(),
260  const ChannelRequestHints &hints = ChannelRequestHints());
261 
262  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaCall(
263  const QString &contactIdentifier,
264  const QDateTime &userActionTime = QDateTime::currentDateTime(),
265  const QString &preferredHandler = QString(),
266  const ChannelRequestHints &hints = ChannelRequestHints());
267  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaCall(
268  const ContactPtr &contact,
269  const QDateTime &userActionTime = QDateTime::currentDateTime(),
270  const QString &preferredHandler = QString(),
271  const ChannelRequestHints &hints = ChannelRequestHints());
272  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaAudioCall(
273  const QString &contactIdentifier,
274  const QDateTime &userActionTime = QDateTime::currentDateTime(),
275  const QString &preferredHandler = QString(),
276  const ChannelRequestHints &hints = ChannelRequestHints());
277  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaAudioCall(
278  const ContactPtr &contact,
279  const QDateTime &userActionTime = QDateTime::currentDateTime(),
280  const QString &preferredHandler = QString(),
281  const ChannelRequestHints &hints = ChannelRequestHints());
282  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaVideoCall(
283  const QString &contactIdentifier,
284  bool withAudio = true,
285  const QDateTime &userActionTime = QDateTime::currentDateTime(),
286  const QString &preferredHandler = QString(),
287  const ChannelRequestHints &hints = ChannelRequestHints());
288  TP_QT_DEPRECATED PendingChannelRequest *ensureStreamedMediaVideoCall(
289  const ContactPtr &contact,
290  bool withAudio = false,
291  const QDateTime &userActionTime = QDateTime::currentDateTime(),
292  const QString &preferredHandler = QString(),
293  const ChannelRequestHints &hints = ChannelRequestHints());
294 
295  PendingChannelRequest *createFileTransfer(
296  const QString &contactIdentifier,
297  const FileTransferChannelCreationProperties &properties,
298  const QDateTime &userActionTime = QDateTime::currentDateTime(),
299  const QString &preferredHandler = QString(),
300  const ChannelRequestHints &hints = ChannelRequestHints());
301  PendingChannelRequest *createFileTransfer(
302  const ContactPtr &contact,
303  const FileTransferChannelCreationProperties &properties,
304  const QDateTime &userActionTime = QDateTime::currentDateTime(),
305  const QString &preferredHandler = QString(),
306  const ChannelRequestHints &hints = ChannelRequestHints());
307 
308  PendingChannelRequest *createStreamTube(
309  const QString &contactIdentifier,
310  const QString &service,
311  const QDateTime &userActionTime = QDateTime::currentDateTime(),
312  const QString &preferredHandler = QString(),
313  const ChannelRequestHints &hints = ChannelRequestHints());
314  PendingChannelRequest *createStreamTube(
315  const ContactPtr &contact,
316  const QString &service,
317  const QDateTime &userActionTime = QDateTime::currentDateTime(),
318  const QString &preferredHandler = QString(),
319  const ChannelRequestHints &hints = ChannelRequestHints());
320 
321  PendingChannelRequest *createDBusTube(
322  const QString &contactIdentifier,
323  const QString &serviceName,
324  const QDateTime &userActionTime = QDateTime::currentDateTime(),
325  const QString &preferredHandler = QString(),
326  const ChannelRequestHints &hints = ChannelRequestHints());
327  PendingChannelRequest *createDBusTube(
328  const ContactPtr &contact,
329  const QString &serviceName,
330  const QDateTime &userActionTime = QDateTime::currentDateTime(),
331  const QString &preferredHandler = QString(),
332  const ChannelRequestHints &hints = ChannelRequestHints());
333  PendingChannelRequest *createDBusTubeRoom(
334  const QString &room,
335  const QString &serviceName,
336  const QDateTime &userActionTime = QDateTime::currentDateTime(),
337  const QString &preferredHandler = QString(),
338  const ChannelRequestHints &hints = ChannelRequestHints());
339 
340  TP_QT_DEPRECATED PendingChannelRequest *createConferenceStreamedMediaCall(
341  const QList<ChannelPtr> &channels,
342  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
343  const QDateTime &userActionTime = QDateTime::currentDateTime(),
344  const QString &preferredHandler = QString(),
345  const ChannelRequestHints &hints = ChannelRequestHints());
346  TP_QT_DEPRECATED PendingChannelRequest *createConferenceStreamedMediaCall(
347  const QList<ChannelPtr> &channels,
348  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
349  const QDateTime &userActionTime = QDateTime::currentDateTime(),
350  const QString &preferredHandler = QString(),
351  const ChannelRequestHints &hints = ChannelRequestHints());
352 
353  PendingChannelRequest *createConferenceCall(
354  const QList<ChannelPtr> &channels,
355  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
356  const QDateTime &userActionTime = QDateTime::currentDateTime(),
357  const QString &preferredHandler = QString(),
358  const ChannelRequestHints &hints = ChannelRequestHints());
359  PendingChannelRequest *createConferenceCall(
360  const QList<ChannelPtr> &channels,
361  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
362  const QDateTime &userActionTime = QDateTime::currentDateTime(),
363  const QString &preferredHandler = QString(),
364  const ChannelRequestHints &hints = ChannelRequestHints());
365 
366  PendingChannelRequest *createConferenceTextChat(
367  const QList<ChannelPtr> &channels,
368  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
369  const QDateTime &userActionTime = QDateTime::currentDateTime(),
370  const QString &preferredHandler = QString(),
371  const ChannelRequestHints &hints = ChannelRequestHints());
372  PendingChannelRequest *createConferenceTextChat(
373  const QList<ChannelPtr> &channels,
374  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
375  const QDateTime &userActionTime = QDateTime::currentDateTime(),
376  const QString &preferredHandler = QString(),
377  const ChannelRequestHints &hints = ChannelRequestHints());
378 
379  PendingChannelRequest *createConferenceTextChatroom(
380  const QString &roomName,
381  const QList<ChannelPtr> &channels,
382  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
383  const QDateTime &userActionTime = QDateTime::currentDateTime(),
384  const QString &preferredHandler = QString(),
385  const ChannelRequestHints &hints = ChannelRequestHints());
386  PendingChannelRequest *createConferenceTextChatroom(
387  const QString &roomName,
388  const QList<ChannelPtr> &channels,
389  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
390  const QDateTime &userActionTime = QDateTime::currentDateTime(),
391  const QString &preferredHandler = QString(),
392  const ChannelRequestHints &hints = ChannelRequestHints());
393 
394  PendingChannel *createAndHandleConferenceCall(
395  const QList<ChannelPtr> &channels,
396  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
397  const QDateTime &userActionTime = QDateTime::currentDateTime());
398  PendingChannel *createAndHandleConferenceCall(
399  const QList<ChannelPtr> &channels,
400  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
401  const QDateTime &userActionTime = QDateTime::currentDateTime());
402 
403  PendingChannelRequest *createContactSearch(
404  const QString &server,
405  uint limit = 0,
406  const QDateTime &userActionTime = QDateTime::currentDateTime(),
407  const QString &preferredHandler = QString(),
408  const ChannelRequestHints &hints = ChannelRequestHints());
409 
410  PendingChannel *ensureAndHandleTextChat(
411  const QString &contactIdentifier,
412  const QDateTime &userActionTime = QDateTime::currentDateTime());
413  PendingChannel *ensureAndHandleTextChat(
414  const ContactPtr &contact,
415  const QDateTime &userActionTime = QDateTime::currentDateTime());
416 
417  PendingChannel *ensureAndHandleTextChatroom(
418  const QString &roomName,
419  const QDateTime &userActionTime = QDateTime::currentDateTime());
420 
421  PendingChannel *ensureAndHandleAudioCall(
422  const QString &contactIdentifier,
423  const QString &initialAudioContentName = QString(),
424  const QDateTime &userActionTime = QDateTime::currentDateTime());
425  PendingChannel *ensureAndHandleAudioCall(
426  const ContactPtr &contact,
427  const QString &initialAudioContentName = QString(),
428  const QDateTime &userActionTime = QDateTime::currentDateTime());
429  PendingChannel *ensureAndHandleVideoCall(
430  const QString &contactIdentifier,
431  const QString &initialVideoContentName = QString(),
432  const QDateTime &userActionTime = QDateTime::currentDateTime());
433  PendingChannel *ensureAndHandleVideoCall(
434  const ContactPtr &contact,
435  const QString &initialVideoContentName = QString(),
436  const QDateTime &userActionTime = QDateTime::currentDateTime());
437  PendingChannel *ensureAndHandleAudioVideoCall(
438  const QString &contactIdentifier,
439  const QString &initialAudioContentName = QString(),
440  const QString &initialVideoContentName = QString(),
441  const QDateTime &userActionTime = QDateTime::currentDateTime());
442  PendingChannel *ensureAndHandleAudioVideoCall(
443  const ContactPtr &contact,
444  const QString &initialAudioContentName = QString(),
445  const QString &initialVideoContentName = QString(),
446  const QDateTime &userActionTime = QDateTime::currentDateTime());
447 
448  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaCall(
449  const QString &contactIdentifier,
450  const QDateTime &userActionTime = QDateTime::currentDateTime());
451  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaCall(
452  const ContactPtr &contact,
453  const QDateTime &userActionTime = QDateTime::currentDateTime());
454 
455  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaAudioCall(
456  const QString &contactIdentifier,
457  const QDateTime &userActionTime = QDateTime::currentDateTime());
458  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaAudioCall(
459  const ContactPtr &contact,
460  const QDateTime &userActionTime = QDateTime::currentDateTime());
461 
462  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaVideoCall(
463  const QString &contactIdentifier,
464  bool withAudio = true,
465  const QDateTime &userActionTime = QDateTime::currentDateTime());
466  TP_QT_DEPRECATED PendingChannel *ensureAndHandleStreamedMediaVideoCall(
467  const ContactPtr &contact,
468  bool withAudio = true,
469  const QDateTime &userActionTime = QDateTime::currentDateTime());
470 
471  PendingChannel *createAndHandleFileTransfer(
472  const QString &contactIdentifier,
473  const FileTransferChannelCreationProperties &properties,
474  const QDateTime &userActionTime = QDateTime::currentDateTime());
475  PendingChannel *createAndHandleFileTransfer(
476  const ContactPtr &contact,
477  const FileTransferChannelCreationProperties &properties,
478  const QDateTime &userActionTime = QDateTime::currentDateTime());
479 
480  PendingChannel *createAndHandleStreamTube(
481  const QString &contactIdentifier,
482  const QString &service,
483  const QDateTime &userActionTime = QDateTime::currentDateTime());
484  PendingChannel *createAndHandleStreamTube(
485  const ContactPtr &contact,
486  const QString &service,
487  const QDateTime &userActionTime = QDateTime::currentDateTime());
488 
489  PendingChannel *createAndHandleDBusTube(
490  const QString &contactIdentifier,
491  const QString &serviceName,
492  const QDateTime &userActionTime = QDateTime::currentDateTime());
493  PendingChannel *createAndHandleDBusTube(
494  const ContactPtr &contact,
495  const QString &serviceName,
496  const QDateTime &userActionTime = QDateTime::currentDateTime());
497 
498  PendingChannel *createAndHandleConferenceTextChat(
499  const QList<ChannelPtr> &channels,
500  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
501  const QDateTime &userActionTime = QDateTime::currentDateTime());
502  PendingChannel *createAndHandleConferenceTextChat(
503  const QList<ChannelPtr> &channels,
504  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
505  const QDateTime &userActionTime = QDateTime::currentDateTime());
506 
507  PendingChannel *createAndHandleConferenceTextChatroom(
508  const QString &roomName,
509  const QList<ChannelPtr> &channels,
510  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
511  const QDateTime &userActionTime = QDateTime::currentDateTime());
512  PendingChannel *createAndHandleConferenceTextChatroom(
513  const QString &roomName,
514  const QList<ChannelPtr> &channels,
515  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
516  const QDateTime &userActionTime = QDateTime::currentDateTime());
517 
518  TP_QT_DEPRECATED PendingChannel *createAndHandleConferenceStreamedMediaCall(
519  const QList<ChannelPtr> &channels,
520  const QStringList &initialInviteeContactsIdentifiers = QStringList(),
521  const QDateTime &userActionTime = QDateTime::currentDateTime());
522  TP_QT_DEPRECATED PendingChannel *createAndHandleConferenceStreamedMediaCall(
523  const QList<ChannelPtr> &channels,
524  const QList<ContactPtr> &initialInviteeContacts = QList<ContactPtr>(),
525  const QDateTime &userActionTime = QDateTime::currentDateTime());
526 
527  PendingChannel *createAndHandleContactSearch(
528  const QString &server = QString(),
529  uint limit = 0,
530  const QDateTime &userActionTime = QDateTime::currentDateTime());
531 
532  // advanced
533  PendingChannelRequest *createChannel(
534  const QVariantMap &requestedProperties,
535  const QDateTime &userActionTime = QDateTime::currentDateTime(),
536  const QString &preferredHandler = QString(),
537  const ChannelRequestHints &hints = ChannelRequestHints());
538 
539  PendingChannelRequest *ensureChannel(
540  const QVariantMap &requestedProperties,
541  const QDateTime &userActionTime = QDateTime::currentDateTime(),
542  const QString &preferredHandler = QString(),
543  const ChannelRequestHints &hints = ChannelRequestHints());
544 
545  PendingChannel *createAndHandleChannel(
546  const QVariantMap &requestedProperties,
547  const QDateTime &userActionTime);
548  PendingChannel *ensureAndHandleChannel(
549  const QVariantMap &requestedProperties,
550  const QDateTime &userActionTime);
551 
552 Q_SIGNALS:
553  void removed();
554  void serviceNameChanged(const QString &serviceName);
555  void profileChanged(const Tp::ProfilePtr &profile);
556  void displayNameChanged(const QString &displayName);
557  void iconNameChanged(const QString &iconName);
558  void nicknameChanged(const QString &nickname);
559  void normalizedNameChanged(const QString &normalizedName);
560  void validityChanged(bool validity);
561  void stateChanged(bool state);
562  void capabilitiesChanged(const Tp::ConnectionCapabilities &capabilities);
563  void connectsAutomaticallyPropertyChanged(bool connectsAutomatically);
564  void firstOnline();
565  void parametersChanged(const QVariantMap &parameters);
566  void changingPresence(bool value);
567  void automaticPresenceChanged(const Tp::Presence &automaticPresence);
568  void currentPresenceChanged(const Tp::Presence &currentPresence);
569  void requestedPresenceChanged(const Tp::Presence &requestedPresence);
570  void onlinenessChanged(bool online);
571  void avatarChanged(const Tp::Avatar &avatar);
572  void connectionStatusChanged(Tp::ConnectionStatus status);
573  void connectionChanged(const Tp::ConnectionPtr &connection);
574 
575 protected:
576  friend class PendingChannelRequest; // to access dispatcherInterface()
577 
578  Account(const QDBusConnection &bus,
579  const QString &busName, const QString &objectPath,
580  const ConnectionFactoryConstPtr &connectionFactory,
581  const ChannelFactoryConstPtr &channelFactory,
582  const ContactFactoryConstPtr &contactFactory,
583  const Feature &coreFeature);
584 
585  Client::AccountInterface *baseInterface() const;
586  Client::ChannelDispatcherInterface *dispatcherInterface() const;
587 
588 private Q_SLOTS:
589  TP_QT_NO_EXPORT void onDispatcherIntrospected(Tp::PendingOperation *op);
590  TP_QT_NO_EXPORT void gotMainProperties(QDBusPendingCallWatcher *);
591  TP_QT_NO_EXPORT void gotAvatar(QDBusPendingCallWatcher *);
592  TP_QT_NO_EXPORT void onAvatarChanged();
593  TP_QT_NO_EXPORT void onConnectionManagerReady(Tp::PendingOperation *);
594  TP_QT_NO_EXPORT void onConnectionReady(Tp::PendingOperation *);
595  TP_QT_NO_EXPORT void onPropertyChanged(const QVariantMap &delta);
596  TP_QT_NO_EXPORT void onRemoved();
597  TP_QT_NO_EXPORT void onConnectionBuilt(Tp::PendingOperation *);
598 
599 private:
600  struct Private;
601  friend struct Private;
602 
603  Private *mPriv;
604 };
605 
606 } // Tp
607 
608 #endif
ConnectionStatusReason
Definition: build/TelepathyQt/_gen/constants.h:1465
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The ConnectionCapabilities class represents the capabilities of a Connection.
Definition: connection-capabilities.h:38
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
The ChannelFactory class is responsible for constructing Channel objects according to application-def...
Definition: channel-factory.h:46
The AvatarSpec class represents a Telepathy avatar information supported by a protocol.
Definition: avatar.h:51
Definition: build/TelepathyQt/_gen/types.h:249
The ConnectionFactory class is responsible for constructing Connection objects according to applicati...
Definition: connection-factory.h:49
The PendingChannelRequest class represents the parameters of and the reply to an asynchronous Channel...
Definition: pending-channel-request.h:46
The Account class represents a Telepathy account.
Definition: account.h:68
ConnectionStatus
Definition: build/TelepathyQt/_gen/constants.h:1420
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
The Presence class represents a Telepathy simple presence.
Definition: presence.h:36
The FileTransferChannelCreationProperties class represents the properties of a file transfer channel ...
Definition: file-transfer-channel-creation-properties.h:42
The PresenceSpecList class represents a list of PresenceSpec.
Definition: presence.h:125
The PendingChannel class represents the parameters of and the reply to an asynchronous channel reques...
Definition: pending-channel.h:44
The Connection class represents a Telepathy connection.
Definition: connection.h:61
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
Definition: abstract-adaptor.cpp:31
The PendingStringList class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-string-list.h:37
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The ContactFactory class is responsible for constructing Contact objects according to application-def...
Definition: contact-factory.h:44
The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester w...
Definition: channel-request.h:121


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_k.html0000644000175000017500000000321212727270137023534 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- k -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00815_source.html0000644000175000017500000010736212727270137022370 0ustar00kaffeinekaffeine00000000000000 stream-tube-client.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
stream-tube-client.h
1 
23 #ifndef _TelepathyQt_stream_tube_client_h_HEADER_GUARD_
24 #define _TelepathyQt_stream_tube_client_h_HEADER_GUARD_
25 
26 #include <TelepathyQt/AccountFactory>
27 #include <TelepathyQt/ChannelFactory>
28 #include <TelepathyQt/ConnectionFactory>
29 #include <TelepathyQt/ContactFactory>
30 #include <TelepathyQt/RefCounted>
31 #include <TelepathyQt/Types>
32 
33 class QHostAddress;
34 
35 namespace Tp
36 {
37 
38 class PendingStreamTubeConnection;
39 
40 class TP_QT_EXPORT StreamTubeClient : public QObject, public RefCounted
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(StreamTubeClient)
44 
45  class TubeWrapper;
46 
47 public:
48 
50  {
51  public:
52  virtual QPair<QHostAddress, quint16>
53  nextSourceAddress(const AccountPtr &account, const IncomingStreamTubeChannelPtr &tube) = 0;
54 
55  protected:
57  };
58 
59  class Tube : public QPair<AccountPtr, IncomingStreamTubeChannelPtr>
60  {
61  public:
62  Tube();
63  Tube(const AccountPtr &account, const IncomingStreamTubeChannelPtr &channel);
64  Tube(const Tube &other);
65  ~Tube();
66 
67  bool isValid() const { return mPriv.constData() != 0; }
68 
69  Tube &operator=(const Tube &other);
70 
71  const AccountPtr &account() const
72  {
73  return first;
74  }
75 
76  const IncomingStreamTubeChannelPtr &channel() const
77  {
78  return second;
79  }
80 
81  private:
82  struct Private;
83  friend struct Private;
84  QSharedDataPointer<Private> mPriv;
85  };
86 
87  static StreamTubeClientPtr create(
88  const QStringList &p2pServices,
89  const QStringList &roomServices = QStringList(),
90  const QString &clientName = QString(),
91  bool monitorConnections = false,
92  bool bypassApproval = false,
93  const AccountFactoryConstPtr &accountFactory =
94  AccountFactory::create(QDBusConnection::sessionBus()),
95  const ConnectionFactoryConstPtr &connectionFactory =
96  ConnectionFactory::create(QDBusConnection::sessionBus()),
97  const ChannelFactoryConstPtr &channelFactory =
98  ChannelFactory::create(QDBusConnection::sessionBus()),
99  const ContactFactoryConstPtr &contactFactory =
101 
102  static StreamTubeClientPtr create(
103  const QDBusConnection &bus,
104  const AccountFactoryConstPtr &accountFactory,
105  const ConnectionFactoryConstPtr &connectionFactory,
106  const ChannelFactoryConstPtr &channelFactory,
107  const ContactFactoryConstPtr &contactFactory,
108  const QStringList &p2pServices,
109  const QStringList &roomServices = QStringList(),
110  const QString &clientName = QString(),
111  bool monitorConnections = false,
112  bool bypassApproval = false);
113 
114  static StreamTubeClientPtr create(
115  const AccountManagerPtr &accountManager,
116  const QStringList &p2pServices,
117  const QStringList &roomServices = QStringList(),
118  const QString &clientName = QString(),
119  bool monitorConnections = false,
120  bool bypassApproval = false);
121 
122  static StreamTubeClientPtr create(
123  const ClientRegistrarPtr &registrar,
124  const QStringList &p2pServices,
125  const QStringList &roomServices = QStringList(),
126  const QString &clientName = QString(),
127  bool monitorConnections = false,
128  bool bypassApproval = false);
129 
130  virtual ~StreamTubeClient();
131 
132  ClientRegistrarPtr registrar() const;
133  QString clientName() const;
134  bool isRegistered() const;
135  bool monitorsConnections() const;
136 
137  bool acceptsAsTcp() const;
138  TcpSourceAddressGenerator *tcpGenerator() const;
139  bool acceptsAsUnix() const;
140 
141  void setToAcceptAsTcp(TcpSourceAddressGenerator *generator = 0);
142  void setToAcceptAsUnix(bool requireCredentials = false);
143 
144  QList<Tube> tubes() const;
145  QHash<Tube, QSet<uint> > connections() const;
146 
147 Q_SIGNALS:
148  void tubeOffered(
149  const Tp::AccountPtr &account,
150  const Tp::IncomingStreamTubeChannelPtr &tube);
151  void tubeClosed(
152  const Tp::AccountPtr &account,
153  const Tp::IncomingStreamTubeChannelPtr &tube,
154  const QString &error,
155  const QString &message);
156 
157  void tubeAcceptedAsTcp(
158  const QHostAddress &listenAddress,
159  quint16 listenPort,
160  const QHostAddress &sourceAddress,
161  quint16 sourcePort,
162  const Tp::AccountPtr &account,
163  const Tp::IncomingStreamTubeChannelPtr &tube);
164  void tubeAcceptedAsUnix(
165  const QString &listenAddress,
166  bool requiresCredentials,
167  uchar credentialByte,
168  const Tp::AccountPtr &account,
169  const Tp::IncomingStreamTubeChannelPtr &tube);
170 
171  void newConnection(
172  const Tp::AccountPtr &account,
173  const Tp::IncomingStreamTubeChannelPtr &tube,
174  uint connectionId);
175  void connectionClosed(
176  const Tp::AccountPtr &account,
177  const Tp::IncomingStreamTubeChannelPtr &tube,
178  uint connectionId,
179  const QString &error,
180  const QString &message);
181 
182 private Q_SLOTS:
183 
184  TP_QT_NO_EXPORT void onInvokedForTube(
185  const Tp::AccountPtr &account,
186  const Tp::StreamTubeChannelPtr &tube,
187  const QDateTime &userActionTime,
188  const Tp::ChannelRequestHints &requestHints);
189 
190  TP_QT_NO_EXPORT void onAcceptFinished(TubeWrapper *, Tp::PendingStreamTubeConnection *);
191  TP_QT_NO_EXPORT void onTubeInvalidated(Tp::DBusProxy *, const QString &, const QString &);
192 
193  TP_QT_NO_EXPORT void onNewConnection(
194  TubeWrapper *wrapper,
195  uint conn);
196  TP_QT_NO_EXPORT void onConnectionClosed(
197  TubeWrapper *wrapper,
198  uint conn,
199  const QString &error,
200  const QString &message);
201 
202 private:
203  TP_QT_NO_EXPORT StreamTubeClient(
204  const ClientRegistrarPtr &registrar,
205  const QStringList &p2pServices,
206  const QStringList &roomServices,
207  const QString &clientName,
208  bool monitorConnections,
209  bool bypassApproval);
210 
211  struct Private;
212  Private *mPriv;
213 };
214 
215 } // Tp
216 
217 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
static ConnectionFactoryPtr create(const QDBusConnection &bus, const Features &features=Features())
Definition: connection-factory.cpp:57
virtual ~TcpSourceAddressGenerator()
Definition: stream-tube-client.h:56
The PendingStreamTubeConnection class represents an asynchronous operation for accepting an incoming ...
Definition: pending-stream-tube-connection.h:43
static AccountFactoryPtr create(const QDBusConnection &bus, const Features &features=Features())
Definition: account-factory.cpp:58
static ChannelFactoryPtr create(const QDBusConnection &bus)
Definition: channel-factory.cpp:86
static ContactFactoryPtr create(const Features &features=Features())
Definition: contact-factory.cpp:48
const AccountPtr & account() const
Definition: stream-tube-client.h:71
The StreamTubeClient::TcpSourceAddressGenerator abstract interface allows using socket source address...
Definition: stream-tube-client.h:49
const IncomingStreamTubeChannelPtr & channel() const
Definition: stream-tube-client.h:76
Definition: abstract-adaptor.cpp:31
The StreamTubeClient class is a Handler implementation for incoming Stream Tube channels, allowing an application to easily get notified about services they can connect to offered to them over Telepathy Tubes without worrying about the channel dispatching details.
Definition: stream-tube-client.h:40
bool isValid() const
Definition: stream-tube-client.h:67
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
The StreamTubeClient::Tube class represents a tube being handled by the client.
Definition: stream-tube-client.h:59
The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester w...
Definition: channel-request.h:121


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00318.html0000644000175000017500000005022212727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::DBusService Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::DBusService Class Referenceabstract

Base class for D-Bus services. More...

#include <TelepathyQt/DBusService>

Inherits Tp::Object.

Inherited by Tp::BaseCallContent, Tp::BaseChannel, Tp::BaseConnection, Tp::BaseConnectionManager, Tp::BaseDebug, and Tp::BaseProtocol.

Public Member Functions

 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
virtual QVariantMap immutableProperties () const =0
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for D-Bus services.

This class serves as a base for all the classes that are used to implement D-Bus services.

Constructor & Destructor Documentation

Tp::DBusService::DBusService ( const QDBusConnection &  dbusConnection)

Construct a DBusService that uses the given dbusConnection.

Parameters
dbusConnectionThe D-Bus connection that will be used by this service.
Tp::DBusService::~DBusService ( )
virtual

Class destructor.

Member Function Documentation

QVariantMap Tp::DBusService::immutableProperties ( ) const
pure virtual

Return the immutable properties of this D-Bus service object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns
The immutable properties of this D-Bus service object.

Implemented in Tp::BaseProtocol, Tp::BaseCallContent, Tp::BaseConnectionManager, Tp::BaseConnection, and Tp::BaseChannel.

QDBusConnection Tp::DBusService::dbusConnection ( ) const

Return the D-Bus connection associated with this service.

Returns
the D-Bus connection associated with this service.
QString Tp::DBusService::busName ( ) const

Return the D-Bus service name of this service.

This is only valid after this service has been registered on the bus using registerObject().

Returns
the D-Bus service name of this service.
QString Tp::DBusService::objectPath ( ) const

Return the D-Bus object path of this service.

This is only valid after this service has been registered on the bus using registerObject().

Returns
the D-Bus object path of this service.
DBusObject * Tp::DBusService::dbusObject ( ) const

Return the DBusObject that is used for registering this service on the bus.

The DBusObject is the object on which all the interface adaptors for this service are plugged.

Returns
a pointer to the DBusObject that is used for registering this service on the bus.
bool Tp::DBusService::isRegistered ( ) const

Return whether this D-Bus service has been registered on the bus or not.

Returns
true if the service has been registered, or false otherwise.
bool Tp::DBusService::registerObject ( const QString &  busName,
const QString &  objectPath,
DBusError error 
)
protectedvirtual

Register this service object on the bus with the given busName and objectPath.

error needs to be a valid pointer to a DBusError instance, where any possible D-Bus error will be stored.

A service may only be registered once in its lifetime. Use isRegistered() to find out if it has already been registered or not.

You normally don't need to use this method directly. Subclasses should provide a simplified version of it.

Parameters
busNameThe D-Bus service name of this object.
objectPathThe D-Bus object path of this object.
errorA pointer to a valid DBusError instance, where any possible D-Bus error will be stored.
Returns
true on success or false otherwise.

Reimplemented in Tp::BaseConnection, Tp::BaseProtocol, Tp::BaseCallContent, Tp::BaseConnectionManager, and Tp::BaseChannel.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01289.html0000644000175000017500000003172212727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactGroupsInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactGroupsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AddToGroup(const QString &group, const Tp::UIntList &members, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
ConnectionInterfaceContactGroupsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactGroupsInterface
ConnectionInterfaceContactGroupsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactGroupsInterface
ConnectionInterfaceContactGroupsInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactGroupsInterface
ConnectionInterfaceContactGroupsInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactGroupsInterfaceexplicit
ConnectionInterfaceContactGroupsInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactGroupsInterface
GroupRenamed(const QString &oldName, const QString &newName)Tp::Client::ConnectionInterfaceContactGroupsInterfacesignal
GroupsChanged(const Tp::UIntList &contact, const QStringList &added, const QStringList &removed)Tp::Client::ConnectionInterfaceContactGroupsInterfacesignal
GroupsCreated(const QStringList &names)Tp::Client::ConnectionInterfaceContactGroupsInterfacesignal
GroupsRemoved(const QStringList &names)Tp::Client::ConnectionInterfaceContactGroupsInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactGroupsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RemoveFromGroup(const QString &group, const Tp::UIntList &members, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
RemoveGroup(const QString &group, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
RenameGroup(const QString &oldName, const QString &newName, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
requestAllProperties() const Tp::Client::ConnectionInterfaceContactGroupsInterfaceinline
requestPropertyDisjointGroups() const Tp::Client::ConnectionInterfaceContactGroupsInterfaceinline
requestPropertyGroups() const Tp::Client::ConnectionInterfaceContactGroupsInterfaceinline
requestPropertyGroupStorage() const Tp::Client::ConnectionInterfaceContactGroupsInterfaceinline
SetContactGroups(uint contact, const QStringList &groups, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
SetGroupMembers(const QString &group, const Tp::UIntList &members, int timeout=-1)Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactGroupsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00072.html0000644000175000017500000007322012727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelCaptchaAuthenticationInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseChannelCaptchaAuthenticationInterface Class Reference

Base class for implementations of Channel.Interface.CaptchaAuthentication. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback4< void, Tp::CaptchaInfoList &, uint &, QString &, DBusError * > GetCaptchasCallback
 
typedef Callback3< QByteArray, uint, const QString &, DBusError * > GetCaptchaDataCallback
 
typedef Callback2< void, const Tp::CaptchaAnswers &, DBusError * > AnswerCaptchasCallback
 
typedef Callback3< void, uint, const QString &, DBusError * > CancelCaptchaCallback
 

Public Member Functions

virtual ~BaseChannelCaptchaAuthenticationInterface ()
 
QVariantMap immutableProperties () const
 
void setGetCaptchasCallback (const GetCaptchasCallback &cb)
 
void setGetCaptchaDataCallback (const GetCaptchaDataCallback &cb)
 
void setAnswerCaptchasCallback (const AnswerCaptchasCallback &cb)
 
void setCancelCaptchaCallback (const CancelCaptchaCallback &cb)
 
void setCaptchaStatus (uint status)
 
void setCaptchaError (const QString &busName)
 
void setCaptchaErrorDetails (const QVariantMap &error)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelCaptchaAuthenticationInterfacePtr create (bool canRetryCaptcha)
 
template<typename BaseChannelCaptchaAuthenticationInterfaceSubclass >
static SharedPtr< BaseChannelCaptchaAuthenticationInterfaceSubclass > create (bool canRetryCaptcha)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.CaptchaAuthentication.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelCaptchaAuthenticationInterface::~BaseChannelCaptchaAuthenticationInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelCaptchaAuthenticationInterfacePtr Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha)
inlinestatic
template<typename BaseChannelCaptchaAuthenticationInterfaceSubclass >
static SharedPtr<BaseChannelCaptchaAuthenticationInterfaceSubclass> Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha)
inlinestatic
QVariantMap Tp::BaseChannelCaptchaAuthenticationInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseChannelCaptchaAuthenticationInterface::setGetCaptchasCallback ( const GetCaptchasCallback cb)
void Tp::BaseChannelCaptchaAuthenticationInterface::setGetCaptchaDataCallback ( const GetCaptchaDataCallback cb)
void Tp::BaseChannelCaptchaAuthenticationInterface::setAnswerCaptchasCallback ( const AnswerCaptchasCallback cb)
void Tp::BaseChannelCaptchaAuthenticationInterface::setCancelCaptchaCallback ( const CancelCaptchaCallback cb)
void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaStatus ( uint  status)
void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaError ( const QString &  busName)
void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaErrorDetails ( const QVariantMap &  error)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01033.html0000644000175000017500000001237212727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusProxyFactory Member List

This is the complete list of members for Tp::DBusProxyFactory, including all inherited members.

cachedProxy(const QString &busName, const QString &objectPath) const Tp::DBusProxyFactoryprotected
dbusConnection() const Tp::DBusProxyFactory
DBusProxyFactory(const QDBusConnection &bus)Tp::DBusProxyFactoryprotected
featuresFor(const DBusProxyPtr &proxy) const =0Tp::DBusProxyFactoryprotectedpure virtual
finalBusNameFrom(const QString &uniqueOrWellKnown) const =0Tp::DBusProxyFactoryprotectedpure virtual
initialPrepare(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotectedvirtual
nowHaveProxy(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotected
readyPrepare(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotectedvirtual
RefCounted()Tp::RefCountedinline
~DBusProxyFactory()Tp::DBusProxyFactoryvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00888.html0000644000175000017500000001526512727270137021022 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractCallContentInterface Member List

This is the complete list of members for Tp::AbstractCallContentInterface, including all inherited members.

AbstractCallContentInterface(const QString &interfaceName)Tp::AbstractCallContentInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
createAdaptor()=0Tp::AbstractDBusServiceInterfaceprotectedpure virtual
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const =0Tp::AbstractDBusServiceInterfacepure virtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
~AbstractCallContentInterface()Tp::AbstractCallContentInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00811_source.html0000644000175000017500000002760412727270137022364 0ustar00kaffeinekaffeine00000000000000 simple-text-observer.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
simple-text-observer.h
1 
23 #ifndef _TelepathyQt_simple_text_observer_h_HEADER_GUARD_
24 #define _TelepathyQt_simple_text_observer_h_HEADER_GUARD_
25 
26 #include <TelepathyQt/Constants>
27 #include <TelepathyQt/Types>
28 
29 #include <QObject>
30 
31 namespace Tp
32 {
33 
34 class Message;
35 class PendingOperation;
36 class ReceivedMessage;
37 
38 class TP_QT_EXPORT SimpleTextObserver : public QObject, public RefCounted
39 {
40  Q_OBJECT
41  Q_DISABLE_COPY(SimpleTextObserver)
42 
43 public:
44  static SimpleTextObserverPtr create(const AccountPtr &account);
45  static SimpleTextObserverPtr create(const AccountPtr &account,
46  const ContactPtr &contact);
47  static SimpleTextObserverPtr create(const AccountPtr &account,
48  const QString &contactIdentifier);
49 
50  virtual ~SimpleTextObserver();
51 
52  AccountPtr account() const;
53  QString contactIdentifier() const;
54 
55  QList<TextChannelPtr> textChats() const;
56 
57 Q_SIGNALS:
58  void messageSent(const Tp::Message &message, Tp::MessageSendingFlags flags,
59  const QString &sentMessageToken, const Tp::TextChannelPtr &channel);
60  void messageReceived(const Tp::ReceivedMessage &message, const Tp::TextChannelPtr &channel);
61 
62 private Q_SLOTS:
63  TP_QT_NO_EXPORT void onNewChannels(const QList<Tp::ChannelPtr> &channels);
64  TP_QT_NO_EXPORT void onChannelInvalidated(const Tp::ChannelPtr &channel);
65 
66 private:
67  TP_QT_NO_EXPORT static SimpleTextObserverPtr create(const AccountPtr &account,
68  const QString &contactIdentifier, bool requiresNormalization);
69 
70  TP_QT_NO_EXPORT SimpleTextObserver(const AccountPtr &account,
71  const QString &contactIdentifier, bool requiresNormalization);
72 
73  struct Private;
74  friend struct Private;
75  Private *mPriv;
76 };
77 
78 } // Tp
79 
80 #endif
The SimpleTextObserver class provides an easy way to track sent/received text messages in an account ...
Definition: simple-text-observer.h:38
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The ReceivedMessage class is a subclass of Message, representing a received message only...
Definition: message.h:97
The Message class represents a Telepathy message in a TextChannel.
Definition: message.h:44
QFlags< MessageSendingFlag > MessageSendingFlags
Definition: build/TelepathyQt/_gen/constants.h:1166
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/namespacemembers_func.html0000644000175000017500000000321712727270137024506 0ustar00kaffeinekaffeine00000000000000 Namespace Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- v -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00387.html0000644000175000017500000001411112727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::MessagePartContentMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::MessagePartContentMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, QDBusVariant >.

Public Member Functions

 MessagePartContentMap ()
 
 MessagePartContentMap (const QMap< uint, QDBusVariant > &a)
 
MessagePartContentMapoperator= (const QMap< uint, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, QDBusVariant>, but needed to have a discrete type in the Qt type system.

A mapping from message part indexes to their content, as returned by GetPendingMessageContent.

Constructor & Destructor Documentation

Tp::MessagePartContentMap::MessagePartContentMap ( )
inline
Tp::MessagePartContentMap::MessagePartContentMap ( const QMap< uint, QDBusVariant > &  a)
inline

Member Function Documentation

MessagePartContentMap& Tp::MessagePartContentMap::operator= ( const QMap< uint, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01348.html0000644000175000017500000001256112727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeStreamTubeAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeStreamTubeAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
Accept(uint addresstype, uint accesscontrol, const QDBusVariant &accesscontrolparam, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamTubeAdaptorslot
adaptee() const Tp::AbstractAdaptor
ConnectionClosed(uint connectionID, const QString &error, const QString &message)Tp::Service::ChannelTypeStreamTubeAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
NewLocalConnection(uint connectionID)Tp::Service::ChannelTypeStreamTubeAdaptorsignal
NewRemoteConnection(uint handle, const QDBusVariant &connectionParam, uint connectionID)Tp::Service::ChannelTypeStreamTubeAdaptorsignal
Offer(uint addresstype, const QDBusVariant &address, uint accesscontrol, const QVariantMap &parameters, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeStreamTubeAdaptorslot
Service() const Tp::Service::ChannelTypeStreamTubeAdaptor
SupportedSocketTypes() const Tp::Service::ChannelTypeStreamTubeAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00131.html0000644000175000017500000001362512727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::CallMemberMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::CallMemberMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, uint >.

Public Member Functions

 CallMemberMap ()
 
 CallMemberMap (const QMap< uint, uint > &a)
 
CallMemberMapoperator= (const QMap< uint, uint > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, uint>, but needed to have a discrete type in the Qt type system.

A mapping from handles to their current state in the call.

Constructor & Destructor Documentation

Tp::CallMemberMap::CallMemberMap ( )
inline
Tp::CallMemberMap::CallMemberMap ( const QMap< uint, uint > &  a)
inline

Member Function Documentation

CallMemberMap& Tp::CallMemberMap::operator= ( const QMap< uint, uint > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00947.html0000644000175000017500000002332012727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionContactsInterface Member List

This is the complete list of members for Tp::BaseConnectionContactsInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionContactsInterface()Tp::BaseConnectionContactsInterfaceprotected
contactAttributeInterfaces() const Tp::BaseConnectionContactsInterface
create()Tp::BaseConnectionContactsInterfaceinlinestatic
create()Tp::BaseConnectionContactsInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getContactAttributes(const Tp::UIntList &handles, const QStringList &interfaces, DBusError *error)Tp::BaseConnectionContactsInterface
GetContactAttributesCallback typedefTp::BaseConnectionContactsInterface
getContactByID(const QString &identifier, const QStringList &interfaces, uint &handle, QVariantMap &attributes, DBusError *error)Tp::BaseConnectionContactsInterface
immutableProperties() const Tp::BaseConnectionContactsInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseConnection(BaseConnection *connection)Tp::BaseConnectionContactsInterfaceprotectedvirtual
setContactAttributeInterfaces(const QStringList &contactAttributeInterfaces)Tp::BaseConnectionContactsInterface
setGetContactAttributesCallback(const GetContactAttributesCallback &cb)Tp::BaseConnectionContactsInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionContactsInterface()Tp::BaseConnectionContactsInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00446.html0000644000175000017500000007222712727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::ProtocolInfo Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ProtocolInfo Class Reference

The ProtocolInfo class represents a Telepathy Protocol. More...

#include <TelepathyQt/ProtocolInfo>

Public Member Functions

 ProtocolInfo ()
 
 ProtocolInfo (const ProtocolInfo &other)
 
 ~ProtocolInfo ()
 
bool isValid () const
 
ProtocolInfooperator= (const ProtocolInfo &other)
 
QString cmName () const
 
QString name () const
 
ProtocolParameterList parameters () const
 
bool hasParameter (const QString &name) const
 
bool canRegister () const
 
ConnectionCapabilities capabilities () const
 
QString vcardField () const
 
QString englishName () const
 
QString iconName () const
 
PresenceSpecList allowedPresenceStatuses () const
 
AvatarSpec avatarRequirements () const
 
QStringList addressableVCardFields () const
 
QStringList addressableUriSchemes () const
 
PendingStringnormalizeVCardAddress (const QString &vcardField, const QString &vcardAddress)
 
PendingStringnormalizeContactUri (const QString &uri)
 

Detailed Description

The ProtocolInfo class represents a Telepathy Protocol.

Constructor & Destructor Documentation

Tp::ProtocolInfo::ProtocolInfo ( )
Tp::ProtocolInfo::ProtocolInfo ( const ProtocolInfo other)
Tp::ProtocolInfo::~ProtocolInfo ( )

Class destructor.

Member Function Documentation

bool Tp::ProtocolInfo::isValid ( ) const
inline
ProtocolInfo & Tp::ProtocolInfo::operator= ( const ProtocolInfo other)
QString Tp::ProtocolInfo::cmName ( ) const

Return the short name of the connection manager (e.g. "gabble") for this protocol.

Returns
The name of the connection manager for this protocol.
QString Tp::ProtocolInfo::name ( ) const

Return the string identifying this protocol as described in the Telepathy specification (e.g. "jabber").

This identifier is not intended to be displayed to users directly; user interfaces are responsible for mapping them to localized strings.

Returns
A string identifying this protocol.
ProtocolParameterList Tp::ProtocolInfo::parameters ( ) const

Return all supported parameters for this protocol. The parameters' names may either be the well-known strings specified by the Telepathy specification (e.g. "account" and "password"), or implementation-specific strings.

Returns
A list of parameters for this protocol.
bool Tp::ProtocolInfo::hasParameter ( const QString &  name) const

Return whether a given parameter can be passed to the connection manager when creating a connection to this protocol.

Parameters
nameThe name of a parameter.
Returns
true if the given parameter exists.
bool Tp::ProtocolInfo::canRegister ( ) const

Return whether it might be possible to register new accounts on this protocol, by setting the special parameter named register to true.

Returns
The same thing as hasParameter("register").
See also
hasParameter()
ConnectionCapabilities Tp::ProtocolInfo::capabilities ( ) const

Return the capabilities that are expected to be available from a connection to this protocol, i.e. those for which Connection::createChannel() can reasonably be expected to succeed. User interfaces can use this information to show or hide UI components.

Returns
An object representing the capabilities expected to be available from a connection to this protocol.
QString Tp::ProtocolInfo::vcardField ( ) const

Return the name of the most common vcard field used for this protocol's contact identifiers, normalized to lower case.

One valid use of this field is to answer the question: given a contact's vcard containing an X-JABBER field, how can you communicate with the contact? By iterating through protocols looking for an x-jabber VCardField, one can build up a list of protocols that handle x-jabber, then offer the user a list of accounts for those protocols and/or the option to create a new account for one of those protocols. It is not necessarily valid to interpret contacts' identifiers as values of this vcard field. For instance, telepathy-sofiasip supports contacts whose identifiers are of the form sip:jenny.nosp@m.@exa.nosp@m.mple..nosp@m.com or tel:8675309, which would not normally both be represented by any single vcard field.

Returns
The most common vcard field used for this protocol's contact identifiers, or an empty string if there is no such field.
QString Tp::ProtocolInfo::englishName ( ) const

Return the English-language name of this protocol, such as "AIM" or "Yahoo!".

The name can be used as a fallback if an application doesn't have a localized name for this protocol.

If the manager file or the CM service doesn't specify the english name, it is inferred from this protocol name, such that for example "google-talk" becomes "Google Talk", but "local-xmpp" becomes "Local Xmpp".

Returns
An English-language name for this protocol.
QString Tp::ProtocolInfo::iconName ( ) const

Return the name of an icon for this protocol in the system's icon theme, such as "im-msn".

If the manager file or the CM service doesn't specify the icon name, "im-<protocolname>" is assumed.

Returns
The likely name of an icon for this protocol.
PresenceSpecList Tp::ProtocolInfo::allowedPresenceStatuses ( ) const

Return a list of PresenceSpec representing the possible presence statuses from a connection to this protocol.

Returns
A list of PresenceSpec representing the possible presence statuses from a connection to this protocol.
AvatarSpec Tp::ProtocolInfo::avatarRequirements ( ) const

Return the requirements (size limits, supported MIME types, etc) for avatars used on to this protocol.

Returns
The requirements for avatars used on this protocol.
QStringList Tp::ProtocolInfo::addressableVCardFields ( ) const

Return the vcard fields that can be used to request a contact with on this protocol, normalized to lower case.

Returns
The vcard fields normalized to lower case.
See also
addressableUriSchemes()
QStringList Tp::ProtocolInfo::addressableUriSchemes ( ) const

Return the URI schemes that are supported by this protocol.

Returns
The URI schemes.
See also
addressableVCardFields()
PendingString * Tp::ProtocolInfo::normalizeVCardAddress ( const QString &  vcardField,
const QString &  vcardAddress 
)

Attempt to normalize the given vcardAddress.

For example, a vcard TEL field formatted as +1 (206) 555 1234, could be normalized to +12065551234.

If a vcard address X would be normalized to Y, a successful ContactManager contact request using ContactManager::contactsForVCardAddresses() for vcard address X would result in a contact with Y reported as an address that can identify it in Contact::vcardAddresses().

Parameters
vcardFieldThe vcard field the vcardAddress belongs to.
vcardAddressThe address to normalize.
Returns
A PendingString which will emit PendingString::finished when the address has been normalized or an error occurred.
See also
normalizeContactUri()
PendingString * Tp::ProtocolInfo::normalizeContactUri ( const QString &  uri)

Attempt to normalize the given contact uri.

If the URI has extra information beyond what's necessary to identify a particular contact, such as an XMPP resource or an action to carry out, this extra information wil be removed.

An example would be xmpp:romeo.nosp@m.@Exa.nosp@m.mple..nosp@m.Com/Empathy?message;body=Hello, which would be normalized to xmpp:romeo.nosp@m.@exa.nosp@m.mple..nosp@m.com.

If a URI address X would be normalized to Y, a successful ContactManager contact request using ContactManager::contactsForUris() for URI address X would result in a contact with Y reported as an address that can identify it in Contact::uris().

Parameters
uriThe URI to normalize.
Returns
A PendingString which will emit PendingString::finished when the uri has been normalized or an error occurred.
See also
normalizeVCardAddress()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/closed.png0000644000175000017500000000020412727270137021246 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDR à‘KIDATxíÝm @!†ÑGk™É7À-`&séts¦Àñþòð@åk}ª2€… P%Á_Ëþ¿N² .:0Dk¥‹Â›x" Ö›)¡xÒ5õIEND®B`‚telepathy-qt-0.9.7/doc/html/a00531_source.html0000644000175000017500000001172212727270137022355 0ustar00kaffeinekaffeine00000000000000 account-capability-filter.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
account-capability-filter.h
1 
23 #ifndef _TelepathyQt_account_capability_filter_h_HEADER_GUARD_
24 #define _TelepathyQt_account_capability_filter_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/GenericCapabilityFilter>
31 
32 namespace Tp
33 {
34 
36 
37 } // Tp
38 
39 #endif
The GenericCapabilityFilter class provides a generic filter object to be used to filter objects by ca...
Definition: generic-capability-filter.h:38
Definition: abstract-adaptor.cpp:31
GenericCapabilityFilter< Account > AccountCapabilityFilter
Definition: account-capability-filter.h:35


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01161.html0000644000175000017500000000473712727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RefCounted Member List

This is the complete list of members for Tp::RefCounted, including all inherited members.

RefCounted()Tp::RefCountedinline
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00804_source.html0000644000175000017500000003407312727270137022364 0ustar00kaffeinekaffeine00000000000000 simple-call-observer.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
simple-call-observer.h
1 
23 #ifndef _TelepathyQt_simple_call_observer_h_HEADER_GUARD_
24 #define _TelepathyQt_simple_call_observer_h_HEADER_GUARD_
25 
26 #include <TelepathyQt/Constants>
27 #include <TelepathyQt/Types>
28 
29 #include <QObject>
30 
31 namespace Tp
32 {
33 
34 class PendingOperation;
35 
36 class TP_QT_EXPORT SimpleCallObserver : public QObject,
37  public RefCounted
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(SimpleCallObserver)
41  Q_FLAGS(CallDirection CallDirections)
42 
43 public:
45  CallDirectionIncoming = 0x01,
46  CallDirectionOutgoing = 0x02,
47  CallDirectionBoth = CallDirectionIncoming | CallDirectionOutgoing
48  };
49  Q_DECLARE_FLAGS(CallDirections, CallDirection)
50 
51  static SimpleCallObserverPtr create(const AccountPtr &account,
52  CallDirection direction = CallDirectionBoth);
53  static SimpleCallObserverPtr create(const AccountPtr &account,
54  const ContactPtr &contact,
55  CallDirection direction = CallDirectionBoth);
56  static SimpleCallObserverPtr create(const AccountPtr &account,
57  const QString &contactIdentifier,
58  CallDirection direction = CallDirectionBoth);
59 
60  virtual ~SimpleCallObserver();
61 
62  AccountPtr account() const;
63  QString contactIdentifier() const;
64  CallDirection direction() const;
65 
66  QList<CallChannelPtr> calls() const;
67  TP_QT_DEPRECATED QList<StreamedMediaChannelPtr> streamedMediaCalls() const;
68 
69 Q_SIGNALS:
70  void callStarted(const Tp::CallChannelPtr &channel);
71  void callEnded(const Tp::CallChannelPtr &channel,
72  const QString &errorName, const QString &errorMessage);
73 
74  void streamedMediaCallStarted(const Tp::StreamedMediaChannelPtr &channel);
75  void streamedMediaCallEnded(const Tp::StreamedMediaChannelPtr &channel,
76  const QString &errorName, const QString &errorMessage);
77 
78 private Q_SLOTS:
79  TP_QT_NO_EXPORT void onNewChannels(const QList<Tp::ChannelPtr> &channels);
80  TP_QT_NO_EXPORT void onChannelInvalidated(const Tp::ChannelPtr &channel,
81  const QString &errorName, const QString &errorMessage);
82 
83 private:
84  TP_QT_NO_EXPORT static SimpleCallObserverPtr create(
85  const AccountPtr &account,
86  const QString &contactIdentifier, bool requiresNormalization,
87  CallDirection direction);
88 
89  TP_QT_NO_EXPORT SimpleCallObserver(const AccountPtr &account,
90  const QString &contactIdentifier, bool requiresNormalization,
91  CallDirection direction);
92 
93  struct Private;
94  friend struct Private;
95  Private *mPriv;
96 };
97 
98 } // Tp
99 
100 #endif
CallDirection
Definition: simple-call-observer.h:44
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The SimpleCallObserver class provides an easy way to track calls in an account and can be optionally ...
Definition: simple-call-observer.h:36
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00505.html0000644000175000017500000033431312727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::StreamedMediaChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Tp::StreamedMediaChannel Class Reference

The StreamedMediaChannel class represents a Telepathy channel of type StreamedMedia. More...

#include <TelepathyQt/StreamedMediaChannel>

Inherits Tp::Channel.

Public Types

enum  StateChangeReason { StateChangeReasonUnknown, StateChangeReasonUserRequested }
 
- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 

Signals

void streamAdded (const Tp::StreamedMediaStreamPtr &stream)
 
void streamRemoved (const Tp::StreamedMediaStreamPtr &stream)
 
void streamDirectionChanged (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamDirection direction, Tp::MediaStreamPendingSend pendingSend)
 
void streamStateChanged (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamState state)
 
void streamError (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamError errorCode, const QString &errorMessage)
 
void localHoldStateChanged (Tp::LocalHoldState state, Tp::LocalHoldStateReason reason)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~StreamedMediaChannel ()
 
bool awaitingLocalAnswer () const
 
bool awaitingRemoteAnswer () const
 
PendingOperationacceptCall ()
 
PendingOperationhangupCall ()
 
StreamedMediaStreams streams () const
 
StreamedMediaStreams streamsForType (MediaStreamType type) const
 
PendingStreamedMediaStreamsrequestStream (const ContactPtr &contact, MediaStreamType type)
 
PendingStreamedMediaStreamsrequestStreams (const ContactPtr &contact, QList< MediaStreamType > types)
 
PendingOperationremoveStream (const StreamedMediaStreamPtr &stream)
 
PendingOperationremoveStreams (const StreamedMediaStreams &streams)
 
bool handlerStreamingRequired () const
 
LocalHoldState localHoldState () const
 
LocalHoldStateReason localHoldStateReason () const
 
PendingOperationrequestHold (bool hold)
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static StreamedMediaChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureStreams
 
static const Feature FeatureLocalHoldState
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 StreamedMediaChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=StreamedMediaChannel::FeatureCore)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The StreamedMediaChannel class represents a Telepathy channel of type StreamedMedia.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Member Enumeration Documentation

Enumerator
StateChangeReasonUnknown 
StateChangeReasonUserRequested 

Constructor & Destructor Documentation

Tp::StreamedMediaChannel::~StreamedMediaChannel ( )
virtual

Class destructor.

Tp::StreamedMediaChannel::StreamedMediaChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = StreamedMediaChannel::FeatureCore 
)
protected

Construct a new StreamedMediaChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on StreamedMediaChannel::FeatureCore.

Member Function Documentation

StreamedMediaChannelPtr Tp::StreamedMediaChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new StreamedMediaChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A StreamedMediaChannelPtr object pointing to the newly created StreamedMediaChannel object.
bool Tp::StreamedMediaChannel::awaitingLocalAnswer ( ) const

Return whether this channel is awaiting local answer.

This method requires StreamedMediaChannel::FeatureCore to be ready.

Returns
true if awaiting local answer, false otherwise.
See also
awaitingRemoteAnswer(), acceptCall()
bool Tp::StreamedMediaChannel::awaitingRemoteAnswer ( ) const

Return whether this channel is awaiting remote answer.

This method requires StreamedMediaChannel::FeatureCore to be ready.

Returns
true if awaiting remote answer, false otherwise.
See also
awaitingLocalAnswer()
PendingOperation * Tp::StreamedMediaChannel::acceptCall ( )

Accept an incoming call.

This method requires StreamedMediaChannel::FeatureCore to be ready.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
awaitingLocalAnswer(), hangupCall()
PendingOperation * Tp::StreamedMediaChannel::hangupCall ( )

Request that the call is ended.

This method requires StreamedMediaChannel::FeatureCore to be ready.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
StreamedMediaStreams Tp::StreamedMediaChannel::streams ( ) const

Return a list of media streams in this channel.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Returns
A list of pointers to StreamedMediaStream objects.
See also
streamAdded(), streamRemoved(), streamsForType(), requestStreams()
StreamedMediaStreams Tp::StreamedMediaChannel::streamsForType ( MediaStreamType  type) const

Return a list of media streams in this channel for the given type type.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Parameters
typeThe interested type.
Returns
A list of pointers to StreamedMediaStream objects.
See also
streamAdded(), streamRemoved(), streams(), requestStreams()
PendingStreamedMediaStreams * Tp::StreamedMediaChannel::requestStream ( const ContactPtr &  contact,
MediaStreamType  type 
)

Request that media streams be established to exchange the given type type of media with the given contact contact.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Returns
A PendingStreamedMediaStreams which will emit PendingStreamedMediaStreams::finished when the call has finished.
See also
streamAdded(), streams(), streamsForType()
PendingStreamedMediaStreams * Tp::StreamedMediaChannel::requestStreams ( const ContactPtr &  contact,
QList< MediaStreamType types 
)

Request that media streams be established to exchange the given types types of media with the given contact contact.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Returns
A PendingStreamedMediaStreams which will emit PendingStreamedMediaStreams::finished when the call has finished.
See also
streamAdded(), streams(), streamsForType()
PendingOperation * Tp::StreamedMediaChannel::removeStream ( const StreamedMediaStreamPtr &  stream)

Remove the specified media stream from this channel.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Parameters
streamMedia stream to remove.
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
streamRemoved(), streams(), streamsForType()
PendingOperation * Tp::StreamedMediaChannel::removeStreams ( const StreamedMediaStreams streams)

Remove the specified media streams from this channel.

This methods requires StreamedMediaChannel::FeatureStreams to be ready.

Parameters
streamsList of media streams to remove.
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
streamRemoved(), streams(), streamsForType()
bool Tp::StreamedMediaChannel::handlerStreamingRequired ( ) const

Check whether media streaming by the handler is required for this channel.

For channels with the TP_QT_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING interface, the main handler of the channel is responsible for doing the actual streaming, for instance by calling createFarsightChannel(channel) from TelepathyQt-Farsight library and using the telepathy-farsight API on the resulting TfChannel.

This method requires StreamedMediaChannel::FeatureCore to be ready.

Returns
true if required, false otherwise.
LocalHoldState Tp::StreamedMediaChannel::localHoldState ( ) const

Return the local hold state for this channel.

Whether the local user has placed this channel on hold.

This method requires StreamedMediaChannel::FeatureHoldState to be ready.

Returns
The local hold state as LocalHoldState.
See also
requestHold(), localHoldStateChanged()
LocalHoldStateReason Tp::StreamedMediaChannel::localHoldStateReason ( ) const

Return the reason why localHoldState() changed to its current value.

This method requires StreamedMediaChannel::FeatureLocalHoldState to be ready.

Returns
The local hold state reason as LocalHoldStateReason.
See also
requestHold(), localHoldStateChanged()
PendingOperation * Tp::StreamedMediaChannel::requestHold ( bool  hold)

Request that the channel be put on hold (be instructed not to send any media streams to you) or be taken off hold.

If the CM can immediately tell that the requested state change could not possibly succeed, the resulting PendingOperation will fail with error code TP_QT_ERROR_NOT_AVAILABLE. If the requested state is the same as the current state, the resulting PendingOperation will finish successfully.

Otherwise, the channel's local hold state will change to LocalHoldStatePendingHold or LocalHoldStatePendingUnhold (as appropriate), then the resulting PendingOperation will finish successfully.

The eventual success or failure of the request is indicated by a subsequent localHoldStateChanged() signal, changing the local hold state to LocalHoldStateHeld or LocalHoldStateUnheld.

If the channel has multiple streams, and the connection manager succeeds in changing the hold state of one stream but fails to change the hold state of another, it will attempt to revert all streams to their previous hold states.

If the channel does not support the TP_QT_IFACE_CHANNEL_INTERFACE_HOLD interface, the PendingOperation will fail with error code TP_QT_ERROR_NOT_IMPLEMENTED.

Parameters
holdA boolean indicating whether or not the channel should be on hold
Returns
A PendingOperation which will emit PendingOperation::finished when the request finishes.
See also
localHoldState(), localHoldStateReason(), localHoldStateChanged()
void Tp::StreamedMediaChannel::streamAdded ( const Tp::StreamedMediaStreamPtr &  stream)
signal

Emitted when a media stream is added to this channel.

Parameters
streamThe media stream that was added.
See also
streams(), streamsForType(), streamRemoved()
void Tp::StreamedMediaChannel::streamRemoved ( const Tp::StreamedMediaStreamPtr &  stream)
signal

Emitted when a media stream is removed from this channel.

Parameters
streamThe media stream that was removed.
See also
streams(), streamsForType(), streamAdded()
void Tp::StreamedMediaChannel::streamDirectionChanged ( const Tp::StreamedMediaStreamPtr &  stream,
Tp::MediaStreamDirection  direction,
Tp::MediaStreamPendingSend  pendingSend 
)
signal

Emitted when a media stream direction changes.

Parameters
streamThe media stream which the direction changed.
directionThe new direction of the stream that changed.
pendingSendThe new pending send flags of the stream that changed.
See also
StreamedMediaStream::direction()
void Tp::StreamedMediaChannel::streamStateChanged ( const Tp::StreamedMediaStreamPtr &  stream,
Tp::MediaStreamState  state 
)
signal

Emitted when a media stream state changes.

Parameters
streamThe media stream which the state changed.
stateThe new state of the stream that changed.
See also
StreamedMediaStream::state()
void Tp::StreamedMediaChannel::streamError ( const Tp::StreamedMediaStreamPtr &  stream,
Tp::MediaStreamError  errorCode,
const QString &  errorMessage 
)
signal

Emitted when an error occurs on a media stream.

Parameters
streamThe media stream which the error occurred.
errorCodeThe error code.
errorMessageThe error message.
void Tp::StreamedMediaChannel::localHoldStateChanged ( Tp::LocalHoldState  state,
Tp::LocalHoldStateReason  reason 
)
signal

Emitted when the local hold state of this channel changes.

Parameters
stateThe new local hold state of this channel.
reasonThe reason why the change occurred.
See also
localHoldState(), localHoldStateReason()

Member Data Documentation

const Feature Tp::StreamedMediaChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the StreamedMediaChannel object usable.

This is currently the same as Channel::FeatureCore, but may change to include more.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.

See also
awaitingLocalAnswer(), awaitingRemoteAnswer(), acceptCall(), hangupCall(), handlerStreamingRequired()
const Feature Tp::StreamedMediaChannel::FeatureStreams
static

Feature used in order to access media stream specific methods.

See media stream specific methods' documentation for more details.

See also
streams(), streamsForType(), requestStream(), requestStreams(), streamAdded() removeStream(), removeStreams(), streamRemoved(), streamDirectionChanged(), streamStateChanged(), streamError()
const Feature Tp::StreamedMediaChannel::FeatureLocalHoldState
static

Feature used in order to access local hold state info.

See local hold state specific methods' documentation for more details.

See also
localHoldState(), localHoldStateReason(), requestHold(), localHoldStateChanged()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01220.html0000644000175000017500000002270412727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AccountInterfaceStorageInterface Member List

This is the complete list of members for Tp::Client::AccountInterfaceStorageInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AccountInterfaceStorageInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceStorageInterface
AccountInterfaceStorageInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountInterfaceStorageInterface
AccountInterfaceStorageInterface(Tp::DBusProxy *proxy)Tp::Client::AccountInterfaceStorageInterface
AccountInterfaceStorageInterface(const Tp::Client::AccountInterface &mainInterface)Tp::Client::AccountInterfaceStorageInterfaceexplicit
AccountInterfaceStorageInterface(const Tp::Client::AccountInterface &mainInterface, QObject *parent)Tp::Client::AccountInterfaceStorageInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AccountInterfaceStorageInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::AccountInterfaceStorageInterfaceinline
requestPropertyStorageIdentifier() const Tp::Client::AccountInterfaceStorageInterfaceinline
requestPropertyStorageProvider() const Tp::Client::AccountInterfaceStorageInterfaceinline
requestPropertyStorageRestrictions() const Tp::Client::AccountInterfaceStorageInterfaceinline
requestPropertyStorageSpecificInformation() const Tp::Client::AccountInterfaceStorageInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::AccountInterfaceStorageInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00004.html0000644000175000017500000001035512727270137020771 0ustar00kaffeinekaffeine00000000000000 Callbacks Usage
   Home · All Classes · All Namespaces · Modules · Functions · Files
Callbacks Usage

Overview

Callbacks are used in Telepathy-Qt by the service side high-level APIs to expose methods that may/should be overriden in implementations.

Ideally we would use virtual methods for this, but as new methods can be added freely (when interfaces change), we would not be able to guarantee a stable API/ABI. Other options, such as virtual padding, virtual_hook and Qt slots also have their own drawbacks.

There are 8 Callback classes, Tp::Callback0 to Tp::Callback7, which define a callback with 0 to 7 arguments respectively. The first template argument is always the return value type and the rest template arguments are the types of the callback arguments in the order that they are passed to the callback.

Callback classes can be constructed from a functor. To make it easy to use function pointers as functors, Telepathy-Qt also provides two helper functions, Tp::memFun and Tp::ptrFun.

Here is an example of their usage:

// assuming a member function QString MyImpl::myFunc(const QString & s, int i);
// assuming a non-member or static member function QString myFunc(const QString & s, int i);
// assuming Tp::BaseConnectionPtr MyProtocolImpl::createConnection(const QVariantMap &parameters, DBusError *error);
myBaseProtocol->setCreateConnectionCallback(Tp::memFun(myProtocolImpl, &MyProtocolImpl::createConnection));

You are also free to use any other mechanism for constructing functors, such as boost::bind, C++11's <functional> module or even C++11 lambda functions.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00800_source.html0000644000175000017500000004573212727270137022364 0ustar00kaffeinekaffeine00000000000000 service-types.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
service-types.h
1 
23 #ifndef _TelepathyQt_service_types_h_HEADER_GUARD_
24 #define _TelepathyQt_service_types_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Types>
31 
32 namespace Tp
33 {
34 
35 class AbstractProtocolInterface;
36 class AbstractCallContentInterface;
37 class AbstractConnectionInterface;
38 class AbstractChannelInterface;
39 class BaseCallContent;
40 class BaseCallMuteInterface;
41 class BaseCallContentDTMFInterface;
42 class BaseConnection;
43 class BaseConnectionRequestsInterface;
44 class BaseConnectionContactsInterface;
45 class BaseConnectionSimplePresenceInterface;
46 class BaseConnectionContactListInterface;
47 class BaseConnectionContactInfoInterface;
48 class BaseConnectionAddressingInterface;
49 class BaseConnectionAliasingInterface;
50 class BaseConnectionAvatarsInterface;
51 class BaseConnectionClientTypesInterface;
52 class BaseConnectionContactCapabilitiesInterface;
53 class BaseConnectionManager;
54 class BaseProtocol;
55 class BaseProtocolAddressingInterface;
56 class BaseProtocolAvatarsInterface;
57 class BaseProtocolPresenceInterface;
58 class BaseChannel;
59 class BaseChannelTextType;
60 class BaseChannelCallType;
61 class BaseChannelMessagesInterface;
62 class BaseChannelFileTransferType;
63 class BaseChannelRoomListType;
64 class BaseChannelServerAuthenticationType;
65 class BaseChannelSASLAuthenticationInterface;
66 class BaseChannelCaptchaAuthenticationInterface;
67 class BaseChannelSecurableInterface;
68 class BaseChannelChatStateInterface;
69 class BaseChannelGroupInterface;
70 class BaseChannelRoomInterface;
71 class BaseChannelRoomConfigInterface;
72 class BaseChannelHoldInterface;
73 class BaseChannelMergeableConferenceInterface;
74 class BaseChannelSplittableInterface;
75 class BaseChannelSMSInterface;
76 class BaseChannelConferenceInterface;
77 class DBusService;
78 
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80 
81 typedef SharedPtr<AbstractProtocolInterface> AbstractProtocolInterfacePtr;
82 typedef SharedPtr<AbstractCallContentInterface> AbstractCallContentInterfacePtr;
83 typedef SharedPtr<AbstractConnectionInterface> AbstractConnectionInterfacePtr;
84 typedef SharedPtr<AbstractChannelInterface> AbstractChannelInterfacePtr;
85 typedef SharedPtr<BaseCallContent> BaseCallContentPtr;
86 typedef SharedPtr<BaseCallContentDTMFInterface> BaseCallContentDTMFInterfacePtr;
87 typedef SharedPtr<BaseCallMuteInterface> BaseCallMuteInterfacePtr;
88 typedef SharedPtr<BaseConnection> BaseConnectionPtr;
89 typedef SharedPtr<BaseConnectionRequestsInterface> BaseConnectionRequestsInterfacePtr;
90 typedef SharedPtr<BaseConnectionContactsInterface> BaseConnectionContactsInterfacePtr;
91 typedef SharedPtr<BaseConnectionSimplePresenceInterface> BaseConnectionSimplePresenceInterfacePtr;
92 typedef SharedPtr<BaseConnectionContactListInterface> BaseConnectionContactListInterfacePtr;
93 typedef SharedPtr<BaseConnectionContactInfoInterface> BaseConnectionContactInfoInterfacePtr;
94 typedef SharedPtr<BaseConnectionAddressingInterface> BaseConnectionAddressingInterfacePtr;
95 typedef SharedPtr<BaseConnectionAliasingInterface> BaseConnectionAliasingInterfacePtr;
96 typedef SharedPtr<BaseConnectionAvatarsInterface> BaseConnectionAvatarsInterfacePtr;
97 typedef SharedPtr<BaseConnectionClientTypesInterface> BaseConnectionClientTypesInterfacePtr;
98 typedef SharedPtr<BaseConnectionContactCapabilitiesInterface> BaseConnectionContactCapabilitiesInterfacePtr;
99 typedef SharedPtr<BaseConnectionManager> BaseConnectionManagerPtr;
100 typedef SharedPtr<BaseProtocol> BaseProtocolPtr;
101 typedef SharedPtr<BaseProtocolAddressingInterface> BaseProtocolAddressingInterfacePtr;
102 typedef SharedPtr<BaseProtocolAvatarsInterface> BaseProtocolAvatarsInterfacePtr;
103 typedef SharedPtr<BaseProtocolPresenceInterface> BaseProtocolPresenceInterfacePtr;
104 typedef SharedPtr<BaseChannel> BaseChannelPtr;
105 typedef SharedPtr<BaseChannelCallType> BaseChannelCallTypePtr;
106 typedef SharedPtr<BaseChannelTextType> BaseChannelTextTypePtr;
107 typedef SharedPtr<BaseChannelMessagesInterface> BaseChannelMessagesInterfacePtr;
108 typedef SharedPtr<BaseChannelFileTransferType> BaseChannelFileTransferTypePtr;
109 typedef SharedPtr<BaseChannelRoomListType> BaseChannelRoomListTypePtr;
110 typedef SharedPtr<BaseChannelServerAuthenticationType> BaseChannelServerAuthenticationTypePtr;
111 typedef SharedPtr<BaseChannelSASLAuthenticationInterface> BaseChannelSASLAuthenticationInterfacePtr;
112 typedef SharedPtr<BaseChannelCaptchaAuthenticationInterface> BaseChannelCaptchaAuthenticationInterfacePtr;
113 typedef SharedPtr<BaseChannelSecurableInterface> BaseChannelSecurableInterfacePtr;
114 typedef SharedPtr<BaseChannelChatStateInterface> BaseChannelChatStateInterfacePtr;
115 typedef SharedPtr<BaseChannelGroupInterface> BaseChannelGroupInterfacePtr;
116 typedef SharedPtr<BaseChannelRoomInterface> BaseChannelRoomInterfacePtr;
117 typedef SharedPtr<BaseChannelRoomConfigInterface> BaseChannelRoomConfigInterfacePtr;
118 typedef SharedPtr<BaseChannelHoldInterface> BaseChannelHoldInterfacePtr;
119 typedef SharedPtr<BaseChannelMergeableConferenceInterface> BaseChannelMergeableConferenceInterfacePtr;
120 typedef SharedPtr<BaseChannelSplittableInterface> BaseChannelSplittableInterfacePtr;
121 typedef SharedPtr<BaseChannelSMSInterface> BaseChannelSMSInterfacePtr;
122 typedef SharedPtr<BaseChannelConferenceInterface> BaseChannelConferenceInterfacePtr;
123 typedef SharedPtr<DBusService> DBusServicePtr;
124 
125 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
126 
127 } // Tp
128 
129 #endif
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_l.html0000644000175000017500000000373412727270137023546 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- l -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00319.html0000644000175000017500000024432512727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::DBusTubeChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Tp::DBusTubeChannel Class Reference

The DBusTubeChannel class represents a Telepathy channel of type DBusTube. More...

#include <TelepathyQt/DBusTubeChannel>

Inherits Tp::TubeChannel.

Inherited by Tp::IncomingDBusTubeChannel, and Tp::OutgoingDBusTubeChannel.

Signals

void busNameAdded (const QString &busName, const Tp::ContactPtr &contact)
 
void busNameRemoved (const QString &busName, const Tp::ContactPtr &contact)
 
- Signals inherited from Tp::TubeChannel
void stateChanged (Tp::TubeChannelState state)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~DBusTubeChannel ()
 
QString serviceName () const
 
bool supportsRestrictingToCurrentUser () const
 
QHash< QString, Tp::ContactPtr > contactsForBusNames () const
 
QString address () const
 
- Public Member Functions inherited from Tp::TubeChannel
virtual ~TubeChannel ()
 
TubeChannelState state () const
 
QVariantMap parameters () const
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static DBusTubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::TubeChannel
static TubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureBusNameMonitoring
 
- Static Public Attributes inherited from Tp::TubeChannel
static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 DBusTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Protected Member Functions inherited from Tp::TubeChannel
 TubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)
 
void setParameters (const QVariantMap &parameters)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The DBusTubeChannel class represents a Telepathy channel of type DBusTube.

It provides a private bus which can be used as a peer-to-peer connection in case of a Contact Channel, or as a full-fledged bus in case of a Room Channel.

DBusTubeChannel is an intermediate base class; OutgoingDBusTubeChannel and IncomingDBusTubeChannel are the specialized classes used for locally and remotely initiated tubes respectively.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::DBusTubeChannel::~DBusTubeChannel ( )
virtual

Class destructor.

Tp::DBusTubeChannel::DBusTubeChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
protected

Construct a new DBusTubeChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe object path of this channel.
immutablePropertiesThe immutable properties of this channel.

Member Function Documentation

DBusTubeChannelPtr Tp::DBusTubeChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new DBusTubeChannel channel.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe object path of this channel.
immutablePropertiesThe immutable properties of this channel.
Returns
A DBusTubeChannelPtr object pointing to the newly created DBusTubeChannel object.
QString Tp::DBusTubeChannel::serviceName ( ) const

Returns the service name which will be used over the tube. This should be a well-known and valid DBus service name, in the form "org.my.service".

This method requires DBusTubeChannel::FeatureCore to be enabled.

Returns
the service name that will be used over the tube
bool Tp::DBusTubeChannel::supportsRestrictingToCurrentUser ( ) const

Checks if this tube is capable to accept or offer a private bus which will allow connections only from the current user

This method is useful only if your appliance is really security-sensitive: in general, this restriction is always enabled by default on all tubes offered or accepted from Telepathy-Qt, falling back to a general connection allowance if this feature is not available.

If your application does not have specific needs regarding DBus credentials, you can trust Telepathy-Qt to do the right thing - in any case, the most secure method available will be used by default.

This method requires DBusTubeChannel::FeatureCore to be enabled.

Returns
Whether this DBus tube is capable to accept or offer a private bus restricting access to it to the current user only.
See also
IncomingDBusTubeChannel::acceptTube
OutgoingDBusTubeChannel::offerTube
QHash< QString, Tp::ContactPtr > Tp::DBusTubeChannel::contactsForBusNames ( ) const

This function returns all the known active bus names in this tube. It requires FeatureBusNameMonitoring to be activated; however, even a late activation of the feature will make this function return a full list of all the connected bus names, including the ones which appeared before the activation of the feature itself.

This function will always return an empty hash in case the tube is p2p, even if FeatureBusNameMonitoring has been activated.

This method requires FeatureBusNameMonitoring to be enabled.

Returns
A list of active connection ids known to this tube
QString Tp::DBusTubeChannel::address ( ) const

If the tube has been opened, this function returns the private bus address you should be connecting to for using this tube.

Please note this function will return a meaningful value only if the tube has already been opened successfully: in case of failure or the tube being still pending, an empty QString will be returned.

Note
If you plan to use QtDBus for the DBus connection, please note you should always use QDBusConnection::connectToPeer(), regardless of the fact this tube is a p2p or a group one. The above function has been introduced in Qt 4.8, previous versions of Qt do not allow the use of DBus Tubes through QtDBus.
Returns
The address of the private bus opened by this tube
void Tp::DBusTubeChannel::busNameAdded ( const QString &  busName,
const Tp::ContactPtr &  contact 
)
signal

Emitted when a new participant joins this tube.

This signal will be emitted only if the tube is a group tube (not p2p), and if the FeatureBusNameMonitoring feature has been enabled.

Parameters
busNameThe bus name of the new participant
contactThe ContactPtr identifying the participant
void Tp::DBusTubeChannel::busNameRemoved ( const QString &  busName,
const Tp::ContactPtr &  contact 
)
signal

Emitted when a participant leaves this tube.

This signal will be emitted only if the tube is a group tube (not p2p), and if the FeatureBusNameMonitoring feature has been enabled.

Parameters
busNameThe bus name of the participant leaving
contactThe ContactPtr identifying the participant

Member Data Documentation

const Feature Tp::DBusTubeChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the DBusTubeChannel object usable.

Note that this feature must be enabled in order to use most DBusTubeChannel methods. See specific methods documentation for more details.

const Feature Tp::DBusTubeChannel::FeatureBusNameMonitoring
static

Feature used in order to monitor bus names in this DBus tube.

See bus name monitoring specific methods' documentation for more details.

See also
busNameAdded(), busNameRemoved()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00073.html0000644000175000017500000006270112727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelChatStateInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelChatStateInterface Class Reference

Base class for implementations of Channel.Interface.Chat.State. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, uint, DBusError * > SetChatStateCallback
 

Public Member Functions

virtual ~BaseChannelChatStateInterface ()
 
QVariantMap immutableProperties () const
 
Tp::ChatStateMap chatStates () const
 
void setChatStates (const Tp::ChatStateMap &chatStates)
 
void setSetChatStateCallback (const SetChatStateCallback &cb)
 
void setChatState (uint state, DBusError *error)
 
void chatStateChanged (uint contact, uint state)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelChatStateInterfacePtr create ()
 
template<typename BaseChannelChatStateInterfaceSubclass >
static SharedPtr< BaseChannelChatStateInterfaceSubclass > create ()
 

Protected Member Functions

 BaseChannelChatStateInterface ()
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Chat.State.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelChatStateInterface::~BaseChannelChatStateInterface ( )
virtual

Class destructor.

Tp::BaseChannelChatStateInterface::BaseChannelChatStateInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseChannelChatStateInterfacePtr Tp::BaseChannelChatStateInterface::create ( )
inlinestatic
template<typename BaseChannelChatStateInterfaceSubclass >
static SharedPtr<BaseChannelChatStateInterfaceSubclass> Tp::BaseChannelChatStateInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelChatStateInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::ChatStateMap Tp::BaseChannelChatStateInterface::chatStates ( ) const
void Tp::BaseChannelChatStateInterface::setChatStates ( const Tp::ChatStateMap chatStates)
void Tp::BaseChannelChatStateInterface::setSetChatStateCallback ( const SetChatStateCallback cb)
void Tp::BaseChannelChatStateInterface::setChatState ( uint  state,
DBusError error 
)
void Tp::BaseChannelChatStateInterface::chatStateChanged ( uint  contact,
uint  state 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01034.html0000644000175000017500000001345012727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusService Member List

This is the complete list of members for Tp::DBusService, including all inherited members.

busName() const Tp::DBusService
dbusConnection() const Tp::DBusService
dbusObject() const Tp::DBusService
DBusService(const QDBusConnection &dbusConnection)Tp::DBusService
immutableProperties() const =0Tp::DBusServicepure virtual
isRegistered() const Tp::DBusService
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusService
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerObject(const QString &busName, const QString &objectPath, DBusError *error)Tp::DBusServiceprotectedvirtual
~DBusService()Tp::DBusServicevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00889.html0000644000175000017500000001642312727270137021020 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractChannelInterface Member List

This is the complete list of members for Tp::AbstractChannelInterface, including all inherited members.

AbstractChannelInterface(const QString &interfaceName)Tp::AbstractChannelInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
close()Tp::AbstractChannelInterfaceprotectedvirtual
createAdaptor()=0Tp::AbstractDBusServiceInterfaceprotectedpure virtual
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const =0Tp::AbstractDBusServiceInterfacepure virtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseChannel(BaseChannel *channel)Tp::AbstractChannelInterfaceprotectedvirtual
~AbstractChannelInterface()Tp::AbstractChannelInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00388.html0000644000175000017500000001504512727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::Metadata Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Metadata Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QStringList >.

Public Member Functions

 Metadata ()
 
 Metadata (const QMap< QString, QStringList > &a)
 
Metadataoperator= (const QMap< QString, QStringList > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QStringList>, but needed to have a discrete type in the Qt type system.

A mapping from string key to a list of strings, used in the Metadata property. To emulate a simple string → string hash table one should have exactly one member in the value string list. This property is an a{sas} primarily because this maps easily to XEP-0004 Data Forms, and allows more structured metadata than a{ss} would. (For instance, a list of RDF triples could be expressed as one long array of strings, or as three-element values for a series of dummy key names, rather than as one big string blob.) While it might be convenient for applications to allow keys of arbitrary types, the added convenience would be outweighed by having to define the XMPP representation

Constructor & Destructor Documentation

Tp::Metadata::Metadata ( )
inline
Tp::Metadata::Metadata ( const QMap< QString, QStringList > &  a)
inline

Member Function Documentation

Metadata& Tp::Metadata::operator= ( const QMap< QString, QStringList > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01349.html0000644000175000017500000001315412727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelTypeTextAdaptor Member List

This is the complete list of members for Tp::Service::ChannelTypeTextAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
AcknowledgePendingMessages(const Tp::UIntList &IDs, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeTextAdaptorslot
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetMessageTypes(const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeTextAdaptorslot
ListPendingMessages(bool clear, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeTextAdaptorslot
LostMessage()Tp::Service::ChannelTypeTextAdaptorsignal
Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString &text)Tp::Service::ChannelTypeTextAdaptorsignal
Send(uint type, const QString &text, const QDBusMessage &dbusMessage)Tp::Service::ChannelTypeTextAdaptorslot
SendError(uint error, uint timestamp, uint type, const QString &text)Tp::Service::ChannelTypeTextAdaptorsignal
Sent(uint timestamp, uint type, const QString &text)Tp::Service::ChannelTypeTextAdaptorsignal
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00132.html0000644000175000017500000001464212727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::CallStateReason Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::CallStateReason Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint actor
 
uint reason
 
QString DBusReason
 
QString message
 

Detailed Description

Structure type generated from the specification.

A description of the reason for a change to the CallState and/or CallFlags .

Member Data Documentation

uint Tp::CallStateReason::actor

The contact responsible for the change, or 0 if no contact was responsible.

uint Tp::CallStateReason::reason

The reason, chosen from a limited set of possibilities defined by the Telepathy specification. If User_Requested then the Actor member will dictate whether it was the local user or a remote contact responsible.

QString Tp::CallStateReason::DBusReason

A specific reason for the change, which may be a D-Bus error in the Telepathy namespace, a D-Bus error in any other namespace (for implementation-specific errors), or the empty string to indicate that the state change was not an error.

This SHOULD be an empty string for changes to any state other than Ended.

The errors Cancelled and Terminated SHOULD NOT be used here; an empty string SHOULD be used instead.

Those error names are used to indicate normal call termination by the local user or another user, respectively, in contexts where a D-Bus error name must appear.

QString Tp::CallStateReason::message

An optional debug message, to expediate debugging the potentially many processes involved in a call. This may be communicated across the network in protocols that support doing so, but it is not essential.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00948.html0000644000175000017500000002347712727270137021023 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionManager Member List

This is the complete list of members for Tp::BaseConnectionManager, including all inherited members.

addProtocol(const BaseProtocolPtr &protocol)Tp::BaseConnectionManager
BaseConnectionManager(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseConnectionManagerprotected
busName() const Tp::DBusService
connections() const Tp::BaseConnectionManager
create(const QString &name)Tp::BaseConnectionManagerinlinestatic
create(const QString &name)Tp::BaseConnectionManagerinlinestatic
create(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseConnectionManagerinlinestatic
create(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseConnectionManagerinlinestatic
dbusConnection() const Tp::DBusService
dbusObject() const Tp::DBusService
DBusService(const QDBusConnection &dbusConnection)Tp::DBusService
hasProtocol(const QString &protocolName) const Tp::BaseConnectionManager
immutableProperties() const Tp::BaseConnectionManagervirtual
isRegistered() const Tp::DBusService
name() const Tp::BaseConnectionManager
newConnection(const BaseConnectionPtr &connection)Tp::BaseConnectionManagersignal
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusService
propertyChanged(const QString &propertyName)Tp::Objectsignal
protocol(const QString &protocolName) const Tp::BaseConnectionManager
protocols() const Tp::BaseConnectionManager
RefCounted()Tp::RefCountedinline
registerObject(DBusError *error=NULL)Tp::BaseConnectionManager
registerObject(const QString &busName, const QString &objectPath, DBusError *error)Tp::BaseConnectionManagerprotectedvirtual
~BaseConnectionManager()Tp::BaseConnectionManagervirtual
~DBusService()Tp::DBusServicevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00447.html0000644000175000017500000015154312727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ProtocolInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ProtocolInterface Class Reference

#include <TelepathyQt/ConnectionManager>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QString > IdentifyAccount (const QVariantMap &parameters, int timeout=-1)
 
QDBusPendingReply< QString > NormalizeContact (const QString &contactID, int timeout=-1)
 

Public Member Functions

 ProtocolInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterface (Tp::DBusProxy *proxy)
 
 ProtocolInterface (const Tp::Client::ConnectionManagerInterface &mainInterface)
 
 ProtocolInterface (const Tp::Client::ConnectionManagerInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyInterfaces () const
 
Tp::PendingVariantrequestPropertyParameters () const
 
Tp::PendingVariantrequestPropertyConnectionInterfaces () const
 
Tp::PendingVariantrequestPropertyRequestableChannelClasses () const
 
Tp::PendingVariantrequestPropertyVCardField () const
 
Tp::PendingVariantrequestPropertyEnglishName () const
 
Tp::PendingVariantrequestPropertyIcon () const
 
Tp::PendingVariantrequestPropertyAuthenticationTypes () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Protocol".

Constructor & Destructor Documentation

Tp::Client::ProtocolInterface::ProtocolInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ProtocolInterface 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.
Tp::Client::ProtocolInterface::ProtocolInterface ( Tp::DBusProxy proxy)

Creates a ProtocolInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ProtocolInterface::ProtocolInterface ( const Tp::Client::ConnectionManagerInterface mainInterface)
explicit

Creates a ProtocolInterface 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.
Tp::Client::ProtocolInterface::ProtocolInterface ( const Tp::Client::ConnectionManagerInterface mainInterface,
QObject *  parent 
)

Creates a ProtocolInterface 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 Tp::Client::ProtocolInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Protocol", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyInterfaces ( ) const
inline

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

A list of interfaces supported by this Protocol object.

This property should not be confused with ConnectionInterfaces , which refers to the interfaces of connections to this protocol.

Connection managers with a .manager file (as described as part of the ConnectionManagerInterface interface) MUST cache this property in the protocol's section of the .manager file, using the key Interfaces. The corresponding value is a list of D-Bus interface names, each followed by a semicolon.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyParameters ( ) const
inline

Asynchronous getter for the remote object property Parameters of type Tp::ParamSpecList.

The parameters which may be specified in the AccountInterface::Parameters of an AccountInterface (or, for specialised applications which do not use the account manager, passed to ConnectionManagerInterface::RequestConnection() ). Some parameters are mandatory, and some parameters only make sense when registering new accounts with the server; see the Param_Spec documentation for more details.

Connection managers with a .manager file (as described as part of the ConnectionManagerInterface interface) MUST cache this property in the protocol's section of the .manager file via keys of the form param-p and default-p, as documented in the ConnectionManagerInterface interface.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyConnectionInterfaces ( ) const
inline

Asynchronous getter for the remote object property ConnectionInterfaces of type QStringList.

A list of interface names which might be in the ConnectionInterface::Interfaces property of a ConnectionInterface to this protocol. Whether a Connection will have all, some or none of these interfaces depends on server capabilities.

This property should not be confused with Interfaces .

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file, using the key ConnectionInterfaces. The corresponding value is a list of D-Bus interface names, each followed by a semicolon.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyRequestableChannelClasses ( ) const
inline

Asynchronous getter for the remote object property RequestableChannelClasses of type Tp::RequestableChannelClassList.

A list of channel classes which might be requestable from a ConnectionInterface to this protocol (i.e. they will, or might, appear in the Connection's ConnectionInterfaceRequestsInterface::RequestableChannelClasses property).

Whether a Connection will have all, some or none of these requestable channel classes depends on server capabilities; similarly, individual contacts are not guaranteed to support all of these channel classes.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file, using the key RequestableChannelClasses. The corresponding value is a list of opaque strings, each followed by a semicolon; each of those strings is the name of a group in the .manager file which represents a channel class.

The names of the groups representing channel classes are not significant, and MUST NOT be interpreted. When writing .manager files, authors MAY choose mnemonic group names, generate group names mechanically (e.g. with an incrementing integer), or use some combination of these.

Each group representing a channel class has a key allowed which is a list of D-Bus property names representing allowed parameters. Any other keys that do not contain a space MUST be ignored. Any key containing a space represents a fixed property; the key has the form "propertyname type", and the value is encoded in the same way as for the default-p keys described in the ConnectionManagerInterface documentation.

Connection managers that have channel classes whose fixed properties are not representable in this form SHOULD NOT have .manager files.

For instance, this .manager file could represent a connection manager that supports 1-1 Text messages and StreamedMedia audio calls:

[Protocol jabber]
param-account=s required
param-password=s required
RequestableChannelClasses=rcc0;rcc1;

[rcc0]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.Text
org.freedesktop.Telepathy.Channel.TargetHandleType u=1
allowed=org.freedesktop.Telepathy.Channel.TargetHandle;org.freedesktop.Telepathy.Channel.TargetID;

[rcc1]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.StreamedMedia
org.freedesktop.Telepathy.Channel.TargetHandleType u=1
allowed=org.freedesktop.Telepathy.Channel.TargetHandle;org.freedesktop.Telepathy.Channel.TargetID;org.freedesktop.Telepathy.Channel.Type.StreamedMedia.InitialAudio;

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyVCardField ( ) const
inline

Asynchronous getter for the remote object property VCardField of type QString.

The name of the most common vCard field used for this protocol's contact identifiers, normalized to lower case, or the empty string if there is no such field.

For example, this would be x-jabber for Jabber/XMPP (including Google Talk), or tel for the PSTN.

A more exhaustive list of addressable vCard fields can be found in the Protocol's Addressing interface's ProtocolInterfaceAddressingInterface::AddressableVCardFields .

It is not necessarily valid to interpret contacts' identifiers as values of this vCard field. For instance, telepathy-sofiasip supports contacts whose identifiers are of the form sip:jenny@example.com or tel:8675309, which would not normally both be represented by any single vCard field. Arbitrary handles/identifiers as vCard fields are represented through the Connection's ConnectionInterfaceAddressingInterface contact attributes.

This is taken from Mission Control profiles as used on Maemo 5. One valid use of this field is to answer the question: given a contact's vCard containing an X-JABBER field, how can you communicate with the contact? By iterating through protocols looking for an x-jabber VCardField, one can build up a list of protocols that handle x-jabber, then offer the user a list of accounts for those protocols and/or the option to create a new account for one of those protocols.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key VCardField. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyEnglishName ( ) const
inline

Asynchronous getter for the remote object property EnglishName of type QString.

The name of the protocol in a form suitable for display to users, such as "AIM" or "Yahoo!", or the empty string if none is available.

This is effectively in the C locale (international English); user interfaces requiring a localized protocol name SHOULD look one up in their own message catalog based on either the Telepathy Protocol name or this property, but SHOULD use this English version as a fallback if no translated version can be found.

Many protocols are named after a company or product which isn't translated in non-English locales. This also provides a fallback display name, for UIs with no prior knowledge of a particular protocol.

If this property's value is empty, clients MAY fall back to using the Telepathy Protocol name, possibly with its capitalization adjusted.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key EnglishName. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyIcon ( ) const
inline

Asynchronous getter for the remote object property Icon of type QString.

The name of an icon in the system's icon theme, such as "im-msn", or the empty string.

This can be used as a default if the AccountInterface::Icon property is not set on an Account, or used by the AccountManagerInterface to choose a default icon if none is set during account creation.

If this property's value is empty, clients MAY fall back to generating a name based on the Protocol name.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key Icon. The corresponding value is a string, following the syntax of the "localestring" type from the Desktop Entry Specification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterface::requestPropertyAuthenticationTypes ( ) const
inline

Asynchronous getter for the remote object property AuthenticationTypes of type QStringList.

A list of D-Bus interfaces which provide information as to what kind of authentication channels can possibly appear before the connection reaches the CONNECTED state.

These can either be channel types, or where the channel type isn't enough information to be useful, interfaces indicating a specific use of a channel type. For example, ChannelTypeServerTLSConnectionInterface channels are obviously about TLS certificates so the channel type would appear in this list. However, a ChannelTypeServerAuthenticationInterface channel type alone does not explain enough about the authentication type in use as it is merely a base for the channel interfaces that appear in said channels. In this case, CMs should use the value of the ChannelTypeServerAuthenticationInterface::AuthenticationMethod property in this list.

For example, if a protocol's AuthenticationTypes contains two values:

[ ...  ChannelTypeServerTLSConnectionInterface ,
  ...  ChannelInterfaceSASLAuthenticationInterface ]

This tells a client that before the connection status reached CONNECTED, a ChannelTypeServerTLSConnectionInterface could appear carrying a TLS certificate. It also tells the client that before the connection status reaches CONNECTED, a ChannelTypeServerAuthenticationInterface channel could also appear, where ChannelTypeServerAuthenticationInterface::AuthenticationMethod = ChannelInterfaceSASLAuthenticationInterface . A hypothetical future Channel.Interface.Captcha interface would also appear in this list if the CM might require the user solve a captcha before connecting.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ProtocolInterface::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<QString> Tp::Client::ProtocolInterface::IdentifyAccount ( const QVariantMap &  parameters,
int  timeout = -1 
)
inlineslot

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

Return a string which uniquely identifies the account to which the given parameters would connect.

For many protocols, this would return the well-known 'account' parameter. However, for IRC the returned string would be composed from the 'account' (i.e. nickname) and 'server' parameters. AccountManager implementations can use this to form the account-specific part of an Account's object path.

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

Parameters
parameters
A set of parameters as would be provided to RequestConnection
timeoutThe timeout in milliseconds.
Returns
An opaque string suitable for use as the account-specific part of 
an Account&apos;s object path. This is not necessarily globally 
unique, but should represent a &quot;best-effort&quot; 
identification of the account. For a pathological case, consider a 
user signing in as &apos;me@example.com&apos; with 
&apos;server&apos; set to either jabber1.example.com or 
jabber2.example.com. Both of these should result in me@example.com 
being returned from this method, even if the user can actually be 
signed in to those two servers simultaneously.
QDBusPendingReply<QString> Tp::Client::ProtocolInterface::NormalizeContact ( const QString &  contactID,
int  timeout = -1 
)
inlineslot

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

Attempt to normalize the given contact ID. Where possible, this SHOULD return the same thing that would be returned by InspectHandles(RequestHandles(CONTACT, [Contact_ID])) on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

One common example of a best-effort offline normalization differing from the ideal normalization is XMPP.

On XMPP, contacts' JIDs should normally have the resource removed during normalization, but for contacts in a MUC (chatroom), the resource is an integral part of the JID - so the contact JID alice@example.com/Empathy should normalize to alice@example.com, but the in-MUC JID wonderland@conference.example.com/Alice should normalize to itself.

While online, the connection manager has enough context to know which chatrooms the user is in, and can infer from that whether to remove resources, but the best-effort normalization performed while offline does not have this context, so the best that can be done is to remove the resource from all JIDs.

This method MAY simply raise NotImplemented on some protocols.

In link-local XMPP, you can't talk to someone who isn't present on your local network, so normalizing identifiers in advance is meaningless.

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

Parameters
contactID
The identifier of a contact in this protocol
timeoutThe timeout in milliseconds.
Returns
The identifier of a contact in this protocol, normalized as much as 
possible
void Tp::Client::ProtocolInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01162.html0000644000175000017500000004315612727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ReferencedHandles Member List

This is the complete list of members for Tp::ReferencedHandles, including all inherited members.

append(const ReferencedHandles &another)Tp::ReferencedHandlesinline
at(int i) const Tp::ReferencedHandles
back() const Tp::ReferencedHandlesinline
begin() const Tp::ReferencedHandles
clear()Tp::ReferencedHandles
connection() const Tp::ReferencedHandles
const_iterator typedefTp::ReferencedHandles
const_pointer typedefTp::ReferencedHandles
const_reference typedefTp::ReferencedHandles
constBegin() const Tp::ReferencedHandlesinline
constEnd() const Tp::ReferencedHandlesinline
ConstIterator typedefTp::ReferencedHandles
contains(uint handle) const Tp::ReferencedHandles
count(uint handle) const Tp::ReferencedHandles
count() const Tp::ReferencedHandlesinline
difference_type typedefTp::ReferencedHandles
empty() const Tp::ReferencedHandlesinline
end() const Tp::ReferencedHandles
endsWith(uint handle) const Tp::ReferencedHandlesinline
first() const Tp::ReferencedHandlesinline
front() const Tp::ReferencedHandlesinline
handleType() const Tp::ReferencedHandles
indexOf(uint handle, int from=0) const Tp::ReferencedHandles
isEmpty() const Tp::ReferencedHandles
last() const Tp::ReferencedHandlesinline
lastIndexOf(uint handle, int from=-1) const Tp::ReferencedHandles
length() const Tp::ReferencedHandlesinline
mid(int pos, int length=-1) const Tp::ReferencedHandles
move(int from, int to)Tp::ReferencedHandles
operator!=(const ReferencedHandles &another) const Tp::ReferencedHandlesinline
operator!=(const UIntList &another) const Tp::ReferencedHandlesinline
operator+(const ReferencedHandles &another) const Tp::ReferencedHandles
operator+=(const ReferencedHandles &another)Tp::ReferencedHandlesinline
operator<<(const ReferencedHandles &another)Tp::ReferencedHandlesinline
operator=(const ReferencedHandles &another)Tp::ReferencedHandles
operator==(const ReferencedHandles &another) const Tp::ReferencedHandles
operator==(const UIntList &list) const Tp::ReferencedHandles
operator[](int i) const Tp::ReferencedHandlesinline
pointer typedefTp::ReferencedHandles
pop_back()Tp::ReferencedHandlesinline
pop_front()Tp::ReferencedHandlesinline
reference typedefTp::ReferencedHandles
ReferencedHandles()Tp::ReferencedHandles
ReferencedHandles(const ReferencedHandles &other)Tp::ReferencedHandles
removeAll(uint handle)Tp::ReferencedHandles
removeAt(int i)Tp::ReferencedHandles
removeFirst()Tp::ReferencedHandlesinline
removeLast()Tp::ReferencedHandlesinline
removeOne(uint handle)Tp::ReferencedHandles
size() const Tp::ReferencedHandles
size_type typedefTp::ReferencedHandles
startsWith(uint handle) const Tp::ReferencedHandlesinline
swap(int i, int j)Tp::ReferencedHandles
takeAt(int i)Tp::ReferencedHandles
takeFirst()Tp::ReferencedHandlesinline
takeLast()Tp::ReferencedHandlesinline
toList() const Tp::ReferencedHandles
toSet() const Tp::ReferencedHandlesinline
toStdList() const Tp::ReferencedHandlesinline
toVector() const Tp::ReferencedHandlesinline
value(int i, uint defaultValue=0) const Tp::ReferencedHandles
value_type typedefTp::ReferencedHandles
~ReferencedHandles()Tp::ReferencedHandles


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/dir_d7c3098d0c68df52149692c57753ae0a.html0000644000175000017500000000551412727270137025257 0ustar00kaffeinekaffeine00000000000000 Farstream Directory Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Farstream Directory Reference

Files

file  Farstream/channel.cpp
 
file  Farstream/channel.h [code]
 
file  telepathy-qt/TelepathyQt/Farstream/global.h [code]
 


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00506.html0000644000175000017500000012224312727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::StreamedMediaStream Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Signals | Public Member Functions | List of all members
Tp::StreamedMediaStream Class Reference

The StreamedMediaStream class represents a Telepathy streamed media stream. More...

#include <TelepathyQt/StreamedMediaStream>

Inherits Tp::Object, and Tp::ReadyObject.

Public Types

enum  SendingState { SendingStateNone, SendingStatePendingSend, SendingStateSending }
 

Signals

void localSendingStateChanged (Tp::StreamedMediaStream::SendingState localSendingState)
 
void remoteSendingStateChanged (Tp::StreamedMediaStream::SendingState remoteSendingState)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

 ~StreamedMediaStream ()
 
StreamedMediaChannelPtr channel () const
 
uint id () const
 
ContactPtr contact () const
 
MediaStreamState state () const
 
MediaStreamType type () const
 
SendingState localSendingState () const
 
SendingState remoteSendingState () const
 
bool sending () const
 
bool receiving () const
 
bool localSendingRequested () const
 
bool remoteSendingRequested () const
 
MediaStreamDirection direction () const
 
MediaStreamPendingSend pendingSend () const
 
PendingOperationrequestSending (bool send)
 
PendingOperationrequestReceiving (bool receive)
 
PendingOperationrequestDirection (MediaStreamDirection direction)
 
PendingOperationrequestDirection (bool send, bool receive)
 
PendingOperationstartDTMFTone (DTMFEvent event)
 
PendingOperationstopDTMFTone ()
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

The StreamedMediaStream class represents a Telepathy streamed media stream.

Instances of this class cannot be constructed directly; the only way to get one is via StreamedMediaChannel.

Member Enumeration Documentation

Enumerator
SendingStateNone 
SendingStatePendingSend 
SendingStateSending 

Constructor & Destructor Documentation

Tp::StreamedMediaStream::~StreamedMediaStream ( )

Class destructor.

Member Function Documentation

StreamedMediaChannelPtr Tp::StreamedMediaStream::channel ( ) const

Return the channel owning this media stream.

Returns
A pointer to the StreamedMediaChannel object.
uint Tp::StreamedMediaStream::id ( ) const

Return the id of this media stream.

Returns
An integer representing the media stream id.
ContactPtr Tp::StreamedMediaStream::contact ( ) const

Return the contact who this media stream is with.

Returns
A pointer to the Contact object.
MediaStreamState Tp::StreamedMediaStream::state ( ) const

Return the state of this media stream.

Returns
The state as MediaStreamState.
MediaStreamType Tp::StreamedMediaStream::type ( ) const

Return the type of this media stream.

Returns
The type as MediaStreamType.
StreamedMediaStream::SendingState Tp::StreamedMediaStream::localSendingState ( ) const

Return the media stream local sending state.

Returns
The local sending state as StreamedMediaStream::SendingState.
See also
localSendingStateChanged()
StreamedMediaStream::SendingState Tp::StreamedMediaStream::remoteSendingState ( ) const

Return the media stream remote sending state.

Returns
The remote sending state as StreamedMediaStream::SendingState.
See also
remoteSendingStateChanged()
bool Tp::StreamedMediaStream::sending ( ) const

Return whether media is being sent on this media stream.

Returns
true if media is being sent, false otherwise.
See also
localSendingStateChanged()
bool Tp::StreamedMediaStream::receiving ( ) const

Return whether media is being received on this media stream.

Returns
true if media is being received, false otherwise.
See also
remoteSendingStateChanged()
bool Tp::StreamedMediaStream::localSendingRequested ( ) const

Return whether the local user has been asked to send media by the remote user on this media stream.

Returns
true if the local user has been asked to send media by the remote user, false otherwise.
See also
localSendingStateChanged()
bool Tp::StreamedMediaStream::remoteSendingRequested ( ) const

Return whether the remote user has been asked to send media by the local user on this media stream.

Returns
true if the remote user has been asked to send media by the local user, false otherwise.
See also
remoteSendingStateChanged()
MediaStreamDirection Tp::StreamedMediaStream::direction ( ) const

Return the direction of this media stream.

Returns
The direction as MediaStreamDirection.
See also
localSendingState(), remoteSendingState(), localSendingStateChanged(), remoteSendingStateChanged(), sending(), receiving()
MediaStreamPendingSend Tp::StreamedMediaStream::pendingSend ( ) const

Return the pending send flags of this media stream.

Returns
The pending send flags as MediaStreamPendingSend.
See also
localSendingStateChanged()
PendingOperation * Tp::StreamedMediaStream::requestSending ( bool  send)

Request that media starts or stops being sent on this media stream.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
localSendingStateChanged(), requestDirection()
PendingOperation * Tp::StreamedMediaStream::requestReceiving ( bool  receive)

Request that the remote contact stops or starts sending on this media stream.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
remoteSendingStateChanged(), requestDirection()
PendingOperation * Tp::StreamedMediaStream::requestDirection ( MediaStreamDirection  direction)

Request a change in the direction of this media stream. In particular, this might be useful to stop sending media of a particular type, or inform the peer that you are no longer using media that is being sent to you.

Parameters
directionThe new direction.
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
localSendingStateChanged(), remoteSendingStateChanged()
PendingOperation * Tp::StreamedMediaStream::requestDirection ( bool  send,
bool  receive 
)

Request a change in the direction of this media stream.

In particular, this might be useful to stop sending media of a particular type, or inform the peer that you are no longer using media that is being sent to you.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
requestDirection(Tp::MediaStreamDirection direction), localSendingStateChanged(), remoteSendingStateChanged()
PendingOperation * Tp::StreamedMediaStream::startDTMFTone ( DTMFEvent  event)

Start sending a DTMF tone on this media stream.

Where possible, the tone will continue until stopDTMFTone() is called. On certain protocols, it may only be possible to send events with a predetermined length. In this case, the implementation may emit a fixed-length tone, and the stopDTMFTone() method call should return TP_QT_ERROR_NOT_AVAILABLE.

If the channel() does not support the TP_QT_IFACE_CHANNEL_INTERFACE_DTMF interface, the resulting PendingOperation will fail with error code TP_QT_ERROR_NOT_IMPLEMENTED.

Parameters
eventA numeric event code from the DTMFEvent enum.
Returns
A PendingOperation which will emit PendingOperation::finished when the request finishes.
See also
stopDTMFTone()
PendingOperation * Tp::StreamedMediaStream::stopDTMFTone ( )

Stop sending any DTMF tone which has been started using the startDTMFTone() method.

If there is no current tone, the resulting PendingOperation will finish successfully.

If continuous tones are not supported by this media stream, the resulting PendingOperation will fail with error code TP_QT_ERROR_NOT_AVAILABLE.

If the channel() does not support the TP_QT_IFACE_CHANNEL_INTERFACE_DTMF interface, the resulting PendingOperation will fail with error code TP_QT_ERROR_NOT_IMPLEMENTED.

Returns
A PendingOperation which will emit PendingOperation::finished when the request finishes.
See also
startDTMFTone()
void Tp::StreamedMediaStream::localSendingStateChanged ( Tp::StreamedMediaStream::SendingState  localSendingState)
signal

Emitted when the local sending state of this media stream changes.

Parameters
localSendingStateThe new local sending state of this media stream.
See also
localSendingState()
void Tp::StreamedMediaStream::remoteSendingStateChanged ( Tp::StreamedMediaStream::SendingState  remoteSendingState)
signal


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00260.html0000644000175000017500000004452512727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactBlockingAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceContactBlockingAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void BlockContacts (const Tp::UIntList &contacts, bool reportAbusive, const QDBusMessage &dbusMessage)
 
void UnblockContacts (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
Tp::HandleIdentifierMap RequestBlockedContacts (const QDBusMessage &dbusMessage)
 

Signals

void BlockedContactsChanged (const Tp::HandleIdentifierMap &blockedContacts, const Tp::HandleIdentifierMap &unblockedContacts)
 

Public Member Functions

uint ContactBlockingCapabilities () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ConnectionInterfaceContactBlockingAdaptor::ContactBlockingCapabilities ( ) const

Return the value of the exported D-Bus object property ContactBlockingCapabilities of type uint.

Adaptees should export this property as a Qt property named 'contactBlockingCapabilities' with type uint.

Additional capabilities for contact blocking; currently, this is limited to whether contacts may be reported as abusive.

Note that there is no capability for supporting blocking itself: the presence of this interface on a ConnectionInterface indicates that blocking contacts is supported.

Returns
The value of exported property ContactBlockingCapabilities.
void Tp::Service::ConnectionInterfaceContactBlockingAdaptor::BlockContacts ( const Tp::UIntList contacts,
bool  reportAbusive,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void blockContacts(const Tp::UIntList& contacts, bool reportAbusive, const Tp::Service::ConnectionInterfaceContactBlockingAdaptor::BlockContactsContextPtr &context);

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

Direct the server to block some contacts. The precise effect is protocol-dependent, but SHOULD include ignoring all current and subsequent communications from the given contacts, avoiding sending presence to them in future, and if they were already receiving the local user's presence, behaving as if the local user went offline.

Parameters
contacts
Some contacts to block. If some of the contacts in this list are 
already blocked, the connection manager MUST act as if they were 
not specified in this list.
reportAbusive

In addition to blocking, report these contacts as abusive to the server administrators.

Clients can determine whether this capability is available by checking the \\\ \\link requestPropertyContactBlockingCapabilities() ContactBlockingCapabilities \\endlink \\htmlonly property. If this argument is set to True by a client despite \\endhtmlonly \\link requestPropertyContactBlockingCapabilities() ContactBlockingCapabilities \\endlink \\htmlonly not containing the Can_Report_Abusive flag, the connection manager SHOULD act as if it were False and simply block the supplied contacts.

A correct user interface shouldn't get this far without knowing that reporting abusive contacts is not supported. If it does, then the user has expressed their intention to block these contacts. Returning an error would leave the UI with three options:
  • Ignore the error, leaving the contacts not actually blocked;
  • Display an error to the user;
  • Call this method again, passing False for this argument.
None of these seem preferable to the CM just ignoring this flag if it doesn't support it: that way, the contacts will be blocked, as the user requested, and UIs have fewer ways to mess up entirely.
void Tp::Service::ConnectionInterfaceContactBlockingAdaptor::UnblockContacts ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void unblockContacts(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactBlockingAdaptor::UnblockContactsContextPtr &context);

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

Direct the server to unblock some contacts.

Parameters
contacts
Some contacts to unblock. If some of the contacts in this list are 
not currently blocked, the connection manager MUST act as if they 
were not specified in this list.
Tp::HandleIdentifierMap Tp::Service::ConnectionInterfaceContactBlockingAdaptor::RequestBlockedContacts ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestBlockedContacts(const Tp::Service::ConnectionInterfaceContactBlockingAdaptor::RequestBlockedContactsContextPtr &context);

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

List the contacts that are blocked.

Clients SHOULD allow a relatively long timeout for calls to this method, since on some protocols contact blocking is part of the contact list, which can take a significant time to retrieve.

Returns
The blocked contacts’ handles, together with their identifiers.
void Tp::Service::ConnectionInterfaceContactBlockingAdaptor::BlockedContactsChanged ( const Tp::HandleIdentifierMap blockedContacts,
const Tp::HandleIdentifierMap unblockedContacts 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void blockedContactsChanged(const Tp::HandleIdentifierMap& blockedContacts, const Tp::HandleIdentifierMap& unblockedContacts);

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

Parameters
blockedContacts
Contacts added to the result of RequestBlockedContacts.
unblockedContacts
Contacts removed from the result of RequestBlockedContacts.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01221.html0000644000175000017500000002334312727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AccountManagerInterface Member List

This is the complete list of members for Tp::Client::AccountManagerInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AccountManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountManagerInterface
AccountManagerInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AccountManagerInterface
AccountManagerInterface(Tp::DBusProxy *proxy)Tp::Client::AccountManagerInterface
AccountRemoved(const QDBusObjectPath &account)Tp::Client::AccountManagerInterfacesignal
AccountValidityChanged(const QDBusObjectPath &account, bool valid)Tp::Client::AccountManagerInterfacesignal
CreateAccount(const QString &connectionManager, const QString &protocol, const QString &displayName, const QVariantMap &parameters, const QVariantMap &properties, int timeout=-1)Tp::Client::AccountManagerInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AccountManagerInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::AccountManagerInterfaceinline
requestPropertyInterfaces() const Tp::Client::AccountManagerInterfaceinline
requestPropertyInvalidAccounts() const Tp::Client::AccountManagerInterfaceinline
requestPropertySupportedAccountProperties() const Tp::Client::AccountManagerInterfaceinline
requestPropertyValidAccounts() const Tp::Client::AccountManagerInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::AccountManagerInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00005.html0000644000175000017500000000373412727270137020775 0ustar00kaffeinekaffeine00000000000000 Accounts Example
   Home · All Classes · All Namespaces · Modules · Functions · Files
Accounts Example


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_m.html0000644000175000017500000000620512727270137023543 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- m -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/doc.png0000644000175000017500000000135212727270137020547 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRÚ}\ˆ±IDATxíMOS[…Ÿžsúa?-XZ(PD4‚ AWbu`b 77wäHFÆCËÔÂÿà/`vo„ˆAPòq‹P @ ­ûÝè980 îà¤+»§Ýy×^ïZï9SW¹\83g‰3'°Nâçl¹¸_b¯p ïåûÆVÜÖ¡€Ÿ×"¬Ö†X€d]Ðà3“ÉÃÄÌ™xŸ ßMàœ[<çSPkvc—hÈ'…™˜^Åm™hØ7 `Û™¦ èÀåráq›‘œ¾!daeKŸþÆÕ˜:Ì*³_דâèi?I–eP*B7Ÿ¿åô!¹Ýgr6Ër6oKbëþãðôrI”ËTˆüªŒ¨xóö=›ù¢&‰(e+ßóÄkýÇ`ëÁÜb.“¸ÐW×w0¥°jÑzN™¬|©WEãµ¢a¯6[öX†AkÓù*/œ¨‰€ÉY­ ÿV’§–u²jÂ>1W *½·°PGŽzÿ¨/Eg{ ŸÇâaoŠÁVú:è¿™¤1$ôR§W,–ªà¨@ŠË56¾ÀÔÜ-¾,mê¸Î/æè¹– òr5¥T*S(Vf8ö9u’ Õ£w›ùóa=Í<{Ò¡UŒ÷r¯+ÉådDÏF$è°…£é¿`zþ»ÎúöN‘µÜ®0Q3£~_^Ëóâ¯N=ˆvpTà±LžT}ˆîkq†Òm<¼ÎÓ?Zh¿X£ï_þÝ¥[)ƒ `gêÃa_Ô*äÔ2`'=õ´Fÿ2EâÁPú ÷»›l=8‹Wv°%THqÉ¿<"¤ïG¾ÆxH{#ÆÖ«aÔJÕÞ‡—m‹„ çñKsÿàñVŠØ¡°·MâÒ^ TÁ– Ý›r¥ß½ømüÿ_™?ªWİ÷#uIEND®B`‚telepathy-qt-0.9.7/doc/html/a01290.html0000644000175000017500000002543412727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactInfoInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactInfoInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceContactInfoInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactInfoInterface
ConnectionInterfaceContactInfoInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactInfoInterface
ConnectionInterfaceContactInfoInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactInfoInterface
ConnectionInterfaceContactInfoInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactInfoInterfaceexplicit
ConnectionInterfaceContactInfoInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactInfoInterface
ContactInfoChanged(uint contact, const Tp::ContactInfoFieldList &contactInfo)Tp::Client::ConnectionInterfaceContactInfoInterfacesignal
GetContactInfo(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactInfoInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactInfoInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RefreshContactInfo(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactInfoInterfaceinlineslot
requestAllProperties() const Tp::Client::ConnectionInterfaceContactInfoInterfaceinline
RequestContactInfo(uint contact, int timeout=-1)Tp::Client::ConnectionInterfaceContactInfoInterfaceinlineslot
requestPropertyContactInfoFlags() const Tp::Client::ConnectionInterfaceContactInfoInterfaceinline
requestPropertySupportedFields() const Tp::Client::ConnectionInterfaceContactInfoInterfaceinline
SetContactInfo(const Tp::ContactInfoFieldList &contactInfo, int timeout=-1)Tp::Client::ConnectionInterfaceContactInfoInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactInfoInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00074.html0000644000175000017500000007337212727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelConferenceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseChannelConferenceInterface Class Reference

Base class for implementations of Channel.Interface.Conference. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Member Functions

virtual ~BaseChannelConferenceInterface ()
 
QVariantMap immutableProperties () const
 
Tp::ObjectPathList channels () const
 
Tp::ObjectPathList initialChannels () const
 
Tp::UIntList initialInviteeHandles () const
 
QStringList initialInviteeIDs () const
 
QString invitationMessage () const
 
ChannelOriginatorMap originalChannels () const
 
void mergeChannel (const QDBusObjectPath &channel, uint channelHandle, const QVariantMap &properties)
 
void removeChannel (const QDBusObjectPath &channel, const QVariantMap &details)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelConferenceInterfacePtr create (Tp::ObjectPathList initialChannels=Tp::ObjectPathList(), Tp::UIntList initialInviteeHandles=Tp::UIntList(), QStringList initialInviteeIDs=QStringList(), QString invitationMessage=QString(), ChannelOriginatorMap originalChannels=ChannelOriginatorMap())
 
template<typename BaseChannelConferenceInterfaceSubclass >
static SharedPtr< BaseChannelConferenceInterfaceSubclass > create (Tp::ObjectPathList initialChannels=Tp::ObjectPathList(), Tp::UIntList initialInviteeHandles=Tp::UIntList(), QStringList initialInviteeIDs=QStringList(), QString invitationMessage=QString(), ChannelOriginatorMap originalChannels=ChannelOriginatorMap())
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Conference.

Constructor & Destructor Documentation

Tp::BaseChannelConferenceInterface::~BaseChannelConferenceInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelConferenceInterfacePtr Tp::BaseChannelConferenceInterface::create ( Tp::ObjectPathList  initialChannels = Tp::ObjectPathList(),
Tp::UIntList  initialInviteeHandles = Tp::UIntList(),
QStringList  initialInviteeIDs = QStringList(),
QString  invitationMessage = QString(),
ChannelOriginatorMap  originalChannels = ChannelOriginatorMap() 
)
inlinestatic
template<typename BaseChannelConferenceInterfaceSubclass >
static SharedPtr<BaseChannelConferenceInterfaceSubclass> Tp::BaseChannelConferenceInterface::create ( Tp::ObjectPathList  initialChannels = Tp::ObjectPathList(),
Tp::UIntList  initialInviteeHandles = Tp::UIntList(),
QStringList  initialInviteeIDs = QStringList(),
QString  invitationMessage = QString(),
ChannelOriginatorMap  originalChannels = ChannelOriginatorMap() 
)
inlinestatic
QVariantMap Tp::BaseChannelConferenceInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::ObjectPathList Tp::BaseChannelConferenceInterface::channels ( ) const
Tp::ObjectPathList Tp::BaseChannelConferenceInterface::initialChannels ( ) const
Tp::UIntList Tp::BaseChannelConferenceInterface::initialInviteeHandles ( ) const
QStringList Tp::BaseChannelConferenceInterface::initialInviteeIDs ( ) const
QString Tp::BaseChannelConferenceInterface::invitationMessage ( ) const
ChannelOriginatorMap Tp::BaseChannelConferenceInterface::originalChannels ( ) const
void Tp::BaseChannelConferenceInterface::mergeChannel ( const QDBusObjectPath &  channel,
uint  channelHandle,
const QVariantMap &  properties 
)
void Tp::BaseChannelConferenceInterface::removeChannel ( const QDBusObjectPath &  channel,
const QVariantMap &  details 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01035.html0000644000175000017500000010143312727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusTubeChannel Member List

This is the complete list of members for Tp::DBusTubeChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
address() const Tp::DBusTubeChannel
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
busNameAdded(const QString &busName, const Tp::ContactPtr &contact)Tp::DBusTubeChannelsignal
busNameRemoved(const QString &busName, const Tp::ContactPtr &contact)Tp::DBusTubeChannelsignal
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
contactsForBusNames() const Tp::DBusTubeChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::DBusTubeChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
DBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::DBusTubeChannelprotected
FeatureBusNameMonitoringTp::DBusTubeChannelstatic
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::DBusTubeChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
parameters() const Tp::TubeChannel
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
serviceName() const Tp::DBusTubeChannel
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
setParameters(const QVariantMap &parameters)Tp::TubeChannelprotected
state() const Tp::TubeChannel
stateChanged(Tp::TubeChannelState state)Tp::TubeChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
supportsRestrictingToCurrentUser() const Tp::DBusTubeChannel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
TubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)Tp::TubeChannelprotected
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~DBusTubeChannel()Tp::DBusTubeChannelvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual
~TubeChannel()Tp::TubeChannelvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00789_source.html0000644000175000017500000005022512727270137022375 0ustar00kaffeinekaffeine00000000000000 readiness-helper.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
readiness-helper.h
1 
23 #ifndef _TelepathyQt_readiness_helper_h_HEADER_GUARD_
24 #define _TelepathyQt_readiness_helper_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Feature>
31 
32 #include <QMap>
33 #include <QSet>
34 #include <QSharedDataPointer>
35 #include <QStringList>
36 #include <QObject>
37 
38 class QDBusError;
39 
40 namespace Tp
41 {
42 
43 class DBusProxy;
44 class PendingOperation;
45 class PendingReady;
46 class RefCounted;
47 
48 class TP_QT_EXPORT ReadinessHelper : public QObject
49 {
50  Q_OBJECT
51  Q_DISABLE_COPY(ReadinessHelper)
52 
53 public:
54  typedef void (*IntrospectFunc)(void *data);
55 
56  struct Introspectable {
57  public:
59  Introspectable(const QSet<uint> &makesSenseForStatuses,
60  const Features &dependsOnFeatures,
61  const QStringList &dependsOnInterfaces,
62  IntrospectFunc introspectFunc,
63  void *introspectFuncData,
64  bool critical = false);
65  Introspectable(const Introspectable &other);
66  ~Introspectable();
67 
68  Introspectable &operator=(const Introspectable &other);
69 
70  private:
71  friend class ReadinessHelper;
72 
73  struct Private;
74  friend struct Private;
75  QSharedDataPointer<Private> mPriv;
76  };
77  typedef QMap<Feature, Introspectable> Introspectables;
78 
80  uint currentStatus = 0,
81  const Introspectables &introspectables = Introspectables(),
82  QObject *parent = 0);
84  uint currentStatus = 0,
85  const Introspectables &introspectables = Introspectables(),
86  QObject *parent = 0);
87  ~ReadinessHelper();
88 
89  void addIntrospectables(const Introspectables &introspectables);
90 
91  uint currentStatus() const;
92  void setCurrentStatus(uint currentStatus);
93  void forceCurrentStatus(uint currentStatus);
94 
95  QStringList interfaces() const;
96  void setInterfaces(const QStringList &interfaces);
97 
98  Features requestedFeatures() const;
99  Features actualFeatures() const;
100  Features missingFeatures() const;
101 
102  bool isReady(const Feature &feature,
103  QString *errorName = 0, QString *errorMessage = 0) const;
104  bool isReady(const Features &features,
105  QString *errorName = 0, QString *errorMessage = 0) const;
106  PendingReady *becomeReady(const Features &requestedFeatures);
107 
108  void setIntrospectCompleted(const Feature &feature, bool success,
109  const QString &errorName = QString(),
110  const QString &errorMessage = QString());
111  void setIntrospectCompleted(const Feature &feature, bool success,
112  const QDBusError &error);
113 
114 Q_SIGNALS:
115  void statusReady(uint status);
116 
117 private Q_SLOTS:
118  TP_QT_NO_EXPORT void iterateIntrospection();
119 
120  TP_QT_NO_EXPORT void onProxyInvalidated(Tp::DBusProxy *proxy,
121  const QString &errorName, const QString &errorMessage);
122 
123 private:
124  struct Private;
125  friend struct Private;
126  Private *mPriv;
127 };
128 
129 } // Tp
130 
131 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The ReadinessHelper::Introspectable class represents a introspectable used by ReadinessHelper.
Definition: readiness-helper.h:56
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The Features class represents a list of Feature.
Definition: feature.h:61
QMap< Feature, Introspectable > Introspectables
Definition: readiness-helper.h:77
Definition: abstract-adaptor.cpp:31
The ReadinessHelper class is a helper class used by the introspection process.
Definition: readiness-helper.h:48
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00389.html0000644000175000017500000005700212727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 > Class Template Reference

The MethodInvocationContext class provides a way for the service implementation to respond to method calls. More...

#include <TelepathyQt/MethodInvocationContext>

Inherits Tp::RefCounted.

Public Member Functions

 MethodInvocationContext (const QDBusConnection &bus, const QDBusMessage &message)
 
virtual ~MethodInvocationContext ()
 
bool isFinished () const
 
bool isError () const
 
QString errorName () const
 
QString errorMessage () const
 
void setFinished (const T1 &t1=T1(), const T2 &t2=T2(), const T3 &t3=T3(), const T4 &t4=T4(), const T5 &t5=T5(), const T6 &t6=T6(), const T7 &t7=T7(), const T8 &t8=T8())
 
void setFinishedWithError (const QString &errorName, const QString &errorMessage)
 
template<int Index>
Select< Index >::Type argumentAt () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

virtual void onFinished ()
 

Detailed Description

template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
class Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >

The MethodInvocationContext class provides a way for the service implementation to respond to method calls.

The methods setFinished() and setFinishedWithError() can be used to indicate whether the method call succeeded or failed.

If neither setFinished() nor setFinishedWithError() is called explicitly, the method call will be considered to have failed.

" In case an asynchronous operation needs to be performed when implementing a method call receiving a MethodInvocationContextPtr object, a reference to this object may be kept around until all asynchronous operations finish, and the appropriate finish method should be called to indicate whether the method call succeeded or failed later.

Constructor & Destructor Documentation

template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::MethodInvocationContext ( const QDBusConnection &  bus,
const QDBusMessage &  message 
)
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
virtual Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::~MethodInvocationContext ( )
inlinevirtual

Member Function Documentation

template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
bool Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::isFinished ( ) const
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
bool Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::isError ( ) const
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
QString Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::errorName ( ) const
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
QString Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::errorMessage ( ) const
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
void Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::setFinished ( const T1 &  t1 = T1(),
const T2 &  t2 = T2(),
const T3 &  t3 = T3(),
const T4 &  t4 = T4(),
const T5 &  t5 = T5(),
const T6 &  t6 = T6(),
const T7 &  t7 = T7(),
const T8 &  t8 = T8() 
)
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
void Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::setFinishedWithError ( const QString &  errorName,
const QString &  errorMessage 
)
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
template<int Index>
Select<Index>::Type Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::argumentAt ( ) const
inline
template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil, typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil, typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil, typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
virtual void Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >::onFinished ( )
inlineprotectedvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00133.html0000644000175000017500000012440412727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::CallStream Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | List of all members
Tp::CallStream Class Reference

The CallStream class provides an object representing a Telepathy Call.Stream. More...

#include <TelepathyQt/CallStream>

Inherits Tp::StatefulDBusProxy, and Tp::OptionalInterfaceFactory< CallStream >.

Signals

void localSendingStateChanged (Tp::SendingState localSendingState, const Tp::CallStateReason &reason)
 
void remoteSendingStateChanged (const QHash< Tp::ContactPtr, Tp::SendingState > &remoteSendingStates, const Tp::CallStateReason &reason)
 
void remoteMembersRemoved (const Tp::Contacts &remoteMembers, const Tp::CallStateReason &reason)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

 ~CallStream ()
 
CallContentPtr content () const
 
Contacts remoteMembers () const
 
bool canRequestReceiving () const
 
SendingState localSendingState () const
 
SendingState remoteSendingState (const ContactPtr &contact) const
 
PendingOperationrequestSending (bool send)
 
PendingOperationrequestReceiving (const ContactPtr &contact, bool receive)
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< CallStream >
 OptionalInterfaceFactory (CallStream *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< CallStream >
enum  InterfaceSupportedChecking
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< CallStream >
void setInterfaces (const QStringList &interfaces)
 

Detailed Description

The CallStream class provides an object representing a Telepathy Call.Stream.

Instances of this class cannot be constructed directly; the only way to get one is via CallContent.

See Asynchronous Object Model

Constructor & Destructor Documentation

Tp::CallStream::~CallStream ( )

Class destructor.

Member Function Documentation

CallContentPtr Tp::CallStream::content ( ) const

Return the content owning this call stream.

Returns
The content owning this call stream.
Contacts Tp::CallStream::remoteMembers ( ) const

Return the contacts whose the call stream is with.

Returns
The contacts whose the call stream is with.
See also
remoteMembersRemoved()
bool Tp::CallStream::canRequestReceiving ( ) const

Returns whether the user can request that a remote contact starts sending on this stream. Not all protocols allow the user to ask the other side to start sending media.

Returns
true if the user can request that a remote contact starts sending on this stream, or false otherwise.
See also
requestReceiving()
SendingState Tp::CallStream::localSendingState ( ) const

Return the call stream local sending state.

Returns
The call stream local sending state.
See also
localSendingStateChanged()
SendingState Tp::CallStream::remoteSendingState ( const ContactPtr &  contact) const

Return the call stream remote sending state for a given contact.

Returns
The call stream remote sending state for a contact.
See also
remoteSendingStateChanged()
PendingOperation * Tp::CallStream::requestSending ( bool  send)

Request that media starts or stops being sent on this call stream.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
localSendingStateChanged()
PendingOperation * Tp::CallStream::requestReceiving ( const ContactPtr &  contact,
bool  receive 
)

Request that a remote contact stops or starts sending on this call stream.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
remoteSendingStateChanged()
void Tp::CallStream::localSendingStateChanged ( Tp::SendingState  localSendingState,
const Tp::CallStateReason reason 
)
signal

This signal is emitted when the local sending state of this call stream changes.

Parameters
localSendingStateThe new local sending state of this call stream.
reasonThe reason that caused this change
See also
localSendingState()
void Tp::CallStream::remoteSendingStateChanged ( const QHash< Tp::ContactPtr, Tp::SendingState > &  remoteSendingStates,
const Tp::CallStateReason reason 
)
signal

This signal is emitted when any remote sending state of this call stream changes.

Parameters
remoteSendingStatesThe new remote sending states of this call stream.
reasonThe reason that caused these changes
See also
remoteSendingState()
void Tp::CallStream::remoteMembersRemoved ( const Tp::Contacts &  members,
const Tp::CallStateReason reason 
)
signal

This signal is emitted when one or more members of this stream are removed.

Parameters
membersThe members that were removed from this call stream.
reasonThe reason for that caused these removals
See also
remoteMembers()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00949.html0000644000175000017500000002302012727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionRequestsInterface Member List

This is the complete list of members for Tp::BaseConnectionRequestsInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionRequestsInterface(BaseConnection *connection)Tp::BaseConnectionRequestsInterfaceprotected
channelClosed(const QDBusObjectPath &removed)Tp::BaseConnectionRequestsInterfaceslot
create(BaseConnection *connection)Tp::BaseConnectionRequestsInterfaceinlinestatic
create(BaseConnection *connection)Tp::BaseConnectionRequestsInterfaceinlinestatic
createChannel(const QVariantMap &request, QDBusObjectPath &channel, QVariantMap &details, DBusError *error)Tp::BaseConnectionRequestsInterface
dbusObject() const Tp::AbstractDBusServiceInterface
ensureChannel(const QVariantMap &request, bool &yours, QDBusObjectPath &channel, QVariantMap &details, DBusError *error)Tp::BaseConnectionRequestsInterface
immutableProperties() const Tp::BaseConnectionRequestsInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
newChannels(const Tp::ChannelDetailsList &channels)Tp::BaseConnectionRequestsInterfaceslot
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
requestableChannelClassesTp::BaseConnectionRequestsInterface
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionRequestsInterface()Tp::BaseConnectionRequestsInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00785_source.html0000644000175000017500000004461012727270137022372 0ustar00kaffeinekaffeine00000000000000 protocol-info.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocol-info.h
1 
23 #ifndef _TelepathyQt_protocol_info_h_HEADER_GUARD_
24 #define _TelepathyQt_protocol_info_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/AvatarSpec>
31 #include <TelepathyQt/Global>
32 #include <TelepathyQt/PresenceSpec>
33 #include <TelepathyQt/ProtocolParameter>
34 #include <TelepathyQt/Types>
35 
36 #include <QSharedDataPointer>
37 #include <QString>
38 #include <QList>
39 
40 namespace Tp
41 {
42 
43 class ConnectionCapabilities;
44 class PendingString;
45 
46 class TP_QT_EXPORT ProtocolInfo
47 {
48 public:
49  ProtocolInfo();
50  ProtocolInfo(const ProtocolInfo &other);
51  ~ProtocolInfo();
52 
53  bool isValid() const { return mPriv.constData() != 0; }
54 
55  ProtocolInfo &operator=(const ProtocolInfo &other);
56 
57  QString cmName() const;
58 
59  QString name() const;
60 
61  ProtocolParameterList parameters() const;
62  bool hasParameter(const QString &name) const;
63 
64  bool canRegister() const;
65 
66  ConnectionCapabilities capabilities() const;
67 
68  QString vcardField() const;
69 
70  QString englishName() const;
71 
72  QString iconName() const;
73 
74  PresenceSpecList allowedPresenceStatuses() const;
75 
76  AvatarSpec avatarRequirements() const;
77 
78  QStringList addressableVCardFields() const;
79  QStringList addressableUriSchemes() const;
80 
81  PendingString *normalizeVCardAddress(const QString &vcardField, const QString &vcardAddress);
82  PendingString *normalizeContactUri(const QString &uri);
83 
84 private:
85  friend class ConnectionManager;
86 
87  TP_QT_NO_EXPORT ProtocolInfo(const ConnectionManagerPtr &cm, const QString &name);
88 
89  TP_QT_NO_EXPORT void addParameter(const ParamSpec &spec);
90  TP_QT_NO_EXPORT void setVCardField(const QString &vcardField);
91  TP_QT_NO_EXPORT void setEnglishName(const QString &englishName);
92  TP_QT_NO_EXPORT void setIconName(const QString &iconName);
93  TP_QT_NO_EXPORT void setRequestableChannelClasses(const RequestableChannelClassList &caps);
94  TP_QT_NO_EXPORT void setAllowedPresenceStatuses(const PresenceSpecList &statuses);
95  TP_QT_NO_EXPORT void setAvatarRequirements(const AvatarSpec &avatarRequirements);
96  TP_QT_NO_EXPORT void setAddressableVCardFields(const QStringList &vcardFields);
97  TP_QT_NO_EXPORT void setAddressableUriSchemes(const QStringList &uriSchemes);
98 
99  struct Private;
100  friend struct Private;
101  QSharedDataPointer<Private> mPriv;
102 };
103 
104 typedef QList<ProtocolInfo> ProtocolInfoList;
105 
106 } // Tp
107 
108 Q_DECLARE_METATYPE(Tp::ProtocolInfo);
109 Q_DECLARE_METATYPE(Tp::ProtocolInfoList);
110 
111 #endif
The PendingString class is a generic subclass of PendingOperation representing a pending D-Bus method...
Definition: pending-string.h:37
The ConnectionCapabilities class represents the capabilities of a Connection.
Definition: connection-capabilities.h:38
The AvatarSpec class represents a Telepathy avatar information supported by a protocol.
Definition: avatar.h:51
QList< ProtocolParameter > ProtocolParameterList
Definition: protocol-parameter.h:85
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
Definition: build/TelepathyQt/_gen/types.h:2195
bool isValid() const
Definition: protocol-info.h:53
The PresenceSpecList class represents a list of PresenceSpec.
Definition: presence.h:125
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2630
The ConnectionManager class represents a Telepathy connection manager.
Definition: connection-manager.h:52
Definition: abstract-adaptor.cpp:31
QList< ProtocolInfo > ProtocolInfoList
Definition: protocol-info.h:104


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00448.html0000644000175000017500000005026212727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ProtocolInterfaceAddressingAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | List of all members
Tp::Service::ProtocolInterfaceAddressingAdaptor Class Reference

#include <TelepathyQt/_gen/svc-connection-manager.h>

Inherits Tp::AbstractAdaptor.

Public Slots

QString NormalizeVCardAddress (const QString &VCardField, const QString &VCardAddress, const QDBusMessage &dbusMessage)
 
QString NormalizeContactURI (const QString &URI, const QDBusMessage &dbusMessage)
 

Public Member Functions

QStringList AddressableVCardFields () const
 
QStringList AddressableURISchemes () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ProtocolInterfaceAddressingAdaptor::AddressableVCardFields ( ) const

Return the value of the exported D-Bus object property AddressableVCardFields of type QStringList.

Adaptees should export this property as a Qt property named 'addressableVCardFields' with type QStringList.

The vCard fields that can be used to request a contact with normalized to lower case. If the URL vCard field is addressable, a colon, followed by the supported URI schemes will be concatenated.

For example: ["tel", "x-sip"].

The url vCard field MUST NOT appear here; see AddressableURISchemes instead.

In practice, protocols have a limited set of URI schemes that make sense to resolve as a contact.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key AddressableVCardFields. The corresponding value is a list of strings, each followed with a semicolon and in the syntax of the "localestring" type from the Desktop Entry Specification.

Well-known vCard fields:

tel
The TEL vCard field. Used for phone numbers.
x-sip
The X-SIP vCard field. Used for SIP addresses.
x-aim
The X-AIM vCard field. Used for AIM user IDs.
x-icq
The X-ICQ vCard field. Used for ICQ UINs.
x-skype
The X-SKYPE vCard field. Used for Skype user names or telephone numbers. There is also a X-SKYPE-USERNAME field, but for Telepathy purposes, x-skype is preferred
x-groupwise
The X-GROUPWISE vCard field. Used for Groupwise contacts.
x-gadugadu
The X-GADUGADU vCard field. Used for Gadu-Gadu contacts.
x-jabber
The X-JABBER vCard field. Used for XMPP JIDs.
x-msn
The X-MSN vCard field. Used for MSN contacts.
x-yahoo
The X-YAHOO vCard field. Used for Yahoo! IDs.
x-facebook-id
Used for Facebook IDs in XMPP. If the user JID is "-12345@chat.facebook.com" then the x-facebook-id is "12345"

Returns
The value of exported property AddressableVCardFields.
QStringList Tp::Service::ProtocolInterfaceAddressingAdaptor::AddressableURISchemes ( ) const

Return the value of the exported D-Bus object property AddressableURISchemes of type QStringList.

Adaptees should export this property as a Qt property named 'addressableURISchemes' with type QStringList.

The URI schemes that are supported by this protocol.

For example: ["tel", "sip"].

This property should only be used when the connection is offline. When it is connected the addressable URI schemes should be retrieved from the ConnectionInterfaceRequestsInterface::RequestableChannelClasses 's TargetURIScheme fixed-property instead.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key AddressableURISchemes. The corresponding value is a list of strings, each followed with a semicolon and in the syntax of the "localestring" type from the Desktop Entry Specification.

Well-known URI schemes:

sip
SIP protocol. For example: sip:julien@example.com.
sips
Secure (encrypted) SIP protocol. For example: sips:julien@example.com.
tel
Used for telephone numbers. For example: tel:+12065551234.
xmpp
XMPP protocol. For example: xmpp:julien@example.com.
msnim
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be add; the contact field in the query string is used to identify the contact. For example: msnim:add?contact=julien.
aim
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be addbuddy; the screenname field in the query string is used to identify the contact. For example: aim:addbuddy?screenname=julien.
skype
Skype protocol. For example: skype:julien.
ymsgr
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be addfriend; the query string is used to identify the contact. For example: ymsgr:addfriend?julien.
gg
Gadu-Gadu protocol. For example: gg:julien.

Returns
The value of exported property AddressableURISchemes.
QString Tp::Service::ProtocolInterfaceAddressingAdaptor::NormalizeVCardAddress ( const QString &  VCardField,
const QString &  VCardAddress,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void normalizeVCardAddress(const QString& VCardField, const QString& VCardAddress, const Tp::Service::ProtocolInterfaceAddressingAdaptor::NormalizeVCardAddressContextPtr &context);

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

Attempt to normalize the given vCard address. Where possible, this SHOULD return an address that would appear in the org.freedesktop.Telepathy.Connection.Interface.Addressing1/addresses attribute for a contact on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

An example would be a vCard TEL field with a formatted number in the form of +1 (206) 555 1234, this would be normalized to +12065551234.

This method MAY simply raise NotImplemented on some protocols, if it has no use.

Parameters
VCardField
The vCard field of the address we are normalizing. The field name 
SHOULD be in lower case, and MUST appear in AddressableVCardFields.
VCardAddress
The address to normalize, which is assumed to belong to a contact 
(and not, for instance, a chatroom or server).
Returns
The vCard address, normalized as much as possible.
QString Tp::Service::ProtocolInterfaceAddressingAdaptor::NormalizeContactURI ( const QString &  URI,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void normalizeContactURI(const QString& URI, const Tp::Service::ProtocolInterfaceAddressingAdaptor::NormalizeContactURIContextPtr &context);

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

Attempt to normalize the given contact URI. Where possible, this SHOULD return an address that would appear in the org.freedesktop.Telepathy.Connection.Interface.Addressing1/uris attribute for a contact on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

If the URI has extra information beyond what's necessary to identify a particular contact, such as an XMPP resource or an action to carry out, this extra information SHOULD be removed. If all URIs in a scheme contain a verb or action (like aim, ymsgr and msnim URIs), then the verb SHOULD be replaced with the one specified in AddressableURISchemes .

This method is intended to normalize URIs stored in address books, for instance. In protocols like XMPP, if you vary the resource or action (query string), the URI still refers to the same high-level contact.

For instance, xmpp:romeo@Example.Com/Empathy?message;body=Hello would be normalized to xmpp:romeo@example.com, and aim:goim?screenname=Romeo%20M&message=Hello would be normalized to aim:addbuddy?screenname=romeom.

This method MAY simply raise NotImplemented on some protocols, if it has no use.

Parameters
URI
The URI to normalize, which is assumed to refer to a contact (as 
opposed to, for instance, a chatroom or a server). In some 
protocols, like XMPP, there is no way to tell whether a given URI 
refers to a contact or a chatroom by looking at its syntax. The 
URI&apos;s scheme (i.e. the part before the first colon) MUST 
appear in AddressableURISchemes.
Returns
A URI, normalized as much as possible.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01163.html0000644000175000017500000000470012727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RequestableChannelClass Member List

This is the complete list of members for Tp::RequestableChannelClass, including all inherited members.

allowedPropertiesTp::RequestableChannelClass
fixedPropertiesTp::RequestableChannelClass


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/nav_f.png0000644000175000017500000000023112727270137021066 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDR8³»`IDATxíÝK€ EÑ–·[†øBÑmkâÄÂH—prÓ¼.‚Žó‚ꎤR6Z VI±E‚5j³„lóš›iI˜¬ÞêçJ0ŒÑÑ/Žû›™uøñóÞ¿6sH ÝõyIEND®B`‚telepathy-qt-0.9.7/doc/html/a00781_source.html0000644000175000017500000006670212727270137022374 0ustar00kaffeinekaffeine00000000000000 profile.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
profile.h
1 
23 #ifndef _TelepathyQt_profile_h_HEADER_GUARD_
24 #define _TelepathyQt_profile_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/RequestableChannelClassSpec>
31 #include <TelepathyQt/Types>
32 
33 #include <QDBusSignature>
34 #include <QObject>
35 #include <QString>
36 #include <QVariant>
37 
38 namespace Tp
39 {
40 
41 class ProtocolInfo;
42 
43 class TP_QT_EXPORT Profile : public RefCounted
44 {
45  Q_DISABLE_COPY(Profile);
46 
47 public:
48  static ProfilePtr createForServiceName(const QString &serviceName);
49  static ProfilePtr createForFileName(const QString &fileName);
50 
51  ~Profile();
52 
53  QString serviceName() const;
54 
55  bool isValid() const;
56 
57  bool isFake() const;
58 
59  QString type() const;
60  QString provider() const;
61  QString name() const;
62  QString iconName() const;
63  QString cmName() const;
64  QString protocolName() const;
65 
66  class Parameter
67  {
68  public:
69  Parameter();
70  Parameter(const Parameter &other);
71  Parameter(const QString &name,
72  const QDBusSignature &dbusSignature,
73  const QVariant &value,
74  const QString &label,
75  bool mandatory);
76  ~Parameter();
77 
78  QString name() const;
79  QDBusSignature dbusSignature() const;
80  QVariant::Type type() const;
81  QVariant value() const;
82  QString label() const;
83 
84  bool isMandatory() const;
85 
86  // TODO Add matches(Tp::Presence) method
87 
88  Parameter &operator=(const Parameter &other);
89 
90  private:
91  friend class Profile;
92 
93  TP_QT_NO_EXPORT void setName(const QString &name);
94  TP_QT_NO_EXPORT void setDBusSignature(const QDBusSignature &dbusSignature);
95  TP_QT_NO_EXPORT void setValue(const QVariant &value);
96  TP_QT_NO_EXPORT void setLabel(const QString &label);
97  TP_QT_NO_EXPORT void setMandatory(bool mandatory);
98 
99  struct Private;
100  friend struct Private;
101  Private *mPriv;
102  };
103  typedef QList<Parameter> ParameterList;
104 
105  ParameterList parameters() const;
106  bool hasParameter(const QString &name) const;
107  Parameter parameter(const QString &name) const;
108 
109  class Presence
110  {
111  public:
112  Presence();
113  Presence(const Presence &other);
114  Presence(const QString &id,
115  const QString &label,
116  const QString &iconName,
117  const QString &message,
118  bool disabled);
119  ~Presence();
120 
121  QString id() const;
122  QString label() const;
123  QString iconName() const;
124  bool canHaveStatusMessage() const;
125 
126  bool isDisabled() const;
127 
128  Presence &operator=(const Presence &other);
129 
130  private:
131  friend class Profile;
132 
133  TP_QT_NO_EXPORT void setId(const QString &id);
134  TP_QT_NO_EXPORT void setLabel(const QString &label);
135  TP_QT_NO_EXPORT void setIconName(const QString &iconName);
136  TP_QT_NO_EXPORT void setMessage(const QString &message);
137  TP_QT_NO_EXPORT void setDisabled(bool disabled);
138 
139  struct Private;
140  friend struct Private;
141  Private *mPriv;
142  };
143  typedef QList<Presence> PresenceList;
144 
145  bool allowOtherPresences() const;
146  PresenceList presences() const;
147  bool hasPresence(const QString &id) const;
148  Presence presence(const QString &id) const;
149 
150  RequestableChannelClassSpecList unsupportedChannelClassSpecs() const;
151 
152 private:
153  friend class Account;
154  friend class ProfileManager;
155 
156  TP_QT_NO_EXPORT Profile();
157  TP_QT_NO_EXPORT Profile(const QString &serviceName, const QString &cmName,
158  const QString &protocolName, const ProtocolInfo &protocolInfo);
159 
160  TP_QT_NO_EXPORT void setServiceName(const QString &serviceName);
161  TP_QT_NO_EXPORT void setFileName(const QString &fileName);
162 
163  TP_QT_NO_EXPORT static QStringList searchDirs();
164 
165  struct Private;
166  friend struct Private;
167  Private *mPriv;
168 };
169 
170 } // Tp
171 
172 Q_DECLARE_METATYPE(Tp::Profile::Parameter);
173 Q_DECLARE_METATYPE(Tp::Profile::Presence);
174 
175 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
The ProfileManager class provides helper methods to retrieve Profile objects.
Definition: profile-manager.h:43
The Profile::Parameter class represents a parameter defined in .profile files.
Definition: profile.h:66
The Profile::Presence class represents a presence defined in .profile files.
Definition: profile.h:109
QList< Presence > PresenceList
Definition: profile.h:143
The Profile class provides an easy way to read Telepathy profile files according to http://telepathy...
Definition: profile.h:43
The Account class represents a Telepathy account.
Definition: account.h:68
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
QList< Parameter > ParameterList
Definition: profile.h:103
Definition: abstract-adaptor.cpp:31
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/nav_g.png0000644000175000017500000000013712727270137021074 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRô1&IDATxíÝ1 ÁOHf„á_ ->~¸åM iËMèÀƒS½ü‚<IEND®B`‚telepathy-qt-0.9.7/doc/html/a00507.html0000644000175000017500000034664112727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Tp::StreamTubeChannel Class Reference

The StreamTubeChannel class represents a Telepathy channel of type StreamTube. More...

#include <TelepathyQt/StreamTubeChannel>

Inherits Tp::TubeChannel.

Inherited by Tp::IncomingStreamTubeChannel, and Tp::OutgoingStreamTubeChannel.

Signals

void newConnection (uint connectionId)
 
void connectionClosed (uint connectionId, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::TubeChannel
void stateChanged (Tp::TubeChannelState state)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~StreamTubeChannel ()
 
QString service () const
 
bool supportsIPv4SocketsOnLocalhost () const
 
bool supportsIPv4SocketsWithSpecifiedAddress () const
 
bool supportsIPv6SocketsOnLocalhost () const
 
bool supportsIPv6SocketsWithSpecifiedAddress () const
 
bool supportsUnixSocketsOnLocalhost () const
 
bool supportsUnixSocketsWithCredentials () const
 
bool supportsAbstractUnixSocketsOnLocalhost () const
 
bool supportsAbstractUnixSocketsWithCredentials () const
 
QSet< uint > connections () const
 
SocketAddressType addressType () const
 
QPair< QHostAddress, quint16 > ipAddress () const
 
QString localAddress () const
 
- Public Member Functions inherited from Tp::TubeChannel
virtual ~TubeChannel ()
 
TubeChannelState state () const
 
QVariantMap parameters () const
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static StreamTubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::TubeChannel
static TubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureConnectionMonitoring
 
- Static Public Attributes inherited from Tp::TubeChannel
static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 StreamTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=StreamTubeChannel::FeatureCore)
 
void addConnection (uint connection)
 
void removeConnection (uint connection, const QString &error, const QString &message)
 
void setAddressType (SocketAddressType type)
 
SocketAccessControl accessControl () const
 
void setAccessControl (SocketAccessControl accessControl)
 
void setIpAddress (const QPair< QHostAddress, quint16 > &address)
 
void setLocalAddress (const QString &address)
 
bool isDroppingConnections () const
 
- Protected Member Functions inherited from Tp::TubeChannel
 TubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)
 
void setParameters (const QVariantMap &parameters)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The StreamTubeChannel class represents a Telepathy channel of type StreamTube.

It provides a transport for reliable and ordered data transfer, similar to SOCK_STREAM sockets.

StreamTubeChannel is an intermediate base class; OutgoingStreamTubeChannel and IncomingStreamTubeChannel are the specialized classes used for locally and remotely initiated tubes respectively.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::StreamTubeChannel::~StreamTubeChannel ( )
virtual

Class destructor.

Tp::StreamTubeChannel::StreamTubeChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = StreamTubeChannel::FeatureCore 
)
protected

Construct a new StreamTubeChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on StreamTubeChannel::FeatureCore.

Member Function Documentation

StreamTubeChannelPtr Tp::StreamTubeChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new StreamTubeChannel channel.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A StreamTubeChannelPtr object pointing to the newly created StreamTubeChannel object.
QString Tp::StreamTubeChannel::service ( ) const

Return the service name which will be used over this stream tube. This should be a well-known TCP service name, for instance "rsync" or "daap".

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
The service name.
bool Tp::StreamTubeChannel::supportsIPv4SocketsOnLocalhost ( ) const

Return whether this stream tube is capable to accept or offer an IPv4 socket accepting all incoming connections coming from localhost.

Note that the Telepathy specification implies that any connection manager, if capable of providing stream tubes, must at least support IPv4 sockets with localhost access control. For this reason, this method should always return true.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an IPv4 socket accepting all incoming connections coming from localhost, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsTcpSocket(), OutgoingStreamTubeChannel::offerTcpSocket(), supportsIPv4SocketsWithSpecifiedAddress()
bool Tp::StreamTubeChannel::supportsIPv4SocketsWithSpecifiedAddress ( ) const

Return whether this stream tube is capable to accept an IPv4 socket accepting all incoming connections coming from a specific address for incoming tubes or whether this stream tube is capable of mapping connections to the socket's source address for outgoing tubes.

For incoming tubes, when this capability is available, the stream tube can be accepted specifying an IPv4 address. Every connection coming from any other address than the specified one will be rejected.

For outgoing tubes, when this capability is available, one can keep track of incoming connections by enabling StreamTubeChannel::FeatureConnectionMonitoring (possibly before opening the stream tube itself), and checking OutgoingStreamTubeChannel::contactsForConnections() or OutgoingStreamTubeChannel::connectionsForSourceAddresses().

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsTcpSocket() or OutgoingStreamTubeChannel::offerTcpSocket() with a specified address to prevent failures, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept an IPv4 socket accepting all incoming connections coming from a specific address for incoming tubes or the stream tube is capable of mapping connections to the socket's source address for outgoing tubes, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsTcpSocket(), OutgoingStreamTubeChannel::offerTcpSocket(), OutgoingStreamTubeChannel::connectionsForSourceAddresses(), OutgoingStreamTubeChannel::contactsForConnections(), supportsIPv4SocketsOnLocalhost()
bool Tp::StreamTubeChannel::supportsIPv6SocketsOnLocalhost ( ) const

Return whether this stream tube is capable to accept or offer an IPv6 socket accepting all incoming connections coming from localhost.

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsTcpSocket() or OutgoingStreamTubeChannel::offerTcpSocket() with a specified address to prevent failures, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an IPv6 socket accepting all incoming connections coming from localhost, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsTcpSocket(), OutgoingStreamTubeChannel::offerTcpSocket(), supportsIPv6SocketsWithSpecifiedAddress()
bool Tp::StreamTubeChannel::supportsIPv6SocketsWithSpecifiedAddress ( ) const

Return whether this stream tube is capable to accept an IPv6 socket accepting all incoming connections coming from a specific address for incoming tubes or whether this stream tube is capable of mapping connections to the socket's source address for outgoing tubes.

For incoming tubes, when this capability is available, the stream tube can be accepted specifying an IPv6 address. Every connection coming from any other address than the specified one will be rejected.

For outgoing tubes, when this capability is available, one can keep track of incoming connections by enabling StreamTubeChannel::FeatureConnectionMonitoring (possibly before opening the stream tube itself), and checking OutgoingStreamTubeChannel::contactsForConnections() or OutgoingStreamTubeChannel::connectionsForSourceAddresses().

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsTcpSocket() or OutgoingStreamTubeChannel::offerTcpSocket() with a specified address to prevent failures, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept an IPv6 socket accepting all incoming connections coming from a specific address for incoming tubes or the stream tube is capable of mapping connections to the socket's source address for outgoing tubes, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsTcpSocket(), OutgoingStreamTubeChannel::offerTcpSocket(), OutgoingStreamTubeChannel::connectionsForSourceAddresses(), OutgoingStreamTubeChannel::contactsForConnections(), supportsIPv6SocketsOnLocalhost()
bool Tp::StreamTubeChannel::supportsUnixSocketsOnLocalhost ( ) const

Return whether this stream tube is capable to accept or offer an Unix socket accepting all incoming connections coming from localhost.

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsUnixSocket() or OutgoingStreamTubeChannel::offerUnixSocket() without credentials enabled, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an Unix socket accepting all incoming connections coming from localhost, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsUnixSocket(), OutgoingStreamTubeChannel::offerUnixSocket(), supportsUnixSocketsWithCredentials() supportsAbstractUnixSocketsOnLocalhost(), supportsAbstractUnixSocketsWithCredentials(),
bool Tp::StreamTubeChannel::supportsUnixSocketsWithCredentials ( ) const

Return whether this stream tube is capable to accept or offer an Unix socket which will require credentials upon connection.

When this capability is available and enabled, the connecting process must send a byte when it first connects, which is not considered to be part of the data stream. If the operating system uses sendmsg() with SCM_CREDS or SCM_CREDENTIALS to pass credentials over sockets, the connecting process must do so if possible; if not, it must still send the byte.

The listening process will disconnect the connection unless it can determine by OS-specific means that the connecting process has the same user ID as the listening process.

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsUnixSocket() or OutgoingStreamTubeChannel::offerUnixSocket() with credentials enabled, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an Unix socket which will require credentials upon connection, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsUnixSocket(), OutgoingStreamTubeChannel::offerUnixSocket(), supportsUnixSocketsOnLocalhost(), supportsAbstractUnixSocketsOnLocalhost(), supportsAbstractUnixSocketsWithCredentials(),
bool Tp::StreamTubeChannel::supportsAbstractUnixSocketsOnLocalhost ( ) const

Return whether this stream tube is capable to accept or offer an abstract Unix socket accepting all incoming connections coming from localhost.

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsUnixSocket() or OutgoingStreamTubeChannel::offerUnixSocket() without credentials enabled, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an abstract Unix socket accepting all incoming connections coming from localhost, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsUnixSocket(), OutgoingStreamTubeChannel::offerUnixSocket(), supportsUnixSocketsOnLocalhost(), supportsUnixSocketsWithCredentials(), supportsAbstractUnixSocketsWithCredentials()
bool Tp::StreamTubeChannel::supportsAbstractUnixSocketsWithCredentials ( ) const

Return whether this stream tube is capable to accept or offer an abstract Unix socket which will require credentials upon connection.

When this capability is available and enabled, the connecting process must send a byte when it first connects, which is not considered to be part of the data stream. If the operating system uses sendmsg() with SCM_CREDS or SCM_CREDENTIALS to pass credentials over sockets, the connecting process must do so if possible; if not, it must still send the byte.

The listening process will disconnect the connection unless it can determine by OS-specific means that the connecting process has the same user ID as the listening process.

Note that it is strongly advised to call this method before attempting to call IncomingStreamTubeChannel::acceptTubeAsUnixSocket() or OutgoingStreamTubeChannel::offerUnixSocket() with credentials enabled, as the spec implies this feature is not compulsory for connection managers.

This method requires StreamTubeChannel::FeatureCore to be ready.

Returns
true if the stream tube is capable to accept or offer an abstract Unix socket which will require credentials upon connection, false otherwise.
See also
IncomingStreamTubeChannel::acceptTubeAsUnixSocket(), OutgoingStreamTubeChannel::offerUnixSocket(), supportsUnixSocketsOnLocalhost(), supportsUnixSocketsWithCredentials(), supportsAbstractUnixSocketsOnLocalhost()
QSet< uint > Tp::StreamTubeChannel::connections ( ) const

Return all the known active connections since StreamTubeChannel::FeatureConnectionMonitoring has been enabled.

For this method to return all known connections, you need to make StreamTubeChannel::FeatureConnectionMonitoring ready before accepting or offering the stream tube.

This method requires StreamTubeChannel::FeatureConnectionMonitoring to be ready.

Returns
The list of active connection ids.
See also
newConnection(), connectionClosed()
SocketAddressType Tp::StreamTubeChannel::addressType ( ) const

Return the type of the tube's local endpoint socket.

Note that this function will return a valid value only after state() has gone TubeStateOpen.

Returns
The socket type as SocketAddressType.
See also
localAddress(), ipAddress()
QPair< QHostAddress, quint16 > Tp::StreamTubeChannel::ipAddress ( ) const

Return the IP address/port combination used by this stream tube.

This method will return a meaningful value only if the local endpoint socket for the tube is a TCP socket, i.e. addressType() is SocketAddressTypeIPv4 or SocketAddressTypeIPv6.

Note that this function will return a valid value only after state() has gone TubeStateOpen.

Returns
Pair of IP address as QHostAddress and port if using a TCP socket, or an undefined value otherwise.
See also
localAddress()
QString Tp::StreamTubeChannel::localAddress ( ) const

Return the local address used by this stream tube.

This method will return a meaningful value only if the local endpoint socket for the tube is an UNIX socket, i.e. addressType() is SocketAddressTypeUnix or SocketAddressTypeAbstractUnix.

Note that this function will return a valid value only after state() has gone TubeStateOpen.

Returns
Unix socket address if using an Unix socket, or an undefined value otherwise.
See also
ipAddress()
void Tp::StreamTubeChannel::newConnection ( uint  connectionId)
signal
void Tp::StreamTubeChannel::connectionClosed ( uint  connectionId,
const QString &  errorName,
const QString &  errorMessage 
)
signal

Emitted when a connection on this stream tube has been closed.

Parameters
connectionIdThe unique ID associated with the connection that was closed.
errorNameThe name of a D-Bus error describing the error that occurred.
errorMessageA debugging message associated with the error.
See also
newConnection(), connections()
void Tp::StreamTubeChannel::addConnection ( uint  connection)
protected
void Tp::StreamTubeChannel::removeConnection ( uint  connection,
const QString &  error,
const QString &  message 
)
protected
void Tp::StreamTubeChannel::setAddressType ( SocketAddressType  type)
protected
SocketAccessControl Tp::StreamTubeChannel::accessControl ( ) const
protected

Return the access control used by this stream tube.

Note that this function will only return a valid value after state() has gone TubeStateOpen.

Returns
The access control as SocketAccessControl.
See also
addressType()
void Tp::StreamTubeChannel::setAccessControl ( SocketAccessControl  accessControl)
protected
void Tp::StreamTubeChannel::setIpAddress ( const QPair< QHostAddress, quint16 > &  address)
protected
void Tp::StreamTubeChannel::setLocalAddress ( const QString &  address)
protected
bool Tp::StreamTubeChannel::isDroppingConnections ( ) const
protected

Member Data Documentation

const Feature Tp::StreamTubeChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the StreamTubeChannel object usable.

Note that this feature must be enabled in order to use most StreamTubeChannel methods. See specific methods documentation for more details.

const Feature Tp::StreamTubeChannel::FeatureConnectionMonitoring
static

Feature used in order to monitor connections to this stream tube.

See connection monitoring specific methods' documentation for more details.

See also
newConnection(), connectionClosed()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00261.html0000644000175000017500000011133412727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactBlockingInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceContactBlockingInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply BlockContacts (const Tp::UIntList &contacts, bool reportAbusive, int timeout=-1)
 
QDBusPendingReply UnblockContacts (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< Tp::HandleIdentifierMapRequestBlockedContacts (int timeout=-1)
 

Signals

void BlockedContactsChanged (const Tp::HandleIdentifierMap &blockedContacts, const Tp::HandleIdentifierMap &unblockedContacts)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceContactBlockingInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactBlockingInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactBlockingInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactBlockingInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactBlockingInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyContactBlockingCapabilities () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactBlockingInterface::ConnectionInterfaceContactBlockingInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactBlockingInterface 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.
Tp::Client::ConnectionInterfaceContactBlockingInterface::ConnectionInterfaceContactBlockingInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactBlockingInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactBlockingInterface::ConnectionInterfaceContactBlockingInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactBlockingInterface 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.
Tp::Client::ConnectionInterfaceContactBlockingInterface::ConnectionInterfaceContactBlockingInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactBlockingInterface 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 Tp::Client::ConnectionInterfaceContactBlockingInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactBlockingInterface::requestPropertyContactBlockingCapabilities ( ) const
inline

Asynchronous getter for the remote object property ContactBlockingCapabilities of type uint.

Additional capabilities for contact blocking; currently, this is limited to whether contacts may be reported as abusive.

Note that there is no capability for supporting blocking itself: the presence of this interface on a ConnectionInterface indicates that blocking contacts is supported.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactBlockingInterface::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 Tp::Client::ConnectionInterfaceContactBlockingInterface::BlockContacts ( const Tp::UIntList contacts,
bool  reportAbusive,
int  timeout = -1 
)
inlineslot

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

Direct the server to block some contacts. The precise effect is protocol-dependent, but SHOULD include ignoring all current and subsequent communications from the given contacts, avoiding sending presence to them in future, and if they were already receiving the local user's presence, behaving as if the local user went offline.

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

Parameters
contacts
Some contacts to block. If some of the contacts in this list are 
already blocked, the connection manager MUST act as if they were 
not specified in this list.
reportAbusive

In addition to blocking, report these contacts as abusive to the server administrators.

Clients can determine whether this capability is available by checking the ContactBlockingCapabilities property. If this argument is set to True by a client despite ContactBlockingCapabilities not containing the Can_Report_Abusive flag, the connection manager SHOULD act as if it were False and simply block the supplied contacts.

A correct user interface shouldn't get this far without knowing that reporting abusive contacts is not supported. If it does, then the user has expressed their intention to block these contacts. Returning an error would leave the UI with three options:

  • Ignore the error, leaving the contacts not actually blocked;
  • Display an error to the user;
  • Call this method again, passing False for this argument.

None of these seem preferable to the CM just ignoring this flag if it doesn't support it: that way, the contacts will be blocked, as the user requested, and UIs have fewer ways to mess up entirely.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactBlockingInterface::UnblockContacts ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Direct the server to unblock some contacts.

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

Parameters
contacts
Some contacts to unblock. If some of the contacts in this list are 
not currently blocked, the connection manager MUST act as if they 
were not specified in this list.
timeoutThe timeout in milliseconds.
QDBusPendingReply<Tp::HandleIdentifierMap> Tp::Client::ConnectionInterfaceContactBlockingInterface::RequestBlockedContacts ( int  timeout = -1)
inlineslot

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

List the contacts that are blocked.

Clients SHOULD allow a relatively long timeout for calls to this method, since on some protocols contact blocking is part of the contact list, which can take a significant time to retrieve.

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.
Returns
The blocked contacts’ handles, together with their identifiers.
void Tp::Client::ConnectionInterfaceContactBlockingInterface::BlockedContactsChanged ( const Tp::HandleIdentifierMap blockedContacts,
const Tp::HandleIdentifierMap unblockedContacts 
)
signal

Represents the signal BlockedContactsChanged on the remote object.

Emitted when the list of blocked contacts is first retrieved (before returning from any pending calls to RequestBlockedContacts() ), and whenever the list of blocked contacts subsequently changes.

Parameters
blockedContacts
Contacts added to the result of RequestBlockedContacts.
unblockedContacts
Contacts removed from the result of RequestBlockedContacts.
void Tp::Client::ConnectionInterfaceContactBlockingInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/nav_h.png0000644000175000017500000000014212727270137021071 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDR ,é@)IDATxíÝA @BQ­³šÛ›Ð¢Žáà) )ëý éaÅèÜ¿Æo‡RlÐßIEND®B`‚telepathy-qt-0.9.7/doc/html/a01222.html0000644000175000017500000002550512727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::AuthenticationTLSCertificateInterface Member List

This is the complete list of members for Tp::Client::AuthenticationTLSCertificateInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
Accept(int timeout=-1)Tp::Client::AuthenticationTLSCertificateInterfaceinlineslot
Accepted()Tp::Client::AuthenticationTLSCertificateInterfacesignal
AuthenticationTLSCertificateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AuthenticationTLSCertificateInterface
AuthenticationTLSCertificateInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::AuthenticationTLSCertificateInterface
AuthenticationTLSCertificateInterface(Tp::DBusProxy *proxy)Tp::Client::AuthenticationTLSCertificateInterface
AuthenticationTLSCertificateInterface(const Tp::AbstractInterface &mainInterface)Tp::Client::AuthenticationTLSCertificateInterfaceexplicit
AuthenticationTLSCertificateInterface(const Tp::AbstractInterface &mainInterface, QObject *parent)Tp::Client::AuthenticationTLSCertificateInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::AuthenticationTLSCertificateInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Reject(const Tp::TLSCertificateRejectionList &rejections, int timeout=-1)Tp::Client::AuthenticationTLSCertificateInterfaceinlineslot
Rejected(const Tp::TLSCertificateRejectionList &rejections)Tp::Client::AuthenticationTLSCertificateInterfacesignal
requestAllProperties() const Tp::Client::AuthenticationTLSCertificateInterfaceinline
requestPropertyCertificateChainData() const Tp::Client::AuthenticationTLSCertificateInterfaceinline
requestPropertyCertificateType() const Tp::Client::AuthenticationTLSCertificateInterfaceinline
requestPropertyRejections() const Tp::Client::AuthenticationTLSCertificateInterfaceinline
requestPropertyState() const Tp::Client::AuthenticationTLSCertificateInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::AuthenticationTLSCertificateInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00006.html0000644000175000017500000003645012727270137020777 0ustar00kaffeinekaffeine00000000000000 accounts/account-item.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
accounts/account-item.cpp
#include "account-item.h"
#include "_gen/account-item.moc.hpp"
#include <TelepathyQt/AccountManager>
#include <TelepathyQt/PendingReady>
#include <QDebug>
#include <QComboBox>
#include <QTableWidget>
AccountItem::AccountItem(Tp::AccountPtr acc, QTableWidget *table, int row, QObject *parent)
: QObject(parent),
mAcc(acc),
mTable(table),
mRow(row)
{
init();
}
AccountItem::~AccountItem()
{
}
void AccountItem::setupGui()
{
mTable->setItem(mRow, ColumnValid, new QTableWidgetItem(mAcc->isValid() ?
QLatin1String("true") : QLatin1String("false")));
mTable->setItem(mRow, ColumnEnabled, new QTableWidgetItem(mAcc->isEnabled() ?
QLatin1String("true") : QLatin1String("false")));
mTable->setItem(mRow, ColumnConnectionManager, new QTableWidgetItem(mAcc->cmName()));
mTable->setItem(mRow, ColumnProtocol, new QTableWidgetItem(mAcc->protocolName()));
mTable->setItem(mRow, ColumnDisplayName, new QTableWidgetItem(mAcc->displayName()));
mTable->setItem(mRow, ColumnNickname, new QTableWidgetItem(mAcc->nickname()));
mTable->setItem(mRow, ColumnConnectsAutomatically, new QTableWidgetItem(mAcc->connectsAutomatically() ?
QLatin1String("true") : QLatin1String("false")));
mTable->setItem(mRow, ColumnAutomaticPresence, new QTableWidgetItem(mAcc->automaticPresence().status()));
mTable->setItem(mRow, ColumnCurrentPresence, new QTableWidgetItem(mAcc->currentPresence().status()));
mTable->setItem(mRow, ColumnRequestedPresence, new QTableWidgetItem(mAcc->requestedPresence().status()));
mTable->setItem(mRow, ColumnChangingPresence, new QTableWidgetItem(mAcc->isChangingPresence() ?
QLatin1String("true") : QLatin1String("false")));
mTable->setItem(mRow, ColumnConnectionStatus, new QTableWidgetItem(QString::number(mAcc->connectionStatus())));
mTable->setItem(mRow, ColumnConnection, new QTableWidgetItem(
mAcc->connection().isNull() ? QLatin1String("") : mAcc->connection()->objectPath()));
}
void AccountItem::init()
{
setupGui();
Tp::Account *acc = mAcc.data();
connect(acc,
SIGNAL(validityChanged(bool)),
SLOT(onValidityChanged(bool)));
connect(acc,
SIGNAL(stateChanged(bool)),
SLOT(onStateChanged(bool)));
connect(acc,
SIGNAL(displayNameChanged(const QString &)),
SLOT(onDisplayNameChanged(const QString &)));
connect(acc,
SIGNAL(nicknameChanged(const QString &)),
SLOT(onNicknameChanged(const QString &)));
connect(acc,
SIGNAL(connectsAutomaticallyPropertyChanged(bool)),
SLOT(onConnectsAutomaticallyPropertyChanged(bool)));
connect(acc,
SIGNAL(changingPresence(bool)),
SLOT(onChangingPresenceChanged(bool)));
connect(acc,
SIGNAL(automaticPresenceChanged(const Tp::SimplePresence &)),
SLOT(onAutomaticPresenceChanged(const Tp::SimplePresence &)));
connect(acc,
SIGNAL(currentPresenceChanged(const Tp::SimplePresence &)),
SLOT(onCurrentPresenceChanged(const Tp::SimplePresence &)));
connect(acc,
SIGNAL(requestedPresenceChanged(const Tp::SimplePresence &)),
SLOT(onRequestedPresenceChanged(const Tp::SimplePresence &)));
connect(acc,
const QString &, const QVariantMap &)),
const QString &, const QVariantMap &)));
connect(acc,
SIGNAL(haveConnectionChanged(bool)),
SLOT(onHaveConnectionChanged(bool)));
}
void AccountItem::onValidityChanged(bool valid)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnValid);
item->setText((valid ? QLatin1String("true") : QLatin1String("false")));
}
void AccountItem::onStateChanged(bool enabled)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnEnabled);
item->setText((enabled ? QLatin1String("true") : QLatin1String("false")));
}
void AccountItem::onDisplayNameChanged(const QString &name)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnDisplayName);
item->setText(name);
}
void AccountItem::onNicknameChanged(const QString &name)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnNickname);
item->setText(name);
}
void AccountItem::onConnectsAutomaticallyPropertyChanged(bool value)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnConnectsAutomatically);
item->setText((value ? QLatin1String("true") : QLatin1String("false")));
}
void AccountItem::onChangingPresenceChanged(bool value)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnChangingPresence);
item->setText((value ? QLatin1String("true") : QLatin1String("false")));
}
void AccountItem::onAutomaticPresenceChanged(const Tp::SimplePresence &presence)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnAutomaticPresence);
item->setText(presence.status);
}
void AccountItem::onCurrentPresenceChanged(const Tp::SimplePresence &presence)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnCurrentPresence);
item->setText(presence.status);
}
void AccountItem::onRequestedPresenceChanged(const Tp::SimplePresence &presence)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnRequestedPresence);
item->setText(presence.status);
}
void AccountItem::onStatusChanged(Tp::ConnectionStatus status,
Tp::ConnectionStatusReason reason, const QString &error,
const QVariantMap &errorDetails)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnConnectionStatus);
item->setText(QString::number(status));
}
void AccountItem::onHaveConnectionChanged(bool haveConnection)
{
QTableWidgetItem *item = mTable->item(mRow, ColumnConnection);
item->setText(mAcc->connection().isNull() ?
QLatin1String("") : mAcc->connection()->objectPath());
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_n.html0000644000175000017500000000523412727270137023545 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- n -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00320.html0000644000175000017500000001005312727270137020765 0ustar00kaffeinekaffeine00000000000000 Tp::DBusTubeMember Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::DBusTubeMember Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint handle
 
QString uniqueName
 

Detailed Description

Structure type generated from the specification.

Represents a participant in a multi-user D-Bus tube, as returned by GetDBusNames and seen in the DBusNamesChanged signal.

Member Data Documentation

uint Tp::DBusTubeMember::handle

The handle of a participant in this D-Bus tube.

QString Tp::DBusTubeMember::uniqueName

That participant's unique name.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01291.html0000644000175000017500000003315612727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactListInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactListInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AuthorizePublication(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
ConnectionInterfaceContactListInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactListInterface
ConnectionInterfaceContactListInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactListInterface
ConnectionInterfaceContactListInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactListInterface
ConnectionInterfaceContactListInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactListInterfaceexplicit
ConnectionInterfaceContactListInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactListInterface
ContactListStateChanged(uint contactListState)Tp::Client::ConnectionInterfaceContactListInterfacesignal
ContactsChanged(const Tp::ContactSubscriptionMap &changes, const Tp::UIntList &removals)Tp::Client::ConnectionInterfaceContactListInterfacesignal
ContactsChangedWithID(const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)Tp::Client::ConnectionInterfaceContactListInterfacesignal
Download(int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
GetContactListAttributes(const QStringList &interfaces, bool hold, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactListInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RemoveContacts(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
requestAllProperties() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
requestPropertyCanChangeContactList() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
requestPropertyContactListPersists() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
requestPropertyContactListState() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
requestPropertyDownloadAtConnection() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
requestPropertyRequestUsesMessage() const Tp::Client::ConnectionInterfaceContactListInterfaceinline
RequestSubscription(const Tp::UIntList &contacts, const QString &message, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactListInterfaceinlinestatic
Unpublish(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
Unsubscribe(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceContactListInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00075.html0000644000175000017500000014745212727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelFileTransferType Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelFileTransferType Class Reference

Base class of Channel.Type.FileTransfer channel type. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

enum  Direction { Incoming, Outgoing }
 

Signals

void stateChanged (uint state, uint reason)
 
void uriDefined (const QString &uri)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseChannelFileTransferType ()
 
QVariantMap immutableProperties () const
 
Direction direction () const
 
QString contentType () const
 
QString filename () const
 
qulonglong size () const
 
uint contentHashType () const
 
QString contentHash () const
 
QString description () const
 
QDateTime date () const
 
virtual Tp::SupportedSocketMap availableSocketTypes () const
 
uint state () const
 
void setState (uint state, uint reason)
 
qulonglong transferredBytes () const
 
void setTransferredBytes (qulonglong count)
 
qulonglong initialOffset () const
 
QString uri () const
 
QString fileCollection () const
 
void setFileCollection (const QString &fileCollection)
 
bool remoteAcceptFile (QIODevice *output, qulonglong offset)
 
bool remoteProvideFile (QIODevice *input, qulonglong deviceOffset=0)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelFileTransferTypePtr create (const QVariantMap &request)
 
template<typename BaseChannelFileTransferTypeSubclass >
static SharedPtr< BaseChannelFileTransferTypeSubclass > create (const QVariantMap &request)
 

Protected Member Functions

 BaseChannelFileTransferType (const QVariantMap &request)
 
virtual bool createSocket (uint addressType, uint accessControl, const QDBusVariant &accessControlParam, DBusError *error)
 
virtual QDBusVariant socketAddress () const
 
void setClientSocket (QIODevice *socket)
 
void close ()
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class of Channel.Type.FileTransfer channel type.

Default implementation currently support only IPv4 and IPv6 sockets with localhost access control.

Usage:

  1. Add FileTransfer to the list of the protocol requestable channel classes.
  2. Add FileTransfer to the list of the connection requestable channel classes.
  3. Setup ContactCapabilities interface and ensure that FileTransfer requestable channel class presence matches to actual local (!) and remote contacts capabilities.
  4. Implement initial FileTransfer channel support in createChannel callback.
    1. The channel of interest are those with channelType TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER.
    2. Create BaseChannel and plug BaseChannelFileTransferType interface.
    3. If transferInterface->direction() is Outgoing, notify the remote side.
  5. Implement incoming file request handler:
    1. Properly setup the request details, take care on TargetHandle and InitiatorHandle.
    2. Call BaseConnection::createChannel() with the details. Do not suppress handler!
    3. Use remoteProvideFile() to pass the input device and its offset.
    4. transferredBytes property will be updated automatically on bytes written to the client socket.
  6. Implement "remote side accepted transfer" handler:
    1. Use remoteAcceptFile() to pass the requested initial offset and output device.
    2. Update transferredBytes property on bytes written to the remote side.

Incoming transfer process:

  1. Connection manager creates not requested channel with ChannelType = TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER and other properties, such as Filename, Size and ContentType.
  2. The channel initial state is Pending.
  3. At any time:
    1. Client calls AcceptFile method to configure the socket and request an initial offset. The implementation calls createSocket(), which should trigger (now or later) a call to setClientSocket() to setup the client socket. socketAddress() method used to return the socket address. This changes the state to Accepted.
    2. The connection manager calls remoteProvideFile() method to pass the input device and it's offset. The device offset is a number of bytes, already skipped by the device. The interface would skip remaining initialOffset - deviceOffset bytes.
    3. Client connects to the socket and triggers setClientSocket() call.
  4. The channel state is Open now.
  5. If the device is already ready to read, or emit readyRead() signal, the interface reads data from the device and write it to the clientSocket.
  6. Client socket emit bytesWritten() signal, the interface updates transferredBytes count.
  7. If transferredBytes == size, then the channel state changes to Completed. Otherwise the interface waits for further data from the device socket.

Outgoing transfer process:

  1. Client requests a channel with ChannelType = TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER and other properties, such as Filename, Size and ContentType.
  2. Connection manager creates the requested channel with initial state Pending.
  3. Connection manager asks remote contact to accept the transfer.
  4. At any time:
    1. Remote contact accept file, connection manager calls remoteAcceptFile() method to pass the output device and an initial offset. This changes the state to Accepted.
    2. Client calls ProvideFile method to configure a socket. The implementation calls createSocket(), which should trigger (now or later) a call to setClientSocket() to setup the client socket. socketAddress() method used to return the socket address.
    3. Client connects to the socket and triggers setClientSocket() call.
  5. The channel state is Open now.
  6. Client writes data to the socket.
  7. The clientSocket emits readyRead() signal, the interface reads the data from the clientSocket and write it to the io device.
  8. Connection manager calls updates transferredBytes property on actual data write.
  9. If transferredBytes == size, then the channel state changes to Completed. Otherwise the interface waits for further data from the client socket.

Subclassing:

Member Enumeration Documentation

Enumerator
Incoming 
Outgoing 

Constructor & Destructor Documentation

Tp::BaseChannelFileTransferType::~BaseChannelFileTransferType ( )
virtual

Class destructor.

Tp::BaseChannelFileTransferType::BaseChannelFileTransferType ( const QVariantMap &  request)
protected

Class constructor.

Member Function Documentation

static BaseChannelFileTransferTypePtr Tp::BaseChannelFileTransferType::create ( const QVariantMap &  request)
inlinestatic
template<typename BaseChannelFileTransferTypeSubclass >
static SharedPtr<BaseChannelFileTransferTypeSubclass> Tp::BaseChannelFileTransferType::create ( const QVariantMap &  request)
inlinestatic
QVariantMap Tp::BaseChannelFileTransferType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

BaseChannelFileTransferType::Direction Tp::BaseChannelFileTransferType::direction ( ) const
QString Tp::BaseChannelFileTransferType::contentType ( ) const
QString Tp::BaseChannelFileTransferType::filename ( ) const
qulonglong Tp::BaseChannelFileTransferType::size ( ) const
uint Tp::BaseChannelFileTransferType::contentHashType ( ) const
QString Tp::BaseChannelFileTransferType::contentHash ( ) const
QString Tp::BaseChannelFileTransferType::description ( ) const
QDateTime Tp::BaseChannelFileTransferType::date ( ) const
Tp::SupportedSocketMap Tp::BaseChannelFileTransferType::availableSocketTypes ( ) const
virtual
uint Tp::BaseChannelFileTransferType::state ( ) const
void Tp::BaseChannelFileTransferType::setState ( uint  state,
uint  reason 
)
qulonglong Tp::BaseChannelFileTransferType::transferredBytes ( ) const
void Tp::BaseChannelFileTransferType::setTransferredBytes ( qulonglong  count)
qulonglong Tp::BaseChannelFileTransferType::initialOffset ( ) const
QString Tp::BaseChannelFileTransferType::uri ( ) const
QString Tp::BaseChannelFileTransferType::fileCollection ( ) const
void Tp::BaseChannelFileTransferType::setFileCollection ( const QString &  fileCollection)
bool Tp::BaseChannelFileTransferType::remoteAcceptFile ( QIODevice *  output,
qulonglong  offset 
)
bool Tp::BaseChannelFileTransferType::remoteProvideFile ( QIODevice *  input,
qulonglong  deviceOffset = 0 
)

Connection manager should call this method to pass the input device and its offset. The interface would skip remaining initialOffset - deviceOffset bytes.

Parameters
inputThe input device
deviceOffsetThe number of bytes, already skipped by the device.
Returns
True if success, false otherwise.
void Tp::BaseChannelFileTransferType::stateChanged ( uint  state,
uint  reason 
)
signal
void Tp::BaseChannelFileTransferType::uriDefined ( const QString &  uri)
signal
bool Tp::BaseChannelFileTransferType::createSocket ( uint  addressType,
uint  accessControl,
const QDBusVariant &  accessControlParam,
Tp::DBusError error 
)
protectedvirtual
QDBusVariant Tp::BaseChannelFileTransferType::socketAddress ( ) const
protectedvirtual
void Tp::BaseChannelFileTransferType::setClientSocket ( QIODevice *  socket)
protected
void Tp::BaseChannelFileTransferType::close ( )
protectedvirtual

Reimplemented from Tp::AbstractChannelInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01036.html0000644000175000017500000000460312727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusTubeMember Member List

This is the complete list of members for Tp::DBusTubeMember, including all inherited members.

handleTp::DBusTubeMember
uniqueNameTp::DBusTubeMember


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00890.html0000644000175000017500000000631312727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClient Member List

This is the complete list of members for Tp::AbstractClient, including all inherited members.

AbstractClient()Tp::AbstractClient
isRegistered() const Tp::AbstractClient
RefCounted()Tp::RefCountedinline
~AbstractClient()Tp::AbstractClientvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01350.html0000644000175000017500000002454512727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AddClientInterest(const QStringList &tokens, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
Connect(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
ConnectionError(const QString &error, const QVariantMap &details)Tp::Service::ConnectionAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
Disconnect(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
GetInterfaces(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
GetProtocol(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
GetSelfHandle(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
GetStatus(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
HasImmortalHandles() const Tp::Service::ConnectionAdaptor
HoldHandles(uint handleType, const Tp::UIntList &handles, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
InspectHandles(uint handleType, const Tp::UIntList &handles, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
Interfaces() const Tp::Service::ConnectionAdaptor
ListChannels(const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
NewChannel(const QDBusObjectPath &objectPath, const QString &channelType, uint handleType, uint handle, bool suppressHandler)Tp::Service::ConnectionAdaptorsignal
ReleaseHandles(uint handleType, const Tp::UIntList &handles, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
RemoveClientInterest(const QStringList &tokens, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
RequestChannel(const QString &type, uint handleType, uint handle, bool suppressHandler, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
RequestHandles(uint handleType, const QStringList &identifiers, const QDBusMessage &dbusMessage)Tp::Service::ConnectionAdaptorslot
SelfContactChanged(uint selfHandle, const QString &selfID)Tp::Service::ConnectionAdaptorsignal
SelfHandle() const Tp::Service::ConnectionAdaptor
SelfHandleChanged(uint selfHandle)Tp::Service::ConnectionAdaptorsignal
SelfID() const Tp::Service::ConnectionAdaptor
Status() const Tp::Service::ConnectionAdaptor
StatusChanged(uint status, uint reason)Tp::Service::ConnectionAdaptorsignal
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00134.html0000644000175000017500000015351612727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallStreamEndpointInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallStreamEndpointInterface Class Reference

#include <TelepathyQt/CallStreamEndpoint>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
 
QDBusPendingReply SetEndpointState (uint component, uint state, int timeout=-1)
 
QDBusPendingReply AcceptSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
 
QDBusPendingReply RejectSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
 
QDBusPendingReply SetControlling (bool controlling, int timeout=-1)
 

Signals

void RemoteCredentialsSet (const QString &username, const QString &password)
 
void RemoteCandidatesAdded (const Tp::CandidateList &candidates)
 
void CandidatePairSelected (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate)
 
void EndpointStateChanged (uint component, uint state)
 
void ControllingChanged (bool controlling)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallStreamEndpointInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamEndpointInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamEndpointInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyRemoteCredentials () const
 
Tp::PendingVariantrequestPropertyRemoteCandidates () const
 
Tp::PendingVariantrequestPropertySelectedCandidatePairs () const
 
Tp::PendingVariantrequestPropertyEndpointState () const
 
Tp::PendingVariantrequestPropertyTransport () const
 
Tp::PendingVariantrequestPropertyControlling () const
 
Tp::PendingVariantrequestPropertyIsICELite () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Stream.Endpoint".

Constructor & Destructor Documentation

Tp::Client::CallStreamEndpointInterface::CallStreamEndpointInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallStreamEndpointInterface 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.
Tp::Client::CallStreamEndpointInterface::CallStreamEndpointInterface ( Tp::DBusProxy proxy)

Creates a CallStreamEndpointInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::CallStreamEndpointInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Stream.Endpoint", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyRemoteCredentials ( ) const
inline

Asynchronous getter for the remote object property RemoteCredentials of type Tp::StreamCredentials.

The ICE credentials used for all candidates. If each candidate has different credentials, then this property SHOULD be ("", ""). Per-candidate credentials are set in the Candidate's Candidate_Info a{sv}.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyRemoteCandidates ( ) const
inline

Asynchronous getter for the remote object property RemoteCandidates of type Tp::CandidateList.

A list of candidates for this endpoint.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertySelectedCandidatePairs ( ) const
inline

Asynchronous getter for the remote object property SelectedCandidatePairs of type Tp::CandidatePairList.

The candidates that have been selected for use to stream packets to the remote contact for each component of the stream. Change notification is given via the the CandidatePairSelected() signal.

Note to client implementors (from RFC 5245 section 9.2.2.3):

If at least one of the pairs is In-Progress, the agent SHOULD wait for those checks to complete, and as each completes, redo the processing in this section until there are no losing pairs.

Also note that some or all of the local candidates in this list may represent a peer-reflexive candidate that do not appear in CallStreamInterfaceMediaInterface::LocalCandidates .

See RFC 5245 Appendix B.6. for more details about why this is.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyEndpointState ( ) const
inline

Asynchronous getter for the remote object property EndpointState of type Tp::ComponentStateMap.

The state of ICE negotiation with this Endpoint for each component of the stream.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyTransport ( ) const
inline

Asynchronous getter for the remote object property Transport of type uint.

The transport type for the stream endpoint. This can be different from the transport of the Stream in the case where of falling back from ICE to Raw_UDP.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyControlling ( ) const
inline

Asynchronous getter for the remote object property Controlling of type bool.

The local side is taking the controlling role (as defined by ICE RFC 5245). Change notification is given via the ControllingChanged() signal.

In ICE, the Caller is normally in controlling mode (and the Callee in controlled-mode), except if the Caller is doing ICE-Lite, in which case it's reversed. The Controlling side is responsible for selecting nominated pairs, and generating updated offers upon conclusion of ICE.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamEndpointInterface::requestPropertyIsICELite ( ) const
inline

Asynchronous getter for the remote object property IsICELite of type bool.

The Remote side is an ICE Lite endpoint. (The local side is assumed to always be an ICE Full implementation.)

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallStreamEndpointInterface::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 Tp::Client::CallStreamEndpointInterface::SetSelectedCandidatePair ( const Tp::Candidate localCandidate,
const Tp::Candidate remoteCandidate,
int  timeout = -1 
)
inlineslot

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

Update the entry in SelectedCandidatePairs for a particular component, and signal it to the remote side.

This method should only be called by the controlling side of an ICE session. See CandidatePairSelected() for details.

In the SDP offer/answer model, this signalling will take place as generating an updated offer. Note that updates may be queued up until information about all components of all streams is gathered.

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

Parameters
localCandidate
The local candidate that has been selected.
remoteCandidate
The remote candidate that has been selected.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamEndpointInterface::SetEndpointState ( uint  component,
uint  state,
int  timeout = -1 
)
inlineslot

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

Change the EndpointState of the endpoint.

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

Parameters
component
The component whose state needs updating.
state
The new state of this component.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamEndpointInterface::AcceptSelectedCandidatePair ( const Tp::Candidate localCandidate,
const Tp::Candidate remoteCandidate,
int  timeout = -1 
)
inlineslot

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

Called in response to CandidatePairSelected if/when this candidate pair is known to have passed its connectivity checks.

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

Parameters
localCandidate
The local candidate that has been selected.
remoteCandidate
The remote candidate that has been selected.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamEndpointInterface::RejectSelectedCandidatePair ( const Tp::Candidate localCandidate,
const Tp::Candidate remoteCandidate,
int  timeout = -1 
)
inlineslot

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

Called in response to CandidatePairSelected if/when this candidate pair is known to have failed its connectivity checks.

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

Parameters
localCandidate
The local candidate that has been selected.
remoteCandidate
The remote candidate that has been selected.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamEndpointInterface::SetControlling ( bool  controlling,
int  timeout = -1 
)
inlineslot

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

Set whether the local side is taking the Controlling role. Note that if there are multiple endpoints (e.g. SIP call forking) it may be the case that all endpoints need to have the same controlling/controlled orientation.

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

Parameters
controlling
The new value of Controlling.
timeoutThe timeout in milliseconds.
void Tp::Client::CallStreamEndpointInterface::RemoteCredentialsSet ( const QString &  username,
const QString &  password 
)
signal

Represents the signal RemoteCredentialsSet on the remote object.

Emitted when the remote ICE credentials for the endpoint are set. If each candidate has different credentials, then this signal will never be fired.

Parameters
username
The username set.
password
The password set.
void Tp::Client::CallStreamEndpointInterface::RemoteCandidatesAdded ( const Tp::CandidateList candidates)
signal

Represents the signal RemoteCandidatesAdded on the remote object.

Emitted when remote candidates are added to the RemoteCandidates property.

Parameters
candidates
The candidates that were added.
void Tp::Client::CallStreamEndpointInterface::CandidatePairSelected ( const Tp::Candidate localCandidate,
const Tp::Candidate remoteCandidate 
)
signal

Represents the signal CandidatePairSelected on the remote object.

Emitted when a candidate is selected for use in the stream by the controlling side of an ICE session. The controlled side should call AcceptSelectedCandidatePair or RejectSelectedCandidatePair when connectivity checks have either succeeded or failed for this candidate pair. See also: SelectedCandidatePairs.

Parameters
localCandidate
The local candidate that has been selected.
remoteCandidate
The remote candidate that has been selected.
void Tp::Client::CallStreamEndpointInterface::EndpointStateChanged ( uint  component,
uint  state 
)
signal

Represents the signal EndpointStateChanged on the remote object.

Emitted when the EndpointState property changes.

Parameters
component
The component whose state has changed.
state
The new state of this component.
void Tp::Client::CallStreamEndpointInterface::ControllingChanged ( bool  controlling)
signal

Represents the signal ControllingChanged on the remote object.

The value of Controlling has changed.

Parameters
controlling
The new value of Controlling.
void Tp::Client::CallStreamEndpointInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00449.html0000644000175000017500000011627012727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ProtocolInterfaceAddressingInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ProtocolInterfaceAddressingInterface Class Reference

#include <TelepathyQt/ConnectionManager>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QString > NormalizeVCardAddress (const QString &VCardField, const QString &VCardAddress, int timeout=-1)
 
QDBusPendingReply< QString > NormalizeContactURI (const QString &URI, int timeout=-1)
 

Public Member Functions

 ProtocolInterfaceAddressingInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfaceAddressingInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfaceAddressingInterface (Tp::DBusProxy *proxy)
 
 ProtocolInterfaceAddressingInterface (const Tp::Client::ConnectionManagerInterface &mainInterface)
 
 ProtocolInterfaceAddressingInterface (const Tp::Client::ConnectionManagerInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyAddressableVCardFields () const
 
Tp::PendingVariantrequestPropertyAddressableURISchemes () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Protocol.Interface.Addressing".

Constructor & Destructor Documentation

Tp::Client::ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ProtocolInterfaceAddressingInterface 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.
Tp::Client::ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface ( Tp::DBusProxy proxy)

Creates a ProtocolInterfaceAddressingInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface ( const Tp::Client::ConnectionManagerInterface mainInterface)
explicit

Creates a ProtocolInterfaceAddressingInterface 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.
Tp::Client::ProtocolInterfaceAddressingInterface::ProtocolInterfaceAddressingInterface ( const Tp::Client::ConnectionManagerInterface mainInterface,
QObject *  parent 
)

Creates a ProtocolInterfaceAddressingInterface 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 Tp::Client::ProtocolInterfaceAddressingInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Protocol.Interface.Addressing", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAddressingInterface::requestPropertyAddressableVCardFields ( ) const
inline

Asynchronous getter for the remote object property AddressableVCardFields of type QStringList.

The vCard fields that can be used to request a contact with normalized to lower case. If the URL vCard field is addressable, a colon, followed by the supported URI schemes will be concatenated.

For example: ["tel", "x-sip"].

The url vCard field MUST NOT appear here; see AddressableURISchemes instead.

In practice, protocols have a limited set of URI schemes that make sense to resolve as a contact.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key AddressableVCardFields. The corresponding value is a list of strings, each followed with a semicolon and in the syntax of the "localestring" type from the Desktop Entry Specification.

Well-known vCard fields:

tel
The TEL vCard field. Used for phone numbers.
x-sip
The X-SIP vCard field. Used for SIP addresses.
x-aim
The X-AIM vCard field. Used for AIM user IDs.
x-icq
The X-ICQ vCard field. Used for ICQ UINs.
x-skype
The X-SKYPE vCard field. Used for Skype user names or telephone numbers. There is also a X-SKYPE-USERNAME field, but for Telepathy purposes, x-skype is preferred
x-groupwise
The X-GROUPWISE vCard field. Used for Groupwise contacts.
x-gadugadu
The X-GADUGADU vCard field. Used for Gadu-Gadu contacts.
x-jabber
The X-JABBER vCard field. Used for XMPP JIDs.
x-msn
The X-MSN vCard field. Used for MSN contacts.
x-yahoo
The X-YAHOO vCard field. Used for Yahoo! IDs.
x-facebook-id
Used for Facebook IDs in XMPP. If the user JID is "-12345@chat.facebook.com" then the x-facebook-id is "12345"

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAddressingInterface::requestPropertyAddressableURISchemes ( ) const
inline

Asynchronous getter for the remote object property AddressableURISchemes of type QStringList.

The URI schemes that are supported by this protocol.

For example: ["tel", "sip"].

This property should only be used when the connection is offline. When it is connected the addressable URI schemes should be retrieved from the ConnectionInterfaceRequestsInterface::RequestableChannelClasses 's TargetURIScheme fixed-property instead.

Connection managers with a .manager file MUST cache this property in the protocol's section of the .manager file if it is non-empty, using the key AddressableURISchemes. The corresponding value is a list of strings, each followed with a semicolon and in the syntax of the "localestring" type from the Desktop Entry Specification.

Well-known URI schemes:

sip
SIP protocol. For example: sip:julien@example.com.
sips
Secure (encrypted) SIP protocol. For example: sips:julien@example.com.
tel
Used for telephone numbers. For example: tel:+12065551234.
xmpp
XMPP protocol. For example: xmpp:julien@example.com.
msnim
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be add; the contact field in the query string is used to identify the contact. For example: msnim:add?contact=julien.
aim
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be addbuddy; the screenname field in the query string is used to identify the contact. For example: aim:addbuddy?screenname=julien.
skype
Skype protocol. For example: skype:julien.
ymsgr
For the purposes of ProtocolInterfaceAddressingInterface , ConnectionInterfaceAddressingInterface , and org.freedesktop.Telepathy.Channel.Interface.Addressing1 , the verb part is ignored, and SHOULD be addfriend; the query string is used to identify the contact. For example: ymsgr:addfriend?julien.
gg
Gadu-Gadu protocol. For example: gg:julien.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ProtocolInterfaceAddressingInterface::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<QString> Tp::Client::ProtocolInterfaceAddressingInterface::NormalizeVCardAddress ( const QString &  VCardField,
const QString &  VCardAddress,
int  timeout = -1 
)
inlineslot

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

Attempt to normalize the given vCard address. Where possible, this SHOULD return an address that would appear in the org.freedesktop.Telepathy.Connection.Interface.Addressing1/addresses attribute for a contact on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

An example would be a vCard TEL field with a formatted number in the form of +1 (206) 555 1234, this would be normalized to +12065551234.

This method MAY simply raise NotImplemented on some protocols, if it has no use.

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

Parameters
VCardField
The vCard field of the address we are normalizing. The field name 
SHOULD be in lower case, and MUST appear in AddressableVCardFields.
VCardAddress
The address to normalize, which is assumed to belong to a contact 
(and not, for instance, a chatroom or server).
timeoutThe timeout in milliseconds.
Returns
The vCard address, normalized as much as possible.
QDBusPendingReply<QString> Tp::Client::ProtocolInterfaceAddressingInterface::NormalizeContactURI ( const QString &  URI,
int  timeout = -1 
)
inlineslot

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

Attempt to normalize the given contact URI. Where possible, this SHOULD return an address that would appear in the org.freedesktop.Telepathy.Connection.Interface.Addressing1/uris attribute for a contact on a connected ConnectionInterface .

If full normalization requires network activity or is otherwise impossible to do without a ConnectionInterface , this method SHOULD perform a best-effort normalization.

If the URI has extra information beyond what's necessary to identify a particular contact, such as an XMPP resource or an action to carry out, this extra information SHOULD be removed. If all URIs in a scheme contain a verb or action (like aim, ymsgr and msnim URIs), then the verb SHOULD be replaced with the one specified in AddressableURISchemes .

This method is intended to normalize URIs stored in address books, for instance. In protocols like XMPP, if you vary the resource or action (query string), the URI still refers to the same high-level contact.

For instance, xmpp:romeo@Example.Com/Empathy?message;body=Hello would be normalized to xmpp:romeo@example.com, and aim:goim?screenname=Romeo%20M&message=Hello would be normalized to aim:addbuddy?screenname=romeom.

This method MAY simply raise NotImplemented on some protocols, if it has no use.

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

Parameters
URI
The URI to normalize, which is assumed to refer to a contact (as 
opposed to, for instance, a chatroom or a server). In some 
protocols, like XMPP, there is no way to tell whether a given URI 
refers to a contact or a chatroom by looking at its syntax. The 
URI&apos;s scheme (i.e. the part before the first colon) MUST 
appear in AddressableURISchemes.
timeoutThe timeout in milliseconds.
Returns
A URI, normalized as much as possible.
void Tp::Client::ProtocolInterfaceAddressingInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01164.html0000644000175000017500000003160312727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RequestableChannelClassSpec Member List

This is the complete list of members for Tp::RequestableChannelClassSpec, including all inherited members.

allowedProperties() const Tp::RequestableChannelClassSpec
allowsProperty(const QString &name) const Tp::RequestableChannelClassSpec
audioCall()Tp::RequestableChannelClassSpecstatic
audioCallWithVideoAllowed()Tp::RequestableChannelClassSpecstatic
bareClass() const Tp::RequestableChannelClassSpec
channelType() const Tp::RequestableChannelClassSpec
conferenceStreamedMediaCall()Tp::RequestableChannelClassSpecstatic
conferenceStreamedMediaCallWithInvitees()Tp::RequestableChannelClassSpecstatic
conferenceTextChat()Tp::RequestableChannelClassSpecstatic
conferenceTextChatroom()Tp::RequestableChannelClassSpecstatic
conferenceTextChatroomWithInvitees()Tp::RequestableChannelClassSpecstatic
conferenceTextChatWithInvitees()Tp::RequestableChannelClassSpecstatic
contactSearch()Tp::RequestableChannelClassSpecstatic
contactSearchWithLimit()Tp::RequestableChannelClassSpecstatic
contactSearchWithSpecificServer()Tp::RequestableChannelClassSpecstatic
contactSearchWithSpecificServerAndLimit()Tp::RequestableChannelClassSpecstatic
dbusTube(const QString &serviceName=QString())Tp::RequestableChannelClassSpecstatic
fileTransfer()Tp::RequestableChannelClassSpecstatic
fixedProperties() const Tp::RequestableChannelClassSpec
fixedProperty(const QString &name) const Tp::RequestableChannelClassSpec
hasFixedProperty(const QString &name) const Tp::RequestableChannelClassSpec
hasTargetHandleType() const Tp::RequestableChannelClassSpec
isValid() const Tp::RequestableChannelClassSpecinline
operator=(const RequestableChannelClassSpec &other)Tp::RequestableChannelClassSpec
operator==(const RequestableChannelClassSpec &other) const Tp::RequestableChannelClassSpec
RequestableChannelClassSpec()Tp::RequestableChannelClassSpec
RequestableChannelClassSpec(const RequestableChannelClass &rcc)Tp::RequestableChannelClassSpec
RequestableChannelClassSpec(const RequestableChannelClassSpec &other)Tp::RequestableChannelClassSpec
streamedMediaAudioCall()Tp::RequestableChannelClassSpecstatic
streamedMediaCall()Tp::RequestableChannelClassSpecstatic
streamedMediaVideoCall()Tp::RequestableChannelClassSpecstatic
streamedMediaVideoCallWithAudio()Tp::RequestableChannelClassSpecstatic
streamTube(const QString &service=QString())Tp::RequestableChannelClassSpecstatic
supports(const RequestableChannelClassSpec &spec) const Tp::RequestableChannelClassSpec
targetHandleType() const Tp::RequestableChannelClassSpec
textChat()Tp::RequestableChannelClassSpecstatic
textChatroom()Tp::RequestableChannelClassSpecstatic
videoCall()Tp::RequestableChannelClassSpecstatic
videoCallWithAudioAllowed()Tp::RequestableChannelClassSpecstatic
~RequestableChannelClassSpec()Tp::RequestableChannelClassSpec


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00767_source.html0000644000175000017500000003131212727270137022365 0ustar00kaffeinekaffeine00000000000000 pending-stream-tube-connection.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-stream-tube-connection.h
1 
22 #ifndef _TelepathyQt_pending_stream_tube_connection_h_HEADER_GUARD_
23 #define _TelepathyQt_pending_stream_tube_connection_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28 
29 #include <TelepathyQt/Constants>
30 #include <TelepathyQt/PendingOperation>
31 #include <TelepathyQt/Types>
32 
33 #include <QPair>
34 
35 class QHostAddress;
36 
37 namespace Tp
38 {
39 
40 class PendingVariant;
41 class IncomingStreamTubeChannel;
42 
43 class TP_QT_EXPORT PendingStreamTubeConnection : public PendingOperation
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(PendingStreamTubeConnection)
47 
48 public:
49  virtual ~PendingStreamTubeConnection();
50 
51  SocketAddressType addressType() const;
52 
53  QPair<QHostAddress, quint16> ipAddress() const;
54  QString localAddress() const;
55 
56  bool requiresCredentials() const;
57  uchar credentialByte() const;
58 
59 private Q_SLOTS:
60  TP_QT_NO_EXPORT void onChannelInvalidated(Tp::DBusProxy *proxy,
61  const QString &errorName, const QString &errorMessage);
62  TP_QT_NO_EXPORT void onAcceptFinished(Tp::PendingOperation *op);
63  TP_QT_NO_EXPORT void onTubeStateChanged(Tp::TubeChannelState state);
64 
65 private:
66  TP_QT_NO_EXPORT PendingStreamTubeConnection(PendingVariant *acceptOperation,
67  SocketAddressType type, bool requiresCredentials, uchar credentialByte,
68  const IncomingStreamTubeChannelPtr &channel);
69  TP_QT_NO_EXPORT PendingStreamTubeConnection(
70  const QString &errorName, const QString &errorMessage,
71  const IncomingStreamTubeChannelPtr &channel);
72 
73  struct Private;
74  friend class IncomingStreamTubeChannel;
75  friend struct Private;
76  Private *mPriv;
77 };
78 
79 }
80 
81 #endif // TP_PENDING_STREAM_TUBE_CONNECTION_H
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
SocketAddressType
Definition: build/TelepathyQt/_gen/constants.h:3775
The PendingStreamTubeConnection class represents an asynchronous operation for accepting an incoming ...
Definition: pending-stream-tube-connection.h:43
The IncomingStreamTubeChannel class represents an incoming Telepathy channel of type StreamTube...
Definition: incoming-stream-tube-channel.h:40
Definition: abstract-adaptor.cpp:31
TubeChannelState
Definition: build/TelepathyQt/_gen/constants.h:3729
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00508.html0000644000175000017500000022067012727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeClient Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes | Signals | Public Member Functions | Static Public Member Functions | List of all members
Tp::StreamTubeClient Class Reference

The StreamTubeClient class is a Handler implementation for incoming Stream Tube channels, allowing an application to easily get notified about services they can connect to offered to them over Telepathy Tubes without worrying about the channel dispatching details. More...

#include <TelepathyQt/StreamTubeClient>

Inherits QObject, and Tp::RefCounted.

Classes

class  TcpSourceAddressGenerator
 The StreamTubeClient::TcpSourceAddressGenerator abstract interface allows using socket source address/port based access control for connecting to tubes accepted as TCP sockets. More...
 
class  Tube
 The StreamTubeClient::Tube class represents a tube being handled by the client. More...
 

Signals

void tubeOffered (const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube)
 
void tubeClosed (const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube, const QString &error, const QString &message)
 
void tubeAcceptedAsTcp (const QHostAddress &listenAddress, quint16 listenPort, const QHostAddress &sourceAddress, quint16 sourcePort, const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube)
 
void tubeAcceptedAsUnix (const QString &listenAddress, bool requiresCredentials, uchar credentialByte, const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube)
 
void newConnection (const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube, uint connectionId)
 
void connectionClosed (const Tp::AccountPtr &account, const Tp::IncomingStreamTubeChannelPtr &tube, uint connectionId, const QString &error, const QString &message)
 

Public Member Functions

virtual ~StreamTubeClient ()
 
ClientRegistrarPtr registrar () const
 
QString clientName () const
 
bool isRegistered () const
 
bool monitorsConnections () const
 
bool acceptsAsTcp () const
 
TcpSourceAddressGeneratortcpGenerator () const
 
bool acceptsAsUnix () const
 
void setToAcceptAsTcp (TcpSourceAddressGenerator *generator=0)
 
void setToAcceptAsUnix (bool requireCredentials=false)
 
QList< Tubetubes () const
 
QHash< Tube, QSet< uint > > connections () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static StreamTubeClientPtr create (const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false, bool bypassApproval=false, const AccountFactoryConstPtr &accountFactory=AccountFactory::create(QDBusConnection::sessionBus()), const ConnectionFactoryConstPtr &connectionFactory=ConnectionFactory::create(QDBusConnection::sessionBus()), const ChannelFactoryConstPtr &channelFactory=ChannelFactory::create(QDBusConnection::sessionBus()), const ContactFactoryConstPtr &contactFactory=ContactFactory::create())
 
static StreamTubeClientPtr create (const QDBusConnection &bus, const AccountFactoryConstPtr &accountFactory, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false, bool bypassApproval=false)
 
static StreamTubeClientPtr create (const AccountManagerPtr &accountManager, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false, bool bypassApproval=false)
 
static StreamTubeClientPtr create (const ClientRegistrarPtr &registrar, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false, bool bypassApproval=false)
 

Detailed Description

The StreamTubeClient class is a Handler implementation for incoming Stream Tube channels, allowing an application to easily get notified about services they can connect to offered to them over Telepathy Tubes without worrying about the channel dispatching details.

Telepathy Tubes is a technology for connecting arbitrary applications together through the IM network (and sometimes with direct peer-to-peer connections), such that issues like firewall/NAT traversal are automatically handled. Stream Tubes in particular offer properties similar to SOCK_STREAM sockets. The StreamTubeClient class negotiates tubes offered to us so that an application can connect such bytestream sockets of theirs to them. The StreamTubeServer class is the counterpart, offering services from a bytestream socket server to tubes requested to be initiated.

Both peer-to-peer (TargetHandleType == HandleTypeContact) and group (TargetHandleType == HandleTypeRoom) channels are supported, and it's possible to specify the tube services to handle for each separately. There must be at least one service in total declared, as it never makes sense to handle stream tubes without considering the protocol of the service offered through them.

Connection monitoring allows fine-grained error reporting for connections made through tubes, and observing connections being made and broken even if the application code running StreamTubeClient can't easily get this information from the code actually connecting through it. Such a setting might occur e.g. when a wrapper application is developed to connect some existing "black box" networked application through TCP tubes by launching it with the appropriate command line arguments or alike for accepted tubes.

Enabling connection monitoring adds a small overhead and latency to handling each incoming tube and signaling each new incoming connection over them, though, so use it only when needed.

A service activated Handler can be implemented using StreamTubeClient by passing a predefined clientName manually to the chosen create() method, and installing Telepathy .client and D-Bus .service files declaring the implemented tube services as channel classes and a path to the executable. If this is not needed, the clientName can be omitted, in which case a random unique client name is generated and used instead. However, then the tube client application must already be running for remote contacts to be able to offer services to us over tubes.

Whether the Handler application implemented using StreamTubeClient is service activatable or not, incoming channels will typically first be given to an Approver, if there is one for tube services corresponding to the tube in question. Only if the Approver decides that the tube communication should be allowed (usually by asking the user), or if there is no matching Approver at all, is the channel given to the actual Handler tube client. This can be overridden by setting bypassApproval to true, which skips approval for the given services completely and directs them straight to the Handler.

StreamTubeClient shares Account, Connection and Channel proxies and Contact objects with the rest of the application as long as a reference to the AccountManager, ClientRegistrar, or the factories used elsewhere is passed to the create() method. A stand-alone tube client Handler can get away without passing these however, or just passing select factories to make the desired features prepared and subclasses employed for these objects for their own convenience.

Whichever method is used, the ChannelFactory (perhaps indirectly) given must construct IncomingStreamTubeChannel instances or subclasses thereof for all channel classes corresponding to the tube services the client should be able to connect to. This is the default; overriding it without obeying these constraints using ChannelFactory::setSubclassForIncomingStreamTubes() or the related methods for room tubes prevents StreamTubeClient from operating correctly.

Todo:
Coin up a small Python script or alike to easily generate the .client and .service files. (fd.o #41614)

Constructor & Destructor Documentation

Tp::StreamTubeClient::~StreamTubeClient ( )
virtual

Class destructor.

Member Function Documentation

StreamTubeClientPtr Tp::StreamTubeClient::create ( const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false,
bool  bypassApproval = false,
const AccountFactoryConstPtr &  accountFactory = AccountFactory::create(QDBusConnection::sessionBus()),
const ConnectionFactoryConstPtr &  connectionFactory = ConnectionFactory::create(QDBusConnection::sessionBus()),
const ChannelFactoryConstPtr &  channelFactory = ChannelFactory::create(QDBusConnection::sessionBus()),
const ContactFactoryConstPtr &  contactFactory = ContactFactory::create() 
)
static

Create a new StreamTubeClient, which will register itself on the session bus using an internal ClientRegistrar and use the given factories.

Parameters
p2pServicesNames of the tube services to accept on peer-to-peer tube channels.
roomServicesNames of the tube services to accept on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
bypassApprovaltrue to skip approval, false to invoke an Approver for incoming channels if there is one.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
StreamTubeClientPtr Tp::StreamTubeClient::create ( const QDBusConnection &  bus,
const AccountFactoryConstPtr &  accountFactory,
const ConnectionFactoryConstPtr &  connectionFactory,
const ChannelFactoryConstPtr &  channelFactory,
const ContactFactoryConstPtr &  contactFactory,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false,
bool  bypassApproval = false 
)
static

Create a new StreamTubeClient, which will register itself on the given bus using an internal ClientRegistrar and use the given factories.

The factories must all be created for the given bus.

Parameters
busConnection to the bus to register on.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
bypassApprovaltrue to skip approval, false to invoke an Approver for incoming channels if there is one.
StreamTubeClientPtr Tp::StreamTubeClient::create ( const AccountManagerPtr &  accountManager,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false,
bool  bypassApproval = false 
)
static

Create a new StreamTubeClient, which will register itself on the bus of and share objects with the given accountManager, creating an internal ClientRegistrar.

Parameters
accountManagerA pointer to the account manager to link up with.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
bypassApprovaltrue to skip approval, false to invoke an Approver for incoming channels if there is one.
StreamTubeClientPtr Tp::StreamTubeClient::create ( const ClientRegistrarPtr &  registrar,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false,
bool  bypassApproval = false 
)
static

Create a new StreamTubeClient, which will register itself on the bus of and using the given client registrar, and share objects with it.

Parameters
registrarThe client registrar to use.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
bypassApprovaltrue to skip approval, false to invoke an Approver for incoming channels if there is one.
ClientRegistrarPtr Tp::StreamTubeClient::registrar ( ) const

Return the client registrar used by the client to register itself as a Telepathy channel Handler Client.

This is the registrar originally passed to create(const ClientRegistrarPtr &, const QStringList &, const QStringList &, const QString &, bool, bool) if that was used, and an internally constructed one otherwise. In any case, it can be used to e.g. register further clients, just like any other ClientRegistrar.

Returns
A pointer to the registrar.
QString Tp::StreamTubeClient::clientName ( ) const

Return the Telepathy Client name of the client.

Returns
The name, without the org.freedesktop.Telepathy.Client. prefix of the full D-Bus service name.
bool Tp::StreamTubeClient::isRegistered ( ) const

Return whether the client has been successfully registered or not.

Registration is attempted, at the latest, when the client is first set to accept incoming tubes, either as TCP sockets (setToAcceptAsTcp()) or Unix ones (setToAcceptAsUnix()). It can fail e.g. because the connection to the bus has failed, or a predefined clientName has been passed to create(), and a Client with the same name is already registered. Typically, failure registering would be a fatal error for a stand-alone tube handler, but only a warning event for an application serving other purposes. In any case, a high-quality user of the API will check the return value of this accessor after choosing the desired address family.

Returns
true if the client has been successfully registered, false if not.
bool Tp::StreamTubeClient::monitorsConnections ( ) const

Return whether connection monitoring is enabled on this client.

For technical reasons, connection monitoring can't be enabled when the client is already running, so there is no corresponding setter method. It has to be enabled by passing true as the monitorConnections parameter to the create() method.

If connection monitoring isn't enabled, newConnection() and connectionClosed() won't be emitted and connections() won't be populated.

Returns
true if monitoring is enabled, false if not.
bool Tp::StreamTubeClient::acceptsAsTcp ( ) const

Return whether the client is currently set to accept incoming tubes as TCP sockets.

Returns
true if the client will accept tubes as TCP sockets, false if it will accept them as Unix ones or hasn't been set to accept at all yet.
StreamTubeClient::TcpSourceAddressGenerator * Tp::StreamTubeClient::tcpGenerator ( ) const

Return the TCP source address generator, if any, set by setToAcceptAsTcp() previously.

Returns
A pointer to the generator instance.
bool Tp::StreamTubeClient::acceptsAsUnix ( ) const

Return whether the client is currently set to accept incoming tubes as Unix sockets.

Returns
true if the client will accept tubes as Unix sockets, false if it will accept them as TCP ones or hasn't been set to accept at all yet.
void Tp::StreamTubeClient::setToAcceptAsTcp ( TcpSourceAddressGenerator generator = 0)

Set the client to accept tubes received to handle in the future in a fashion which will yield a TCP socket as the local endpoint to connect to.

A source address generator can optionally be set. If non-null, it will be invoked for each new tube received to handle and an attempt is made to restrict connections to the tube's local socket endpoint to those from that source address.

However, if the protocol backend doesn't actually support source address based access control, tubeAcceptedAsTcp() will be emitted with QHostAddress::Any as the allowed source address to signal that it doesn't matter where we connect from, but more importantly, that anybody else on the same host could have, and can, connect to the tube. The tube can be closed at this point if this would be unacceptable security-wise. To totally prevent the tube from being accepted in the first place, one can close it already when tubeOffered() is emitted for it - support for the needed security mechanism can be queried using its supportsIPv4SocketsWithSpecifiedAddress() accessor.

The handler is registered on the bus at the latest when this method or setToAcceptAsUnix() is called for the first time, so one should check the return value of isRegistered() at that point to verify that was successful.

Parameters
generatorA pointer to the source address generator to use, or 0 to allow all connections from the local host.
Todo:
Make it possible to set the tube client to auto-close tubes if the desired access control level is not achieved, as an alternative to the current best-effort behavior.
void Tp::StreamTubeClient::setToAcceptAsUnix ( bool  requireCredentials = false)

Set the client to accept tubes received to handle in the future in a fashion which will yield a Unix socket as the local endpoint to connect to.

If that doesn't cause problems for the payload protocol, it's possible to increase security by restricting the processes allowed to connect to the local endpoint socket to those from the same user ID as the protocol backend is running as by setting requireCredentials to true. This requires transmitting a single byte, signaled as the credentialByte parameter to the tubeAcceptedAsUnix() signal, in a SCM_CREDS or SCM_CREDENTIALS message, whichever is supported by the platform, as the first thing after having connected to the socket. Even if the platform doesn't implement either concept, the byte must still be sent.

However, not all protocol backends support the credential passing based access control on all the platforms they can run on. If a tube is offered through such a backend, tubeAcceptedAsUnix() will be emitted with requiresCredentials set to false, to signal that a credential byte should NOT be sent for that tube, and that any local process can or could have connected to the tube already. The tube can be closed at this point if this would be unacceptable security-wise. To totally prevent the tube from being accepted in the first place, one can close it already when tubeOffered() is emitted for it - support for the needed security mechanism can be queried using its supportsIPv4SocketsWithSpecifiedAddress() accessor.

The handler is registered on the bus at the latest when this method or setToAcceptAsTcp() is called for the first time, so one should check the return value of isRegistered() at that point to verify that was successful.

Parameters
requireCredentialstrue to try and restrict connecting by UID, false to allow all connections.
Todo:
Make it possible to set the tube client to auto-close tubes if the desired access control level is not achieved, as an alternative to the current best-effort behavior.
QList< StreamTubeClient::Tube > Tp::StreamTubeClient::tubes ( ) const

Return the tubes currently handled by the client.

Returns
A list of Tube structures containing pointers to the account and tube channel for each tube.
QHash< StreamTubeClient::Tube, QSet< uint > > Tp::StreamTubeClient::connections ( ) const

Return the ongoing connections established through tubes signaled by this client.

The returned mapping has for each Tube a structure containing pointers to the account and tube channel objects as keys, with the integer identifiers for the current connections on them as the values. The IDs are unique amongst the connections active on a single tube at any given time, but not globally.

This is effectively a state recovery accessor corresponding to the change notification signals newConnection() and connectionClosed().

The mapping is only populated if connection monitoring was requested when creating the client (so monitorsConnections() returns true).

Returns
The connections in a mapping with Tube structures containing pointers to the account and channel objects for each tube as keys, and the sets of numerical IDs as values.
void Tp::StreamTubeClient::tubeOffered ( const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube 
)
signal

Emitted when one of the services we're interested in connecting to has been offered by us as a tube, which we've began handling.

This is emitted before invoking the TcpSourceAddressGenerator, if any, for the tube.

Parameters
accountA pointer to the account through which the tube was offered.
tubeA pointer to the actual tube channel.
void Tp::StreamTubeClient::tubeClosed ( const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube,
const QString &  error,
const QString &  message 
)
signal

Emitted when a tube we've been handling (previously announced with tubeOffered()) has encountered an error or has otherwise been closed from further communication.

Parameters
accountA pointer to the account through which the tube was offered.
tubeA pointer to the actual tube channel.
errorThe D-Bus error name corresponding to the reason for the closure.
messageA freeform debug message associated with the error.
void Tp::StreamTubeClient::tubeAcceptedAsTcp ( const QHostAddress &  listenAddress,
quint16  listenPort,
const QHostAddress &  sourceAddress,
quint16  sourcePort,
const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube 
)
signal

Emitted when a tube offered to us (previously announced with tubeOffered()) has been successfully accepted and a TCP socket established as the local endpoint, as specified by setToAcceptAsTcp().

The allowed source address and port are signaled here if there was a TcpSourceAddressGenerator set at the time of accepting this tube, it yielded a non-zero address, and the protocol backend supports source address based access control. This enables the application to use the correct one of the sockets it currently has bound to the generated addresses.

Parameters
listenAddressThe listen address of the local endpoint socket.
listenPortThe listen port of the local endpoint socket.
sourceAddressThe host address allowed to connect to the tube, or QHostAddress::Any if source address based access control is not in use.
sourcePortThe port from which connections are allowed to the tube, or 0 if source address based access control is not in use.
accountA pointer to the account object through which the tube was offered.
tubeA pointer to the actual tube channel object.
void Tp::StreamTubeClient::tubeAcceptedAsUnix ( const QString &  listenAddress,
bool  requiresCredentials,
uchar  credentialByte,
const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube 
)
signal

Emitted when a tube offered to us (previously announced with tubeOffered()) has been successfully accepted and a Unix socket established as the local endpoint, as specified by setToAcceptAsUnix().

The credential byte which should be sent after connecting to the tube (in a SCM_CREDENTIALS or SCM_CREDS message if supported by the platform) will be signaled here if the client was set to attempt requiring credentials at the time of accepting this tube, and the protocol backend supports credential passing based access control. Otherwise, requiresCredentials will be false and no byte or associated out-of-band credentials metadata should be sent.

Parameters
listenAddressThe listen address of the local endpoint socket.
requiresCredentialstrue if credentialByte should be sent after connecting to the socket, false if not.
credentialByteThe byte to send if requiresCredentials is true.
accountA pointer to the account object through which the tube was offered.
tubeA pointer to the actual tube channel object.
void Tp::StreamTubeClient::newConnection ( const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube,
uint  connectionId 
)
signal

Emitted when a new connection has been made to the local endpoint socket for tube.

This can be used to later associate connection errors reported by connectionClosed() with the corresponding application sockets. However, establishing the association generally requires connecting only one socket at a time, waiting for newConnection() to be emitted, and only then proceeding, as there is no identification for the connections unlike the incoming connections in StreamTubeServer.

Note that the connection IDs are only unique within a given tube, so identification of the tube channel must also be recorded together with the ID to establish global uniqueness. Even then, the a connection ID can be reused after the previous connection identified by it having been signaled as closed with connectionClosed().

This is only emitted if connection monitoring was enabled when creating the StreamTubeClient.

Parameters
accountA pointer to the account through which the tube was offered.
tubeA pointer to the tube channel through which the connection has been made.
connectionIdThe integer ID of the new connection.
void Tp::StreamTubeClient::connectionClosed ( const Tp::AccountPtr &  account,
const Tp::IncomingStreamTubeChannelPtr &  tube,
uint  connectionId,
const QString &  error,
const QString &  message 
)
signal

Emitted when a connection (previously announced with newConnection()) through one of our handled tubes has been closed due to an error or by a graceful disconnect (in which case the error is TP_QT_ERROR_CANCELLED).

This is only emitted if connection monitoring was enabled when creating the StreamTubeClient.

Parameters
accountA pointer to the account through which the tube was offered.
tubeA pointer to the tube channel through which the connection had been made.
connectionIdThe integer ID of the connection closed.
errorThe D-Bus error name corresponding to the reason for the closure.
messageA freeform debug message associated with the error.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00262.html0000644000175000017500000003631412727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | List of all members
Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void UpdateCapabilities (const Tp::HandlerCapabilitiesList &handlerCapabilities, const QDBusMessage &dbusMessage)
 
Tp::ContactCapabilitiesMap GetContactCapabilities (const Tp::UIntList &handles, const QDBusMessage &dbusMessage)
 

Signals

void ContactCapabilitiesChanged (const Tp::ContactCapabilitiesMap &caps)
 

Additional Inherited Members

- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

void Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor::UpdateCapabilities ( const Tp::HandlerCapabilitiesList handlerCapabilities,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void updateCapabilities(const Tp::HandlerCapabilitiesList& handlerCapabilities, const Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor::UpdateCapabilitiesContextPtr &context);

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

Alter the connection's advertised capabilities to include the intersection of the given clients' capabilities with what the connection manager is able to implement.

On connections managed by the ChannelDispatcher, processes other than the ChannelDispatcher SHOULD NOT call this method, and the ChannelDispatcher SHOULD use this method to advertise the capabilities of all the registered ClientHandlerInterface implementations.On connections not managed by the ChannelDispatcher, clients MAY use this method directly, to indicate the channels they will handle and the extra capabilities they have.

Upon a successful invocation of this method, the connection manager will only emit the ContactCapabilitiesChanged() signal for the user's ConnectionInterface::SelfHandle if, in the underlying protocol, the new capabilities are distinct from the previous state.

The connection manager will essentially intersect the provided capabilities and the channel classes it implements. Therefore, certain properties which are never fixed for a channel class (such as the target handle, or the Parameters property of a tube channel) will almost certainly not be advertised.

This method MAY be called on a newly-created connection while it is still in the DISCONNECTED state, to request that when the connection connects, it will do so with the appropriate capabilities. Doing so MUST NOT fail.

Parameters
handlerCapabilities
The capabilities of one or more clients. For each client in the 
given list, any capabilities previously advertised for the same 
client name are discarded, then replaced by the capabilities 
indicated. As a result, if a client becomes unavailable, this 
method SHOULD be called with a Handler_Capabilities structure 
containing its name, an empty list of channel classes, and an empty 
list of capabilities. When this is done, the connection manager 
SHOULD free all memory associated with that client name. This 
method takes a list of clients so that when the channel dispatcher 
first calls it (with a list of all the Handlers that are initially 
available), the changes can be made atomically, with only one 
transmission of updated capabilities to the network. Afterwards, 
the channel dispatcher will call this method with a single-element 
list every time a Handler becomes available or unavailable. The 
connection manager MUST ignore any channel classes and client 
capabilities for which there is no representation in the protocol 
or no support in the connection manager.
Tp::ContactCapabilitiesMap Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor::GetContactCapabilities ( const Tp::UIntList handles,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getContactCapabilities(const Tp::UIntList& handles, const Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor::GetContactCapabilitiesContextPtr &context);

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

Returns an array of requestable channel classes for the given contact handles, representing the channel requests that are expected to succeed.

Parameters
handles

An array of contact handles for this connection.

The handle zero MUST NOT be included in the request.

Returns

A map from contact handles to lists of requestable channel classes, representing the channel requests that are expected to succeed for that contact.

Contacts listed among Handles whose capabilities are unknown SHOULD be omitted from this map; contacts known to have an empty set of capabilities SHOULD be included in the keys of this map, with an empty array as the corresponding value.

void Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor::ContactCapabilitiesChanged ( const Tp::ContactCapabilitiesMap caps)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contactCapabilitiesChanged(const Tp::ContactCapabilitiesMap& caps);

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

Parameters
caps All the capabilities of the contacts


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00763_source.html0000644000175000017500000002600612727270137022365 0ustar00kaffeinekaffeine00000000000000 pending-ready.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-ready.h
1 
23 #ifndef _TelepathyQt_pending_ready_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_ready_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/DBusProxyFactory>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/ReadinessHelper>
33 #include <TelepathyQt/SharedPtr>
34 
35 #include <QSet>
36 
37 namespace Tp
38 {
39 
40 class TP_QT_EXPORT PendingReady: public PendingOperation
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(PendingReady);
44 
45 public:
46  ~PendingReady();
47 
48  DBusProxyPtr proxy() const;
49 
50  Features requestedFeatures() const;
51 
52 private Q_SLOTS:
53  TP_QT_NO_EXPORT void onNestedFinished(Tp::PendingOperation *);
54 
55 private:
56  friend class Connection;
57  friend class DBusProxyFactory;
58  friend class ReadinessHelper;
59 
60  TP_QT_NO_EXPORT PendingReady(const SharedPtr<RefCounted> &object, const Features &requestedFeatures);
61  TP_QT_NO_EXPORT PendingReady(const SharedPtr<DBusProxyFactory> &factory,
62  const DBusProxyPtr &proxy, const Features &requestedFeatures);
63 
64  struct Private;
65  friend struct Private;
66  Private *mPriv;
67 };
68 
69 } // Tp
70 
71 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The Features class represents a list of Feature.
Definition: feature.h:61
The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching...
Definition: dbus-proxy-factory.h:48
The Connection class represents a Telepathy connection.
Definition: connection.h:61
Definition: abstract-adaptor.cpp:31
The ReadinessHelper class is a helper class used by the introspection process.
Definition: readiness-helper.h:48
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01223.html0000644000175000017500000002341412727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentInterface Member List

This is the complete list of members for Tp::Client::CallContentInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterface
CallContentInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterface
CallContentInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Remove(int timeout=-1)Tp::Client::CallContentInterfaceinlineslot
requestAllProperties() const Tp::Client::CallContentInterfaceinline
requestPropertyDisposition() const Tp::Client::CallContentInterfaceinline
requestPropertyInterfaces() const Tp::Client::CallContentInterfaceinline
requestPropertyName() const Tp::Client::CallContentInterfaceinline
requestPropertyStreams() const Tp::Client::CallContentInterfaceinline
requestPropertyType() const Tp::Client::CallContentInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentInterfaceinlinestatic
StreamsAdded(const Tp::ObjectPathList &streams)Tp::Client::CallContentInterfacesignal
StreamsRemoved(const Tp::ObjectPathList &streams, const Tp::CallStateReason &reason)Tp::Client::CallContentInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00007.html0000644000175000017500000001543112727270137020774 0ustar00kaffeinekaffeine00000000000000 accounts/account-item.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
accounts/account-item.h
#ifndef _TelepathyQt_examples_accounts_account_item_h_HEADER_GUARD_
#define _TelepathyQt_examples_accounts_account_item_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include <TelepathyQt/Account>
#include <TelepathyQt/Types>
#include <QString>
namespace Tp {
class AccountManager;
class PendingOperation;
}
class QTableWidget;
class AccountItem : public QObject
{
Q_OBJECT
public:
enum Columns {
ColumnValid = 0,
ColumnEnabled,
ColumnConnectionManager,
ColumnProtocol,
ColumnDisplayName,
ColumnNickname,
ColumnConnectsAutomatically,
ColumnChangingPresence,
ColumnAutomaticPresence,
ColumnCurrentPresence,
ColumnRequestedPresence,
ColumnConnectionStatus,
ColumnConnection,
NumColumns
};
Q_ENUMS(Columns)
AccountItem(Tp::AccountPtr acc, QTableWidget *table, int row, QObject *parent = 0);
virtual ~AccountItem();
int row() const { return mRow; }
private Q_SLOTS:
void onValidityChanged(bool);
void onStateChanged(bool);
void onDisplayNameChanged(const QString &);
void onNicknameChanged(const QString &);
void onConnectsAutomaticallyPropertyChanged(bool);
void onChangingPresenceChanged(bool);
void onAutomaticPresenceChanged(const Tp::SimplePresence &);
void onCurrentPresenceChanged(const Tp::SimplePresence &);
void onRequestedPresenceChanged(const Tp::SimplePresence &);
const QString &error, const QVariantMap &errorDetails);
void onHaveConnectionChanged(bool);
private:
void init();
void setupGui();
Tp::AccountPtr mAcc;
QTableWidget *mTable;
int mRow;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_o.html0000644000175000017500000000544012727270137023545 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- o -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00321.html0000644000175000017500000001407312727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::DBusTubeParticipants Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::DBusTubeParticipants Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, QString >.

Public Member Functions

 DBusTubeParticipants ()
 
 DBusTubeParticipants (const QMap< uint, QString > &a)
 
DBusTubeParticipantsoperator= (const QMap< uint, QString > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, QString>, but needed to have a discrete type in the Qt type system.

Represents the participants in a multi-user D-Bus tube, as used by the DBusNames property and the DBusNamesChanged signal.

Constructor & Destructor Documentation

Tp::DBusTubeParticipants::DBusTubeParticipants ( )
inline
Tp::DBusTubeParticipants::DBusTubeParticipants ( const QMap< uint, QString > &  a)
inline

Member Function Documentation

DBusTubeParticipants& Tp::DBusTubeParticipants::operator= ( const QMap< uint, QString > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01292.html0000644000175000017500000002264312727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceContactsInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceContactsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceContactsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactsInterface
ConnectionInterfaceContactsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceContactsInterface
ConnectionInterfaceContactsInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceContactsInterface
ConnectionInterfaceContactsInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceContactsInterfaceexplicit
ConnectionInterfaceContactsInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceContactsInterface
GetContactAttributes(const Tp::UIntList &handles, const QStringList &interfaces, bool hold, int timeout=-1)Tp::Client::ConnectionInterfaceContactsInterfaceinlineslot
GetContactByID(const QString &identifier, const QStringList &interfaces, int timeout=-1)Tp::Client::ConnectionInterfaceContactsInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceContactsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceContactsInterfaceinline
requestPropertyContactAttributeInterfaces() const Tp::Client::ConnectionInterfaceContactsInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceContactsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00076.html0000644000175000017500000017260412727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelGroupInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelGroupInterface Class Reference

Base class for implementations of Channel.Interface.Group. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback3< void, const Tp::UIntList &, const QString &, DBusError * > AddMembersCallback
 
typedef Callback4< void, const Tp::UIntList &, const QString &, uint, DBusError * > RemoveMembersCallback
 

Public Member Functions

virtual ~BaseChannelGroupInterface ()
 
QVariantMap immutableProperties () const
 
Tp::ChannelGroupFlags groupFlags () const
 
void setGroupFlags (const Tp::ChannelGroupFlags &flags)
 
Tp::UIntList members () const
 
void setMembers (const Tp::UIntList &members, const QVariantMap &details)
 
void setMembers (const Tp::UIntList &members, const Tp::LocalPendingInfoList &localPending, const Tp::UIntList &remotePending, const QVariantMap &details)
 
Tp::HandleOwnerMap handleOwners () const
 
void setHandleOwners (const Tp::HandleOwnerMap &handleOwners)
 
Tp::LocalPendingInfoList localPendingMembers () const
 
void setLocalPendingMembers (const Tp::LocalPendingInfoList &localPendingMembers)
 
Tp::UIntList remotePendingMembers () const
 
void setRemotePendingMembers (const Tp::UIntList &remotePendingMembers)
 
uint selfHandle () const
 
void setSelfHandle (uint selfHandle)
 
Tp::HandleIdentifierMap memberIdentifiers () const
 
void setAddMembersCallback (const AddMembersCallback &cb)
 
void addMembers (const Tp::UIntList &contacts, const QString &message, DBusError *error)
 
void setRemoveMembersCallback (const RemoveMembersCallback &cb)
 
void removeMembers (const Tp::UIntList &contacts, const QString &message, uint reason, DBusError *error)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelGroupInterfacePtr create ()
 
template<typename BaseChannelGroupInterfaceSubclass >
static SharedPtr< BaseChannelGroupInterfaceSubclass > create ()
 

Protected Member Functions

 BaseChannelGroupInterface ()
 
void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Group.

Interface for channels which have multiple members, and where the members of the channel can change during its lifetime. Your presence in the channel cannot be presumed by the channel's existence (for example, a channel you may request membership of but your request may not be granted).

This interface implements three lists: a list of current members, and two lists of local pending and remote pending members. Contacts on the remote pending list have been invited to the channel, but the remote user has not accepted the invitation. Contacts on the local pending list have requested membership of the channel, but the local user of the framework must accept their request before they may join. A single contact should never appear on more than one of the three lists. The lists are empty when the channel is created, and the MembersChanged signal (and, if the channel's GroupFlags contains Tp::ChannelGroupFlagMembersChangedDetailed, the MembersChangedDetailed signal) should be emitted when information is retrieved from the server, or changes occur.

Addition of members to the channel may be requested by using AddMembers. If remote acknowledgement is required, use of the AddMembers method will cause users to appear on the remote pending list. If no acknowledgement is required, AddMembers will add contacts to the member list directly. If a contact is awaiting authorisation on the local pending list, AddMembers will grant their membership request.

Removal of contacts from the channel may be requested by using RemoveMembers. If a contact is awaiting authorisation on the local pending list, RemoveMembers will refuse their membership request. If a contact is on the remote pending list but has not yet accepted the invitation, RemoveMembers will rescind the request if possible.

It should not be presumed that the requester of a channel implementing this interface is immediately granted membership, or indeed that they are a member at all, unless they appear in the list. They may, for instance, be placed into the remote pending list until a connection has been established or the request acknowledged remotely.

If the local user joins a Group channel whose members or other state cannot be discovered until the user joins (e.g. many chat room implementations), the connection manager should ensure that the channel is, as far as possible, in a consistent state before adding the local contact to the members set; until this happens, the local contact should be in the remote-pending set. For instance, if the connection manager queries the server to find out the initial members list for the channel, it should leave the local contact in the remote-pending set until it has finished receiving the initial members list.

If the protocol provides no reliable way to tell whether the complete initial members list has been received yet, the connection manager should make a best-effort attempt to wait for the full list (in the worst case, waiting for a suitable arbitrary timeout) rather than requiring user interfaces to do so on its behalf.

Minimal implementation of the interface should setup group flags (setGroupFlags()) and have a setMembers() call. If the selfHandle is present in the group, then the setSelfHandle() should be used to correctly setup the interface. Regardless of the group flags, the connection manager implementation should setup removeMembers callback in order to let client leave the group gracefully. If doing so fails with Tp::ChannelGroupChangeReasonPermissionDenied, this is considered to a bug in the connection manager, but clients MUST recover by falling back to closing the channel with the Close method.

Depending on the protocol capabilities, addMembers() and removeMembers() callbacks can be setup to support group members addition, invitation and removal.

Note, that the interface automatically update the MemberIdentifiers property on members changes.

See also
setGroupFlags(), setSelfHandle(), setMembers(), setAddMembersCallback(), setRemoveMembersCallback(), setHandleOwners(), setLocalPendingMembers(), setRemotePendingMembers()

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelGroupInterface::~BaseChannelGroupInterface ( )
virtual

Class destructor.

Tp::BaseChannelGroupInterface::BaseChannelGroupInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseChannelGroupInterfacePtr Tp::BaseChannelGroupInterface::create ( )
inlinestatic
template<typename BaseChannelGroupInterfaceSubclass >
static SharedPtr<BaseChannelGroupInterfaceSubclass> Tp::BaseChannelGroupInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelGroupInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

There is no immutable properties presented on the interface.

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::ChannelGroupFlags Tp::BaseChannelGroupInterface::groupFlags ( ) const

Return the flags on this channel.

The user interface can use this property to present information about which operations are currently valid.

Returns
An the flags on this channel.
See also
setGroupFlags()
Tp::ChannelGroupFlag
void Tp::BaseChannelGroupInterface::setGroupFlags ( const Tp::ChannelGroupFlags flags)

Set the group flags for this channel.

The user interface can use this to present information about which operations are currently valid. Take a note, that Tp::ChannelGroupFlagProperties and Tp::ChannelGroupFlagMembersChangedDetailed flags setted up unconditionally. This way we always provide modern properties (ChannelGroupFlagProperties) and automatically emit signal MembersChangedDetailed. There is no reason to behave differently and this improve compatibility with future Telepathy specs.

Parameters
flagsThe flags on this channel.
See also
groupFlags()
Tp::ChannelGroupFlag
Tp::UIntList Tp::BaseChannelGroupInterface::members ( ) const

Return a list of this channel members.

The members of this channel.

Returns
A list of this channel members.
void Tp::BaseChannelGroupInterface::setMembers ( const Tp::UIntList members,
const QVariantMap &  details 
)

Set the list of current members of the channel.

Set the list of current members. Added members would be automatically removed from the local and remote pending lists.

Parameters
membersThe actual list of members of the channel.
detailsThe map with an information about the change.
See also
members()
setMembers(const UIntList &, const Tp::LocalPendingInfoList &, const Tp::UIntList &, const QVariantMap &)
localPendingMembers()
remotePendingMembers()
void Tp::BaseChannelGroupInterface::setMembers ( const Tp::UIntList members,
const Tp::LocalPendingInfoList localPending,
const Tp::UIntList remotePending,
const QVariantMap &  details 
)

Set the list of members of the channel.

Set the list of current members and update local and remote pending lists at the same time.

Parameters
membersThe actual list of members of the channel.
localPendingThe actual list of local pending members of the channel.
remotePendingThe actual list of remote pending members of the channel.
detailsThe map with an information about the change.
See also
members()
setMembers(const UIntList &, const QVariantMap &)
localPendingMembers()
remotePendingMembers()
Tp::HandleOwnerMap Tp::BaseChannelGroupInterface::handleOwners ( ) const

Return a map from channel-specific handles to their owners.

An integer representing the bitwise-OR of flags on this channel. The user interface can use this property to present information about which operations are currently valid.

Returns
A map from channel-specific handles to their owners.
void Tp::BaseChannelGroupInterface::setHandleOwners ( const Tp::HandleOwnerMap handleOwners)

Set a map from channel-specific handles to their owners.

A map from channel-specific handles to their owners, including at least all of the channel-specific handles in this channel's members, local-pending or remote-pending sets as keys. Any handle not in the keys of this mapping is not channel-specific in this channel. Handles which are channel-specific, but for which the owner is unknown, MUST appear in this mapping with 0 as owner.

Parameters
handleOwnersThe new (actual) handle owners map.
See also
handleOwners(), members(), localPendingMembers(), remotePendingMembers()
Tp::LocalPendingInfoList Tp::BaseChannelGroupInterface::localPendingMembers ( ) const

Return an array of contacts requesting channel membership

An array of structs containing handles representing contacts requesting channel membership and awaiting local approval with AddMembers call.

Returns
An array of contacts requesting channel membership
void Tp::BaseChannelGroupInterface::setLocalPendingMembers ( const Tp::LocalPendingInfoList localPendingMembers)

Set local pending members information list.

This method is recommended to use for the local pending members list changes. If the change affect the list and members list, use setMembers() instead.

Parameters
localPendingMembers
See also
localPendingMembers(), setRemotePendingMembers(), setMembers()
Tp::UIntList Tp::BaseChannelGroupInterface::remotePendingMembers ( ) const

Return an array of contacts requesting channel membership

An array of handles representing contacts who have been invited to the channel and are awaiting remote approval.

Returns
An array of contacts requesting channel membership
See also
setRemotePendingMembers()
void Tp::BaseChannelGroupInterface::setRemotePendingMembers ( const Tp::UIntList remotePendingMembers)

Set an array of contacts requesting channel membership

An array of handles representing contacts who have been invited to the channel and are awaiting remote approval.

This method is recommended to use for the remote pending members list changes. If the change affect the list and members list, use setMembers() instead.

Parameters
remotePendingMembersAn array of contacts requesting channel membership
See also
remotePendingMembers(), setLocalPendingMembers(), setMembers()
uint Tp::BaseChannelGroupInterface::selfHandle ( ) const

Return the handle of the user on this channel.

See setSelfHandle() for details.

Returns
The handle of the user on this channel.
void Tp::BaseChannelGroupInterface::setSelfHandle ( uint  selfHandle)

Set the handle for the user on this channel.

Set the handle for the user on this channel (which can also be a local or remote pending member), or 0 if the user is not a member at all (which is likely to be the case, for instance, on ContactList channels). Note that this is different from the result of Tp::Connection::selfHandle() on some protocols, so the value of this handle should always be used with the methods of this interface.

See also
selfHandle()
Tp::HandleIdentifierMap Tp::BaseChannelGroupInterface::memberIdentifiers ( ) const

Return the string identifiers for handles mentioned in this channel.

The string identifiers for handles mentioned in this channel, to give clients the minimal information necessary to create contacts without waiting for round-trips.

The property provided by the interface itself and based on selfHandle(), members(), localPendingMembers(), remotePendingMembers() and handleOwners() values.

Returns
The string identifiers for handles mentioned in this channel.
void Tp::BaseChannelGroupInterface::setAddMembersCallback ( const AddMembersCallback cb)

Set a callback that will be called to add members to the group.

Invite all the given contacts into the channel, or accept requests for channel membership for contacts on the pending local list.

A message may be provided along with the request, which will be sent to the server if supported. See the Tp::ChannelGroupFlag to find out in which cases the message should be provided.

Attempting to add contacts who are already members is allowed; connection managers must silently accept this, without error.

Parameters
cbThe callback to set.
See also
addMembers()
setRemoveMembersCallback()
void Tp::BaseChannelGroupInterface::addMembers ( const Tp::UIntList contacts,
const QString &  message,
DBusError error 
)

Call the AddMembers callback with passed arguments.

Parameters
contactsAn array of contact handles to invite to the channel.
messageA string message, which can be blank if desired.
errorA pointer to Tp::DBusError object for error information.
See also
setAddMembersCallback()
void Tp::BaseChannelGroupInterface::setRemoveMembersCallback ( const RemoveMembersCallback cb)

Set a callback that will be called to remove members from the group with a reason.

Connection manager should setup this callback to support requests for: the removal contacts from the channel, reject their request for channel membership on the pending local list, or rescind their invitation on the pending remote list.

If the SelfHandle is in the group, it can be removed via this method, in order to leave the group gracefully. This is the recommended way to leave a chatroom, close or reject a call, and so on.

Accordingly, connection managers SHOULD support doing this, regardless of the value of GroupFlags. If doing so fails with PermissionDenied, this is considered to a bug in the connection manager, but clients MUST recover by falling back to closing the channel with the Close method.

Removing any contact from the local pending list is always allowed. Removing contacts other than the SelfHandle from the channel's members is allowed if and only if Tp::ChannelGroupFlagCanRemove is in the groupFlags(), while removing contacts other than the SelfHandle from the remote pending list is allowed if and only if Tp::ChannelGroupFlagCanRescind is in the groupFlags().

A message may be provided along with the request, which will be sent to the server if supported. See the Tp::ChannelGroupFlag to find out in which cases the message should be provided.

The reason code may be ignored if the underlying protocol is unable to represent the given reason.

Parameters
cbThe callback to set.
See also
removeMembers()
setRemoveMembersCallback()
void Tp::BaseChannelGroupInterface::removeMembers ( const Tp::UIntList contacts,
const QString &  message,
uint  reason,
DBusError error 
)

Call the RemoveMembers callback with passed arguments.

Parameters
contactsAn array of contact handles to remove from the channel.
messageA string message, which can be blank if desired.
reasonA reason for the change.
errorA pointer to Tp::DBusError object for error information.
See also
setRemoveMembersCallback()
void Tp::BaseChannelGroupInterface::setBaseChannel ( BaseChannel channel)
protectedvirtual

Reimplemented from Tp::AbstractChannelInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01037.html0000644000175000017500000000554012727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DBusTubeParticipants Member List

This is the complete list of members for Tp::DBusTubeParticipants, including all inherited members.

DBusTubeParticipants()Tp::DBusTubeParticipantsinline
DBusTubeParticipants(const QMap< uint, QString > &a)Tp::DBusTubeParticipantsinline
operator=(const QMap< uint, QString > &a)Tp::DBusTubeParticipantsinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00891.html0000644000175000017500000001070512727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientApprover Member List

This is the complete list of members for Tp::AbstractClientApprover, including all inherited members.

AbstractClient()Tp::AbstractClient
AbstractClientApprover(const ChannelClassSpecList &channelFilter)Tp::AbstractClientApproverprotected
addDispatchOperation(const MethodInvocationContextPtr<> &context, const ChannelDispatchOperationPtr &dispatchOperation)=0Tp::AbstractClientApproverpure virtual
approverFilter() const Tp::AbstractClientApprover
isRegistered() const Tp::AbstractClient
RefCounted()Tp::RefCountedinline
~AbstractClient()Tp::AbstractClientvirtual
~AbstractClientApprover()Tp::AbstractClientApprovervirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00390.html0000644000175000017500000001415612727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::MultipleStatusMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::MultipleStatusMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QVariantMap >.

Public Member Functions

 MultipleStatusMap ()
 
 MultipleStatusMap (const QMap< QString, QVariantMap > &a)
 
MultipleStatusMapoperator= (const QMap< QString, QVariantMap > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QVariantMap>, but needed to have a discrete type in the Qt type system.

Mapping used in Last_Activity_And_Statuses and passed to SetStatus, representing a collection of statuses. Use of this mapping with more than one member is deprecated.

Constructor & Destructor Documentation

Tp::MultipleStatusMap::MultipleStatusMap ( )
inline
Tp::MultipleStatusMap::MultipleStatusMap ( const QMap< QString, QVariantMap > &  a)
inline

Member Function Documentation

MultipleStatusMap& Tp::MultipleStatusMap::operator= ( const QMap< QString, QVariantMap > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01351.html0000644000175000017500000000773212727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceAddressingAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceAddressingAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetContactsByURI(const QStringList &URIs, const QStringList &interfaces, const QDBusMessage &dbusMessage, Tp::ContactAttributesMap &attributes)Tp::Service::ConnectionInterfaceAddressingAdaptorslot
GetContactsByVCardField(const QString &field, const QStringList &addresses, const QStringList &interfaces, const QDBusMessage &dbusMessage, Tp::ContactAttributesMap &attributes)Tp::Service::ConnectionInterfaceAddressingAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00135.html0000644000175000017500000012037012727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallStreamInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallStreamInterface Class Reference

#include <TelepathyQt/CallStream>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetSending (bool send, int timeout=-1)
 
QDBusPendingReply RequestReceiving (uint contact, bool receive, int timeout=-1)
 

Signals

void RemoteMembersChanged (const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
 
void LocalSendingStateChanged (uint state, const Tp::CallStateReason &reason)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallStreamInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyInterfaces () const
 
Tp::PendingVariantrequestPropertyRemoteMembers () const
 
Tp::PendingVariantrequestPropertyRemoteMemberIdentifiers () const
 
Tp::PendingVariantrequestPropertyLocalSendingState () const
 
Tp::PendingVariantrequestPropertyCanRequestReceiving () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Stream".

Constructor & Destructor Documentation

Tp::Client::CallStreamInterface::CallStreamInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallStreamInterface 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.
Tp::Client::CallStreamInterface::CallStreamInterface ( Tp::DBusProxy proxy)

Creates a CallStreamInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::CallStreamInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Stream", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallStreamInterface::requestPropertyInterfaces ( ) const
inline

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

Extra interfaces provided by this stream, such as CallStreamInterfaceMediaInterface . This SHOULD NOT include the Stream interface itself, and cannot change once the stream has been created.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterface::requestPropertyRemoteMembers ( ) const
inline

Asynchronous getter for the remote object property RemoteMembers of type Tp::ContactSendingStateMap.

A map from remote contacts to their sending state.

Media sent to this stream will be sent to all members listed here. All members listed here will also appear in ChannelTypeCallInterface::CallMembers , and each CallMembers member will be listed in at most one Stream per Content. Therefore, to hide things from a member of the call, UIs only need to mute one Stream per Content.

Contacts' handles in this map indicate whether they are sending media to this stream. Sending_State_Pending_Send indicates contacts who are not sending but have been asked to do so. The local user's sending state is shown in LocalSendingState .

This mapping is also used by the streaming implementation to map from CallContentMediaDescriptionInterface s to Streams. In this use-case, all of the senders in this stream will be represented in CallContentInterfaceMediaInterface::RemoteMediaDescriptions . This use-case should not affect anything that does not handle media streaming.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterface::requestPropertyRemoteMemberIdentifiers ( ) const
inline

Asynchronous getter for the remote object property RemoteMemberIdentifiers of type Tp::HandleIdentifierMap.

The string identifiers for handles mentioned in RemoteMembers, to give clients the minimal information necessary to create contacts without waiting for round-trips.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterface::requestPropertyLocalSendingState ( ) const
inline

Asynchronous getter for the remote object property LocalSendingState of type uint.

The local user's sending state. Media sent on this stream should be assumed to be received, directly or indirectly, by every other contact in the RemoteMembers mapping. Change notification is given via the LocalSendingStateChanged() signal.

Implementations of the first Call draft had the self handle in the RemoteMembers (then called Members) map and this showed that it's annoying having to keep track of the self handle so that it can be special-cased.

A value of Pending_Send for this property indicates that the other side requested the local user start sending media (which can be done by calling either SetSending() or ChannelTypeCallInterface::Accept() ).

When ChannelTypeCallInterface::Accept() is called, all streams with a local sending state of Pending_Send and the associated CallContentInterface::Disposition set to Initial are automatically set to sending.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterface::requestPropertyCanRequestReceiving ( ) const
inline

Asynchronous getter for the remote object property CanRequestReceiving of type bool.

If true, the user can request that a remote contact starts sending on this stream.

Not all protocols allow the user to ask the other side to start sending media.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallStreamInterface::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 Tp::Client::CallStreamInterface::SetSending ( bool  send,
int  timeout = -1 
)
inlineslot

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

Set the stream to start or stop sending media from the local user to other contacts.

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

Parameters
send

If True, the LocalSendingState should change to Sending, if it isn't already.

If False, the LocalSendingState should change to None, if it isn't already.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamInterface::RequestReceiving ( uint  contact,
bool  receive,
int  timeout = -1 
)
inlineslot

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

Request that a remote contact stops or starts sending on this stream. The CanRequestReceiving property defines whether the protocol allows the local user to request the other side start sending on this stream.

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

Parameters
contact

Contact from which sending is requested

receive

If true, request that the given contact starts to send media. If false, request that the given contact stops sending media.

timeoutThe timeout in milliseconds.
void Tp::Client::CallStreamInterface::RemoteMembersChanged ( const Tp::ContactSendingStateMap updates,
const Tp::HandleIdentifierMap identifiers,
const Tp::UIntList removed,
const Tp::CallStateReason reason 
)
signal

Represents the signal RemoteMembersChanged on the remote object.

Emitted when RemoteMembers changes.

Parameters
updates
A mapping from channel-specific handles to their updated sending 
state, whose keys include at least the members who were added, and 
the members whose states changed.
identifiers The identifiers of the contacts in the Updates map.
removed
The channel-specific handles that were removed from the keys of the 
RemoteMembers property, as a result of the contact leaving this 
stream
reason
A structured reason for the change.
void Tp::Client::CallStreamInterface::LocalSendingStateChanged ( uint  state,
const Tp::CallStateReason reason 
)
signal

Represents the signal LocalSendingStateChanged on the remote object.

Emitted when LocalSendingState changes.

Parameters
state
The new value of LocalSendingState.
reason
A structured reason for the change.
void Tp::Client::CallStreamInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00950.html0000644000175000017500000002422112727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseConnectionSimplePresenceInterface Member List

This is the complete list of members for Tp::BaseConnectionSimplePresenceInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
BaseConnectionSimplePresenceInterface()Tp::BaseConnectionSimplePresenceInterfaceprotected
create()Tp::BaseConnectionSimplePresenceInterfaceinlinestatic
create()Tp::BaseConnectionSimplePresenceInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
getPresences(const Tp::UIntList &contacts)Tp::BaseConnectionSimplePresenceInterface
immutableProperties() const Tp::BaseConnectionSimplePresenceInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
maximumStatusMessageLength() const Tp::BaseConnectionSimplePresenceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
setMaximumStatusMessageLength(uint maximumStatusMessageLength)Tp::BaseConnectionSimplePresenceInterface
SetPresenceCallback typedefTp::BaseConnectionSimplePresenceInterface
setPresences(const Tp::SimpleContactPresences &presences)Tp::BaseConnectionSimplePresenceInterface
setSetPresenceCallback(const SetPresenceCallback &cb)Tp::BaseConnectionSimplePresenceInterface
setStatuses(const Tp::SimpleStatusSpecMap &statuses)Tp::BaseConnectionSimplePresenceInterface
statuses() const Tp::BaseConnectionSimplePresenceInterface
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~BaseConnectionSimplePresenceInterface()Tp::BaseConnectionSimplePresenceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01165.html0000644000175000017500000000764112727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RequestableChannelClassSpecList Member List

This is the complete list of members for Tp::RequestableChannelClassSpecList, including all inherited members.

bareClasses() const Tp::RequestableChannelClassSpecListinline
RequestableChannelClassSpecList()Tp::RequestableChannelClassSpecListinline
RequestableChannelClassSpecList(const RequestableChannelClass &rcc)Tp::RequestableChannelClassSpecListinline
RequestableChannelClassSpecList(const RequestableChannelClassList &rccs)Tp::RequestableChannelClassSpecListinline
RequestableChannelClassSpecList(const RequestableChannelClassSpec &rccSpec)Tp::RequestableChannelClassSpecListinline
RequestableChannelClassSpecList(const QList< RequestableChannelClassSpec > &other)Tp::RequestableChannelClassSpecListinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_rela.html0000644000175000017500000000334612727270137023202 0ustar00kaffeinekaffeine00000000000000 Class Members - Related Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00749_source.html0000644000175000017500000002642612727270137022377 0ustar00kaffeinekaffeine00000000000000 pending-contact-attributes.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-contact-attributes.h
1 
23 #ifndef _TelepathyQt_pending_contact_attributes_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_contact_attributes_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/PendingOperation>
31 #include <TelepathyQt/Types>
32 #include <TelepathyQt/Constants>
33 #include <TelepathyQt/Types>
34 
35 namespace Tp
36 {
37 
38 class ReferencedHandles;
39 
40 class TP_QT_EXPORT PendingContactAttributes : public PendingOperation
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(PendingContactAttributes)
44 
45 public:
47 
48  ConnectionPtr connection() const;
49 
50  const UIntList &contactsRequested() const;
51  const QStringList &interfacesRequested() const;
52  bool shouldReference() const;
53 
54  ReferencedHandles validHandles() const;
55  UIntList invalidHandles() const;
56  ContactAttributesMap attributes() const;
57 
58 private Q_SLOTS:
59  TP_QT_NO_EXPORT void onCallFinished(QDBusPendingCallWatcher *watcher);
60 
61 private:
62  friend class ConnectionLowlevel;
63 
64  TP_QT_NO_EXPORT PendingContactAttributes(const ConnectionPtr &connection,
65  const UIntList &handles,
66  const QStringList &interfaces, bool reference);
67 
68  TP_QT_NO_EXPORT void failImmediately(const QString &error, const QString &errorMessage);
69 
70  struct Private;
71  friend struct Private;
72  Private *mPriv;
73 };
74 
75 } // Tp
76 
77 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:959
The PendingContactAttributes class represents the parameters of and the reply to an asynchronous requ...
Definition: pending-contact-attributes.h:40
Definition: build/TelepathyQt/_gen/types.h:107
Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...
Definition: referenced-handles.h:47
Definition: abstract-adaptor.cpp:31
The ConnectionLowlevel class extends Connection with support to low-level features.
Definition: connection-lowlevel.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00509.html0000644000175000017500000021022512727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeServer Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Classes | Signals | Public Member Functions | Static Public Member Functions | List of all members
Tp::StreamTubeServer Class Reference

The StreamTubeServer class is a Handler implementation for outgoing Stream Tube channels, allowing an application to easily export a TCP network server over Telepathy Tubes without worrying about the channel dispatching details. More...

#include <TelepathyQt/StreamTubeServer>

Inherits QObject, and Tp::RefCounted.

Classes

class  ParametersGenerator
 The StreamTubeServer::ParametersGenerator abstract interface allows sending a different set of parameters with each tube offer. More...
 
class  RemoteContact
 The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates. More...
 
class  Tube
 The StreamTubeServer::Tube class represents a tube being handled by the server. More...
 

Signals

void tubeRequested (const Tp::AccountPtr &account, const Tp::OutgoingStreamTubeChannelPtr &tube, const QDateTime &userActionTime, const Tp::ChannelRequestHints &hints)
 
void tubeClosed (const Tp::AccountPtr &account, const Tp::OutgoingStreamTubeChannelPtr &tube, const QString &error, const QString &message)
 
void newTcpConnection (const QHostAddress &sourceAddress, quint16 sourcePort, const Tp::AccountPtr &account, const Tp::ContactPtr &contact, const Tp::OutgoingStreamTubeChannelPtr &tube)
 
void tcpConnectionClosed (const QHostAddress &sourceAddress, quint16 sourcePort, const Tp::AccountPtr &account, const Tp::ContactPtr &contact, const QString &error, const QString &message, const Tp::OutgoingStreamTubeChannelPtr &tube)
 

Public Member Functions

virtual ~StreamTubeServer ()
 
ClientRegistrarPtr registrar () const
 
QString clientName () const
 
bool isRegistered () const
 
bool monitorsConnections () const
 
QPair< QHostAddress, quint16 > exportedTcpSocketAddress () const
 
QVariantMap exportedParameters () const
 
void exportTcpSocket (const QHostAddress &address, quint16 port, const QVariantMap &parameters=QVariantMap())
 
void exportTcpSocket (const QTcpServer *server, const QVariantMap &parameters=QVariantMap())
 
void exportTcpSocket (const QHostAddress &address, quint16 port, ParametersGenerator *generator)
 
void exportTcpSocket (const QTcpServer *server, ParametersGenerator *generator)
 
QList< Tubetubes () const
 
QHash< QPair< QHostAddress, quint16 >, RemoteContacttcpConnections () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static StreamTubeServerPtr create (const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false, const AccountFactoryConstPtr &accountFactory=AccountFactory::create(QDBusConnection::sessionBus()), const ConnectionFactoryConstPtr &connectionFactory=ConnectionFactory::create(QDBusConnection::sessionBus()), const ChannelFactoryConstPtr &channelFactory=ChannelFactory::create(QDBusConnection::sessionBus()), const ContactFactoryConstPtr &contactFactory=ContactFactory::create())
 
static StreamTubeServerPtr create (const QDBusConnection &bus, const AccountFactoryConstPtr &accountFactory, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false)
 
static StreamTubeServerPtr create (const AccountManagerPtr &accountManager, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false)
 
static StreamTubeServerPtr create (const ClientRegistrarPtr &registrar, const QStringList &p2pServices, const QStringList &roomServices=QStringList(), const QString &clientName=QString(), bool monitorConnections=false)
 

Detailed Description

The StreamTubeServer class is a Handler implementation for outgoing Stream Tube channels, allowing an application to easily export a TCP network server over Telepathy Tubes without worrying about the channel dispatching details.

Telepathy Tubes is a technology for connecting arbitrary applications together through the IM network (and sometimes with direct peer-to-peer connections), such that issues like firewall/NAT traversal are automatically handled. Stream Tubes in particular offer properties similar to SOCK_STREAM sockets. The StreamTubeServer class exports such a bytestream socket server over the tubes it handles as a Telepathy Handler Client; the StreamTubeClient class is the counterpart, enabling TCP/UNIX socket clients to connect to services from such exported servers offered to them via tubes.

Both peer-to-peer (TargetHandleType == HandleTypeContact) and group (TargetHandleType == HandleTypeRoom) channels are supported, and it's possible to specify the tube services to handle for each separately. It is also possible to not advertise handling capability for ANY tube service; instead just using the StreamTubeServer to handle tubes on an one-off basis by passing its corresponding Client service name as the preferredHandler when requesting tubes via the Account::createStreamTube() methods (or equivalent).

Connection monitoring allows associating incoming connections on the exported server socket with the corresponding remote contacts. This allows an application to show the details of and/or initiate further communication with the remote contacts, without considering the actual tube channels the connections are being made through at all (in particular, their Channel::targetContact() accessor for peer-to-peer and the OutgoingStreamTubeChannel::connectionsForSourceAddresses() accessor for group tubes).

Enabling connection monitoring adds a small overhead and latency to handling each incoming tube and signaling each new incoming connection over them, though, so use it only when needed. Additionally, some protocol backends or environments they're running in might not support the SocketAccessControlPort mechanism, in which case the source address won't be reported for connections through them. Even in this case, the remote contacts can be associated by accepting one incoming socket connection at a time, and waiting for the corresponding contact to be signaled (although its source address will be invalid, it's the only possibility given its the only accepted connection). However, it's not necessary to do this e.g. with the Gabble XMPP backend, because it fully supports the required mechanism.

A service activated Handler can be implemented using StreamTubeServer by passing a predefined clientName manually to the chosen create() method, and installing Telepathy .client and D-Bus .service files declaring the implemented tube services as channel classes and a path to the executable. If this is not needed, the clientName can be omitted, in which case a random unique client name is generated and used instead.

StreamTubeServer shares Account, Connection and Channel proxies and Contact objects with the rest of the application as long as a reference to the AccountManager, ClientRegistrar, or the factories used elsewhere is passed to the create() method. A stand-alone tube service Handler can get away without passing these however, or just passing select factories to make the desired features prepared and subclasses employed for these objects for their own convenience.

Whichever method is used, the ChannelFactory (perhaps indirectly) given must construct OutgoingStreamTubeChannel instances or subclasses thereof for all channel classes corresponding to the tube services to handle. This is the default; overriding it without obeying these constraints using ChannelFactory::setSubclassForOutgoingStreamTubes() or the related methods for room tubes prevents StreamTubeServer from operating correctly.

Todo:

Coin up a small Python script or alike to easily generate the .client and .service files. (fd.o #41614)

Support exporting Unix sockets as well. (fd.o #41615)

Constructor & Destructor Documentation

Tp::StreamTubeServer::~StreamTubeServer ( )
virtual

Class destructor.

Member Function Documentation

StreamTubeServerPtr Tp::StreamTubeServer::create ( const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false,
const AccountFactoryConstPtr &  accountFactory = AccountFactory::create(QDBusConnection::sessionBus()),
const ConnectionFactoryConstPtr &  connectionFactory = ConnectionFactory::create(QDBusConnection::sessionBus()),
const ChannelFactoryConstPtr &  channelFactory = ChannelFactory::create(QDBusConnection::sessionBus()),
const ContactFactoryConstPtr &  contactFactory = ContactFactory::create() 
)
static

Create a new StreamTubeServer, which will register itself on the session bus using an internal ClientRegistrar and use the given factories.

Parameters
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
StreamTubeServerPtr Tp::StreamTubeServer::create ( const QDBusConnection &  bus,
const AccountFactoryConstPtr &  accountFactory,
const ConnectionFactoryConstPtr &  connectionFactory,
const ChannelFactoryConstPtr &  channelFactory,
const ContactFactoryConstPtr &  contactFactory,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false 
)
static

Create a new StreamTubeServer, which will register itself on the given bus using an internal ClientRegistrar and use the given factories.

The factories must all be created for the given bus.

Parameters
busConnection to the bus to register on.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
StreamTubeServerPtr Tp::StreamTubeServer::create ( const AccountManagerPtr &  accountManager,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false 
)
static

Create a new StreamTubeServer, which will register itself on the bus of and share objects with the given accountManager, creating an internal ClientRegistrar.

Parameters
accountManagerA pointer to the account manager to link up with.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
StreamTubeServerPtr Tp::StreamTubeServer::create ( const ClientRegistrarPtr &  registrar,
const QStringList &  p2pServices,
const QStringList &  roomServices = QStringList(),
const QString &  clientName = QString(),
bool  monitorConnections = false 
)
static

Create a new StreamTubeServer, which will register itself on the bus of and using the given client registrar, and share objects with it.

Parameters
registrarThe client registrar to use.
p2pServicesNames of the tube services to handle on peer-to-peer tube channels.
roomServicesNames of the tube services to handle on room/group tube channels.
clientNameThe client name (without the org.freedesktop.Telepathy.Client. prefix).
monitorConnectionsWhether to enable connection monitoring or not.
ClientRegistrarPtr Tp::StreamTubeServer::registrar ( ) const

Return the client registrar used by the server to register itself as a Handler client.

This is the registrar originally passed to create(const ClientRegistrarPtr &, const QStringList &, const QStringList &, const QString &, bool) if that was used, and an internally constructed one otherwise. In any case, it can be used to e.g. register further clients like any other ClientRegistrar.

Returns
A pointer to the registrar.
QString Tp::StreamTubeServer::clientName ( ) const

Return the Telepathy Client name of the server.

Returns
The name, without the org.freedesktop.Telepathy.Client. prefix of the full D-Bus service name.
bool Tp::StreamTubeServer::isRegistered ( ) const

Return whether the server has been successfully registered or not.

Registration is attempted, at the latest, when a socket is first exported using exportTcpSocket(). It can fail e.g. because the connection to the bus has failed, or a predefined clientName has been passed to create(), and a Client with the same name is already registered. Typically, failure registering would be a fatal error for a stand-alone tube handler, but only a warning event for an application serving other purposes. In any case, a high-quality user of the API will check the return value of this accessor after exporting their socket.

Returns
true if the server has been successfully registered, false if not.
bool Tp::StreamTubeServer::monitorsConnections ( ) const

Return whether connection monitoring is enabled on this server.

For technical reasons, connection monitoring can't be enabled when the server is already running, so there is no corresponding setter method. It has to be enabled by passing true as the monitorConnections parameter to the create() method.

If connection monitoring isn't enabled, newTcpConnection() and tcpConnectionClosed() won't be emitted and tcpConnections() won't be populated.

Returns
true if monitoring is enabled, false if not.
QPair< QHostAddress, quint16 > Tp::StreamTubeServer::exportedTcpSocketAddress ( ) const

Return the host address and port of the currently exported TCP socket, if any.

QHostAddress::Null is reported as the address and 0 as the port if no TCP socket has yet been successfully exported.

Returns
The host address and port values in a pair structure.
QVariantMap Tp::StreamTubeServer::exportedParameters ( ) const

Return the fixed parameters, if any, which are sent along when offering the exported socket on all handled tubes.

To prevent accidentally leaving the current parameters to be sent when offering a different socket, or vice versa, the parameters can only be set together with the socket using exportTcpSocket(). Parameters often contain sensitive information such as session identifiers or authentication credentials, which could then be used to maliciously access the service listening on the other socket.

If a custom dynamic ParametersGenerator was passed to exportTcpSocket() instead of a set of fixed parameters, an empty set of parameters is returned.

Returns
The parameters in a string-variant map.
void Tp::StreamTubeServer::exportTcpSocket ( const QHostAddress &  address,
quint16  port,
const QVariantMap &  parameters = QVariantMap() 
)

Set the server to offer the socket listening at the given (address, port) combination as the local endpoint of tubes handled in the future.

A fixed set of protocol bootstrapping parameters can optionally be set to be sent along with all tube offers until the next call to exportTcpSocket(). See the ParametersGenerator documentation for an in-depth description of the parameter transfer mechanism, and a more flexible way to vary the parameters between each handled tube.

The handler is registered on the bus at the latest when this method or another exportTcpSocket() overload is called for the first time, so one should check the return value of isRegistered() at that point to verify that was successful.

Parameters
addressThe listen address of the socket.
portThe port of the socket.
parametersThe bootstrapping parameters in a string-value map.
void Tp::StreamTubeServer::exportTcpSocket ( const QTcpServer *  server,
const QVariantMap &  parameters = QVariantMap() 
)

Set the StreamTubeServer to offer the already listening TCP server as the local endpoint of tubes handled in the future.

This is just a convenience wrapper around exportTcpSocket(const QHostAddress &, quint16, const QVariantMap &) to be used when the TCP server code is implemented using the QtNetwork facilities.

A fixed set of protocol bootstrapping parameters can optionally be set to be sent along with all tube offers until the next call to exportTcpSocket(). See the ParametersGenerator documentation for an in-depth description of the parameter transfer mechanism, and a more flexible way to vary the parameters between each handled tube.

Parameters
serverA pointer to the TCP server.
parametersThe bootstrapping parameters in a string-value map.
void Tp::StreamTubeServer::exportTcpSocket ( const QHostAddress &  address,
quint16  port,
ParametersGenerator generator 
)

Set the server to offer the socket listening at the given address - port combination as the local endpoint of tubes handled in the future, sending the parameters from the given generator along with the offers.

The handler is registered on the bus at the latest when this method or another exportTcpSocket() overload is called for the first time, so one should check the return value of isRegistered() at that point to verify that was successful.

Parameters
addressThe listen address of the socket.
portThe port of the socket.
generatorA pointer to the bootstrapping parameters generator.
void Tp::StreamTubeServer::exportTcpSocket ( const QTcpServer *  server,
ParametersGenerator generator 
)

Set the server to offer the already listening TCP server as the local endpoint of tubes handled in the future, sending the parameters from the given generator along with the offers.

This is just a convenience wrapper around exportTcpSocket(const QHostAddress &, quint16, ParametersGenerator *) to be used when the TCP server code is implemented using the QtNetwork facilities.

Parameters
serverA pointer to the TCP server.
generatorA pointer to the bootstrapping parameters generator.
QList< StreamTubeServer::Tube > Tp::StreamTubeServer::tubes ( ) const

Return the tubes currently handled by the server.

Returns
A list of Tube structures containing pointers to the account and tube channel for each tube.
QHash< QPair< QHostAddress, quint16 >, StreamTubeServer::RemoteContact > Tp::StreamTubeServer::tcpConnections ( ) const

Return the ongoing TCP connections over tubes handled by this server.

The returned mapping has the connection source addresses as keys and the contacts along with the accounts which can be used to reach them as values. Connections through protocol backends which don't support SocketAccessControlPort will be included as the potentially many values for the null source address key, the pair (QHostAddress::Null, 0).

This is effectively a state recovery accessor corresponding to the change notification signals newTcpConnection() and tcpConnectionClosed().

The mapping is only populated if connection monitoring was requested when creating the server (so monitorsConnections() returns true).

Returns
The connections in a mapping with pairs of their source host addresses and ports as keys and structures containing pointers to the account and remote contacts they're from as values.
void Tp::StreamTubeServer::tubeRequested ( const Tp::AccountPtr &  account,
const Tp::OutgoingStreamTubeChannelPtr &  tube,
const QDateTime &  userActionTime,
const Tp::ChannelRequestHints hints 
)
signal

Emitted when a tube has been requested for one of our services, and we've began handling it.

This is emitted before invoking the ParametersGenerator, if any, for the tube.

Parameters
accountA pointer to the account from which the tube was requested from.
tubeA pointer to the actual tube channel.
userActionTimeThe time the request occurred at, if it was an user action. Should be used for focus stealing prevention.
hintsThe hints passed to the request, if any.
void Tp::StreamTubeServer::tubeClosed ( const Tp::AccountPtr &  account,
const Tp::OutgoingStreamTubeChannelPtr &  tube,
const QString &  error,
const QString &  message 
)
signal

Emitted when a tube we've been handling (previously announced with tubeRequested()) has encountered an error or has otherwise been closed from further communication.

Parameters
accountA pointer to the account from which the tube was requested from.
tubeA pointer to the actual tube channel.
errorThe D-Bus error name corresponding to the reason for the closure.
messageA freeform debug message associated with the error.
void Tp::StreamTubeServer::newTcpConnection ( const QHostAddress &  sourceAddress,
quint16  sourcePort,
const Tp::AccountPtr &  account,
const Tp::ContactPtr &  contact,
const Tp::OutgoingStreamTubeChannelPtr &  tube 
)
signal

Emitted when we have picked up a new TCP connection to the (current or previous) exported server socket. This can be used to associate connections the protocol backend relays to the exported socket with the remote contact who originally initiated them in the other end of the tube.

This is only emitted if connection monitoring was enabled when creating the StreamTubeServer. Additionally, if the protocol backend the connection is from doesn't support the SocketAccessControlPort mechanism, the source address and port will always be invalid.

Parameters
sourceAddressThe source address of the connection, or QHostAddress::Null if it can't be resolved.
sourcePortThe source port of the connection, or 0 if it can't be resolved.
accountA pointer to the account through which the remote contact can be reached.
contactA pointer to the remote contact object.
tubeA pointer to the tube channel through which the connection has been made.
void Tp::StreamTubeServer::tcpConnectionClosed ( const QHostAddress &  sourceAddress,
quint16  sourcePort,
const Tp::AccountPtr &  account,
const Tp::ContactPtr &  contact,
const QString &  error,
const QString &  message,
const Tp::OutgoingStreamTubeChannelPtr &  tube 
)
signal

Emitted when a TCP connection (previously announced with newTcpConnection()) through one of our handled tubes has been closed due to an error or by a graceful disconnect (in which case the error is TP_QT_ERROR_DISCONNECTED).

This is only emitted if connection monitoring was enabled when creating the StreamTubeServer. Additionally, if the protocol backend the connection is from doesn't support the SocketAccessControlPort mechanism, the source address and port will always be invalid.

Parameters
sourceAddressThe source address of the connection, or QHostAddress::Null if it couldn't be resolved.
sourcePortThe source port of the connection, or 0 if it couldn't be resolved.
accountA pointer to the account through which the remote contact can be reached.
contactA pointer to the remote contact object.
errorThe D-Bus error name corresponding to the reason for the closure.
messageA freeform debug message associated with the error.
tubeA pointer to the tube channel through which the connection has been made.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00263.html0000644000175000017500000010323112727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactCapabilitiesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceContactCapabilitiesInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply UpdateCapabilities (const Tp::HandlerCapabilitiesList &handlerCapabilities, int timeout=-1)
 
QDBusPendingReply< Tp::ContactCapabilitiesMapGetContactCapabilities (const Tp::UIntList &handles, int timeout=-1)
 

Signals

void ContactCapabilitiesChanged (const Tp::ContactCapabilitiesMap &caps)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceContactCapabilitiesInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactCapabilitiesInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactCapabilitiesInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactCapabilitiesInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactCapabilitiesInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactCapabilitiesInterface 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.
Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactCapabilitiesInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactCapabilitiesInterface 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.
Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactCapabilitiesInterface 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 Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::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 Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::UpdateCapabilities ( const Tp::HandlerCapabilitiesList handlerCapabilities,
int  timeout = -1 
)
inlineslot

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

Alter the connection's advertised capabilities to include the intersection of the given clients' capabilities with what the connection manager is able to implement.

On connections managed by the ChannelDispatcher, processes other than the ChannelDispatcher SHOULD NOT call this method, and the ChannelDispatcher SHOULD use this method to advertise the capabilities of all the registered ClientHandlerInterface implementations.On connections not managed by the ChannelDispatcher, clients MAY use this method directly, to indicate the channels they will handle and the extra capabilities they have.

Upon a successful invocation of this method, the connection manager will only emit the ContactCapabilitiesChanged() signal for the user's ConnectionInterface::SelfHandle if, in the underlying protocol, the new capabilities are distinct from the previous state.

The connection manager will essentially intersect the provided capabilities and the channel classes it implements. Therefore, certain properties which are never fixed for a channel class (such as the target handle, or the Parameters property of a tube channel) will almost certainly not be advertised.

This method MAY be called on a newly-created connection while it is still in the DISCONNECTED state, to request that when the connection connects, it will do so with the appropriate capabilities. Doing so MUST NOT fail.

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

Parameters
handlerCapabilities
The capabilities of one or more clients. For each client in the 
given list, any capabilities previously advertised for the same 
client name are discarded, then replaced by the capabilities 
indicated. As a result, if a client becomes unavailable, this 
method SHOULD be called with a Handler_Capabilities structure 
containing its name, an empty list of channel classes, and an empty 
list of capabilities. When this is done, the connection manager 
SHOULD free all memory associated with that client name. This 
method takes a list of clients so that when the channel dispatcher 
first calls it (with a list of all the Handlers that are initially 
available), the changes can be made atomically, with only one 
transmission of updated capabilities to the network. Afterwards, 
the channel dispatcher will call this method with a single-element 
list every time a Handler becomes available or unavailable. The 
connection manager MUST ignore any channel classes and client 
capabilities for which there is no representation in the protocol 
or no support in the connection manager.
timeoutThe timeout in milliseconds.
QDBusPendingReply<Tp::ContactCapabilitiesMap> Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::GetContactCapabilities ( const Tp::UIntList handles,
int  timeout = -1 
)
inlineslot

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

Returns an array of requestable channel classes for the given contact handles, representing the channel requests that are expected to succeed.

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

Parameters
handles

An array of contact handles for this connection.

The handle zero MUST NOT be included in the request.

timeoutThe timeout in milliseconds.
Returns

A map from contact handles to lists of requestable channel classes, representing the channel requests that are expected to succeed for that contact.

Contacts listed among Handles whose capabilities are unknown SHOULD be omitted from this map; contacts known to have an empty set of capabilities SHOULD be included in the keys of this map, with an empty array as the corresponding value.

void Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::ContactCapabilitiesChanged ( const Tp::ContactCapabilitiesMap caps)
signal

Represents the signal ContactCapabilitiesChanged on the remote object.

Announce that there has been a change of capabilities on the given handles. A single signal can be emitted for several contacts.

The underlying protocol can get several contacts' capabilities at the same time.

Parameters
caps All the capabilities of the contacts
void Tp::Client::ConnectionInterfaceContactCapabilitiesInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01224.html0000644000175000017500000002330712727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentInterfaceAudioControlInterface Member List

This is the complete list of members for Tp::Client::CallContentInterfaceAudioControlInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentInterfaceAudioControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceAudioControlInterface
CallContentInterfaceAudioControlInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceAudioControlInterface
CallContentInterfaceAudioControlInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentInterfaceAudioControlInterface
CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface &mainInterface)Tp::Client::CallContentInterfaceAudioControlInterfaceexplicit
CallContentInterfaceAudioControlInterface(const Tp::Client::CallContentInterface &mainInterface, QObject *parent)Tp::Client::CallContentInterfaceAudioControlInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentInterfaceAudioControlInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
ReportInputVolume(int volume, int timeout=-1)Tp::Client::CallContentInterfaceAudioControlInterfaceinlineslot
ReportOutputVolume(int volume, int timeout=-1)Tp::Client::CallContentInterfaceAudioControlInterfaceinlineslot
requestAllProperties() const Tp::Client::CallContentInterfaceAudioControlInterfaceinline
requestPropertyRequestedInputVolume() const Tp::Client::CallContentInterfaceAudioControlInterfaceinline
requestPropertyRequestedOutputVolume() const Tp::Client::CallContentInterfaceAudioControlInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentInterfaceAudioControlInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00008.html0000644000175000017500000001736512727270137021005 0ustar00kaffeinekaffeine00000000000000 accounts/accounts-window.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
accounts/accounts-window.cpp
#include "accounts-window.h"
#include "_gen/accounts-window.moc.hpp"
#include "account-item.h"
#include <TelepathyQt/Types>
#include <TelepathyQt/Account>
#include <TelepathyQt/AccountFactory>
#include <TelepathyQt/AccountManager>
#include <TelepathyQt/PendingOperation>
#include <TelepathyQt/PendingReady>
#include <QCheckBox>
#include <QDebug>
#include <QHBoxLayout>
#include <QItemEditorCreatorBase>
#include <QItemEditorFactory>
#include <QTableWidget>
AccountsWindow::AccountsWindow(QWidget *parent)
: QMainWindow(parent)
{
setupGui();
mAM = Tp::AccountManager::create(Tp::AccountFactory::create(QDBusConnection::sessionBus(),
connect(mAM->becomeReady(),
SIGNAL(finished(Tp::PendingOperation *)),
SLOT(onAMReady(Tp::PendingOperation *)));
connect(mAM.data(),
SIGNAL(newAccount(const Tp::AccountPtr &)),
SLOT(onNewAccount(const Tp::AccountPtr &)));
}
AccountsWindow::~AccountsWindow()
{
}
void AccountsWindow::setupGui()
{
mTable = new QTableWidget;
mTable->setColumnCount(AccountItem::NumColumns);
QStringList headerLabels;
headerLabels <<
QLatin1String("Valid") <<
QLatin1String("Enabled") <<
QLatin1String("Connection Manager") <<
QLatin1String("Protocol Name") <<
QLatin1String("Display Name") <<
QLatin1String("Nickname") <<
QLatin1String("Connects Automatically") <<
QLatin1String("Changing Presence") <<
QLatin1String("Automatic Presence") <<
QLatin1String("Current Presence") <<
QLatin1String("Requested Presence") <<
QLatin1String("Connection Status") <<
QLatin1String("Connection");
mTable->setHorizontalHeaderLabels(headerLabels);
setCentralWidget(mTable);
}
void AccountsWindow::onAMReady(Tp::PendingOperation *op)
{
mTable->setRowCount(mAM->allAccounts().count());
int row = 0;
foreach (const Tp::AccountPtr &acc, mAM->allAccounts()) {
(void) new AccountItem(acc, mTable, row++, this);
}
}
void AccountsWindow::onNewAccount(const Tp::AccountPtr &acc)
{
int row = mTable->rowCount();
mTable->insertRow(row);
(void) new AccountItem(acc, mTable, row, this);
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars.html0000644000175000017500000000554512727270137023235 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- a -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00745_source.html0000644000175000017500000003531712727270137022372 0ustar00kaffeinekaffeine00000000000000 pending-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-channel.h
1 
23 #ifndef _TelepathyQt_pending_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/PendingOperation>
32 
33 #include <QString>
34 #include <QVariantMap>
35 
36 #include <QDBusPendingCallWatcher>
37 
38 namespace Tp
39 {
40 
41 class Connection;
42 class HandledChannelNotifier;
43 
44 class TP_QT_EXPORT PendingChannel : public PendingOperation
45 {
46  Q_OBJECT
47  Q_DISABLE_COPY(PendingChannel)
48 
49 public:
50  ~PendingChannel();
51 
52  ConnectionPtr connection() const;
53 
54  bool yours() const;
55 
56  const QString &channelType() const;
57 
58  uint targetHandleType() const;
59 
60  uint targetHandle() const;
61 
62  QVariantMap immutableProperties() const;
63 
64  ChannelPtr channel() const;
65 
66  HandledChannelNotifier *handledChannelNotifier() const;
67 
68 private Q_SLOTS:
69  TP_QT_NO_EXPORT void onConnectionCreateChannelFinished(
70  QDBusPendingCallWatcher *watcher);
71  TP_QT_NO_EXPORT void onConnectionEnsureChannelFinished(
72  QDBusPendingCallWatcher *watcher);
73  TP_QT_NO_EXPORT void onChannelReady(Tp::PendingOperation *op);
74 
75  TP_QT_NO_EXPORT void onHandlerError(const QString &errorName,
76  const QString &errorMessage);
77  TP_QT_NO_EXPORT void onHandlerChannelReceived(
78  const Tp::ChannelPtr &channel);
79  TP_QT_NO_EXPORT void onAccountCreateChannelFinished(
81 
82 private:
83  friend class Account;
84  friend class ConnectionLowlevel;
85 
86  TP_QT_NO_EXPORT PendingChannel(const ConnectionPtr &connection,
87  const QString &errorName, const QString &errorMessage);
88  TP_QT_NO_EXPORT PendingChannel(const ConnectionPtr &connection,
89  const QVariantMap &request, bool create, int timeout = -1);
90  TP_QT_NO_EXPORT PendingChannel(const AccountPtr &account,
91  const QVariantMap &request, const QDateTime &userActionTime,
92  bool create);
93  TP_QT_NO_EXPORT PendingChannel(const QString &errorName,
94  const QString &errorMessage);
95 
96  struct Private;
97  friend struct Private;
98  Private *mPriv;
99 };
100 
101 } // Tp
102 
103 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The Account class represents a Telepathy account.
Definition: account.h:68
The HandledChannelNotifier class can be used to keep track of channel() being re-requested.
Definition: handled-channel-notifier.h:41
The PendingChannel class represents the parameters of and the reply to an asynchronous channel reques...
Definition: pending-channel.h:44
Definition: abstract-adaptor.cpp:31
The ConnectionLowlevel class extends Connection with support to low-level features.
Definition: connection-lowlevel.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_p.html0000644000175000017500000001066312727270137023551 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- p -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00322.html0000644000175000017500000003034712727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::Service::DebugAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::DebugMessageList GetMessages (const QDBusMessage &dbusMessage)
 

Signals

void NewDebugMessage (double time, const QString &domain, uint level, const QString &message)
 

Public Member Functions

bool Enabled () const
 
void SetEnabled (const bool &newValue)
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::DebugAdaptor::Enabled ( ) const

Return the value of the exported D-Bus object property Enabled of type bool.

Adaptees should export this property as a Qt property named 'enabled' with type bool.

TRUE if the NewDebugMessage signal should be emitted when a new debug message is generated.

Returns
The value of exported property Enabled.
void Tp::Service::DebugAdaptor::SetEnabled ( const bool &  newValue)

Set the value of the exported D-Bus object property Enabled of type bool.

Adaptees should export this property as a writable Qt property named 'enabled' with type bool.

TRUE if the NewDebugMessage signal should be emitted when a new debug message is generated.

Tp::DebugMessageList Tp::Service::DebugAdaptor::GetMessages ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getMessages(const Tp::Service::DebugAdaptor::GetMessagesContextPtr &context);

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

Retrieve buffered debug messages. An implementation could have a limit on how many message it keeps and so the array returned from this method should not be assumed to be all of the messages in the lifetime of the service.

Returns
A list of debug messages.
void Tp::Service::DebugAdaptor::NewDebugMessage ( double  time,
const QString &  domain,
uint  level,
const QString &  message 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void newDebugMessage(double time, const QString& domain, uint level, const QString& message);

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

Parameters
time
Timestamp of the debug message.
domain
Domain of the debug message, as described in the Debug_Message 
struct.
level
Level of the debug message.
message
The text of the debug message.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01293.html0000644000175000017500000002574012727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceLocationInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceLocationInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceLocationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceLocationInterface
ConnectionInterfaceLocationInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceLocationInterface
ConnectionInterfaceLocationInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceLocationInterface
ConnectionInterfaceLocationInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceLocationInterfaceexplicit
ConnectionInterfaceLocationInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceLocationInterface
GetLocations(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceLocationInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceLocationInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
LocationUpdated(uint contact, const QVariantMap &location)Tp::Client::ConnectionInterfaceLocationInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceLocationInterfaceinline
RequestLocation(uint contact, int timeout=-1)Tp::Client::ConnectionInterfaceLocationInterfaceinlineslot
requestPropertyLocationAccessControl() const Tp::Client::ConnectionInterfaceLocationInterfaceinline
requestPropertyLocationAccessControlTypes() const Tp::Client::ConnectionInterfaceLocationInterfaceinline
requestPropertySupportedLocationFeatures() const Tp::Client::ConnectionInterfaceLocationInterfaceinline
SetLocation(const QVariantMap &location, int timeout=-1)Tp::Client::ConnectionInterfaceLocationInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyLocationAccessControl(Tp::RichPresenceAccessControl newValue)Tp::Client::ConnectionInterfaceLocationInterfaceinline
staticInterfaceName()Tp::Client::ConnectionInterfaceLocationInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00077.html0000644000175000017500000006312512727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelHoldInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Signals | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseChannelHoldInterface Class Reference

Base class for implementations of Channel.Interface.Hold. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback3< void, const Tp::LocalHoldState &, const Tp::LocalHoldStateReason &, DBusError * > SetHoldStateCallback
 

Signals

void holdStateChanged (const Tp::LocalHoldState &state, const Tp::LocalHoldStateReason &reason)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseChannelHoldInterface ()
 
QVariantMap immutableProperties () const
 
Tp::LocalHoldState getHoldState () const
 
Tp::LocalHoldStateReason getHoldReason () const
 
void setHoldState (const Tp::LocalHoldState &state, const Tp::LocalHoldStateReason &reason)
 
void setSetHoldStateCallback (const SetHoldStateCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelHoldInterfacePtr create ()
 
template<typename BaseChannelHoldInterfaceSubclass >
static SharedPtr< BaseChannelHoldInterfaceSubclass > create ()
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Hold.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelHoldInterface::~BaseChannelHoldInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelHoldInterfacePtr Tp::BaseChannelHoldInterface::create ( )
inlinestatic
template<typename BaseChannelHoldInterfaceSubclass >
static SharedPtr<BaseChannelHoldInterfaceSubclass> Tp::BaseChannelHoldInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelHoldInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::LocalHoldState Tp::BaseChannelHoldInterface::getHoldState ( ) const
Tp::LocalHoldStateReason Tp::BaseChannelHoldInterface::getHoldReason ( ) const
void Tp::BaseChannelHoldInterface::setHoldState ( const Tp::LocalHoldState state,
const Tp::LocalHoldStateReason reason 
)
void Tp::BaseChannelHoldInterface::setSetHoldStateCallback ( const SetHoldStateCallback cb)
void Tp::BaseChannelHoldInterface::holdStateChanged ( const Tp::LocalHoldState state,
const Tp::LocalHoldStateReason reason 
)
signal


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01038.html0000644000175000017500000000545312727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DebugMessage Member List

This is the complete list of members for Tp::DebugMessage, including all inherited members.

domainTp::DebugMessage
levelTp::DebugMessage
messageTp::DebugMessage
timestampTp::DebugMessage


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00892.html0000644000175000017500000001417712727270137021016 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientHandler Member List

This is the complete list of members for Tp::AbstractClientHandler, including all inherited members.

AbstractClient()Tp::AbstractClient
AbstractClientHandler(const ChannelClassSpecList &channelFilter, const Capabilities &capabilities=Capabilities(), bool wantsRequestNotification=false)Tp::AbstractClientHandlerprotected
addRequest(const ChannelRequestPtr &request)Tp::AbstractClientHandlervirtual
bypassApproval() const =0Tp::AbstractClientHandlerpure virtual
handleChannels(const MethodInvocationContextPtr<> &context, const AccountPtr &account, const ConnectionPtr &connection, const QList< ChannelPtr > &channels, const QList< ChannelRequestPtr > &requestsSatisfied, const QDateTime &userActionTime, const HandlerInfo &handlerInfo)=0Tp::AbstractClientHandlerpure virtual
handlerCapabilities() const Tp::AbstractClientHandler
handlerFilter() const Tp::AbstractClientHandler
isRegistered() const Tp::AbstractClient
RefCounted()Tp::RefCountedinline
removeRequest(const ChannelRequestPtr &request, const QString &errorName, const QString &errorMessage)Tp::AbstractClientHandlervirtual
wantsRequestNotification() const Tp::AbstractClientHandler
~AbstractClient()Tp::AbstractClientvirtual
~AbstractClientHandler()Tp::AbstractClientHandlervirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00741_source.html0000644000175000017500000002565212727270137022367 0ustar00kaffeinekaffeine00000000000000 pending-captchas.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-captchas.h
1 
23 #ifndef _TelepathyQt_pending_captcha_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_captcha_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/PendingOperation>
31 
32 #include <TelepathyQt/CaptchaAuthentication>
33 
34 #include <QPair>
35 
36 namespace Tp
37 {
38 
39 class Captcha;
40 
41 class TP_QT_EXPORT PendingCaptchas : public PendingOperation
42 {
43  Q_OBJECT
44  Q_DISABLE_COPY(PendingCaptchas)
45 
46 public:
47  virtual ~PendingCaptchas();
48 
49  Captcha captcha() const;
50  QList<Captcha> captchaList() const;
51  bool requiresMultipleCaptchas() const;
52 
53 private Q_SLOTS:
54  TP_QT_NO_EXPORT void onChannelInvalidated(Tp::DBusProxy *proxy,
55  const QString &errorName, const QString &errorMessage);
56  TP_QT_NO_EXPORT void onGetCaptchasWatcherFinished(QDBusPendingCallWatcher *watcher);
57  TP_QT_NO_EXPORT void onGetCaptchaDataWatcherFinished(QDBusPendingCallWatcher *watcher);
58 
59 private:
60  TP_QT_NO_EXPORT PendingCaptchas(const QDBusPendingCall &call,
61  const QStringList &preferredMimeTypes,
62  CaptchaAuthentication::ChallengeTypes preferredTypes,
63  const CaptchaAuthenticationPtr &channel);
64  TP_QT_NO_EXPORT PendingCaptchas(
65  const QString &errorName, const QString &errorMessage,
66  const CaptchaAuthenticationPtr &channel);
67 
68  struct Private;
69  friend class CaptchaAuthentication;
70  friend struct Private;
71  Private *mPriv;
72 };
73 
74 }
75 
76 #endif // TP_PENDING_CAPTCHA_H
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The Captcha class represents a Captcha ready to be answered.
Definition: captcha.h:37
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition: pending-captchas.h:41
The CaptchaAuthentication class exposes CaptchaAuthentication&#39;s features for channels implementing it...
Definition: captcha-authentication.h:43
Definition: abstract-adaptor.cpp:31
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00391.html0000644000175000017500000000773312727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::NotDelegatedError Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::NotDelegatedError Struct Reference

#include <TelepathyQt/Types>

Public Attributes

QString errorName
 
QString errorMessage
 

Detailed Description

Structure type generated from the specification.

Member Data Documentation

QString Tp::NotDelegatedError::errorName

the name of a D-Bus error describing what went wrong.

QString Tp::NotDelegatedError::errorMessage

a human-readable informative error message.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01352.html0000644000175000017500000001141012727270137020771 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceAliasingAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceAliasingAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AliasesChanged(const Tp::AliasPairList &aliases)Tp::Service::ConnectionInterfaceAliasingAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
GetAliases(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAliasingAdaptorslot
GetAliasFlags(const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAliasingAdaptorslot
RequestAliases(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAliasingAdaptorslot
SetAliases(const Tp::AliasMap &aliases, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAliasingAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00136.html0000644000175000017500000022510112727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::Client::CallStreamInterfaceMediaInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::CallStreamInterfaceMediaInterface Class Reference

#include <TelepathyQt/CallStream>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply CompleteSendingStateChange (uint state, int timeout=-1)
 
QDBusPendingReply ReportSendingFailure (uint reason, const QString &error, const QString &message, int timeout=-1)
 
QDBusPendingReply CompleteReceivingStateChange (uint state, int timeout=-1)
 
QDBusPendingReply ReportReceivingFailure (uint reason, const QString &error, const QString &message, int timeout=-1)
 
QDBusPendingReply SetCredentials (const QString &username, const QString &password, int timeout=-1)
 
QDBusPendingReply AddCandidates (const Tp::CandidateList &candidates, int timeout=-1)
 
QDBusPendingReply FinishInitialCandidates (int timeout=-1)
 
QDBusPendingReply Fail (const Tp::CallStateReason &reason, int timeout=-1)
 

Signals

void SendingStateChanged (uint state)
 
void ReceivingStateChanged (uint state)
 
void LocalCandidatesAdded (const Tp::CandidateList &candidates)
 
void LocalCredentialsChanged (const QString &username, const QString &password)
 
void RelayInfoChanged (const Tp::StringVariantMapList &relayInfo)
 
void STUNServersChanged (const Tp::SocketAddressIPList &servers)
 
void ServerInfoRetrieved ()
 
void EndpointsChanged (const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)
 
void ICERestartRequested ()
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 CallStreamInterfaceMediaInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamInterfaceMediaInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 CallStreamInterfaceMediaInterface (Tp::DBusProxy *proxy)
 
 CallStreamInterfaceMediaInterface (const Tp::Client::CallStreamInterface &mainInterface)
 
 CallStreamInterfaceMediaInterface (const Tp::Client::CallStreamInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySendingState () const
 
Tp::PendingVariantrequestPropertyReceivingState () const
 
Tp::PendingVariantrequestPropertyTransport () const
 
Tp::PendingVariantrequestPropertyLocalCandidates () const
 
Tp::PendingVariantrequestPropertyLocalCredentials () const
 
Tp::PendingVariantrequestPropertySTUNServers () const
 
Tp::PendingVariantrequestPropertyRelayInfo () const
 
Tp::PendingVariantrequestPropertyHasServerInfo () const
 
Tp::PendingVariantrequestPropertyEndpoints () const
 
Tp::PendingVariantrequestPropertyICERestartPending () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Stream.Interface.Media".

Constructor & Destructor Documentation

Tp::Client::CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a CallStreamInterfaceMediaInterface 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.
Tp::Client::CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface ( Tp::DBusProxy proxy)

Creates a CallStreamInterfaceMediaInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface ( const Tp::Client::CallStreamInterface mainInterface)
explicit

Creates a CallStreamInterfaceMediaInterface 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.
Tp::Client::CallStreamInterfaceMediaInterface::CallStreamInterfaceMediaInterface ( const Tp::Client::CallStreamInterface mainInterface,
QObject *  parent 
)

Creates a CallStreamInterfaceMediaInterface 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 Tp::Client::CallStreamInterfaceMediaInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Stream.Interface.Media", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertySendingState ( ) const
inline

Asynchronous getter for the remote object property SendingState of type uint.

Indicates whether the streaming implementation is/should be sending media for this stream. The streaming implementation should be able to rely on reading this value and listening to SendingStateChanged to determine whether it should be sending media or not. It should not need to listen to the Hold interfaces on the Call/Content. Feedback on success should be given via CompleteSendingStateChange. Failures should be reported via ReportSendingFailure.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyReceivingState ( ) const
inline

Asynchronous getter for the remote object property ReceivingState of type uint.

The counterpart of SendingState. Indicates whether the streaming implementation is/should be expecting to receive media for this stream. The CM should only tell the streaming implementation to stop receiving if it has been told to put the stream on hold, or the stream has been removed from the call.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyTransport ( ) const
inline

Asynchronous getter for the remote object property Transport of type uint.

The transport for this stream.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyLocalCandidates ( ) const
inline

Asynchronous getter for the remote object property LocalCandidates of type Tp::CandidateList.

[FIXME]. Change notification is via the LocalCandidatesAdded signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyLocalCredentials ( ) const
inline

Asynchronous getter for the remote object property LocalCredentials of type Tp::StreamCredentials.

The local credentials are sent to the remote site over the signalling protocol. They are used in ICE to make sure that the connectivity checks come from the right peer. Change notification is via the LocalCredentialsChanged signal. This property will be a pair of empty strings if ICE has not yet been started.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertySTUNServers ( ) const
inline

Asynchronous getter for the remote object property STUNServers of type Tp::SocketAddressIPList.

The IP addresses of possible STUN servers to use for NAT traversal, as dotted-quad IPv4 address literals or RFC2373 IPv6 address literals. Change notification is via the STUNServersChanged() signal. The IP addresses MUST NOT be given as DNS hostnames.

High-quality connection managers already need an asynchronous DNS resolver, so they might as well resolve this name to an IP to make life easier for streaming implementations.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyRelayInfo ( ) const
inline

Asynchronous getter for the remote object property RelayInfo of type Tp::StringVariantMapList.

A list of mappings describing TURN or Google relay servers available for the client to use in its candidate gathering, as determined from the protocol. Well-known map keys are:

ip - s
The IP address of the relay server as a dotted-quad IPv4 address literal or an RFC2373 IPv6 address literal. This MUST NOT be a DNS hostname.
High-quality connection managers already need an asynchronous DNS resolver, so they might as well resolve this name to an IP and make life easier for streaming implementations.
type - s

Either udp for UDP (UDP MUST be assumed if this key is omitted), tcp for TCP, or tls.

The precise meaning of this key depends on the Transport property: if Transport is ICE, tls means TLS over TCP as referenced by ICE draft 19, and if Transport is GTalk_P2P, tls means a fake SSL session over TCP as implemented by libjingle.

port - q
The UDP or TCP port of the relay server as an ASCII unsigned integer
unique-id - s
A string identifying the relay server. If two RelayInfo entries have the same unique-id, but different types, there is usually little point in connecting to both. Use priority to determine which version to prefer in this case. Can also be used by the streaming implementation to avoid connecting to the same relay multiple times if relaying is required for both audio and video.
priority - u
A number determining which version of a server to prefer (if multiple are present with the same unique-id, the one with the highest priority should be used, or the streaming implementation should use the one whose type has the most desirable properties)
username - s
The username to use
password - s
The password to use
component - u
The component number to use this relay server for, as an ASCII unsigned integer; if not included, this relay server may be used for any or all components.
In ICE draft 6, as used by Google Talk, credentials are only valid once, so each component needs relaying separately.

An equivalent of the gtalk-p2p-relay-token property on MediaSignalling channels is not included here. The connection manager should be responsible for making the necessary HTTP requests to turn the token into a username and password.

The type of relay server that this represents depends on the value of the Transport property. If Transport is ICE, this is a TURN server; if Transport is GTalk_P2P, this is a Google relay server; otherwise, the meaning of RelayInfo is undefined.

If relaying is not possible for this stream, the list is empty.

Change notification is given via the RelayInfoChanged() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyHasServerInfo ( ) const
inline

Asynchronous getter for the remote object property HasServerInfo of type bool.

True if all the initial information about STUN servers and Relay servers has been retrieved. Change notification is via the ServerInfoRetrieved() signal.

Streaming implementations that can't cope with STUN and relay servers being added later SHOULD wait for this property to become true before proceeding.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyEndpoints ( ) const
inline

Asynchronous getter for the remote object property Endpoints of type Tp::ObjectPathList.

The list of Endpoint objects that exist for this stream. Change notification is via the EndpointsChanged signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::CallStreamInterfaceMediaInterface::requestPropertyICERestartPending ( ) const
inline

Asynchronous getter for the remote object property ICERestartPending of type bool.

State recovery for ICERestartRequested. Set when the signal is emitted, and unset when SetCredentials is called. Useful for debugging.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::CallStreamInterfaceMediaInterface::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 Tp::Client::CallStreamInterfaceMediaInterface::CompleteSendingStateChange ( uint  state,
int  timeout = -1 
)
inlineslot

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

Called in response to SendingStateChanged() (Pending_*, *) to indicate that the media state has successfully progressed from Pending_{Start, Stop, Pause} to the corresponding non-pending state.

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

Parameters
state
The new (non-pending) value of SendingState.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::ReportSendingFailure ( uint  reason,
const QString &  error,
const QString &  message,
int  timeout = -1 
)
inlineslot

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

Can be called at any point to indicate a failure in the outgoing portion of the stream.

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.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::CompleteReceivingStateChange ( uint  state,
int  timeout = -1 
)
inlineslot

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

Called in response to ReceivingStateChanged() (Pending_*, *) to indicate that the media state has successfully progressed from Pending_{Start, Stop, Pause} to the corresponding non-pending state.

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

Parameters
state
The new (non-pending) value of ReceivingState.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::ReportReceivingFailure ( uint  reason,
const QString &  error,
const QString &  message,
int  timeout = -1 
)
inlineslot

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

Can be called at any point to indicate a failure in the incoming portion of the stream.

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.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::SetCredentials ( const QString &  username,
const QString &  password,
int  timeout = -1 
)
inlineslot

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

Used to set the username fragment and password for streams that have global credentials.

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

Parameters
username
The username to use when authenticating on the stream.
password
The password to use when authenticating on the stream.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::AddCandidates ( const Tp::CandidateList candidates,
int  timeout = -1 
)
inlineslot

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

Add candidates to the LocalCandidates property and signal them to the remote contact(s). Note that connection managers MAY delay the sending of candidates until FinishInitialCandidates is called.

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

Parameters
candidates
The candidates to be added.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::FinishInitialCandidates ( int  timeout = -1)
inlineslot

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

This indicates to the CM that the initial batch of candidates has been added, and should now be processed/sent to the remote side. Protocols supporting Raw UDP SHOULD wait for FinishInitialCandidates, and then set the lowest priority candidate as the Raw UDP candidate.

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.
QDBusPendingReply Tp::Client::CallStreamInterfaceMediaInterface::Fail ( const Tp::CallStateReason reason,
int  timeout = -1 
)
inlineslot

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

Signal an unrecoverable error for this stream, and remove it. If all streams are removed from a content, then it will also be removed.

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

Parameters
reason
A structured reason for stream removal.
timeoutThe timeout in milliseconds.
void Tp::Client::CallStreamInterfaceMediaInterface::SendingStateChanged ( uint  state)
signal

Represents the signal SendingStateChanged on the remote object.

Change notification for SendingState. Note that this information is duplicated onto the Stream interface, so that UIs can ignore the Media interface, and streaming implementations can ignore everything but the media interface.

Parameters
state
The new value of SendingState.
void Tp::Client::CallStreamInterfaceMediaInterface::ReceivingStateChanged ( uint  state)
signal

Represents the signal ReceivingStateChanged on the remote object.

Change notification for ReceivingState.

Parameters
state
The new value of ReceivingState.
void Tp::Client::CallStreamInterfaceMediaInterface::LocalCandidatesAdded ( const Tp::CandidateList candidates)
signal

Represents the signal LocalCandidatesAdded on the remote object.

Emitted when local candidates are added to the LocalCandidates property.

Parameters
candidates
Candidates that have been added.
void Tp::Client::CallStreamInterfaceMediaInterface::LocalCredentialsChanged ( const QString &  username,
const QString &  password 
)
signal

Represents the signal LocalCredentialsChanged on the remote object.

Emitted when the value of LocalCredentials changes to a non-empty value. This should only happen when the streaming implementation calls SetCredentials, so this signal is mostly useful for debugging.

void Tp::Client::CallStreamInterfaceMediaInterface::RelayInfoChanged ( const Tp::StringVariantMapList relayInfo)
signal

Represents the signal RelayInfoChanged on the remote object.

Emitted when the value of RelayInfo changes.

void Tp::Client::CallStreamInterfaceMediaInterface::STUNServersChanged ( const Tp::SocketAddressIPList servers)
signal

Represents the signal STUNServersChanged on the remote object.

Emitted when the value of STUNServers changes.

void Tp::Client::CallStreamInterfaceMediaInterface::ServerInfoRetrieved ( )
signal

Represents the signal ServerInfoRetrieved on the remote object.

Signals that the initial information about STUN and Relay servers has been retrieved, i.e. the HasServerInfo property is now true.

void Tp::Client::CallStreamInterfaceMediaInterface::EndpointsChanged ( const Tp::ObjectPathList endpointsAdded,
const Tp::ObjectPathList endpointsRemoved 
)
signal

Represents the signal EndpointsChanged on the remote object.

Emitted when the Endpoints property changes.

Parameters
endpointsAdded
Endpoints that were added.
endpointsRemoved
Endpoints that no longer exist.
void Tp::Client::CallStreamInterfaceMediaInterface::ICERestartRequested ( )
signal

Represents the signal ICERestartRequested on the remote object.

Emitted when the remote side requests an ICE restart (e.g. third party call control, when the remote endpoint changes). The streaming implementation should call SetCredentials again.

void Tp::Client::CallStreamInterfaceMediaInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00951.html0000644000175000017500000002233012727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseDebug Member List

This is the complete list of members for Tp::BaseDebug, including all inherited members.

BaseDebug(const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())Tp::BaseDebugexplicit
busName() const Tp::DBusService
clear()Tp::BaseDebugslot
dbusConnection() const Tp::DBusService
dbusObject() const Tp::DBusService
DBusService(const QDBusConnection &dbusConnection)Tp::DBusService
getMessages(DBusError *error) const Tp::BaseDebug
GetMessagesCallback typedefTp::BaseDebug
getMessagesLimit() const Tp::BaseDebug
immutableProperties() const Tp::BaseDebugslot
isEnabled() const Tp::BaseDebug
isRegistered() const Tp::DBusService
mPrivTp::BaseDebugprotected
newDebugMessage(const QString &domain, DebugLevel level, const QString &message)Tp::BaseDebugslot
newDebugMessage(double time, const QString &domain, DebugLevel level, const QString &message)Tp::BaseDebugslot
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusService
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerObject(DBusError *error=NULL)Tp::BaseDebugslot
Tp::DBusService::registerObject(const QString &busName, const QString &objectPath, DBusError *error)Tp::DBusServiceprotectedvirtual
setEnabled(bool enabled)Tp::BaseDebugslot
setGetMessagesCallback(const GetMessagesCallback &cb)Tp::BaseDebug
setGetMessagesLimit(int limit)Tp::BaseDebugslot
~DBusService()Tp::DBusServicevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00450.html0000644000175000017500000003604012727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ProtocolInterfaceAvatarsAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Service::ProtocolInterfaceAvatarsAdaptor Class Reference

#include <TelepathyQt/_gen/svc-connection-manager.h>

Inherits Tp::AbstractAdaptor.

Public Member Functions

QStringList SupportedAvatarMIMETypes () const
 
uint MinimumAvatarHeight () const
 
uint MinimumAvatarWidth () const
 
uint RecommendedAvatarHeight () const
 
uint RecommendedAvatarWidth () const
 
uint MaximumAvatarHeight () const
 
uint MaximumAvatarWidth () const
 
uint MaximumAvatarBytes () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ProtocolInterfaceAvatarsAdaptor::SupportedAvatarMIMETypes ( ) const

Return the value of the exported D-Bus object property SupportedAvatarMIMETypes of type QStringList.

Adaptees should export this property as a Qt property named 'supportedAvatarMIMETypes' with type QStringList.

The expected value of the Connection.Interface.Avatars.SupportedAvatarMIMETypes property on connections to this protocol.

Returns
The value of exported property SupportedAvatarMIMETypes.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::MinimumAvatarHeight ( ) const

Return the value of the exported D-Bus object property MinimumAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'minimumAvatarHeight' with type uint.

The expected value of the Connection.Interface.Avatars.MinimumAvatarHeight property on connections to this protocol.

Returns
The value of exported property MinimumAvatarHeight.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::MinimumAvatarWidth ( ) const

Return the value of the exported D-Bus object property MinimumAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'minimumAvatarWidth' with type uint.

The expected value of the Connection.Interface.Avatars.MinimumAvatarWidth property on connections to this protocol.

Returns
The value of exported property MinimumAvatarWidth.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::RecommendedAvatarHeight ( ) const

Return the value of the exported D-Bus object property RecommendedAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'recommendedAvatarHeight' with type uint.

The expected value of the Connection.Interface.Avatars.RecommendedAvatarHeight property on connections to this protocol.

Returns
The value of exported property RecommendedAvatarHeight.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::RecommendedAvatarWidth ( ) const

Return the value of the exported D-Bus object property RecommendedAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'recommendedAvatarWidth' with type uint.

The expected value of the Connection.Interface.Avatars.RecommendedAvatarWidth property on connections to this protocol.

Returns
The value of exported property RecommendedAvatarWidth.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::MaximumAvatarHeight ( ) const

Return the value of the exported D-Bus object property MaximumAvatarHeight of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarHeight' with type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarHeight property on connections to this protocol.

Returns
The value of exported property MaximumAvatarHeight.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::MaximumAvatarWidth ( ) const

Return the value of the exported D-Bus object property MaximumAvatarWidth of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarWidth' with type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarWidth property on connections to this protocol.

Returns
The value of exported property MaximumAvatarWidth.
uint Tp::Service::ProtocolInterfaceAvatarsAdaptor::MaximumAvatarBytes ( ) const

Return the value of the exported D-Bus object property MaximumAvatarBytes of type uint.

Adaptees should export this property as a Qt property named 'maximumAvatarBytes' with type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarBytes property on connections to this protocol.

Returns
The value of exported property MaximumAvatarBytes.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01166.html0000644000175000017500000000466412727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RichPresenceAccessControl Member List

This is the complete list of members for Tp::RichPresenceAccessControl, including all inherited members.

detailTp::RichPresenceAccessControl
typeTp::RichPresenceAccessControl


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00264.html0000644000175000017500000011567512727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactGroupsAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceContactGroupsAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void SetContactGroups (uint contact, const QStringList &groups, const QDBusMessage &dbusMessage)
 
void SetGroupMembers (const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)
 
void AddToGroup (const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)
 
void RemoveFromGroup (const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)
 
void RemoveGroup (const QString &group, const QDBusMessage &dbusMessage)
 
void RenameGroup (const QString &oldName, const QString &newName, const QDBusMessage &dbusMessage)
 

Signals

void GroupsChanged (const Tp::UIntList &contact, const QStringList &added, const QStringList &removed)
 
void GroupsCreated (const QStringList &names)
 
void GroupRenamed (const QString &oldName, const QString &newName)
 
void GroupsRemoved (const QStringList &names)
 

Public Member Functions

bool DisjointGroups () const
 
uint GroupStorage () const
 
QStringList Groups () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::ConnectionInterfaceContactGroupsAdaptor::DisjointGroups ( ) const

Return the value of the exported D-Bus object property DisjointGroups of type bool.

Adaptees should export this property as a Qt property named 'disjointGroups' with type bool.

True if each contact can be in at most one group; false if each contact can be in many groups.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
The value of exported property DisjointGroups.
uint Tp::Service::ConnectionInterfaceContactGroupsAdaptor::GroupStorage ( ) const

Return the value of the exported D-Bus object property GroupStorage of type uint.

Adaptees should export this property as a Qt property named 'groupStorage' with type uint.

Indicates the extent to which contacts' groups can be set and stored. This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
The value of exported property GroupStorage.
QStringList Tp::Service::ConnectionInterfaceContactGroupsAdaptor::Groups ( ) const

Return the value of the exported D-Bus object property Groups of type QStringList.

Adaptees should export this property as a Qt property named 'groups' with type QStringList.

The names of all groups that currently exist. This may be a larger set than the union of all contacts' groups contact attributes, if the connection allows groups to be empty.

Change notification is via GroupsCreated() and GroupsRemoved() ; clients can also distinguish between a create/remove pair and a renamed group by receiving GroupRenamed() .

This property's value is not meaningful until the ConnectionInterfaceContactListInterface::ContactListState has become Success.

Returns
The value of exported property Groups.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::SetContactGroups ( uint  contact,
const QStringList &  groups,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setContactGroups(uint contact, const QStringList& groups, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::SetContactGroupsContextPtr &context);

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

Add the given contact to the given groups (creating new groups if necessary), and remove them from all other groups.

This is the easiest and most correct way to implement user interfaces that display a single contact with a list of groups, resulting in a user expectation that when they apply the changes, the contact's set of groups will become exactly what was displayed.

If the user is removed from a group of which they were the only member, the group MAY be removed automatically.

In protocols like XMPP where groups behave like tags, a group with no members has no protocol representation.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
contact
The contact to alter.
groups
The set of groups which the contact should be in.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::SetGroupMembers ( const QString &  group,
const Tp::UIntList members,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setGroupMembers(const QString& group, const Tp::UIntList& members, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::SetGroupMembersContextPtr &context);

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

Add the given members to the given group (creating it if necessary), and remove all other members.

This is the easiest and most correct way to implement user interfaces that display a single group with a list of contacts, resulting in a user expectation that when they apply the changes, the groups's set of members will become exactly what was displayed.

If DisjointGroups is true, this will also remove each member from their previous group.

If the user is removed from a group of which they were the only member, the group MAY be removed automatically.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
group
The group to alter.
members
The set of members for the group. If this set is empty, this method 
MAY remove the group.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::AddToGroup ( const QString &  group,
const Tp::UIntList members,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void addToGroup(const QString& group, const Tp::UIntList& members, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::AddToGroupContextPtr &context);

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

Add the given members to the given group, creating it if necessary.

If DisjointGroups is true, this will also remove each member from their previous group.

This is good for user interfaces in which you can edit groups via drag-and-drop.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
group
The group to alter.
members
The set of members to include in the group.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RemoveFromGroup ( const QString &  group,
const Tp::UIntList members,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void removeFromGroup(const QString& group, const Tp::UIntList& members, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RemoveFromGroupContextPtr &context);

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

Remove the given members from the given group.

This is good for user interfaces in which you can edit groups via drag-and-drop.

Any GroupsChanged() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
group
The group to alter. If it does not exist, then it has no members by 
definition, so this method SHOULD return successfully.
members
The set of members to remove from the group. It is not an error to 
remove members who are already not in the group. If there are no 
members left in the group afterwards, the group MAY itself be 
removed.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RemoveGroup ( const QString &  group,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void removeGroup(const QString& group, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RemoveGroupContextPtr &context);

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

Remove all members from the given group, then remove the group itself. If the group already does not exist, this method SHOULD return successfully.

Any GroupsChanged() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
group
The group to remove.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RenameGroup ( const QString &  oldName,
const QString &  newName,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void renameGroup(const QString& oldName, const QString& newName, const Tp::Service::ConnectionInterfaceContactGroupsAdaptor::RenameGroupContextPtr &context);

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

Rename the given group.

On protocols where groups behave like tags, this is an API short-cut for adding all of the group's members to a group with the new name, then removing the old group.

Otherwise, clients can't perform this operation atomically, even if the connection could.

Any GroupRenamed() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

Parameters
oldName
The group to rename.
newName
The new name for the group.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::GroupsChanged ( const Tp::UIntList contact,
const QStringList &  added,
const QStringList &  removed 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void groupsChanged(const Tp::UIntList& contact, const QStringList& added, const QStringList& removed);

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

Parameters
contact
The relevant contacts.
added
The names of groups to which the contacts were added.
removed
The names of groups from which the contacts were removed.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::GroupsCreated ( const QStringList &  names)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void groupsCreated(const QStringList& names);

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

Parameters
names
The names of the new groups.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::GroupRenamed ( const QString &  oldName,
const QString &  newName 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void groupRenamed(const QString& oldName, const QString& newName);

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

Parameters
oldName
The old name of the group.
newName
The new name of the group.
void Tp::Service::ConnectionInterfaceContactGroupsAdaptor::GroupsRemoved ( const QStringList &  names)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void groupsRemoved(const QStringList& names);

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

Parameters
names
The names of the groups.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01225.html0000644000175000017500000002541512727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentInterfaceDTMFInterface Member List

This is the complete list of members for Tp::Client::CallContentInterfaceDTMFInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceDTMFInterface
CallContentInterfaceDTMFInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceDTMFInterface
CallContentInterfaceDTMFInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentInterfaceDTMFInterface
CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface &mainInterface)Tp::Client::CallContentInterfaceDTMFInterfaceexplicit
CallContentInterfaceDTMFInterface(const Tp::Client::CallContentInterface &mainInterface, QObject *parent)Tp::Client::CallContentInterfaceDTMFInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentInterfaceDTMFInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
MultipleTones(const QString &tones, int timeout=-1)Tp::Client::CallContentInterfaceDTMFInterfaceinlineslot
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::CallContentInterfaceDTMFInterfaceinline
requestPropertyCurrentlySendingTones() const Tp::Client::CallContentInterfaceDTMFInterfaceinline
requestPropertyDeferredTones() const Tp::Client::CallContentInterfaceDTMFInterfaceinline
SendingTones(const QString &tones)Tp::Client::CallContentInterfaceDTMFInterfacesignal
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
StartTone(uchar event, int timeout=-1)Tp::Client::CallContentInterfaceDTMFInterfaceinlineslot
staticInterfaceName()Tp::Client::CallContentInterfaceDTMFInterfaceinlinestatic
StoppedTones(bool cancelled)Tp::Client::CallContentInterfaceDTMFInterfacesignal
StopTone(int timeout=-1)Tp::Client::CallContentInterfaceDTMFInterfaceinlineslot
TonesDeferred(const QString &tones)Tp::Client::CallContentInterfaceDTMFInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00009.html0000644000175000017500000000736312727270137021003 0ustar00kaffeinekaffeine00000000000000 accounts/accounts-window.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
accounts/accounts-window.h
#ifndef _TelepathyQt_examples_accounts_accounts_window_h_HEADER_GUARD_
#define _TelepathyQt_examples_accounts_accounts_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt/Types>
namespace Tp {
class PendingOperation;
}
class QTableWidget;
class QTableWidgetItem;
class AccountsWindow : public QMainWindow
{
Q_OBJECT
public:
AccountsWindow(QWidget *parent = 0);
virtual ~AccountsWindow();
private Q_SLOTS:
void onAMReady(Tp::PendingOperation *);
void onNewAccount(const Tp::AccountPtr &);
private:
void setupGui();
Tp::AccountManagerPtr mAM;
QTableWidget *mTable;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_b.html0000644000175000017500000002657212727270137022506 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- b -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00323.html0000644000175000017500000006625512727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::Client::DebugInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::DebugInterface Class Reference

#include <TelepathyQt/DebugReceiver>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::DebugMessageListGetMessages (int timeout=-1)
 

Signals

void NewDebugMessage (double time, const QString &domain, uint level, const QString &message)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 DebugInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 DebugInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 DebugInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyEnabled () const
 
Tp::PendingOperationsetPropertyEnabled (bool newValue)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Debug".

Constructor & Destructor Documentation

Tp::Client::DebugInterface::DebugInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a DebugInterface 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.
Tp::Client::DebugInterface::DebugInterface ( Tp::DBusProxy proxy)

Creates a DebugInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::DebugInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Debug", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::DebugInterface::requestPropertyEnabled ( ) const
inline

Asynchronous getter for the remote object property Enabled of type bool.

TRUE if the NewDebugMessage signal should be emitted when a new debug message is generated.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::DebugInterface::setPropertyEnabled ( bool  newValue)
inline

Asynchronous setter for the remote object property Enabled of type bool.

TRUE if the NewDebugMessage signal should be emitted when a new debug message is generated.

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariantMap* Tp::Client::DebugInterface::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<Tp::DebugMessageList> Tp::Client::DebugInterface::GetMessages ( int  timeout = -1)
inlineslot

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

Retrieve buffered debug messages. An implementation could have a limit on how many message it keeps and so the array returned from this method should not be assumed to be all of the messages in the lifetime of the service.

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.
Returns
A list of debug messages.
void Tp::Client::DebugInterface::NewDebugMessage ( double  time,
const QString &  domain,
uint  level,
const QString &  message 
)
signal

Represents the signal NewDebugMessage on the remote object.

Emitted when a debug messages is generated if the Enabled property is set to TRUE.

Parameters
time
Timestamp of the debug message.
domain
Domain of the debug message, as described in the Debug_Message 
struct.
level
Level of the debug message.
message
The text of the debug message.
void Tp::Client::DebugInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01294.html0000644000175000017500000002614512727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceMailNotificationInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceMailNotificationInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceMailNotificationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceMailNotificationInterface
ConnectionInterfaceMailNotificationInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceMailNotificationInterface
ConnectionInterfaceMailNotificationInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceMailNotificationInterface
ConnectionInterfaceMailNotificationInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceMailNotificationInterfaceexplicit
ConnectionInterfaceMailNotificationInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceMailNotificationInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceMailNotificationInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
MailsReceived(const Tp::MailList &mails)Tp::Client::ConnectionInterfaceMailNotificationInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceMailNotificationInterfaceinline
RequestInboxURL(int timeout=-1)Tp::Client::ConnectionInterfaceMailNotificationInterfaceinlineslot
RequestMailURL(const QString &ID, const QDBusVariant &URLData, int timeout=-1)Tp::Client::ConnectionInterfaceMailNotificationInterfaceinlineslot
requestPropertyMailAddress() const Tp::Client::ConnectionInterfaceMailNotificationInterfaceinline
requestPropertyMailNotificationFlags() const Tp::Client::ConnectionInterfaceMailNotificationInterfaceinline
requestPropertyUnreadMailCount() const Tp::Client::ConnectionInterfaceMailNotificationInterfaceinline
requestPropertyUnreadMails() const Tp::Client::ConnectionInterfaceMailNotificationInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceMailNotificationInterfaceinlinestatic
UnreadMailsChanged(uint count, const Tp::MailList &mailsAdded, const QStringList &mailsRemoved)Tp::Client::ConnectionInterfaceMailNotificationInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00078.html0000644000175000017500000005223012727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelMergeableConferenceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseChannelMergeableConferenceInterface Class Reference

Base class for implementations of Channel.Interface.MergeableConference. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, const QDBusObjectPath &, DBusError * > MergeCallback
 

Public Member Functions

virtual ~BaseChannelMergeableConferenceInterface ()
 
QVariantMap immutableProperties () const
 
void merge (const QDBusObjectPath &channel)
 
void setMergeCallback (const MergeCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelMergeableConferenceInterfacePtr create ()
 
template<typename BaseChannelMergeableConferenceInterfaceSubclass >
static SharedPtr< BaseChannelMergeableConferenceInterfaceSubclass > create ()
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.MergeableConference.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelMergeableConferenceInterface::~BaseChannelMergeableConferenceInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelMergeableConferenceInterfacePtr Tp::BaseChannelMergeableConferenceInterface::create ( )
inlinestatic
template<typename BaseChannelMergeableConferenceInterfaceSubclass >
static SharedPtr<BaseChannelMergeableConferenceInterfaceSubclass> Tp::BaseChannelMergeableConferenceInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelMergeableConferenceInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseChannelMergeableConferenceInterface::merge ( const QDBusObjectPath &  channel)
void Tp::BaseChannelMergeableConferenceInterface::setMergeCallback ( const MergeCallback cb)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00727_source.html0000644000175000017500000001722512727270137022370 0ustar00kaffeinekaffeine00000000000000 object.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
object.h
1 
23 #ifndef _TelepathyQt_object_h_HEADER_GUARD_
24 #define _TelepathyQt_object_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/RefCounted>
32 
33 #include <QObject>
34 #include <QString>
35 
36 namespace Tp
37 {
38 
39 class TP_QT_EXPORT Object : public QObject, public RefCounted
40 {
41  Q_OBJECT
42  Q_DISABLE_COPY(Object)
43 
44 public:
45  virtual ~Object();
46 
47 Q_SIGNALS:
48  void propertyChanged(const QString &propertyName);
49 
50 protected:
51  Object();
52 
53  void notify(const char *propertyName);
54 
55 private:
56  struct Private;
57  friend struct Private;
58  Private *mPriv;
59 };
60 
61 } // Tp
62 
63 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01039.html0000644000175000017500000003047312727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::DebugReceiver Member List

This is the complete list of members for Tp::DebugReceiver, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
create(const QString &busName, const QDBusConnection &bus=QDBusConnection::sessionBus())Tp::DebugReceiverstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
DebugReceiver(const QDBusConnection &bus, const QString &busName)Tp::DebugReceiverprotected
FeatureCoreTp::DebugReceiverstatic
fetchMessages()Tp::DebugReceiver
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
newDebugMessage(const Tp::DebugMessage &message)Tp::DebugReceiversignal
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestedFeatures() const Tp::ReadyObjectvirtual
setBusName(const QString &busName)Tp::DBusProxyprotected
setMonitoringEnabled(bool enabled)Tp::DebugReceiver
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~DBusProxy()Tp::DBusProxyvirtual
~DebugReceiver()Tp::DebugReceivervirtual
~Object()Tp::Objectvirtual
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00893.html0000644000175000017500000002311412727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientHandler::Capabilities Member List

This is the complete list of members for Tp::AbstractClientHandler::Capabilities, including all inherited members.

allTokens() const Tp::AbstractClientHandler::Capabilities
Capabilities(const QStringList &tokens=QStringList())Tp::AbstractClientHandler::Capabilities
Capabilities(const Capabilities &other)Tp::AbstractClientHandler::Capabilities
hasAudioCodecToken(const QString &mimeSubType) const Tp::AbstractClientHandler::Capabilitiesinline
hasGTalkP2PNATTraversalToken() const Tp::AbstractClientHandler::Capabilitiesinline
hasICEUDPNATTraversalToken() const Tp::AbstractClientHandler::Capabilitiesinline
hasToken(const QString &token) const Tp::AbstractClientHandler::Capabilities
hasVideoCodecToken(const QString &mimeSubType) const Tp::AbstractClientHandler::Capabilitiesinline
hasWLM2009NATTraversalToken() const Tp::AbstractClientHandler::Capabilitiesinline
hasWLM85NATTraversalToken() const Tp::AbstractClientHandler::Capabilitiesinline
operator=(const Capabilities &other)Tp::AbstractClientHandler::Capabilities
setAudioCodecToken(const QString &mimeSubType)Tp::AbstractClientHandler::Capabilitiesinline
setGTalkP2PNATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
setICEUDPNATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
setToken(const QString &token)Tp::AbstractClientHandler::Capabilities
setVideoCodecToken(const QString &mimeSubType)Tp::AbstractClientHandler::Capabilitiesinline
setWLM2009NATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
setWLM85NATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
unsetAudioCodecToken(const QString &mimeSubType)Tp::AbstractClientHandler::Capabilitiesinline
unsetGTalkP2PNATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
unsetICEUDPNATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
unsetToken(const QString &token)Tp::AbstractClientHandler::Capabilities
unsetVideoCodecToken(const QString &mimeSubType)Tp::AbstractClientHandler::Capabilitiesinline
unsetWLM2009NATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
unsetWLM85NATTraversalToken()Tp::AbstractClientHandler::Capabilitiesinline
~Capabilities()Tp::AbstractClientHandler::Capabilities


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00392.html0000644000175000017500000001432112727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::NotDelegatedMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::NotDelegatedMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QDBusObjectPath, NotDelegatedError >.

Public Member Functions

 NotDelegatedMap ()
 
 NotDelegatedMap (const QMap< QDBusObjectPath, NotDelegatedError > &a)
 
NotDelegatedMapoperator= (const QMap< QDBusObjectPath, NotDelegatedError > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QDBusObjectPath, NotDelegatedError>, but needed to have a discrete type in the Qt type system.

A mapping associating not delegated channel with an error.

Constructor & Destructor Documentation

Tp::NotDelegatedMap::NotDelegatedMap ( )
inline
Tp::NotDelegatedMap::NotDelegatedMap ( const QMap< QDBusObjectPath, NotDelegatedError > &  a)
inline

Member Function Documentation

NotDelegatedMap& Tp::NotDelegatedMap::operator= ( const QMap< QDBusObjectPath, NotDelegatedError > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01353.html0000644000175000017500000001135612727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceAnonymityAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceAnonymityAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AnonymityMandatory() const Tp::Service::ConnectionInterfaceAnonymityAdaptor
AnonymityModes() const Tp::Service::ConnectionInterfaceAnonymityAdaptor
AnonymityModesChanged(uint modes)Tp::Service::ConnectionInterfaceAnonymityAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
SetAnonymityMandatory(const bool &newValue)Tp::Service::ConnectionInterfaceAnonymityAdaptor
SetAnonymityModes(const uint &newValue)Tp::Service::ConnectionInterfaceAnonymityAdaptor
SupportedAnonymityModes() const Tp::Service::ConnectionInterfaceAnonymityAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00723_source.html0000644000175000017500000007443212727270137022367 0ustar00kaffeinekaffeine00000000000000 method-invocation-context.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
method-invocation-context.h
1 
23 #ifndef _TelepathyQt_method_invocation_context_h_HEADER_GUARD_
24 #define _TelepathyQt_method_invocation_context_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <QtDBus>
31 #include <QtCore>
32 
33 namespace Tp
34 {
35 
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 
38 namespace MethodInvocationContextTypes
39 {
40 
41 struct Nil
42 {
43 };
44 
45 template<int Index,
46  typename T1, typename T2, typename T3, typename T4,
47  typename T5, typename T6, typename T7, typename T8>
48 struct Select
49 {
50  typedef Select<Index - 1, T2, T3, T4, T5, T6, T7, T8, Nil> Next;
51  typedef typename Next::Type Type;
52 };
53 template<typename T1, typename T2, typename T3, typename T4,
54  typename T5, typename T6, typename T7, typename T8>
55 struct Select<0, T1, T2, T3, T4, T5, T6, T7, T8>
56 {
57  typedef T1 Type;
58 };
59 
60 template<typename T1, typename T2, typename T3, typename T4,
61  typename T5, typename T6, typename T7, typename T8>
62 struct ForEach
63 {
64  typedef ForEach<T2, T3, T4, T5, T6, T7, T8, Nil> Next;
65  enum { Total = Next::Total + 1 };
66 };
67 template<>
68 struct ForEach<Nil, Nil, Nil, Nil, Nil, Nil, Nil, Nil>
69 {
70  enum { Total = 0 };
71 };
72 
73 }
74 
75 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
76 
77 template<typename T1 = MethodInvocationContextTypes::Nil, typename T2 = MethodInvocationContextTypes::Nil,
78  typename T3 = MethodInvocationContextTypes::Nil, typename T4 = MethodInvocationContextTypes::Nil,
79  typename T5 = MethodInvocationContextTypes::Nil, typename T6 = MethodInvocationContextTypes::Nil,
80  typename T7 = MethodInvocationContextTypes::Nil, typename T8 = MethodInvocationContextTypes::Nil>
82 {
83 #ifndef DOXYGEN_SHOULD_SKIP_THIS
84  template<int Index>
85  struct Select : MethodInvocationContextTypes::Select<Index, T1, T2, T3, T4, T5, T6, T7, T8>
86  {
87  };
88 
89  typedef MethodInvocationContextTypes::ForEach<T1, T2, T3, T4, T5, T6, T7, T8> ForEach;
90  enum { Count = ForEach::Total };
91 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
92 
93 public:
94  MethodInvocationContext(const QDBusConnection &bus, const QDBusMessage &message)
95  : mBus(bus), mMessage(message), mFinished(false)
96  {
97  mMessage.setDelayedReply(true);
98  }
99 
101  {
102  if (!mFinished) {
103  setFinishedWithError(QString(), QString());
104  }
105  }
106 
107  bool isFinished() const { return mFinished; }
108  bool isError() const { return !mErrorName.isEmpty(); }
109  QString errorName() const { return mErrorName; }
110  QString errorMessage() const { return mErrorMessage; }
111 
112  void setFinished(const T1 &t1 = T1(), const T2 &t2 = T2(), const T3 &t3 = T3(),
113  const T4 &t4 = T4(), const T5 &t5 = T5(), const T6 &t6 = T6(),
114  const T7 &t7 = T7(), const T8 &t8 = T8())
115  {
116  if (mFinished) {
117  return;
118  }
119 
120  mFinished = true;
121 
122  setReplyValue(0, qVariantFromValue(t1));
123  setReplyValue(1, qVariantFromValue(t2));
124  setReplyValue(2, qVariantFromValue(t3));
125  setReplyValue(3, qVariantFromValue(t4));
126  setReplyValue(4, qVariantFromValue(t5));
127  setReplyValue(5, qVariantFromValue(t6));
128  setReplyValue(6, qVariantFromValue(t7));
129  setReplyValue(7, qVariantFromValue(t8));
130 
131  if (mReply.isEmpty()) {
132  mBus.send(mMessage.createReply());
133  } else {
134  mBus.send(mMessage.createReply(mReply));
135  }
136  onFinished();
137  }
138 
139  void setFinishedWithError(const QString &errorName,
140  const QString &errorMessage)
141  {
142  if (mFinished) {
143  return;
144  }
145 
146  mFinished = true;
147 
148  if (errorName.isEmpty()) {
149  mErrorName = QLatin1String("org.freedesktop.Telepathy.Qt.ErrorHandlingError");
150  } else {
151  mErrorName = errorName;
152  }
153  mErrorMessage = errorMessage;
154 
155  mBus.send(mMessage.createErrorReply(mErrorName, mErrorMessage));
156  onFinished();
157  }
158 
159  template<int Index> inline
160  typename Select<Index>::Type argumentAt() const
161  {
162  Q_ASSERT(Index >= 0 && Index < Count);
163  return qdbus_cast<typename Select<Index>::Type>(mReply.value(Index));
164  }
165 
166 protected:
167  virtual void onFinished() {}
168 
169 private:
170  Q_DISABLE_COPY(MethodInvocationContext)
171 
172  void setReplyValue(int index, const QVariant &value)
173  {
174  if (index >= Count) {
175  return;
176  }
177  mReply.insert(index, value);
178  }
179 
180  QDBusConnection mBus;
181  QDBusMessage mMessage;
182  bool mFinished;
183  QList<QVariant> mReply;
184  QString mErrorName;
185  QString mErrorMessage;
186 };
187 
188 } // Tp
189 
190 Q_DECLARE_METATYPE(Tp::MethodInvocationContextTypes::Nil)
191 
192 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
virtual ~MethodInvocationContext()
Definition: method-invocation-context.h:100
QString errorName() const
Definition: method-invocation-context.h:109
void setFinishedWithError(const QString &errorName, const QString &errorMessage)
Definition: method-invocation-context.h:139
QString errorMessage() const
Definition: method-invocation-context.h:110
virtual void onFinished()
Definition: method-invocation-context.h:167
MethodInvocationContext(const QDBusConnection &bus, const QDBusMessage &message)
Definition: method-invocation-context.h:94
Select< Index >::Type argumentAt() const
Definition: method-invocation-context.h:160
Definition: abstract-adaptor.cpp:31
The MethodInvocationContext class provides a way for the service implementation to respond to method ...
Definition: method-invocation-context.h:81
bool isError() const
Definition: method-invocation-context.h:108
void setFinished(const T1 &t1=T1(), const T2 &t2=T2(), const T3 &t3=T3(), const T4 &t4=T4(), const T5 &t5=T5(), const T6 &t6=T6(), const T7 &t7=T7(), const T8 &t8=T8())
Definition: method-invocation-context.h:112
bool isFinished() const
Definition: method-invocation-context.h:107


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00137.html0000644000175000017500000001240212727270137020773 0ustar00kaffeinekaffeine00000000000000 Tp::Candidate Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::Candidate Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint component
 
QString IP
 
uint port
 
QVariantMap info
 

Detailed Description

Structure type generated from the specification.

A Stream Candidate.

Member Data Documentation

uint Tp::Candidate::component

The component number.

QString Tp::Candidate::IP

The IP address to use.

uint Tp::Candidate::port

The port number to use.

QVariantMap Tp::Candidate::info

Additional information about the candidate.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00952.html0000644000175000017500000001044012727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseFunctorCaller< T, Functor > Member List

This is the complete list of members for Tp::BaseFunctorCaller< T, Functor >, including all inherited members.

AbstractFunctorCaller(HookType invokeMethodHook)Tp::AbstractFunctorCallerinline
BaseFunctorCaller(const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)Tp::BaseFunctorCaller< T, Functor >inline
clone() const Tp::BaseFunctorCaller< T, Functor >inlinevirtual
functorTp::BaseFunctorCaller< T, Functor >
HookType typedefTp::AbstractFunctorCaller
invokeMethodHookTp::AbstractFunctorCaller
~AbstractFunctorCaller()Tp::AbstractFunctorCallerinlinevirtual
~BaseFunctorCaller()Tp::BaseFunctorCaller< T, Functor >inlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00451.html0000644000175000017500000010624512727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ProtocolInterfaceAvatarsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ProtocolInterfaceAvatarsInterface Class Reference

#include <TelepathyQt/ConnectionManager>

Inherits Tp::AbstractInterface.

Public Member Functions

 ProtocolInterfaceAvatarsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfaceAvatarsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfaceAvatarsInterface (Tp::DBusProxy *proxy)
 
 ProtocolInterfaceAvatarsInterface (const Tp::Client::ConnectionManagerInterface &mainInterface)
 
 ProtocolInterfaceAvatarsInterface (const Tp::Client::ConnectionManagerInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySupportedAvatarMIMETypes () const
 
Tp::PendingVariantrequestPropertyMinimumAvatarHeight () const
 
Tp::PendingVariantrequestPropertyMinimumAvatarWidth () const
 
Tp::PendingVariantrequestPropertyRecommendedAvatarHeight () const
 
Tp::PendingVariantrequestPropertyRecommendedAvatarWidth () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarHeight () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarWidth () const
 
Tp::PendingVariantrequestPropertyMaximumAvatarBytes () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Protocol.Interface.Avatars".

Constructor & Destructor Documentation

Tp::Client::ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ProtocolInterfaceAvatarsInterface 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.
Tp::Client::ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface ( Tp::DBusProxy proxy)

Creates a ProtocolInterfaceAvatarsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface ( const Tp::Client::ConnectionManagerInterface mainInterface)
explicit

Creates a ProtocolInterfaceAvatarsInterface 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.
Tp::Client::ProtocolInterfaceAvatarsInterface::ProtocolInterfaceAvatarsInterface ( const Tp::Client::ConnectionManagerInterface mainInterface,
QObject *  parent 
)

Creates a ProtocolInterfaceAvatarsInterface 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 Tp::Client::ProtocolInterfaceAvatarsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Protocol.Interface.Avatars", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertySupportedAvatarMIMETypes ( ) const
inline

Asynchronous getter for the remote object property SupportedAvatarMIMETypes of type QStringList.

The expected value of the Connection.Interface.Avatars.SupportedAvatarMIMETypes property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyMinimumAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property MinimumAvatarHeight of type uint.

The expected value of the Connection.Interface.Avatars.MinimumAvatarHeight property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyMinimumAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property MinimumAvatarWidth of type uint.

The expected value of the Connection.Interface.Avatars.MinimumAvatarWidth property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyRecommendedAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property RecommendedAvatarHeight of type uint.

The expected value of the Connection.Interface.Avatars.RecommendedAvatarHeight property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyRecommendedAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property RecommendedAvatarWidth of type uint.

The expected value of the Connection.Interface.Avatars.RecommendedAvatarWidth property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyMaximumAvatarHeight ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarHeight of type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarHeight property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyMaximumAvatarWidth ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarWidth of type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarWidth property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ProtocolInterfaceAvatarsInterface::requestPropertyMaximumAvatarBytes ( ) const
inline

Asynchronous getter for the remote object property MaximumAvatarBytes of type uint.

The expected value of the Connection.Interface.Avatars.MaximumAvatarBytes property on connections to this protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ProtocolInterfaceAvatarsInterface::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.
void Tp::Client::ProtocolInterfaceAvatarsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01167.html0000644000175000017500000000510012727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RoomInfo Member List

This is the complete list of members for Tp::RoomInfo, including all inherited members.

channelTypeTp::RoomInfo
handleTp::RoomInfo
infoTp::RoomInfo


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00510.html0000644000175000017500000001373412727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::StringStringMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::StringStringMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QString >.

Public Member Functions

 StringStringMap ()
 
 StringStringMap (const QMap< QString, QString > &a)
 
StringStringMapoperator= (const QMap< QString, QString > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QString>, but needed to have a discrete type in the Qt type system.

A mapping from strings to strings representing extra key-value pairs.

Constructor & Destructor Documentation

Tp::StringStringMap::StringStringMap ( )
inline
Tp::StringStringMap::StringStringMap ( const QMap< QString, QString > &  a)
inline

Member Function Documentation

StringStringMap& Tp::StringStringMap::operator= ( const QMap< QString, QString > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00265.html0000644000175000017500000016715612727270137021016 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactGroupsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceContactGroupsInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetContactGroups (uint contact, const QStringList &groups, int timeout=-1)
 
QDBusPendingReply SetGroupMembers (const QString &group, const Tp::UIntList &members, int timeout=-1)
 
QDBusPendingReply AddToGroup (const QString &group, const Tp::UIntList &members, int timeout=-1)
 
QDBusPendingReply RemoveFromGroup (const QString &group, const Tp::UIntList &members, int timeout=-1)
 
QDBusPendingReply RemoveGroup (const QString &group, int timeout=-1)
 
QDBusPendingReply RenameGroup (const QString &oldName, const QString &newName, int timeout=-1)
 

Signals

void GroupsChanged (const Tp::UIntList &contact, const QStringList &added, const QStringList &removed)
 
void GroupsCreated (const QStringList &names)
 
void GroupRenamed (const QString &oldName, const QString &newName)
 
void GroupsRemoved (const QStringList &names)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceContactGroupsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactGroupsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactGroupsInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactGroupsInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactGroupsInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyDisjointGroups () const
 
Tp::PendingVariantrequestPropertyGroupStorage () const
 
Tp::PendingVariantrequestPropertyGroups () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ContactGroups".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactGroupsInterface::ConnectionInterfaceContactGroupsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactGroupsInterface 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.
Tp::Client::ConnectionInterfaceContactGroupsInterface::ConnectionInterfaceContactGroupsInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactGroupsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactGroupsInterface::ConnectionInterfaceContactGroupsInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactGroupsInterface 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.
Tp::Client::ConnectionInterfaceContactGroupsInterface::ConnectionInterfaceContactGroupsInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactGroupsInterface 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 Tp::Client::ConnectionInterfaceContactGroupsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ContactGroups", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactGroupsInterface::requestPropertyDisjointGroups ( ) const
inline

Asynchronous getter for the remote object property DisjointGroups of type bool.

True if each contact can be in at most one group; false if each contact can be in many groups.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactGroupsInterface::requestPropertyGroupStorage ( ) const
inline

Asynchronous getter for the remote object property GroupStorage of type uint.

Indicates the extent to which contacts' groups can be set and stored. This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactGroupsInterface::requestPropertyGroups ( ) const
inline

Asynchronous getter for the remote object property Groups of type QStringList.

The names of all groups that currently exist. This may be a larger set than the union of all contacts' groups contact attributes, if the connection allows groups to be empty.

Change notification is via GroupsCreated() and GroupsRemoved() ; clients can also distinguish between a create/remove pair and a renamed group by receiving GroupRenamed() .

This property's value is not meaningful until the ConnectionInterfaceContactListInterface::ContactListState has become Success.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactGroupsInterface::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 Tp::Client::ConnectionInterfaceContactGroupsInterface::SetContactGroups ( uint  contact,
const QStringList &  groups,
int  timeout = -1 
)
inlineslot

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

Add the given contact to the given groups (creating new groups if necessary), and remove them from all other groups.

This is the easiest and most correct way to implement user interfaces that display a single contact with a list of groups, resulting in a user expectation that when they apply the changes, the contact's set of groups will become exactly what was displayed.

If the user is removed from a group of which they were the only member, the group MAY be removed automatically.

In protocols like XMPP where groups behave like tags, a group with no members has no protocol representation.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
contact
The contact to alter.
groups
The set of groups which the contact should be in.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactGroupsInterface::SetGroupMembers ( const QString &  group,
const Tp::UIntList members,
int  timeout = -1 
)
inlineslot

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

Add the given members to the given group (creating it if necessary), and remove all other members.

This is the easiest and most correct way to implement user interfaces that display a single group with a list of contacts, resulting in a user expectation that when they apply the changes, the groups's set of members will become exactly what was displayed.

If DisjointGroups is true, this will also remove each member from their previous group.

If the user is removed from a group of which they were the only member, the group MAY be removed automatically.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
group
The group to alter.
members
The set of members for the group. If this set is empty, this method 
MAY remove the group.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactGroupsInterface::AddToGroup ( const QString &  group,
const Tp::UIntList members,
int  timeout = -1 
)
inlineslot

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

Add the given members to the given group, creating it if necessary.

If DisjointGroups is true, this will also remove each member from their previous group.

This is good for user interfaces in which you can edit groups via drag-and-drop.

Any GroupsCreated() , GroupsChanged() and GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
group
The group to alter.
members
The set of members to include in the group.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactGroupsInterface::RemoveFromGroup ( const QString &  group,
const Tp::UIntList members,
int  timeout = -1 
)
inlineslot

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

Remove the given members from the given group.

This is good for user interfaces in which you can edit groups via drag-and-drop.

Any GroupsChanged() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
group
The group to alter. If it does not exist, then it has no members by 
definition, so this method SHOULD return successfully.
members
The set of members to remove from the group. It is not an error to 
remove members who are already not in the group. If there are no 
members left in the group afterwards, the group MAY itself be 
removed.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactGroupsInterface::RemoveGroup ( const QString &  group,
int  timeout = -1 
)
inlineslot

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

Remove all members from the given group, then remove the group itself. If the group already does not exist, this method SHOULD return successfully.

Any GroupsChanged() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
group
The group to remove.
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactGroupsInterface::RenameGroup ( const QString &  oldName,
const QString &  newName,
int  timeout = -1 
)
inlineslot

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

Rename the given group.

On protocols where groups behave like tags, this is an API short-cut for adding all of the group's members to a group with the new name, then removing the old group.

Otherwise, clients can't perform this operation atomically, even if the connection could.

Any GroupRenamed() or GroupsRemoved() signals that result from this method call MUST be emitted before the method returns.

This method SHOULD NOT be called until the ConnectionInterfaceContactListInterface::ContactListState changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as ConnectionInterfaceContactListInterface::GetContactListAttributes() .

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

Parameters
oldName
The group to rename.
newName
The new name for the group.
timeoutThe timeout in milliseconds.
void Tp::Client::ConnectionInterfaceContactGroupsInterface::GroupsChanged ( const Tp::UIntList contact,
const QStringList &  added,
const QStringList &  removed 
)
signal

Represents the signal GroupsChanged on the remote object.

Emitted when contacts' groups change.

Parameters
contact
The relevant contacts.
added
The names of groups to which the contacts were added.
removed
The names of groups from which the contacts were removed.
void Tp::Client::ConnectionInterfaceContactGroupsInterface::GroupsCreated ( const QStringList &  names)
signal

Represents the signal GroupsCreated on the remote object.

Emitted when new, empty groups are created. This will often be followed by GroupsChanged signals that add some members.

Parameters
names
The names of the new groups.
void Tp::Client::ConnectionInterfaceContactGroupsInterface::GroupRenamed ( const QString &  oldName,
const QString &  newName 
)
signal

Represents the signal GroupRenamed on the remote object.

Emitted when a group is renamed, in protocols where this can be distinguished from group creation, removal and membership changes.

Immediately after this signal is emitted, GroupsCreated() MUST signal the creation of a group with the new name, and GroupsRemoved() MUST signal the removal of a group with the old name.

Emitting these extra signals, in this order, means that clients that are interested in the set of groups that exist (but treat a rename and a create/remove pair identically) can ignore the GroupRenamed signal entirely.

If the group was not empty, immediately after those signals are emitted, GroupsChanged() MUST signal that the members of that group were removed from the old name and added to the new name.

On connection managers where groups behave like tags, renaming a group MAY be signalled as a set of GroupsCreated() , GroupsRemoved() and GroupsChanged() signals, instead of emitting this signal.

On protocols like XMPP, another resource "renaming a group" is indistinguishable from changing contacts' groups individually.

Parameters
oldName
The old name of the group.
newName
The new name of the group.
void Tp::Client::ConnectionInterfaceContactGroupsInterface::GroupsRemoved ( const QStringList &  names)
signal

Represents the signal GroupsRemoved on the remote object.

Emitted when one or more groups are removed. If they had members at the time that they were removed, then immediately after this signal is emitted, GroupsChanged() MUST signal that their members were removed.

Emitting the signals in this order allows for two modes of operation. A client interested only in a contact's set of groups can ignore GroupsRemoved() and rely on the GroupsChanged() signal that will follow; a more elaborate client wishing to distinguish between all of a group's members being removed, and the group itself being removed, can additionally watch for GroupsRemoved() and use it to disambiguate.

Parameters
names
The names of the groups.
void Tp::Client::ConnectionInterfaceContactGroupsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01226.html0000644000175000017500000003240112727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentInterfaceMediaInterface Member List

This is the complete list of members for Tp::Client::CallContentInterfaceMediaInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AcknowledgeDTMFChange(uchar event, uint state, int timeout=-1)Tp::Client::CallContentInterfaceMediaInterfaceinlineslot
CallContentInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceMediaInterface
CallContentInterfaceMediaInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceMediaInterface
CallContentInterfaceMediaInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentInterfaceMediaInterface
CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface &mainInterface)Tp::Client::CallContentInterfaceMediaInterfaceexplicit
CallContentInterfaceMediaInterface(const Tp::Client::CallContentInterface &mainInterface, QObject *parent)Tp::Client::CallContentInterfaceMediaInterface
DTMFChangeRequested(uchar event, uint state)Tp::Client::CallContentInterfaceMediaInterfacesignal
Fail(const Tp::CallStateReason &reason, int timeout=-1)Tp::Client::CallContentInterfaceMediaInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentInterfaceMediaInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
LocalMediaDescriptionChanged(const QVariantMap &updatedMediaDescription)Tp::Client::CallContentInterfaceMediaInterfacesignal
MediaDescriptionOfferDone()Tp::Client::CallContentInterfaceMediaInterfacesignal
MediaDescriptionsRemoved(const Tp::UIntList &removedMediaDescriptions)Tp::Client::CallContentInterfaceMediaInterfacesignal
NewMediaDescriptionOffer(const QDBusObjectPath &mediaDescription, const QVariantMap &properties)Tp::Client::CallContentInterfaceMediaInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RemoteMediaDescriptionsChanged(const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions)Tp::Client::CallContentInterfaceMediaInterfacesignal
requestAllProperties() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyCurrentDTMFEvent() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyCurrentDTMFState() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyLocalMediaDescriptions() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyMediaDescriptionOffer() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyPacketization() const Tp::Client::CallContentInterfaceMediaInterfaceinline
requestPropertyRemoteMediaDescriptions() const Tp::Client::CallContentInterfaceMediaInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentInterfaceMediaInterfaceinlinestatic
UpdateLocalMediaDescription(const QVariantMap &mediaDescription, int timeout=-1)Tp::Client::CallContentInterfaceMediaInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_c.html0000644000175000017500000023442712727270137022507 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- c -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_r.html0000644000175000017500000000463312727270137023553 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- r -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00324.html0000644000175000017500000001375512727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::DebugMessage Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::DebugMessage Struct Reference

#include <TelepathyQt/Types>

Public Attributes

double timestamp
 
QString domain
 
uint level
 
QString message
 

Detailed Description

Structure type generated from the specification.

A struct representing a debug message, as returned by GetMessages.

Member Data Documentation

double Tp::DebugMessage::timestamp

Timestamp of the debug message. This is a double to allow more accuracy in the time the message was logged.

QString Tp::DebugMessage::domain

Domain of the debug message. This is used to identify the source of debug messages. For example, debug messages from a connection manager could have this Domain struct member be the name of the connection manager, and logs from any helper library could have the name of the helper library.

The domain could also contain a category as to where the log message originated separated by a forward-slash. For example, if a debug message was output in a connection manager called "dummy", in the file-transfer code, this Domain struct member might be dummy/file-transfer.

uint Tp::DebugMessage::level

Level of the debug message. This states the severity of the debug message.

QString Tp::DebugMessage::message

The text of the debug message.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_0x7e.html0000644000175000017500000006160712727270137024061 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- ~ -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01295.html0000644000175000017500000002245412727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfacePowerSavingInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfacePowerSavingInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfacePowerSavingInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfacePowerSavingInterface
ConnectionInterfacePowerSavingInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfacePowerSavingInterface
ConnectionInterfacePowerSavingInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfacePowerSavingInterface
ConnectionInterfacePowerSavingInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfacePowerSavingInterfaceexplicit
ConnectionInterfacePowerSavingInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfacePowerSavingInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfacePowerSavingInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
PowerSavingChanged(bool active)Tp::Client::ConnectionInterfacePowerSavingInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfacePowerSavingInterfaceinline
requestPropertyPowerSavingActive() const Tp::Client::ConnectionInterfacePowerSavingInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetPowerSaving(bool activate, int timeout=-1)Tp::Client::ConnectionInterfacePowerSavingInterfaceinlineslot
staticInterfaceName()Tp::Client::ConnectionInterfacePowerSavingInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00079.html0000644000175000017500000007260412727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelMessagesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelMessagesInterface Class Reference

Base class for implementations of Channel.Interface.Messages. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback3< QString, const Tp::MessagePartList &, uint, DBusError * > SendMessageCallback
 

Public Member Functions

virtual ~BaseChannelMessagesInterface ()
 
QVariantMap immutableProperties () const
 
QStringList supportedContentTypes ()
 
Tp::UIntList messageTypes ()
 
uint messagePartSupportFlags ()
 
uint deliveryReportingSupport ()
 
Tp::MessagePartListList pendingMessages ()
 
void messageSent (const Tp::MessagePartList &content, uint flags, const QString &messageToken)
 
void setSendMessageCallback (const SendMessageCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelMessagesInterfacePtr create (BaseChannelTextType *textTypeInterface, QStringList supportedContentTypes, UIntList messageTypes, uint messagePartSupportFlags, uint deliveryReportingSupport)
 
template<typename BaseChannelMessagesInterfaceSubclass >
static SharedPtr< BaseChannelMessagesInterfaceSubclass > create ()
 

Protected Member Functions

QString sendMessage (const Tp::MessagePartList &message, uint flags, DBusError *error)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Messages.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelMessagesInterface::~BaseChannelMessagesInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelMessagesInterfacePtr Tp::BaseChannelMessagesInterface::create ( BaseChannelTextType textTypeInterface,
QStringList  supportedContentTypes,
UIntList  messageTypes,
uint  messagePartSupportFlags,
uint  deliveryReportingSupport 
)
inlinestatic
template<typename BaseChannelMessagesInterfaceSubclass >
static SharedPtr<BaseChannelMessagesInterfaceSubclass> Tp::BaseChannelMessagesInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelMessagesInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

QStringList Tp::BaseChannelMessagesInterface::supportedContentTypes ( )
Tp::UIntList Tp::BaseChannelMessagesInterface::messageTypes ( )
uint Tp::BaseChannelMessagesInterface::messagePartSupportFlags ( )
uint Tp::BaseChannelMessagesInterface::deliveryReportingSupport ( )
Tp::MessagePartListList Tp::BaseChannelMessagesInterface::pendingMessages ( )
void Tp::BaseChannelMessagesInterface::messageSent ( const Tp::MessagePartList content,
uint  flags,
const QString &  messageToken 
)
void Tp::BaseChannelMessagesInterface::setSendMessageCallback ( const SendMessageCallback cb)
QString Tp::BaseChannelMessagesInterface::sendMessage ( const Tp::MessagePartList message,
uint  flags,
DBusError error 
)
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00894.html0000644000175000017500000000657212727270137021020 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientHandler::HandlerInfo Member List

This is the complete list of members for Tp::AbstractClientHandler::HandlerInfo, including all inherited members.

allInfo() const Tp::AbstractClientHandler::HandlerInfo
HandlerInfo(const QVariantMap &info=QVariantMap())Tp::AbstractClientHandler::HandlerInfo
HandlerInfo(const HandlerInfo &other)Tp::AbstractClientHandler::HandlerInfo
operator=(const HandlerInfo &other)Tp::AbstractClientHandler::HandlerInfo
~HandlerInfo()Tp::AbstractClientHandler::HandlerInfo


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00393.html0000644000175000017500000003200512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::NotFilter< T > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | List of all members
Tp::NotFilter< T > Class Template Reference

The NotFilter class provides a generic filter object to be used in conjunction of other filters. More...

#include <TelepathyQt/NotFilter>

Inherits Tp::Filter< T >.

Public Member Functions

virtual ~NotFilter ()
 
virtual bool isValid () const
 
virtual bool matches (const SharedPtr< T > &t) const
 
SharedPtr< const Filter< T > > filter () const
 
- Public Member Functions inherited from Tp::Filter< T >
virtual ~Filter ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static SharedPtr< NotFilter< T > > create (const SharedPtr< const Filter< T > > &filter=SharedPtr< const Filter< T > >())
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Filter< T >
 Filter ()
 

Detailed Description

template<class T>
class Tp::NotFilter< T >

The NotFilter class provides a generic filter object to be used in conjunction of other filters.

The NotFilter will match if its given filter does not match its criteria.

Constructor & Destructor Documentation

template<class T >
virtual Tp::NotFilter< T >::~NotFilter ( )
inlinevirtual

Member Function Documentation

template<class T >
static SharedPtr<NotFilter<T> > Tp::NotFilter< T >::create ( const SharedPtr< const Filter< T > > &  filter = SharedPtr<const Filter<T> >())
inlinestatic
template<class T >
virtual bool Tp::NotFilter< T >::isValid ( ) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
virtual bool Tp::NotFilter< T >::matches ( const SharedPtr< T > &  t) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
SharedPtr<const Filter<T> > Tp::NotFilter< T >::filter ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01354.html0000644000175000017500000002065312727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceAvatarsAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceAvatarsAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AvatarRetrieved(uint contact, const QString &token, const QByteArray &avatar, const QString &type)Tp::Service::ConnectionInterfaceAvatarsAdaptorsignal
AvatarUpdated(uint contact, const QString &newAvatarToken)Tp::Service::ConnectionInterfaceAvatarsAdaptorsignal
ClearAvatar(const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
dbusConnection() const Tp::AbstractAdaptor
GetAvatarRequirements(const QDBusMessage &dbusMessage, ushort &minWidth, ushort &minHeight, ushort &maxWidth, ushort &maxHeight, uint &maxBytes)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
GetAvatarTokens(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
GetKnownAvatarTokens(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
MaximumAvatarBytes() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
MaximumAvatarHeight() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
MaximumAvatarWidth() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
MinimumAvatarHeight() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
MinimumAvatarWidth() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
RecommendedAvatarHeight() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
RecommendedAvatarWidth() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
RequestAvatar(uint contact, const QDBusMessage &dbusMessage, QString &MIMEType)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
RequestAvatars(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
SetAvatar(const QByteArray &avatar, const QString &MIMEType, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceAvatarsAdaptorslot
SupportedAvatarMIMETypes() const Tp::Service::ConnectionInterfaceAvatarsAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00138.html0000644000175000017500000001736712727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::CandidateInfo Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::CandidateInfo Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QDBusVariant >.

Public Member Functions

 CandidateInfo ()
 
 CandidateInfo (const QMap< QString, QDBusVariant > &a)
 
CandidateInfooperator= (const QMap< QString, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

Extra information about the candidate. Allowed and mandatory keys depend on the transport protocol used. The following keys are commenly used:

type - u
The type of candidate (Call_Stream_Candidate_Type)
foundation - s
The foundation of this candidate
protocol - u
Underlying protocol of the candidate (Media_Stream_Base_Proto)
priority - u
Priority of the candidate (should be a number between 0 and 65535). Most ICE implementations will prefer the highest priority candidate pair that manages to connect. For backwards compatibility with non-ICE SIP clients, the lowest priority candidate may be sent as a raw UDP fallback candidate. It is recommended that a relay candidate is used as the lowest priority candidate if possible. If both IPv4 and IPv6 raw udp fallback candidates are available, they should be set to the same priority and advertised to the CM at the same time. The CM will decide which to advertise to the remote end.
base-ip - s
The underlying Host address where media sent to this (non-host-type) candidate will eventually arrive.
base-port - u
The underlying Host port where media sent to this (non-host-type) candidate will eventually arrive.
username - s
Username of this candidate (only if credentials are per candidate)
password - s
Password of this candidate (only if credentials are per candidate)
ttl - u
The TTL mandated for RTP/RTCP packets sent to a multicast group (only valid for Multicast Streams)

Constructor & Destructor Documentation

Tp::CandidateInfo::CandidateInfo ( )
inline
Tp::CandidateInfo::CandidateInfo ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

CandidateInfo& Tp::CandidateInfo::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00953.html0000644000175000017500000003463712727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseProtocol Member List

This is the complete list of members for Tp::BaseProtocol, including all inherited members.

authenticationTypes() const Tp::BaseProtocol
BaseProtocol(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseProtocolprotected
busName() const Tp::DBusService
connectionInterfaces() const Tp::BaseProtocol
create(const QString &name)Tp::BaseProtocolinlinestatic
create(const QString &name)Tp::BaseProtocolinlinestatic
create(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseProtocolinlinestatic
create(const QDBusConnection &dbusConnection, const QString &name)Tp::BaseProtocolinlinestatic
createConnection(const QVariantMap &parameters, DBusError *error)Tp::BaseProtocol
CreateConnectionCallback typedefTp::BaseProtocol
dbusConnection() const Tp::DBusService
dbusObject() const Tp::DBusService
DBusService(const QDBusConnection &dbusConnection)Tp::DBusService
englishName() const Tp::BaseProtocol
iconName() const Tp::BaseProtocol
identifyAccount(const QVariantMap &parameters, DBusError *error)Tp::BaseProtocol
IdentifyAccountCallback typedefTp::BaseProtocol
immutableProperties() const Tp::BaseProtocolvirtual
interface(const QString &interfaceName) const Tp::BaseProtocol
interfaces() const Tp::BaseProtocol
isRegistered() const Tp::DBusService
name() const Tp::BaseProtocol
normalizeContact(const QString &contactId, DBusError *error)Tp::BaseProtocol
NormalizeContactCallback typedefTp::BaseProtocol
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusService
parameters() const Tp::BaseProtocol
plugInterface(const AbstractProtocolInterfacePtr &interface)Tp::BaseProtocol
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerObject(const QString &busName, const QString &objectPath, DBusError *error)Tp::BaseProtocolprotectedvirtual
requestableChannelClasses() const Tp::BaseProtocol
setAuthenticationTypes(const QStringList &authenticationTypes)Tp::BaseProtocol
setConnectionInterfaces(const QStringList &connInterfaces)Tp::BaseProtocol
setCreateConnectionCallback(const CreateConnectionCallback &cb)Tp::BaseProtocol
setEnglishName(const QString &englishName)Tp::BaseProtocol
setIconName(const QString &iconName)Tp::BaseProtocol
setIdentifyAccountCallback(const IdentifyAccountCallback &cb)Tp::BaseProtocol
setNormalizeContactCallback(const NormalizeContactCallback &cb)Tp::BaseProtocol
setParameters(const ProtocolParameterList &parameters)Tp::BaseProtocol
setRequestableChannelClasses(const RequestableChannelClassSpecList &rccSpecs)Tp::BaseProtocol
setVCardField(const QString &vcardField)Tp::BaseProtocol
vcardField() const Tp::BaseProtocol
~BaseProtocol()Tp::BaseProtocolvirtual
~DBusService()Tp::DBusServicevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00452.html0000644000175000017500000001527712727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ProtocolInterfacePresenceAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Service::ProtocolInterfacePresenceAdaptor Class Reference

#include <TelepathyQt/_gen/svc-connection-manager.h>

Inherits Tp::AbstractAdaptor.

Public Member Functions

Tp::SimpleStatusSpecMap Statuses () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::SimpleStatusSpecMap Tp::Service::ProtocolInterfacePresenceAdaptor::Statuses ( ) const

Return the value of the exported D-Bus object property Statuses of type Tp::SimpleStatusSpecMap.

Adaptees should export this property as a Qt property named 'statuses' with type Tp::SimpleStatusSpecMap.

The statuses that might appear in the Connection.Interface.SimplePresence.Statuses property on a connection to this protocol that supports SimplePresence. This property is immutable. Depending on server capabilities, it is possible that not all of these will actually appear on the Connection.

Returns
The value of exported property Statuses.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01168.html0000644000175000017500000007247112727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RoomListChannel Member List

This is the complete list of members for Tp::RoomListChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::RoomListChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::Channelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
RoomListChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=Channel::FeatureCore)Tp::RoomListChannelprotected
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~RoomListChannel()Tp::RoomListChannelvirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00511.html0000644000175000017500000001400712727270137020772 0ustar00kaffeinekaffeine00000000000000 Tp::StringVariantMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::StringVariantMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QDBusVariant >.

Public Member Functions

 StringVariantMap ()
 
 StringVariantMap (const QMap< QString, QDBusVariant > &a)
 
StringVariantMapoperator= (const QMap< QString, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

A mapping from strings to variants representing extra key-value pairs.

Constructor & Destructor Documentation

Tp::StringVariantMap::StringVariantMap ( )
inline
Tp::StringVariantMap::StringVariantMap ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

StringVariantMap& Tp::StringVariantMap::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00266.html0000644000175000017500000005675212727270137021016 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactInfoAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceContactInfoAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::ContactInfoMap GetContactInfo (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
void RefreshContactInfo (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
Tp::ContactInfoFieldList RequestContactInfo (uint contact, const QDBusMessage &dbusMessage)
 
void SetContactInfo (const Tp::ContactInfoFieldList &contactInfo, const QDBusMessage &dbusMessage)
 

Signals

void ContactInfoChanged (uint contact, const Tp::ContactInfoFieldList &contactInfo)
 

Public Member Functions

uint ContactInfoFlags () const
 
Tp::FieldSpecs SupportedFields () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ConnectionInterfaceContactInfoAdaptor::ContactInfoFlags ( ) const

Return the value of the exported D-Bus object property ContactInfoFlags of type uint.

Adaptees should export this property as a Qt property named 'contactInfoFlags' with type uint.

An integer representing the bitwise-OR of flags on this connection.

This property MAY change, without change notification, at any time before the connection moves to status Connection_Status_Connected. It MUST NOT change after that point.

Some XMPP servers, like Facebook Chat, do not allow the vCard to be changed (and so would not have the Can_Set flag). Whether the user's server is one of these cannot necessarily be detected until quite late in the connection process.

Returns
The value of exported property ContactInfoFlags.
Tp::FieldSpecs Tp::Service::ConnectionInterfaceContactInfoAdaptor::SupportedFields ( ) const

Return the value of the exported D-Bus object property SupportedFields of type Tp::FieldSpecs.

Adaptees should export this property as a Qt property named 'supportedFields' with type Tp::FieldSpecs.

A list of field specifications describing the kinds of fields which may be passed to SetContactInfo() . The empty list indicates that arbitrary vCard fields are permitted. This property SHOULD be the empty list, and be ignored by clients, if ContactInfoFlags does not contain the Can_Set flag.

For example, a protocol in which arbitrary vCards were stored as-is would set this property to the empty list. A protocol whose notion of contact information is one each of personal phone number, mobile phone number, location, email address and date of birth, with no attributes allowed on each piece of information, would set this property to (in Python-like syntax):

[
  ('tel', ['type=home'], Parameters_Exact, 1),
  ('tel', ['type=cell'], Parameters_Exact, 1),
  ('adr', [], Parameters_Exact, 1),
  ('bday', [], Parameters_Exact, 1),
  ('email', ['type=internet'], Parameters_Exact, 1),
]

A protocol which allows users to specify up to four phone numbers, which may be labelled as personal and/or mobile, would set this property to [ ('tel', ['type=home', 'type=cell'], 0, 4), ].

Studying existing IM protocols shows that in practice protocols allow either a very restricted set of fields (such as MSN, which seems to correspond roughly to the largest example above), or something mapping 1:1 to a large subset of vCard (such as XMPP's XEP-0054).

This property MAY change, without change notification, at any time before the connection moves to status Connection_Status_Connected. It MUST NOT change after that point.

Some XMPP servers, like Google Talk, only allow a small subset of the "vcard-temp" protocol. Whether the user's server is one of these cannot be detected until quite late in the connection process.

Returns
The value of exported property SupportedFields.
Tp::ContactInfoMap Tp::Service::ConnectionInterfaceContactInfoAdaptor::GetContactInfo ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getContactInfo(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactInfoAdaptor::GetContactInfoContextPtr &context);

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

Request information on several contacts at once. This SHOULD only return cached information, omitting handles for which no information is cached from the returned map.

Parameters
contacts
An array of handles representing contacts.
Returns
A dictionary mapping contact handles to information, whose keys are 
the subset of the requested list of handles for which information 
was cached.
void Tp::Service::ConnectionInterfaceContactInfoAdaptor::RefreshContactInfo ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void refreshContactInfo(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactInfoAdaptor::RefreshContactInfoContextPtr &context);

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

Retrieve information for the given contact, requesting it from the network if an up-to-date version is not cached locally. This method SHOULD return immediately, emitting ContactInfoChanged when the contacts' updated contact information is returned. This method allows a client with cached contact information to update its cache after a number of days.

Parameters
contacts
Integer handles for contacts.
Tp::ContactInfoFieldList Tp::Service::ConnectionInterfaceContactInfoAdaptor::RequestContactInfo ( uint  contact,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestContactInfo(uint contact, const Tp::Service::ConnectionInterfaceContactInfoAdaptor::RequestContactInfoContextPtr &context);

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

Retrieve information for a contact, requesting it from the network if it is not cached locally. This method is appropriate for an explicit user request to show a contact's information; it allows a UI to wait for the contact info to be returned.

Parameters
contact
An integer handle for a contact.
Returns
Information about that contact.
void Tp::Service::ConnectionInterfaceContactInfoAdaptor::SetContactInfo ( const Tp::ContactInfoFieldList contactInfo,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setContactInfo(const Tp::ContactInfoFieldList& contactInfo, const Tp::Service::ConnectionInterfaceContactInfoAdaptor::SetContactInfoContextPtr &context);

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

Set new contact information for this connection, replacing existing information. This method is only suppported if ContactInfoFlags contains Can_Set, and may only be passed fields conforming to SupportedFields.

Parameters
contactInfo
The new information to be set.
void Tp::Service::ConnectionInterfaceContactInfoAdaptor::ContactInfoChanged ( uint  contact,
const Tp::ContactInfoFieldList contactInfo 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contactInfoChanged(uint contact, const Tp::ContactInfoFieldList& contactInfo);

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

Parameters
contact
An integer handle for the contact whose info has changed.
contactInfo An array of fields representing information about this contact.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01227.html0000644000175000017500000002671312727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentInterfaceVideoControlInterface Member List

This is the complete list of members for Tp::Client::CallContentInterfaceVideoControlInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
BitrateChanged(uint newBitrate)Tp::Client::CallContentInterfaceVideoControlInterfacesignal
CallContentInterfaceVideoControlInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceVideoControlInterface
CallContentInterfaceVideoControlInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentInterfaceVideoControlInterface
CallContentInterfaceVideoControlInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentInterfaceVideoControlInterface
CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface &mainInterface)Tp::Client::CallContentInterfaceVideoControlInterfaceexplicit
CallContentInterfaceVideoControlInterface(const Tp::Client::CallContentInterface &mainInterface, QObject *parent)Tp::Client::CallContentInterfaceVideoControlInterface
FramerateChanged(uint newFramerate)Tp::Client::CallContentInterfaceVideoControlInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentInterfaceVideoControlInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
KeyFrameRequested()Tp::Client::CallContentInterfaceVideoControlInterfacesignal
MTUChanged(uint newMTU)Tp::Client::CallContentInterfaceVideoControlInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
requestPropertyBitrate() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
requestPropertyFramerate() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
requestPropertyManualKeyFrames() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
requestPropertyMTU() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
requestPropertyVideoResolution() const Tp::Client::CallContentInterfaceVideoControlInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentInterfaceVideoControlInterfaceinlinestatic
VideoResolutionChanged(const Tp::VideoResolution &newResolution)Tp::Client::CallContentInterfaceVideoControlInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00010.html0000644000175000017500000000623512727270137020770 0ustar00kaffeinekaffeine00000000000000 accounts/main.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
accounts/main.cpp
#include <TelepathyQt/Debug>
#include <TelepathyQt/Constants>
#include <TelepathyQt/Types>
#include <QApplication>
#include <QtGui>
#include "accounts-window.h"
int main(int argc, char **argv)
{
QApplication app(argc, argv);
AccountsWindow w;
w.show();
return app.exec();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_d.html0000644000175000017500000003152212727270137022477 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- d -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_s.html0000644000175000017500000000671712727270137023561 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- s -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00325.html0000644000175000017500000010007312727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::DebugReceiver Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Tp::DebugReceiver Class Reference

The DebugReceiver class provides a D-Bus proxy for a Telepathy Debug object. More...

#include <TelepathyQt/DebugReceiver>

Inherits Tp::StatefulDBusProxy.

Signals

void newDebugMessage (const Tp::DebugMessage &message)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~DebugReceiver ()
 
PendingDebugMessageListfetchMessages ()
 
PendingOperationsetMonitoringEnabled (bool enabled)
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Static Public Member Functions

static DebugReceiverPtr create (const QString &busName, const QDBusConnection &bus=QDBusConnection::sessionBus())
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 

Protected Member Functions

 DebugReceiver (const QDBusConnection &bus, const QString &busName)
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 

Detailed Description

The DebugReceiver class provides a D-Bus proxy for a Telepathy Debug object.

A Debug object provides debugging messages from services.

Constructor & Destructor Documentation

Tp::DebugReceiver::~DebugReceiver ( )
virtual
Tp::DebugReceiver::DebugReceiver ( const QDBusConnection &  bus,
const QString &  busName 
)
protected

Member Function Documentation

DebugReceiverPtr Tp::DebugReceiver::create ( const QString &  busName,
const QDBusConnection &  bus = QDBusConnection::sessionBus() 
)
static
PendingDebugMessageList * Tp::DebugReceiver::fetchMessages ( )

Retrieves buffered debug messages.

This method returns a list of buffered debug messages. Depending on the service side implementation, this may not be the entire list of all messages received during the service's lifetime. Use monitoring instead for getting all the messages being streamed in realtime.

Returns
A pending operation returning a list of buffered debug messages when finished.
See also
setMonitoringEnabled
PendingOperation * Tp::DebugReceiver::setMonitoringEnabled ( bool  enabled)

Enables or disables the emission of newDebugMessage.

This function either enables or disables the emission of newDebugMessage. If monitoring is enabled, everytime a message will be received, newDebugMessage will be emitted carrying the new message.

Monitoring should be disabled when not needed, as it generates a high amount of traffic on the bus. It is always disabled by default.

This method requires FeatureCore to be enabled.

Parameters
enabledWhether to enable or disable monitoring.
Returns
A pending operation returning whether the operation succeeded or not.
See also
newDebugMessage
void Tp::DebugReceiver::newDebugMessage ( const Tp::DebugMessage msg)
signal

Emitted whenever a new debug message is available. This will be emitted only if monitoring has been previously enabled.

Parameters
msgThe new debug message.
See also
setMonitoringEnabled

Member Data Documentation

const Feature Tp::DebugReceiver::FeatureCore
static

Feature representing the core that needs to become ready to make the DebugReceiver object usable.

Note that this feature must be enabled in order to use most DebugReceiver methods. See specific methods documentation for more details.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01296.html0000644000175000017500000002671312727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfacePresenceInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfacePresenceInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AddStatus(const QString &status, const QVariantMap &parameters, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
ClearStatus(int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
ConnectionInterfacePresenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfacePresenceInterface
ConnectionInterfacePresenceInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfacePresenceInterface
ConnectionInterfacePresenceInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfacePresenceInterface
ConnectionInterfacePresenceInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfacePresenceInterfaceexplicit
ConnectionInterfacePresenceInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfacePresenceInterface
GetPresence(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
GetStatuses(int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfacePresenceInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
PresenceUpdate(const Tp::ContactPresences &presence)Tp::Client::ConnectionInterfacePresenceInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RemoveStatus(const QString &status, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
requestAllProperties() const Tp::Client::ConnectionInterfacePresenceInterfaceinline
RequestPresence(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
SetLastActivityTime(uint time, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetStatus(const Tp::MultipleStatusMap &statuses, int timeout=-1)Tp::Client::ConnectionInterfacePresenceInterfaceinlineslot
staticInterfaceName()Tp::Client::ConnectionInterfacePresenceInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01040.html0000644000175000017500000000707612727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Feature Member List

This is the complete list of members for Tp::Feature, including all inherited members.

Feature()Tp::Feature
Feature(const QString &className, uint id, bool critical=false)Tp::Feature
Feature(const Feature &other)Tp::Feature
isCritical() const Tp::Feature
isValid() const Tp::Featureinline
operator=(const Feature &other)Tp::Feature
~Feature()Tp::Feature


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00895.html0000644000175000017500000001163712727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientObserver Member List

This is the complete list of members for Tp::AbstractClientObserver, including all inherited members.

AbstractClient()Tp::AbstractClient
AbstractClientObserver(const ChannelClassSpecList &channelFilter, bool shouldRecover=false)Tp::AbstractClientObserverprotected
isRegistered() const Tp::AbstractClient
observeChannels(const MethodInvocationContextPtr<> &context, const AccountPtr &account, const ConnectionPtr &connection, const QList< ChannelPtr > &channels, const ChannelDispatchOperationPtr &dispatchOperation, const QList< ChannelRequestPtr > &requestsSatisfied, const ObserverInfo &observerInfo)=0Tp::AbstractClientObserverpure virtual
observerFilter() const Tp::AbstractClientObserver
RefCounted()Tp::RefCountedinline
shouldRecover() const Tp::AbstractClientObserver
~AbstractClient()Tp::AbstractClientvirtual
~AbstractClientObserver()Tp::AbstractClientObservervirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/arrowdown.png0000644000175000017500000000036612727270137022030 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRɪ|½IDATxíÝ!NAÅñ¤‡à\ ÷à Um@`Ô5iÒ`ëh ‚ÅW7] b§ÝˆŠ&oföÍd¾YÔ4 üšcø ‡€´‹Åòù3v=¼]†§µ\B… I¿‹=B·™B¡®;¸k´µ W°ÍN@vyÍÑÖ4ãß÷]ÈâYìã§|M}]ÔÚx6a }ôdׇØYüú¨>¤||5?Ó>|žB"¡î'¡IEND®B`‚telepathy-qt-0.9.7/doc/html/a00394.html0000644000175000017500000002275112727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Object Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Signals | Public Member Functions | Protected Member Functions | List of all members
Tp::Object Class Reference

The Object class provides an object with property notification. More...

#include <TelepathyQt/Object>

Inherits QObject, and Tp::RefCounted.

Inherited by Tp::AbstractDBusServiceInterface, Tp::AccountSet, Tp::CaptchaAuthentication, Tp::ClientRegistrar, Tp::Contact, Tp::ContactManager, Tp::DBusProxy, Tp::DBusService, Tp::ProfileManager, and Tp::StreamedMediaStream.

Signals

void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

The Object class provides an object with property notification.

Constructor & Destructor Documentation

Tp::Object::~Object ( )
virtual

Class destructor.

Tp::Object::Object ( )
protected

Construct a new Object object.

Member Function Documentation

void Tp::Object::propertyChanged ( const QString &  propertyName)
signal
void Tp::Object::notify ( const char *  propertyName)
protected

Notify that a property named propertyName changed.

This method will emit propertyChanged() for propertyName.

Todo:
Use for more classes beyond Account. Most importantly Contact.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01355.html0000644000175000017500000000764512727270137021013 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceBalanceAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceBalanceAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
AccountBalance() const Tp::Service::ConnectionInterfaceBalanceAdaptor
adaptee() const Tp::AbstractAdaptor
BalanceChanged(const Tp::CurrencyAmount &balance)Tp::Service::ConnectionInterfaceBalanceAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
ManageCreditURI() const Tp::Service::ConnectionInterfaceBalanceAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00139.html0000644000175000017500000001006512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::CandidatePair Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes | List of all members
Tp::CandidatePair Struct Reference

#include <TelepathyQt/Types>

Public Attributes

Candidate local
 
Candidate remote
 

Detailed Description

Structure type generated from the specification.

A Pair of candidates.

Member Data Documentation

Candidate Tp::CandidatePair::local

The local candidate.

Candidate Tp::CandidatePair::remote

The remote candidate.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00954.html0000644000175000017500000002453212727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseProtocolAddressingInterface Member List

This is the complete list of members for Tp::BaseProtocolAddressingInterface, including all inherited members.

AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
AbstractProtocolInterface(const QString &interfaceName)Tp::AbstractProtocolInterface
addressableUriSchemes() const Tp::BaseProtocolAddressingInterface
addressableVCardFields() const Tp::BaseProtocolAddressingInterface
BaseProtocolAddressingInterface()Tp::BaseProtocolAddressingInterfaceprotected
create()Tp::BaseProtocolAddressingInterfaceinlinestatic
create()Tp::BaseProtocolAddressingInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const Tp::BaseProtocolAddressingInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
normalizeContactUri(const QString &uri, DBusError *error)Tp::BaseProtocolAddressingInterface
NormalizeContactUriCallback typedefTp::BaseProtocolAddressingInterface
normalizeVCardAddress(const QString &vcardField, const QString &vcardAddress, DBusError *error)Tp::BaseProtocolAddressingInterface
NormalizeVCardAddressCallback typedefTp::BaseProtocolAddressingInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setAddressableUriSchemes(const QStringList &uriSchemes)Tp::BaseProtocolAddressingInterface
setAddressableVCardFields(const QStringList &vcardFields)Tp::BaseProtocolAddressingInterface
setNormalizeContactUriCallback(const NormalizeContactUriCallback &cb)Tp::BaseProtocolAddressingInterface
setNormalizeVCardAddressCallback(const NormalizeVCardAddressCallback &cb)Tp::BaseProtocolAddressingInterface
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~AbstractProtocolInterface()Tp::AbstractProtocolInterfacevirtual
~BaseProtocolAddressingInterface()Tp::BaseProtocolAddressingInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00453.html0000644000175000017500000006227412727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ProtocolInterfacePresenceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ProtocolInterfacePresenceInterface Class Reference

#include <TelepathyQt/ConnectionManager>

Inherits Tp::AbstractInterface.

Public Member Functions

 ProtocolInterfacePresenceInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfacePresenceInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ProtocolInterfacePresenceInterface (Tp::DBusProxy *proxy)
 
 ProtocolInterfacePresenceInterface (const Tp::Client::ConnectionManagerInterface &mainInterface)
 
 ProtocolInterfacePresenceInterface (const Tp::Client::ConnectionManagerInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyStatuses () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Protocol.Interface.Presence".

Constructor & Destructor Documentation

Tp::Client::ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ProtocolInterfacePresenceInterface 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.
Tp::Client::ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface ( Tp::DBusProxy proxy)

Creates a ProtocolInterfacePresenceInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface ( const Tp::Client::ConnectionManagerInterface mainInterface)
explicit

Creates a ProtocolInterfacePresenceInterface 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.
Tp::Client::ProtocolInterfacePresenceInterface::ProtocolInterfacePresenceInterface ( const Tp::Client::ConnectionManagerInterface mainInterface,
QObject *  parent 
)

Creates a ProtocolInterfacePresenceInterface 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 Tp::Client::ProtocolInterfacePresenceInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Protocol.Interface.Presence", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ProtocolInterfacePresenceInterface::requestPropertyStatuses ( ) const
inline

Asynchronous getter for the remote object property Statuses of type Tp::SimpleStatusSpecMap.

The statuses that might appear in the Connection.Interface.SimplePresence.Statuses property on a connection to this protocol that supports SimplePresence. This property is immutable. Depending on server capabilities, it is possible that not all of these will actually appear on the Connection.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ProtocolInterfacePresenceInterface::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.
void Tp::Client::ProtocolInterfacePresenceInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01169.html0000644000175000017500000000520212727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RTCPFeedbackMessage Member List

This is the complete list of members for Tp::RTCPFeedbackMessage, including all inherited members.

parametersTp::RTCPFeedbackMessage
subtypeTp::RTCPFeedbackMessage
typeTp::RTCPFeedbackMessage


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00512.html0000644000175000017500000001424412727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::SupportedSocketMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::SupportedSocketMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, UIntList >.

Public Member Functions

 SupportedSocketMap ()
 
 SupportedSocketMap (const QMap< uint, UIntList > &a)
 
SupportedSocketMapoperator= (const QMap< uint, UIntList > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, UIntList>, but needed to have a discrete type in the Qt type system.

The supported socket address and access-control types for tubes. See GetAvailableStreamTubeTypes.

Constructor & Destructor Documentation

Tp::SupportedSocketMap::SupportedSocketMap ( )
inline
Tp::SupportedSocketMap::SupportedSocketMap ( const QMap< uint, UIntList > &  a)
inline

Member Function Documentation

SupportedSocketMap& Tp::SupportedSocketMap::operator= ( const QMap< uint, UIntList > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00267.html0000644000175000017500000012265712727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactInfoInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceContactInfoInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::ContactInfoMapGetContactInfo (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply RefreshContactInfo (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< Tp::ContactInfoFieldListRequestContactInfo (uint contact, int timeout=-1)
 
QDBusPendingReply SetContactInfo (const Tp::ContactInfoFieldList &contactInfo, int timeout=-1)
 

Signals

void ContactInfoChanged (uint contact, const Tp::ContactInfoFieldList &contactInfo)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceContactInfoInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactInfoInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactInfoInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactInfoInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactInfoInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyContactInfoFlags () const
 
Tp::PendingVariantrequestPropertySupportedFields () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ContactInfo".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactInfoInterface::ConnectionInterfaceContactInfoInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactInfoInterface 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.
Tp::Client::ConnectionInterfaceContactInfoInterface::ConnectionInterfaceContactInfoInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactInfoInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactInfoInterface::ConnectionInterfaceContactInfoInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactInfoInterface 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.
Tp::Client::ConnectionInterfaceContactInfoInterface::ConnectionInterfaceContactInfoInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactInfoInterface 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 Tp::Client::ConnectionInterfaceContactInfoInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ContactInfo", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactInfoInterface::requestPropertyContactInfoFlags ( ) const
inline

Asynchronous getter for the remote object property ContactInfoFlags of type uint.

An integer representing the bitwise-OR of flags on this connection.

This property MAY change, without change notification, at any time before the connection moves to status Connection_Status_Connected. It MUST NOT change after that point.

Some XMPP servers, like Facebook Chat, do not allow the vCard to be changed (and so would not have the Can_Set flag). Whether the user's server is one of these cannot necessarily be detected until quite late in the connection process.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactInfoInterface::requestPropertySupportedFields ( ) const
inline

Asynchronous getter for the remote object property SupportedFields of type Tp::FieldSpecs.

A list of field specifications describing the kinds of fields which may be passed to SetContactInfo() . The empty list indicates that arbitrary vCard fields are permitted. This property SHOULD be the empty list, and be ignored by clients, if ContactInfoFlags does not contain the Can_Set flag.

For example, a protocol in which arbitrary vCards were stored as-is would set this property to the empty list. A protocol whose notion of contact information is one each of personal phone number, mobile phone number, location, email address and date of birth, with no attributes allowed on each piece of information, would set this property to (in Python-like syntax):

[
  ('tel', ['type=home'], Parameters_Exact, 1),
  ('tel', ['type=cell'], Parameters_Exact, 1),
  ('adr', [], Parameters_Exact, 1),
  ('bday', [], Parameters_Exact, 1),
  ('email', ['type=internet'], Parameters_Exact, 1),
]

A protocol which allows users to specify up to four phone numbers, which may be labelled as personal and/or mobile, would set this property to [ ('tel', ['type=home', 'type=cell'], 0, 4), ].

Studying existing IM protocols shows that in practice protocols allow either a very restricted set of fields (such as MSN, which seems to correspond roughly to the largest example above), or something mapping 1:1 to a large subset of vCard (such as XMPP's XEP-0054).

This property MAY change, without change notification, at any time before the connection moves to status Connection_Status_Connected. It MUST NOT change after that point.

Some XMPP servers, like Google Talk, only allow a small subset of the "vcard-temp" protocol. Whether the user's server is one of these cannot be detected until quite late in the connection process.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactInfoInterface::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<Tp::ContactInfoMap> Tp::Client::ConnectionInterfaceContactInfoInterface::GetContactInfo ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Request information on several contacts at once. This SHOULD only return cached information, omitting handles for which no information is cached from the returned map.

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

Parameters
contacts
An array of handles representing contacts.
timeoutThe timeout in milliseconds.
Returns
A dictionary mapping contact handles to information, whose keys are 
the subset of the requested list of handles for which information 
was cached.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactInfoInterface::RefreshContactInfo ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Retrieve information for the given contact, requesting it from the network if an up-to-date version is not cached locally. This method SHOULD return immediately, emitting ContactInfoChanged when the contacts' updated contact information is returned. This method allows a client with cached contact information to update its cache after a number of days.

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

Parameters
contacts
Integer handles for contacts.
timeoutThe timeout in milliseconds.
QDBusPendingReply<Tp::ContactInfoFieldList> Tp::Client::ConnectionInterfaceContactInfoInterface::RequestContactInfo ( uint  contact,
int  timeout = -1 
)
inlineslot

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

Retrieve information for a contact, requesting it from the network if it is not cached locally. This method is appropriate for an explicit user request to show a contact's information; it allows a UI to wait for the contact info to be returned.

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

Parameters
contact
An integer handle for a contact.
timeoutThe timeout in milliseconds.
Returns
Information about that contact.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactInfoInterface::SetContactInfo ( const Tp::ContactInfoFieldList contactInfo,
int  timeout = -1 
)
inlineslot

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

Set new contact information for this connection, replacing existing information. This method is only suppported if ContactInfoFlags contains Can_Set, and may only be passed fields conforming to SupportedFields.

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

Parameters
contactInfo
The new information to be set.
timeoutThe timeout in milliseconds.
void Tp::Client::ConnectionInterfaceContactInfoInterface::ContactInfoChanged ( uint  contact,
const Tp::ContactInfoFieldList contactInfo 
)
signal

Represents the signal ContactInfoChanged on the remote object.

Emitted when a contact's information has changed or been received for the first time on this connection.

Parameters
contact
An integer handle for the contact whose info has changed.
contactInfo An array of fields representing information about this contact.
void Tp::Client::ConnectionInterfaceContactInfoInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00693_source.html0000644000175000017500000003347012727270137022372 0ustar00kaffeinekaffeine00000000000000 generic-property-filter.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
generic-property-filter.h
1 
23 #ifndef _TelepathyQt_generic_property_filter_h_HEADER_GUARD_
24 #define _TelepathyQt_generic_property_filter_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Filter>
31 #include <TelepathyQt/Types>
32 
33 namespace Tp
34 {
35 
36 template <class T>
37 class GenericPropertyFilter : public Filter<T>
38 {
39 public:
40  inline virtual ~GenericPropertyFilter() { }
41 
42  inline virtual bool isValid() const { return true; }
43 
44  inline virtual bool matches(const SharedPtr<T> &t) const
45  {
46  for (QVariantMap::const_iterator i = mFilter.constBegin();
47  i != mFilter.constEnd(); ++i) {
48  QString propertyName = i.key();
49  QVariant propertyValue = i.value();
50 
51  if (t->property(propertyName.toLatin1().constData()) != propertyValue) {
52  return false;
53  }
54  }
55 
56  return true;
57  }
58 
59  inline QVariantMap filter() const { return mFilter; }
60 
61  inline void addProperty(const QString &propertyName, const QVariant &propertyValue)
62  {
63  mFilter.insert(propertyName, propertyValue);
64  }
65 
66  inline void setProperties(const QVariantMap &filter) { mFilter = filter; }
67 
68 protected:
69  inline GenericPropertyFilter() : Filter<T>() { }
70 
71 private:
72  QVariantMap mFilter;
73 };
74 
75 } // Tp
76 
77 #endif
The GenericPropertyFilter class provides a generic filter object to be used to filter objects by prop...
Definition: generic-property-filter.h:37
QVariantMap filter() const
Definition: generic-property-filter.h:59
GenericPropertyFilter()
Definition: generic-property-filter.h:69
void setProperties(const QVariantMap &filter)
Definition: generic-property-filter.h:66
virtual ~GenericPropertyFilter()
Definition: generic-property-filter.h:40
virtual bool isValid() const
Definition: generic-property-filter.h:42
void addProperty(const QString &propertyName, const QVariant &propertyValue)
Definition: generic-property-filter.h:61
Definition: abstract-adaptor.cpp:31
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
virtual bool matches(const SharedPtr< T > &t) const
Definition: generic-property-filter.h:44
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01228.html0000644000175000017500000002421412727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentMediaDescriptionInterface Member List

This is the complete list of members for Tp::Client::CallContentMediaDescriptionInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
Accept(const QVariantMap &localMediaDescription, int timeout=-1)Tp::Client::CallContentMediaDescriptionInterfaceinlineslot
CallContentMediaDescriptionInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterface
CallContentMediaDescriptionInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterface
CallContentMediaDescriptionInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentMediaDescriptionInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentMediaDescriptionInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Reject(const Tp::CallStateReason &reason, int timeout=-1)Tp::Client::CallContentMediaDescriptionInterfaceinlineslot
requestAllProperties() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertyCodecs() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertyFurtherNegotiationRequired() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertyHasRemoteInformation() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertyInterfaces() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertyRemoteContact() const Tp::Client::CallContentMediaDescriptionInterfaceinline
requestPropertySSRCs() const Tp::Client::CallContentMediaDescriptionInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentMediaDescriptionInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00011.html0000644000175000017500000000343512727270137020770 0ustar00kaffeinekaffeine00000000000000 Contact Messenger Example
   Home · All Classes · All Namespaces · Modules · Functions · Files
Contact Messenger Example


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func.html0000644000175000017500000010135012727270137023204 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- a -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_e.html0000644000175000017500000002234012727270137022476 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- e -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_t.html0000644000175000017500000000622712727270137023556 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- t -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00326.html0000644000175000017500000005103412727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::ReceivedMessage::DeliveryDetails Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ReceivedMessage::DeliveryDetails Class Reference

The ReceivedMessage::DeliveryDetails class represents the details of a delivery report. More...

#include <TelepathyQt/ReceivedMessage>

Public Member Functions

 DeliveryDetails ()
 
 DeliveryDetails (const DeliveryDetails &other)
 
 ~DeliveryDetails ()
 
DeliveryDetailsoperator= (const DeliveryDetails &other)
 
bool isValid () const
 
DeliveryStatus status () const
 
bool hasOriginalToken () const
 
QString originalToken () const
 
bool isError () const
 
ChannelTextSendError error () const
 
bool hasDebugMessage () const
 
QString debugMessage () const
 
QString dbusError () const
 
bool hasEchoedMessage () const
 
Message echoedMessage () const
 

Detailed Description

The ReceivedMessage::DeliveryDetails class represents the details of a delivery report.

Constructor & Destructor Documentation

Tp::ReceivedMessage::DeliveryDetails::DeliveryDetails ( )

Default constructor.

Tp::ReceivedMessage::DeliveryDetails::DeliveryDetails ( const DeliveryDetails other)

Copy constructor.

Tp::ReceivedMessage::DeliveryDetails::~DeliveryDetails ( )

Class destructor.

Member Function Documentation

ReceivedMessage::DeliveryDetails & Tp::ReceivedMessage::DeliveryDetails::operator= ( const DeliveryDetails other)

Assignment operator.

bool Tp::ReceivedMessage::DeliveryDetails::isValid ( ) const
inline
DeliveryStatus Tp::ReceivedMessage::DeliveryDetails::status ( ) const

Return the delivery status of a message.

Returns
The delivery status as DeliveryStatus.
bool Tp::ReceivedMessage::DeliveryDetails::hasOriginalToken ( ) const

Return whether this delivery report contains an identifier for the message to which it refers.

Returns
true if an original message token is known, false otherwise.
See also
originalToken()
QString Tp::ReceivedMessage::DeliveryDetails::originalToken ( ) const

Return an identifier for the message to which this delivery report refers, or an empty string if hasOriginalToken() returns false.

Clients may match this against the token produced by the TextChannel::send() method and TextChannel::messageSent() signal. A status report with no token could match any sent message, and a sent message with an empty token could match any status report. If multiple sent messages match, clients should use some reasonable heuristic.

Returns
The message token if hasOriginalToken() returns true, an empty string otherwise.
See also
hasOriginalToken().
bool Tp::ReceivedMessage::DeliveryDetails::isError ( ) const

Return whether the delivery of the message this delivery report refers to, failed.

Returns
true if the message delivery failed, false otherwise.
See also
error()
ChannelTextSendError Tp::ReceivedMessage::DeliveryDetails::error ( ) const

Return the reason for the delivery failure if known.

Returns
The reason as ChannelTextSendError.
See also
isError()
bool Tp::ReceivedMessage::DeliveryDetails::hasDebugMessage ( ) const

Return whether this delivery report contains a debugging information on why the message it refers to could not be delivered.

Returns
true if a debugging information is provided, false otherwise.
See also
debugMessage()
QString Tp::ReceivedMessage::DeliveryDetails::debugMessage ( ) const

Return the debugging information on why the message this delivery report refers to could not be delivered.

Returns
The debug string.
See also
hasDebugMessage()
QString Tp::ReceivedMessage::DeliveryDetails::dbusError ( ) const

Return the reason for the delivery failure if known, specified as a (possibly implementation-specific) D-Bus error.

Returns
The D-Bus error string representing the error.
bool Tp::ReceivedMessage::DeliveryDetails::hasEchoedMessage ( ) const

Return whether the message content for the message this delivery report refers to is known.

Returns
true if the original message content is known, false otherwise.
See also
echoedMessage()
Message Tp::ReceivedMessage::DeliveryDetails::echoedMessage ( ) const

Return the Message object for the message this delivery report refers to, omitted if the message is unknown.

Rationale:
Some protocols, like XMPP, echo the failing message back to the sender. This is sometimes the only way to match it against the sent message, so we include it here.
Returns
The Message object, or an empty Message object if hasEchoedMessage() returns false.
See also
hasEchoedMessage()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01297.html0000644000175000017500000002441312727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceRequestsInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceRequestsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelClosed(const QDBusObjectPath &removed)Tp::Client::ConnectionInterfaceRequestsInterfacesignal
ConnectionInterfaceRequestsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceRequestsInterface
ConnectionInterfaceRequestsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceRequestsInterface
ConnectionInterfaceRequestsInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceRequestsInterface
ConnectionInterfaceRequestsInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceRequestsInterfaceexplicit
ConnectionInterfaceRequestsInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceRequestsInterface
CreateChannel(const QVariantMap &request, int timeout=-1)Tp::Client::ConnectionInterfaceRequestsInterfaceinlineslot
EnsureChannel(const QVariantMap &request, int timeout=-1)Tp::Client::ConnectionInterfaceRequestsInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceRequestsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
NewChannels(const Tp::ChannelDetailsList &channels)Tp::Client::ConnectionInterfaceRequestsInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceRequestsInterfaceinline
requestPropertyChannels() const Tp::Client::ConnectionInterfaceRequestsInterfaceinline
requestPropertyRequestableChannelClasses() const Tp::Client::ConnectionInterfaceRequestsInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceRequestsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00080.html0000644000175000017500000013422012727270137020773 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelRoomConfigInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelRoomConfigInterface Class Reference

Base class for implementations of Channel.Interface.RoomConfig1. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, const QVariantMap &, DBusError * > UpdateConfigurationCallback
 

Public Member Functions

virtual ~BaseChannelRoomConfigInterface ()
 
QVariantMap immutableProperties () const
 
bool anonymous () const
 
void setAnonymous (bool anonymous)
 
bool inviteOnly () const
 
void setInviteOnly (bool inviteOnly)
 
uint limit () const
 
void setLimit (uint limit)
 
bool moderated () const
 
void setModerated (bool moderated)
 
QString title () const
 
void setTitle (const QString &title)
 
QString description () const
 
void setDescription (const QString &description)
 
bool persistent () const
 
void setPersistent (bool persistent)
 
bool isPrivate () const
 
void setPrivate (bool newPrivate)
 
bool passwordProtected () const
 
void setPasswordProtected (bool passwordProtected)
 
QString password () const
 
void setPassword (const QString &password)
 
QString passwordHint () const
 
void setPasswordHint (const QString &passwordHint)
 
bool canUpdateConfiguration () const
 
void setCanUpdateConfiguration (bool canUpdateConfiguration)
 
QStringList mutableProperties () const
 
void setMutableProperties (const QStringList &mutableProperties)
 
bool configurationRetrieved () const
 
void setConfigurationRetrieved (bool configurationRetrieved)
 
void setUpdateConfigurationCallback (const UpdateConfigurationCallback &cb)
 
void updateConfiguration (const QVariantMap &properties, DBusError *error)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelRoomConfigInterfacePtr create ()
 
template<typename BaseChannelRoomConfigInterfaceSubclass >
static SharedPtr< BaseChannelRoomConfigInterfaceSubclass > create ()
 

Protected Member Functions

 BaseChannelRoomConfigInterface ()
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.RoomConfig1.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelRoomConfigInterface::~BaseChannelRoomConfigInterface ( )
virtual

Class destructor.

Tp::BaseChannelRoomConfigInterface::BaseChannelRoomConfigInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseChannelRoomConfigInterfacePtr Tp::BaseChannelRoomConfigInterface::create ( )
inlinestatic
template<typename BaseChannelRoomConfigInterfaceSubclass >
static SharedPtr<BaseChannelRoomConfigInterfaceSubclass> Tp::BaseChannelRoomConfigInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelRoomConfigInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

bool Tp::BaseChannelRoomConfigInterface::anonymous ( ) const
void Tp::BaseChannelRoomConfigInterface::setAnonymous ( bool  anonymous)
bool Tp::BaseChannelRoomConfigInterface::inviteOnly ( ) const
void Tp::BaseChannelRoomConfigInterface::setInviteOnly ( bool  inviteOnly)
uint Tp::BaseChannelRoomConfigInterface::limit ( ) const
void Tp::BaseChannelRoomConfigInterface::setLimit ( uint  limit)
bool Tp::BaseChannelRoomConfigInterface::moderated ( ) const
void Tp::BaseChannelRoomConfigInterface::setModerated ( bool  moderated)
QString Tp::BaseChannelRoomConfigInterface::title ( ) const
void Tp::BaseChannelRoomConfigInterface::setTitle ( const QString &  title)
QString Tp::BaseChannelRoomConfigInterface::description ( ) const
void Tp::BaseChannelRoomConfigInterface::setDescription ( const QString &  description)
bool Tp::BaseChannelRoomConfigInterface::persistent ( ) const
void Tp::BaseChannelRoomConfigInterface::setPersistent ( bool  persistent)
bool Tp::BaseChannelRoomConfigInterface::isPrivate ( ) const
void Tp::BaseChannelRoomConfigInterface::setPrivate ( bool  newPrivate)
bool Tp::BaseChannelRoomConfigInterface::passwordProtected ( ) const
void Tp::BaseChannelRoomConfigInterface::setPasswordProtected ( bool  passwordProtected)
QString Tp::BaseChannelRoomConfigInterface::password ( ) const
void Tp::BaseChannelRoomConfigInterface::setPassword ( const QString &  password)
QString Tp::BaseChannelRoomConfigInterface::passwordHint ( ) const
void Tp::BaseChannelRoomConfigInterface::setPasswordHint ( const QString &  passwordHint)
bool Tp::BaseChannelRoomConfigInterface::canUpdateConfiguration ( ) const
void Tp::BaseChannelRoomConfigInterface::setCanUpdateConfiguration ( bool  canUpdateConfiguration)
QStringList Tp::BaseChannelRoomConfigInterface::mutableProperties ( ) const
void Tp::BaseChannelRoomConfigInterface::setMutableProperties ( const QStringList &  mutableProperties)
bool Tp::BaseChannelRoomConfigInterface::configurationRetrieved ( ) const
void Tp::BaseChannelRoomConfigInterface::setConfigurationRetrieved ( bool  configurationRetrieved)
void Tp::BaseChannelRoomConfigInterface::setUpdateConfigurationCallback ( const UpdateConfigurationCallback cb)
void Tp::BaseChannelRoomConfigInterface::updateConfiguration ( const QVariantMap &  properties,
DBusError error 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01041.html0000644000175000017500000000535312727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Features Member List

This is the complete list of members for Tp::Features, including all inherited members.

Features()Tp::Featuresinline
Features(const Feature &feature)Tp::Featuresinline
Features(const QSet< Feature > &s)Tp::Featuresinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00896.html0000644000175000017500000000725312727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractClientObserver::ObserverInfo Member List

This is the complete list of members for Tp::AbstractClientObserver::ObserverInfo, including all inherited members.

allInfo() const Tp::AbstractClientObserver::ObserverInfo
isRecovering() const Tp::AbstractClientObserver::ObserverInfoinline
ObserverInfo(const QVariantMap &info=QVariantMap())Tp::AbstractClientObserver::ObserverInfo
ObserverInfo(const ObserverInfo &other)Tp::AbstractClientObserver::ObserverInfo
operator=(const ObserverInfo &other)Tp::AbstractClientObserver::ObserverInfo
~ObserverInfo()Tp::AbstractClientObserver::ObserverInfo


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00686_source.html0000644000175000017500000002324012727270137022366 0ustar00kaffeinekaffeine00000000000000 filter.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
filter.h
1 
23 #ifndef _TelepathyQt_filter_h_HEADER_GUARD_
24 #define _TelepathyQt_filter_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/SharedPtr>
31 #include <TelepathyQt/Types>
32 
33 namespace Tp
34 {
35 
36 template <class T>
37 class Filter : public RefCounted
38 {
39  Q_DISABLE_COPY(Filter)
40 
41 public:
42  virtual ~Filter() {}
43 
44  virtual bool isValid() const { return false; }
45 
46  virtual bool matches(const SharedPtr<T> &t) const
47  {
48  Q_UNUSED(t);
49 
50  return false;
51  }
52 
53 protected:
54  Filter() {}
55 
56 private:
57  struct Private;
58  Private *mPriv; // Just a placeholder really
59 };
60 
61 } // Tp
62 
63 #endif
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
Filter()
Definition: filter.h:54
virtual bool matches(const SharedPtr< T > &t) const
Definition: filter.h:46
Definition: abstract-adaptor.cpp:31
virtual bool isValid() const
Definition: filter.h:44
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
virtual ~Filter()
Definition: filter.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00395.html0000644000175000017500000001430012727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::ObjectImmutablePropertiesMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ObjectImmutablePropertiesMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QDBusObjectPath, QVariantMap >.

Public Member Functions

 ObjectImmutablePropertiesMap ()
 
 ObjectImmutablePropertiesMap (const QMap< QDBusObjectPath, QVariantMap > &a)
 
ObjectImmutablePropertiesMapoperator= (const QMap< QDBusObjectPath, QVariantMap > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QDBusObjectPath, QVariantMap>, but needed to have a discrete type in the Qt type system.

A mapping from object path to the immutable properties of the object.

Constructor & Destructor Documentation

Tp::ObjectImmutablePropertiesMap::ObjectImmutablePropertiesMap ( )
inline
Tp::ObjectImmutablePropertiesMap::ObjectImmutablePropertiesMap ( const QMap< QDBusObjectPath, QVariantMap > &  a)
inline

Member Function Documentation

ObjectImmutablePropertiesMap& Tp::ObjectImmutablePropertiesMap::operator= ( const QMap< QDBusObjectPath, QVariantMap > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/hierarchy.html0000644000175000017500000070205712727270137022152 0ustar00kaffeinekaffeine00000000000000 Class Hierarchy
   Home · All Classes · All Namespaces · Modules · Functions · Files
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12345]
 CTp::AbstractFunctorCaller
 CTp::AccessControl
 CTp::AccountCapabilityFilterThe AccountCapabilityFilter class provides a filter object to be used to filter accounts by capabilities
 CTp::AliasPair
 CTp::Avatar
 CTp::AvatarDataThe AvatarData class represents a Telepathy avatar
 CTp::AvatarSpecThe AvatarSpec class represents a Telepathy avatar information supported by a protocol
 CTp::BaseCallbackBase class for all the callback classes
 CTp::BaseFunctor
 CTp::CallStateReason
 CTp::Candidate
 CTp::CandidatePair
 CTp::AbstractClientHandler::CapabilitiesThe AbstractClientHandler::Capabilities class provides a wrapper around the capabilities of a handler
 CTp::CapabilitiesBaseThe CapabilitiesBase class represents the capabilities a Connection or a Contact supports
 CTp::CapabilityChange
 CTp::CapabilityPair
 CTp::CaptchaThe Captcha class represents a Captcha ready to be answered
 CTp::CaptchaInfo
 CTp::ChannelClassSpecThe ChannelClassSpec class represents a Telepathy channel class
 CTp::ChannelDetails
 CTp::ChannelInfo
 CTp::ChannelRequestHintsThe ChannelRequestHints class represents a dictionary of metadata provided by the channel requester when requesting a channel
 CTp::Codec
 CTp::ContactCapability
 CTp::ContactInfoField
 CTp::ContactSubscriptions
 CTp::CurrencyAmount
 CTp::DBusErrorSmall container class, containing a D-Bus error
 CTp::DBusTubeMember
 CTp::DebugMessage
 CTp::ReceivedMessage::DeliveryDetailsThe ReceivedMessage::DeliveryDetails class represents the details of a delivery report
 CTp::Connection::ErrorDetailsThe Connection::ErrorDetails class represents the details of a connection error
 CTp::FieldSpec
 CTp::FileTransferChannelCreationPropertiesThe FileTransferChannelCreationProperties class represents the properties of a file transfer channel request
 CTp::Channel::GroupMemberChangeDetailsThe Channel::GroupMemberChangeDetails class represents the details of a group membership change
 CTp::HandlerCapabilities
 CTp::AbstractClientHandler::HandlerInfoThe AbstractClientHandler::HandlerInfo class provides a wrapper around the additional info about the channels passed to handleChannels()
 CTp::HTTPPostData
 CTp::Contact::InfoFieldsThe Contact::InfoFields class represents the information of a Telepathy contact
 CTp::ReadinessHelper::IntrospectableThe ReadinessHelper::Introspectable class represents a introspectable used by ReadinessHelper
 CTp::LastActivityAndStatuses
 CTp::LocalPendingInfo
 CTp::LocationInfoThe LocationInfo class represents the location of a Telepathy Contact
 CTp::MailAddress
 CTp::MailURL
 CTp::MediaDescriptionOffer
 CTp::MediaSessionHandlerInfo
 CTp::MediaStreamHandlerCandidate
 CTp::MediaStreamHandlerCodec
 CTp::MediaStreamHandlerTransport
 CTp::MediaStreamInfo
 CTp::MessageThe Message class represents a Telepathy message in a TextChannel
 CTp::MessageContentPartThe MessageContentPart class represents a Telepathy message part
 CTp::NotDelegatedError
 CTp::AbstractClientObserver::ObserverInfoThe AbstractClientObserver::ObserverInfo class provides a wrapper around the additional info about the channels passed to observeChannels()
 CTp::OptionalInterfaceFactory< DBusProxySubclass >The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to offer access to shared instances of interface proxies for optional interfaces
 CTp::OptionalInterfaceFactory< Account >
 CTp::OptionalInterfaceFactory< AccountManager >
 CTp::OptionalInterfaceFactory< CallContent >
 CTp::OptionalInterfaceFactory< CallStream >
 CTp::OptionalInterfaceFactory< Channel >
 CTp::OptionalInterfaceFactory< ChannelDispatchOperation >
 CTp::OptionalInterfaceFactory< ChannelRequest >
 CTp::OptionalInterfaceFactory< Connection >
 CTp::OptionalInterfaceFactory< ConnectionManager >
 CTp::Profile::ParameterThe Profile::Parameter class represents a parameter defined in .profile files
 CTp::StreamTubeServer::ParametersGeneratorThe StreamTubeServer::ParametersGenerator abstract interface allows sending a different set of parameters with each tube offer
 CTp::ParamSpec
 CTp::PendingTextMessage
 CTp::PresenceThe Presence class represents a Telepathy simple presence
 CTp::Profile::PresenceThe Profile::Presence class represents a presence defined in .profile files
 CTp::PresenceSpecThe PresenceSpec class represents a Telepathy presence information supported by a protocol
 CTp::PropertyFlagsChange
 CTp::PropertySpec
 CTp::PropertyValue
 CTp::ProtocolInfoThe ProtocolInfo class represents a Telepathy Protocol
 CTp::ProtocolParameterThe ProtocolParameter class represents a Telepathy protocol parameter
 CQDBusAbstractAdaptor
 CQDBusAbstractInterface
 CQIODevice
 CQList
 CQMap
 CQObject
 CQPair
 CQSet
 CTp::ReadyObject
 CTp::RefCountedThe RefCounted class is a base class for shared objects used by SharedPtr
 CTp::ReferencedHandlesHelper container for safe management of handle lifetimes. Every handle in a ReferencedHandles container is guaranteed to be valid (and stay valid, as long it's in at least one ReferencedHandles container)
 CTp::RequestableChannelClass
 CTp::RequestableChannelClassSpecThe RequestableChannelClassSpec class represents a Telepathy requestable channel class
 CTp::RichPresenceAccessControl
 CTp::RoomInfo
 CTp::RTCPFeedbackMessage
 CTp::RTCPFeedbackMessageProperties
 CTp::RTPHeaderExtension
 CTp::ContactSearchChannel::SearchStateChangeDetailsThe ContactSearchChannel::SearchStateChangeDetails class provides a wrapper around the details for a search state change
 CTp::ServicePoint
 CTp::ServicePointInfo
 CTp::SharedPtr< T >The SharedPtr class is a pointer to an explicitly shared object
 CTp::SharedPtr< const Tp::Filter< T > >
 CTp::SharedPtr< RequestTemporaryHandler >
 CTp::SharedPtr< Tp::RefCounted >
 CTp::SharedPtr< Tp::SimpleStreamTubeHandler >
 CTp::SimplePresence
 CTp::SimpleStatusSpec
 CTp::SocketAddressIP
 CTp::SocketAddressIPv4
 CTp::SocketAddressIPv6
 CTp::SocketNetmaskIPv4
 CTp::SocketNetmaskIPv6
 CTp::StatusSpec
 CTp::StreamCredentials
 CTp::StreamTubeClient::TcpSourceAddressGeneratorThe StreamTubeClient::TcpSourceAddressGenerator abstract interface allows using socket source address/port based access control for connecting to tubes accepted as TCP sockets
 CTp::TLSCertificateRejection
 CTp::TubeInfo
 CTp::VideoResolution
 CTp::WeakPtr< T >The WeakPtr class holds a weak reference to an object managed by SharedPtr
 CTp::WeakPtr< Tp::CallChannel >
 CTp::WeakPtr< Tp::CallContent >
 CTp::WeakPtr< Tp::Connection >
 CTp::WeakPtr< Tp::ContactManager >
 CTp::WeakPtr< Tp::StreamedMediaChannel >
 CTp::WeakPtr< Tp::TextChannel >


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01356.html0000644000175000017500000001466012727270137021007 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceCellularAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceCellularAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
IMSI() const Tp::Service::ConnectionInterfaceCellularAdaptor
IMSIChanged(const QString &IMSI)Tp::Service::ConnectionInterfaceCellularAdaptorsignal
MessageNationalCharacterSet() const Tp::Service::ConnectionInterfaceCellularAdaptor
MessageReducedCharacterSet() const Tp::Service::ConnectionInterfaceCellularAdaptor
MessageServiceCentre() const Tp::Service::ConnectionInterfaceCellularAdaptor
MessageValidityPeriod() const Tp::Service::ConnectionInterfaceCellularAdaptor
OverrideMessageServiceCentre() const Tp::Service::ConnectionInterfaceCellularAdaptor
SetMessageNationalCharacterSet(const QString &newValue)Tp::Service::ConnectionInterfaceCellularAdaptor
SetMessageReducedCharacterSet(const bool &newValue)Tp::Service::ConnectionInterfaceCellularAdaptor
SetMessageServiceCentre(const QString &newValue)Tp::Service::ConnectionInterfaceCellularAdaptor
SetMessageValidityPeriod(const uint &newValue)Tp::Service::ConnectionInterfaceCellularAdaptor
SetOverrideMessageServiceCentre(const bool &newValue)Tp::Service::ConnectionInterfaceCellularAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01100.html0000644000175000017500000000567612727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ObjectImmutablePropertiesMap Member List

This is the complete list of members for Tp::ObjectImmutablePropertiesMap, including all inherited members.

ObjectImmutablePropertiesMap()Tp::ObjectImmutablePropertiesMapinline
ObjectImmutablePropertiesMap(const QMap< QDBusObjectPath, QVariantMap > &a)Tp::ObjectImmutablePropertiesMapinline
operator=(const QMap< QDBusObjectPath, QVariantMap > &a)Tp::ObjectImmutablePropertiesMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00955.html0000644000175000017500000002001512727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseProtocolAvatarsInterface Member List

This is the complete list of members for Tp::BaseProtocolAvatarsInterface, including all inherited members.

AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
AbstractProtocolInterface(const QString &interfaceName)Tp::AbstractProtocolInterface
avatarDetails() const Tp::BaseProtocolAvatarsInterface
BaseProtocolAvatarsInterface()Tp::BaseProtocolAvatarsInterfaceprotected
create()Tp::BaseProtocolAvatarsInterfaceinlinestatic
create()Tp::BaseProtocolAvatarsInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const Tp::BaseProtocolAvatarsInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setAvatarDetails(const AvatarSpec &spec)Tp::BaseProtocolAvatarsInterface
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~AbstractProtocolInterface()Tp::AbstractProtocolInterfacevirtual
~BaseProtocolAvatarsInterface()Tp::BaseProtocolAvatarsInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00682_source.html0000644000175000017500000003614212727270137022367 0ustar00kaffeinekaffeine00000000000000 file-transfer-channel-creation-properties.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
file-transfer-channel-creation-properties.h
1 
23 #ifndef _TelepathyQt_file_transfer_channel_creation_properties_h_HEADER_GUARD_
24 #define _TelepathyQt_file_transfer_channel_creation_properties_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/Global>
32 
33 #include <QDateTime>
34 #include <QMetaType>
35 #include <QSharedDataPointer>
36 #include <QString>
37 #include <QVariantMap>
38 
39 namespace Tp
40 {
41 
43 {
44 public:
46  FileTransferChannelCreationProperties(const QString &suggestedFileName,
47  const QString &contentType, qulonglong size);
48  FileTransferChannelCreationProperties(const QString &path,
49  const QString &contentType);
53 
54  bool isValid() const { return mPriv.constData() != 0; }
55 
58  bool operator==(const FileTransferChannelCreationProperties &other) const;
59 
61  FileHashType contentHashType, const QString &contentHash);
63  const QString &description);
64  FileTransferChannelCreationProperties &setLastModificationTime(
65  const QDateTime &lastModificationTime);
66  FileTransferChannelCreationProperties &setUri(const QString &uri);
67 
68  /* mandatory parameters */
69  QString suggestedFileName() const;
70  QString contentType() const;
71  qulonglong size() const;
72 
73  /* optional parameters */
74  bool hasContentHash() const;
75  FileHashType contentHashType() const;
76  QString contentHash() const;
77 
78  bool hasDescription() const;
79  QString description() const;
80 
81  bool hasLastModificationTime() const;
82  QDateTime lastModificationTime() const;
83 
84  bool hasUri() const;
85  QString uri() const;
86 
87  QVariantMap createRequest() const;
88  QVariantMap createRequest(const QString &contactIdentifier) const;
89  QVariantMap createRequest(uint handle) const;
90 
91 private:
92  struct Private;
93  friend struct Private;
94  QSharedDataPointer<Private> mPriv;
95 };
96 
97 } // Tp
98 
100 
101 #endif
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
The FileTransferChannelCreationProperties class represents the properties of a file transfer channel ...
Definition: file-transfer-channel-creation-properties.h:42
FileHashType
Definition: build/TelepathyQt/_gen/constants.h:2678
bool isValid() const
Definition: file-transfer-channel-creation-properties.h:54
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00454.html0000644000175000017500000005223012727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::ProtocolParameter Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ProtocolParameter Class Reference

The ProtocolParameter class represents a Telepathy protocol parameter. More...

#include <TelepathyQt/ProtocolParameter>

Public Member Functions

 ProtocolParameter ()
 
 ProtocolParameter (const ParamSpec &spec)
 
 ProtocolParameter (const QString &name, const QDBusSignature &dbusSignature, ConnMgrParamFlags flags, QVariant defaultValue=QVariant())
 
 ProtocolParameter (const QString &name, const QString &dbusSignature, ConnMgrParamFlags flags, QVariant defaultValue=QVariant())
 
 ProtocolParameter (const ProtocolParameter &other)
 
 ~ProtocolParameter ()
 
bool isValid () const
 
ProtocolParameteroperator= (const ProtocolParameter &other)
 
bool operator== (const ProtocolParameter &other) const
 
bool operator== (const QString &name) const
 
bool operator< (const ProtocolParameter &other) const
 
QString name () const
 
QDBusSignature dbusSignature () const
 
QVariant::Type type () const
 
QVariant defaultValue () const
 
bool isRequired () const
 
bool isSecret () const
 
bool isRequiredForRegistration () const
 
ParamSpec bareParameter () const
 

Detailed Description

The ProtocolParameter class represents a Telepathy protocol parameter.

Constructor & Destructor Documentation

Tp::ProtocolParameter::ProtocolParameter ( )
Tp::ProtocolParameter::ProtocolParameter ( const ParamSpec spec)
Tp::ProtocolParameter::ProtocolParameter ( const QString &  name,
const QDBusSignature &  dbusSignature,
ConnMgrParamFlags  flags,
QVariant  defaultValue = QVariant() 
)
Tp::ProtocolParameter::ProtocolParameter ( const QString &  name,
const QString &  dbusSignature,
ConnMgrParamFlags  flags,
QVariant  defaultValue = QVariant() 
)
Tp::ProtocolParameter::ProtocolParameter ( const ProtocolParameter other)
Tp::ProtocolParameter::~ProtocolParameter ( )

Member Function Documentation

bool Tp::ProtocolParameter::isValid ( ) const
inline
ProtocolParameter & Tp::ProtocolParameter::operator= ( const ProtocolParameter other)
bool Tp::ProtocolParameter::operator== ( const ProtocolParameter other) const
bool Tp::ProtocolParameter::operator== ( const QString &  name) const
bool Tp::ProtocolParameter::operator< ( const ProtocolParameter other) const
QString Tp::ProtocolParameter::name ( ) const
QDBusSignature Tp::ProtocolParameter::dbusSignature ( ) const
QVariant::Type Tp::ProtocolParameter::type ( ) const
QVariant Tp::ProtocolParameter::defaultValue ( ) const
bool Tp::ProtocolParameter::isRequired ( ) const
bool Tp::ProtocolParameter::isSecret ( ) const
bool Tp::ProtocolParameter::isRequiredForRegistration ( ) const
ParamSpec Tp::ProtocolParameter::bareParameter ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00513.html0000644000175000017500000002201712727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeClient::TcpSourceAddressGenerator Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::StreamTubeClient::TcpSourceAddressGenerator Class Referenceabstract

The StreamTubeClient::TcpSourceAddressGenerator abstract interface allows using socket source address/port based access control for connecting to tubes accepted as TCP sockets. More...

#include <TelepathyQt/StreamTubeClient>

Public Member Functions

virtual QPair< QHostAddress, quint16 > nextSourceAddress (const AccountPtr &account, const IncomingStreamTubeChannelPtr &tube)=0
 

Protected Member Functions

virtual ~TcpSourceAddressGenerator ()
 

Detailed Description

The StreamTubeClient::TcpSourceAddressGenerator abstract interface allows using socket source address/port based access control for connecting to tubes accepted as TCP sockets.

By default, every application on the local computer is allowed to connect to the socket created by the protocol backend as the local endpoint of the tube. This is not always desirable, as that includes even other users.

Note that since every TCP connection must have an unique source address, only one simultaneous connection can be made through each tube for which this type of access control has been used.

Constructor & Destructor Documentation

Tp::StreamTubeClient::TcpSourceAddressGenerator::~TcpSourceAddressGenerator ( )
inlineprotectedvirtual

Class destructor. Protected, because StreamTubeClient never deletes a TcpSourceAddressGenerator passed to it.

Member Function Documentation

QPair< QHostAddress, quint16 > Tp::StreamTubeClient::TcpSourceAddressGenerator::nextSourceAddress ( const AccountPtr &  account,
const IncomingStreamTubeChannelPtr &  tube 
)
pure virtual

Return the source address from which connections will be allowed to the given tube once it has been accepted.

Returning the pair (QHostAddress::Any, 0) (or alternatively (QHostAddress::AnyIPv4, 0) in Qt5) makes the protocol backend allow connections from any address on the local computer. This can be used on a tube-by-tube basis if for some tubes its known that multiple connections need to be made, so a single source address doesn't suffice.

The account and tube parameters can be inspected to make the decision; typically by looking at the tube's service type, parameters and/or initiator contact.

The general pattern for implementing this method is:

  1. Determine whether tube needs to allow multiple connections, and if so, skip source address access control completely
  2. Otherwise, create a socket and bind it to a free address
  3. Return this socket's address
  4. Keep the socket bound so that no other process can (accidentally or maliciously) take the address until it's used to connect to the tube when StreamTubeClient::tubeAcceptedAsTcp() is emitted for the tube
Parameters
accountThe account from which the tube originates.
tubeThe tube channel which is going to be accepted by the StreamTubeClient.
Returns
A pair containing the host address and port allowed to connect.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00268.html0000644000175000017500000014625212727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactListAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | List of all members
Tp::Service::ConnectionInterfaceContactListAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::ContactAttributesMap GetContactListAttributes (const QStringList &interfaces, bool hold, const QDBusMessage &dbusMessage)
 
void RequestSubscription (const Tp::UIntList &contacts, const QString &message, const QDBusMessage &dbusMessage)
 
void AuthorizePublication (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
void RemoveContacts (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
void Unsubscribe (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
void Unpublish (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
void Download (const QDBusMessage &dbusMessage)
 

Signals

void ContactListStateChanged (uint contactListState)
 
void ContactsChangedWithID (const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)
 
void ContactsChanged (const Tp::ContactSubscriptionMap &changes, const Tp::UIntList &removals)
 

Public Member Functions

uint ContactListState () const
 
bool ContactListPersists () const
 
bool CanChangeContactList () const
 
bool RequestUsesMessage () const
 
bool DownloadAtConnection () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ConnectionInterfaceContactListAdaptor::ContactListState ( ) const

Return the value of the exported D-Bus object property ContactListState of type uint.

Adaptees should export this property as a Qt property named 'contactListState' with type uint.

The progress made in retrieving the contact list. Change notification is via ContactListStateChanged.

Returns
The value of exported property ContactListState.
bool Tp::Service::ConnectionInterfaceContactListAdaptor::ContactListPersists ( ) const

Return the value of the exported D-Bus object property ContactListPersists of type bool.

Adaptees should export this property as a Qt property named 'contactListPersists' with type bool.

If true, presence subscriptions (in both directions) on this connection are stored by the server or other infrastructure.

XMPP, MSN, ICQ, etc. all behave like this.

If false, presence subscriptions on this connection are not stored.

In SIMPLE (SIP), clients are expected to keep a record of subscriptions, as described below. In link-local XMPP, subscriptions are implicit (everyone on the local network receives presence from everyone else) so nothing is ever stored.

If CanChangeContactList is true, Telepathy clients (e.g. user interfaces or address books) MAY keep a record of permission to publish and requests to subscribe locally, and attempt to restore it for each Connection. If ContactListPersists is false, clients MAY do this for all contacts; if ContactListPersists is true, clients SHOULD NOT change the state of contacts that were not changed locally.

In SIMPLE (SIP), ContactListPersists is false, but CanChangeContactList is true. Presence will not be received unless clients renew any subscriptions they have for each connection, in the way described. There is no server-side storage, so clients have no alternative but to maintain independent contact lists.

In protocols like XMPP and MSN, it may be useful for clients to queue up subscription requests or removals made while offline and process them next time the connection is online. However, clients should only replay the changes, rather than resetting the contact list to match a stored copy, to avoid overwriting changes that were made on the server.

Clients that replay requests like this SHOULD do so by calling AuthorizePublication to pre-approve publication of presence to the appropriate contacts, followed by RequestSubscription to request the appropriate contacts' presences.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
The value of exported property ContactListPersists.
bool Tp::Service::ConnectionInterfaceContactListAdaptor::CanChangeContactList ( ) const

Return the value of the exported D-Bus object property CanChangeContactList of type bool.

Adaptees should export this property as a Qt property named 'canChangeContactList' with type bool.

If true, presence subscription and publication can be changed using the RequestSubscription() , AuthorizePublication() and RemoveContacts() methods.

If false, all of those methods will always fail; they SHOULD raise the error org.freedesktop.Telepathy.Error.NotImplemented.

In XEP-0174 "Serverless Messaging" (link-local XMPP), presence is implicitly published to everyone in the local subnet, so the user cannot control their presence publication.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
The value of exported property CanChangeContactList.
bool Tp::Service::ConnectionInterfaceContactListAdaptor::RequestUsesMessage ( ) const

Return the value of the exported D-Bus object property RequestUsesMessage of type bool.

Adaptees should export this property as a Qt property named 'requestUsesMessage' with type bool.

If true, the Message parameter to RequestSubscription() is likely to be significant, and user interfaces SHOULD prompt the user for a message to send with the request; a message such as "I would like to add you to my contact list", translated into the local user's language, might make a suitable default.

This matches user expectations in XMPP and ICQ, for instance.

If false, the parameter is ignored; user interfaces SHOULD avoid prompting the user, and SHOULD pass an empty string to RequestSubscription.

FIXME: is there any such protocol?

Returns
The value of exported property RequestUsesMessage.
bool Tp::Service::ConnectionInterfaceContactListAdaptor::DownloadAtConnection ( ) const

Return the value of the exported D-Bus object property DownloadAtConnection of type bool.

Adaptees should export this property as a Qt property named 'downloadAtConnection' with type bool.

If true, the contact list is automatically downloaded at connection. If false, the contact list is only downloaded when requested explicitely with Download() .

Downloading the contact list uses bandwidth and is not always necessary or desired. For example, a client could cache the contact list from previous connections and accept less regular updates, it could get the contact list from an out-of-band protocol-specific way, or it could not need the contact list at all.

Connection managers MUST default to true.

If a connection manager starts supporting this property but defaults to false, it would break all existing clients that don't call Download() .

Returns
The value of exported property DownloadAtConnection.
Tp::ContactAttributesMap Tp::Service::ConnectionInterfaceContactListAdaptor::GetContactListAttributes ( const QStringList &  interfaces,
bool  hold,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getContactListAttributes(const QStringList& interfaces, bool hold, const Tp::Service::ConnectionInterfaceContactListAdaptor::GetContactListAttributesContextPtr &context);

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

Return some contact attributes for a list of contacts associated with the user. This list MUST include at least:

  • all contacts whose subscribe attribute is not No
  • all contacts whose publish attribute is not No

but MAY contain other contacts.

For instance, on XMPP, all contacts on the roster would appear here even if they have subscription="none", unless there's reason to believe the user does not want to see them (such as having been blocked).

This list does not need to contain every visible contact: for instance, contacts seen in XMPP or IRC chatrooms SHOULD NOT appear here. Blocked contacts SHOULD NOT appear here, unless they still have a non-No subscribe or publish attribute for some reason.

It's reasonable to assume that blocked contacts should not be visible to the user unless they specifically go looking for them, at least in protocols like XMPP where blocking a contact suppresses presence.

Parameters
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. Equivalent to the corresponding argument to \\\ ConnectionInterfaceContactsInterface::GetContactAttributes() \\htmlonly , except that if this list does not contain the ContactList interface itself, it is treated as though that interface was also requested.

hold

If true, all handles that appear as keys in the result have been held on behalf of the calling process, as if by a call to \\\ ConnectionInterface::HoldHandles() \\htmlonly . (If \\endhtmlonly \\link ConnectionInterface::requestPropertyHasImmortalHandles() ConnectionInterface::HasImmortalHandles \\endlink \\htmlonly is true, which SHOULD be the case in all new connection managers, this has no effect.)

Returns

A dictionary mapping the contact handles to contact attributes, equivalent to the result of \\\ ConnectionInterfaceContactsInterface::GetContactAttributes() \\htmlonly .

void Tp::Service::ConnectionInterfaceContactListAdaptor::RequestSubscription ( const Tp::UIntList contacts,
const QString &  message,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestSubscription(const Tp::UIntList& contacts, const QString& message, const Tp::Service::ConnectionInterfaceContactListAdaptor::RequestSubscriptionContextPtr &context);

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

Request that the given contacts allow the local user to subscribe to their presence, i.e. that their subscribe attribute becomes Yes.

Connection managers SHOULD NOT attempt to enforce a mutual-subscription policy (i.e. when this method is called, they should not automatically allow the contacts to see the local user's presence). User interfaces that require mutual subscription MAY call AuthorizePublication() at the same time as this method.

Whether to enforce mutual subscription is a matter of policy, so it is left to the user interface and/or the server.

Before calling this method on a connection where ConnectionInterfaceAliasingInterface::GetAliasFlags() returns the User_Set flag, user interfaces SHOULD obtain, from the user, an alias to identify the contact in future, and store it using ConnectionInterfaceAliasingInterface::SetAliases() .

The user MAY be prompted using the contact's current self-assigned nickname, or something derived from the contact's (presumably self-assigned) identifier, as a default, but these names chosen by the contact SHOULD NOT be used without user approval.

This is a generalization of XEP-0165 "Best Practices to Discourage JID Mimicking") to protocols other than XMPP. A reasonable user interface for this, as used in many XMPP clients, is to have a text entry for the alias adjacent to the text entry for the identifier to add.

For contacts with subscribe=Yes, this method has no effect. It MUST return successfully if all contacts are in this state.

For contacts with subscribe=Ask, this method SHOULD send a new request, with the given message, if allowed by the underlying protocol.

For contacts with subscribe=No or subscribe=Rejected, this method SHOULD request that the contact allows the local user to subscribe to their presence; in general, this will change their publish attribute to Ask (although it could change directly to Yes in some situations).

Any state changes that immediately result from this request MUST be signalled via ContactsChanged() before this method returns.

This makes it easy for user interfaces to see what practical effect this method had.

If the remote contact accepts the request, their subscribe attribute will later change from Ask to Yes.

If the remote contact explicitly rejects the request (in protocols that allow this), their subscribe attribute will later change from Ask to Rejected.

If the subscription request is cancelled by the local user, the contact's subscribe attribute will change from Ask to No.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

Parameters
contacts

One or more contacts to whom requests are to be sent.

message

An optional plain-text message from the user, to send to those contacts with the subscription request. The \\\ \\link requestPropertyRequestUsesMessage() RequestUsesMessage \\endlink \\htmlonly property indicates whether this message will be used or ignored.

Clients SHOULD NOT send a non-empty message without first giving the user an opportunity to edit it.

These messages are typically presented to the remote contact as if the user had typed them, so as a minimum, the user should be allowed to see what the UI will be saying on their behalf.

Connections where this message is not useful MUST still allow it to be non-empty.

void Tp::Service::ConnectionInterfaceContactListAdaptor::AuthorizePublication ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void authorizePublication(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactListAdaptor::AuthorizePublicationContextPtr &context);

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

For each of the given contacts, request that the local user's presence is sent to that contact, i.e. that their publish attribute becomes Yes.

Connection managers SHOULD NOT attempt to enforce a mutual-subscription policy (i.e. when this method is called, they should not automatically request that the contacts allow the user to subscribe to their presence). User interfaces that require mutual subscription MAY call RequestSubscription() at the same time as this method.

Whether to enforce mutual subscription is a matter of policy, so it is left to the user interface and/or the server.

For contacts with publish=Yes, this method has no effect; it MUST return successfully if all contacts given have this state.

For contacts with publish=Ask, this method accepts the contact's request to see the local user's presence, changing their publish attribute from Ask to Yes.

For contacts with publish=No, if the protocol allows it, this method allows the contacts to see the local user's presence even though they have not requested it, changing their publish attribute from No to Yes. Otherwise, it merely records the fact that presence publication to those contacts is allowed; if any of those contacts ask to receive the local user's presence later in the lifetime of the connection, the connection SHOULD immediately allow them to do so, changing their publish attribute directly from No to Yes.

This makes it easy to implement the common UI policy that if the user attempts to subscribe to a contact's presence, requests for reciprocal subscription are automatically approved.

Any state changes that immediately result from this request MUST be signalled via ContactsChanged() before this method returns.

This makes it easy for user interfaces to see what practical effect this method had.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

Parameters
contacts

One or more contacts to authorize.

void Tp::Service::ConnectionInterfaceContactListAdaptor::RemoveContacts ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void removeContacts(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactListAdaptor::RemoveContactsContextPtr &context);

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

Remove the given contacts from the contact list entirely. It is protocol-dependent whether this works, and under which circumstances.

If possible, this method SHOULD set the contacts' subscribe and publish attributes to No, remove any stored aliases for those contacts, and remove the contacts from the result of GetContactListAttributes() .

This method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts (for instance, if there is an outstanding request to subscribe to the contact's presence, and it's not possible to cancel such requests). However, all signals that immediately result from this method call MUST be emitted before it returns, so that clients can interpret the result.

User interfaces removing a contact from the contact list are unlikely to want spurious failure notifications resulting from limitations of a particular protocol. However, emitting the signals first means that if a client does want to check exactly what happened, it can wait for the method to return (while applying change-notification signals to its local cache of the contact list's state), then consult its local cache of the contact list's state to see whether the contact is still there.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

Parameters
contacts

One or more contacts to remove.

void Tp::Service::ConnectionInterfaceContactListAdaptor::Unsubscribe ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void unsubscribe(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactListAdaptor::UnsubscribeContextPtr &context);

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

Attempt to set the given contacts' subscribe attribute to No, i.e. stop receiving their presence.

For contacts with subscribe=Ask, this attempts to cancel an earlier request to subscribe to the contact's presence; for contacts with subscribe=Yes, this attempts to unsubscribe from the contact's presence.

As with RemoveContacts() , this method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts; however, all signals that immediately result from this method call MUST be emitted before it returns.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

Parameters
contacts

One or more contacts to remove.

void Tp::Service::ConnectionInterfaceContactListAdaptor::Unpublish ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void unpublish(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceContactListAdaptor::UnpublishContextPtr &context);

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

Attempt to set the given contacts' publish attribute to No, i.e. stop sending presence to them.

For contacts with publish=Ask, this method explicitly rejects the contact's request to subscribe to the user's presence; for contacts with publish=Yes, this method attempts to prevent the user's presence from being received by the contact.

As with RemoveContacts() , this method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts; however, all signals that immediately result from this method call MUST be emitted before it returns.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

Parameters
contacts

One or more contacts to remove.

void Tp::Service::ConnectionInterfaceContactListAdaptor::Download ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void download(const Tp::Service::ConnectionInterfaceContactListAdaptor::DownloadContextPtr &context);

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

Download the contact list from the server. If DownloadAtConnection is true, Download does nothing.

void Tp::Service::ConnectionInterfaceContactListAdaptor::ContactListStateChanged ( uint  contactListState)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contactListStateChanged(uint contactListState);

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

Parameters
contactListState
The new value of ContactListState.
void Tp::Service::ConnectionInterfaceContactListAdaptor::ContactsChangedWithID ( const Tp::ContactSubscriptionMap changes,
const Tp::HandleIdentifierMap identifiers,
const Tp::HandleIdentifierMap removals 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contactsChangedWithID(const Tp::ContactSubscriptionMap& changes, const Tp::HandleIdentifierMap& identifiers, const Tp::HandleIdentifierMap& removals);

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

Parameters
changes
The new subscribe, publish and publish-request attributes of all 
the contacts that have been added, and all the contacts for which 
those attributes have changed.
identifiers The identifiers of the contacts in the Changes map.
removals The contacts that have been removed from the list that would be returned by \\\ GetContactListAttributes() \\htmlonly . This also implies that they have subscribe = No and publish = No; contacts MUST NOT be listed both here and in Changes.
void Tp::Service::ConnectionInterfaceContactListAdaptor::ContactsChanged ( const Tp::ContactSubscriptionMap changes,
const Tp::UIntList removals 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contactsChanged(const Tp::ContactSubscriptionMap& changes, const Tp::UIntList& removals);

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

Parameters
changes
The same as the corresponding argument to ContactsChangedWithID.
removals
The same as the corresponding argument to ContactsChangedWithID, 
except that it only includes handles and not identifiers.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01229.html0000644000175000017500000002615212727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface Member List

This is the complete list of members for Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceexplicit
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyDLRRMaxSize() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyDuplicateRLEMaxSize() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyEnableMetrics() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyLossRLEMaxSize() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyPacketReceiptTimesMaxSize() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyRTTMode() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
requestPropertyStatisticsFlags() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00012.html0000644000175000017500000001527612727270137020777 0ustar00kaffeinekaffeine00000000000000 contact-messenger/sender.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
contact-messenger/sender.cpp
#include "sender.h"
#include "_gen/sender.moc.hpp"
#include <TelepathyQt/Account>
#include <TelepathyQt/Debug>
#include <TelepathyQt/Constants>
#include <TelepathyQt/ContactMessenger>
#include <TelepathyQt/PendingSendMessage>
#include <TelepathyQt/Types>
#include <QCoreApplication>
Sender::Sender(const QString &accountPath,
const QString &contactIdentifier, const QString &message)
{
accountPath);
messenger = Tp::ContactMessenger::create(acc, contactIdentifier);
connect(messenger->sendMessage(message),
SIGNAL(finished(Tp::PendingOperation*)),
SLOT(onSendMessageFinished(Tp::PendingOperation*)));
}
Sender::~Sender()
{
}
void Sender::onSendMessageFinished(Tp::PendingOperation *op)
{
if (op->isError()) {
qDebug() << "Error sending message:" << op->errorName() << "-" << op->errorMessage();
QCoreApplication::exit(1);
return;
}
Tp::PendingSendMessage *psm = qobject_cast<Tp::PendingSendMessage *>(op);
qDebug() << "Message sent, token is" << psm->sentMessageToken();
QCoreApplication::exit(0);
}
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
if (argc < 4) {
qDebug() << "Usage: contact-messenger account_path contact_id message";
return -1;
}
Sender *sender = new Sender(QLatin1String(argv[1]), QLatin1String(argv[2]),
QLatin1String(argv[3]));
int ret = app.exec();
delete sender;
return ret;
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00675_source.html0000644000175000017500000002632512727270137022373 0ustar00kaffeinekaffeine00000000000000 debug-receiver.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
debug-receiver.h
1 
21 #ifndef _TelepathyQt_debug_receiver_h_HEADER_GUARD_
22 #define _TelepathyQt_debug_receiver_h_HEADER_GUARD_
23 
24 #ifndef IN_TP_QT_HEADER
25 #error IN_TP_QT_HEADER
26 #endif
27 
28 #include <TelepathyQt/_gen/cli-debug-receiver.h>
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/Types>
32 #include <TelepathyQt/DBusProxy>
33 
34 namespace Tp
35 {
36 
37 class PendingDebugMessageList;
38 
39 class TP_QT_EXPORT DebugReceiver : public StatefulDBusProxy
40 {
41  Q_OBJECT
42  Q_DISABLE_COPY(DebugReceiver)
43 
44 public:
45  static const Feature FeatureCore;
46 
47  static DebugReceiverPtr create(const QString &busName,
48  const QDBusConnection &bus = QDBusConnection::sessionBus());
49  virtual ~DebugReceiver();
50 
51  PendingDebugMessageList *fetchMessages();
52  PendingOperation *setMonitoringEnabled(bool enabled);
53 
54 Q_SIGNALS:
55  void newDebugMessage(const Tp::DebugMessage & message);
56 
57 protected:
58  DebugReceiver(const QDBusConnection &bus, const QString &busName);
59 
60 private Q_SLOTS:
61  TP_QT_NO_EXPORT void onRequestAllPropertiesFinished(Tp::PendingOperation *op);
62  TP_QT_NO_EXPORT void onNewDebugMessage(double time, const QString &domain,
63  uint level, const QString &message);
64 
65 private:
66  struct Private;
67  friend struct Private;
68  Private *mPriv;
69 };
70 
71 } // Tp
72 
73 #endif
Definition: build/TelepathyQt/_gen/types.h:1473
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
static const Feature FeatureCore
Definition: debug-receiver.h:45
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful...
Definition: dbus-proxy.h:96
The DebugReceiver class provides a D-Bus proxy for a Telepathy Debug object.
Definition: debug-receiver.h:39
Definition: abstract-adaptor.cpp:31
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
Definition: pending-debug-message-list.h:34


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_f.html0000644000175000017500000005602112727270137022502 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- f -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_u.html0000644000175000017500000000443412727270137023555 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- u -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00327.html0000644000175000017500000005427312727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Connection::ErrorDetails Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Connection::ErrorDetails Class Reference

The Connection::ErrorDetails class represents the details of a connection error. More...

#include <TelepathyQt/Connection>

Public Member Functions

 ErrorDetails ()
 
 ErrorDetails (const QVariantMap &details)
 
 ErrorDetails (const ErrorDetails &other)
 
 ~ErrorDetails ()
 
ErrorDetailsoperator= (const ErrorDetails &other)
 
bool isValid () const
 
bool hasDebugMessage () const
 
QString debugMessage () const
 
bool hasServerMessage () const
 
QString serverMessage () const
 
bool hasUserRequested () const
 
bool userRequested () const
 
bool hasExpectedHostname () const
 
QString expectedHostname () const
 
bool hasCertificateHostname () const
 
QString certificateHostname () const
 
QVariantMap allDetails () const
 

Detailed Description

The Connection::ErrorDetails class represents the details of a connection error.

It contains detailed information about the reason for the connection going invalidated().

Some services may provide additional error information in the ConnectionError D-Bus signal, when a Connection is disconnected / has become unusable. If the service didn't provide any, or has not been invalidated yet, the instance will be invalid, as returned by isValid().

The information provided by invalidationReason() and this class should always be used in error handling in preference to statusReason(). The status reason can be used as a fallback, however, if the client doesn't understand what a particular value returned by invalidationReason() means, as it may be domain-specific with some services.

Connection::errorDetails() can be used to return the instance containing the details for invalidating that connection after invalidated() has been emitted.

Constructor & Destructor Documentation

Tp::Connection::ErrorDetails::ErrorDetails ( )

Constructs a new invalid ErrorDetails instance.

Tp::Connection::ErrorDetails::ErrorDetails ( const QVariantMap &  details)

Construct a error details instance with the given details. The instance will indicate that it is valid.

Tp::Connection::ErrorDetails::ErrorDetails ( const ErrorDetails other)

Copy constructor.

Tp::Connection::ErrorDetails::~ErrorDetails ( )

Class destructor.

Member Function Documentation

Connection::ErrorDetails & Tp::Connection::ErrorDetails::operator= ( const ErrorDetails other)

Assigns all information (validity, details) from other to this.

bool Tp::Connection::ErrorDetails::isValid ( ) const
inline

Return whether or not the details are valid (have actually been received from the service).

Returns
true if valid, false otherwise.
bool Tp::Connection::ErrorDetails::hasDebugMessage ( ) const
inline

Return whether or not the details specify a debug message.

If present, the debug message will likely be the same string as the one returned by invalidationMessage().

The debug message is purely informational, offered for display for bug reporting purposes, and should not be attempted to be parsed.

Returns
true if debug message is present, false otherwise.
See also
debugMessage()
QString Tp::Connection::ErrorDetails::debugMessage ( ) const
inline

Return the debug message specified by the details, if any.

If present, the debug message will likely be the same string as the one returned by invalidationMessage().

The debug message is purely informational, offered for display for bug reporting purposes, and should not be attempted to be parsed.

Returns
The debug message, or an empty string if there is none.
See also
hasDebugMessage()
bool Tp::Connection::ErrorDetails::hasServerMessage ( ) const
inline
QString Tp::Connection::ErrorDetails::serverMessage ( ) const
inline
bool Tp::Connection::ErrorDetails::hasUserRequested ( ) const
inline
bool Tp::Connection::ErrorDetails::userRequested ( ) const
inline
bool Tp::Connection::ErrorDetails::hasExpectedHostname ( ) const
inline
QString Tp::Connection::ErrorDetails::expectedHostname ( ) const
inline
bool Tp::Connection::ErrorDetails::hasCertificateHostname ( ) const
inline
QString Tp::Connection::ErrorDetails::certificateHostname ( ) const
inline
QVariantMap Tp::Connection::ErrorDetails::allDetails ( ) const

Return a map containing all details given in the low-level ConnectionError signal.

This is useful for accessing domain-specific additional details.

Returns
The details of the connection error as QVariantMap.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01298.html0000644000175000017500000002177312727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceServicePointInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceServicePointInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceServicePointInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceServicePointInterface
ConnectionInterfaceServicePointInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceServicePointInterface
ConnectionInterfaceServicePointInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceServicePointInterface
ConnectionInterfaceServicePointInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceServicePointInterfaceexplicit
ConnectionInterfaceServicePointInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceServicePointInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceServicePointInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceServicePointInterfaceinline
requestPropertyKnownServicePoints() const Tp::Client::ConnectionInterfaceServicePointInterfaceinline
ServicePointsChanged(const Tp::ServicePointInfoList &servicePoints)Tp::Client::ConnectionInterfaceServicePointInterfacesignal
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionInterfaceServicePointInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00081.html0000644000175000017500000006605012727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelRoomInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelRoomInterface Class Reference

Base class for implementations of Channel.Interface.Room2. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Member Functions

virtual ~BaseChannelRoomInterface ()
 
QVariantMap immutableProperties () const
 
QString roomName () const
 
QString server () const
 
QString creator () const
 
uint creatorHandle () const
 
QDateTime creationTimestamp () const
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelRoomInterfacePtr create (const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
 
template<typename BaseChannelRoomInterfaceSubclass >
static SharedPtr< BaseChannelRoomInterfaceSubclass > create (const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
 

Protected Member Functions

 BaseChannelRoomInterface (const QString &roomName, const QString &server, const QString &creator, uint creatorHandle, const QDateTime &creationTimestamp)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Room2.

Constructor & Destructor Documentation

Tp::BaseChannelRoomInterface::~BaseChannelRoomInterface ( )
virtual

Class destructor.

Tp::BaseChannelRoomInterface::BaseChannelRoomInterface ( const QString &  roomName,
const QString &  server,
const QString &  creator,
uint  creatorHandle,
const QDateTime &  creationTimestamp 
)
protected

Class constructor.

Member Function Documentation

static BaseChannelRoomInterfacePtr Tp::BaseChannelRoomInterface::create ( const QString &  roomName,
const QString &  server,
const QString &  creator,
uint  creatorHandle,
const QDateTime &  creationTimestamp 
)
inlinestatic
template<typename BaseChannelRoomInterfaceSubclass >
static SharedPtr<BaseChannelRoomInterfaceSubclass> Tp::BaseChannelRoomInterface::create ( const QString &  roomName,
const QString &  server,
const QString &  creator,
uint  creatorHandle,
const QDateTime &  creationTimestamp 
)
inlinestatic
QVariantMap Tp::BaseChannelRoomInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

QString Tp::BaseChannelRoomInterface::roomName ( ) const
QString Tp::BaseChannelRoomInterface::server ( ) const
QString Tp::BaseChannelRoomInterface::creator ( ) const
uint Tp::BaseChannelRoomInterface::creatorHandle ( ) const
QDateTime Tp::BaseChannelRoomInterface::creationTimestamp ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01042.html0000644000175000017500000000542112727270137020772 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FieldSpec Member List

This is the complete list of members for Tp::FieldSpec, including all inherited members.

flagsTp::FieldSpec
maxTp::FieldSpec
nameTp::FieldSpec
parametersTp::FieldSpec


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00671_source.html0000644000175000017500000003324512727270137022366 0ustar00kaffeinekaffeine00000000000000 dbus-tube-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
dbus-tube-channel.h
1 
22 #ifndef _TelepathyQt_dbus_tube_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_dbus_tube_channel_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28 
29 #include <TelepathyQt/TubeChannel>
30 
31 namespace Tp
32 {
33 
34 class TP_QT_EXPORT DBusTubeChannel : public TubeChannel
35 {
36  Q_OBJECT
37  Q_DISABLE_COPY(DBusTubeChannel)
38 
39 public:
40  static const Feature FeatureCore;
42 
43  static DBusTubeChannelPtr create(const ConnectionPtr &connection,
44  const QString &objectPath, const QVariantMap &immutableProperties);
45 
46  virtual ~DBusTubeChannel();
47 
48  QString serviceName() const;
49 
50  bool supportsRestrictingToCurrentUser() const;
51 
52  QHash<QString, Tp::ContactPtr> contactsForBusNames() const;
53 
54  QString address() const;
55 
56 protected:
57  DBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath,
58  const QVariantMap &immutableProperties);
59 
60 Q_SIGNALS:
61  void busNameAdded(const QString &busName, const Tp::ContactPtr &contact);
62  void busNameRemoved(const QString &busName, const Tp::ContactPtr &contact);
63 
64 private Q_SLOTS:
65  TP_QT_NO_EXPORT void onRequestAllPropertiesFinished(Tp::PendingOperation*);
66  TP_QT_NO_EXPORT void onRequestPropertyDBusNamesFinished(Tp::PendingOperation *op);
67  TP_QT_NO_EXPORT void onDBusNamesChanged(const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed);
68  TP_QT_NO_EXPORT void onContactsRetrieved(const QUuid &uuid, const QList<Tp::ContactPtr> &contacts);
69  TP_QT_NO_EXPORT void onQueueCompleted();
70 
71 private:
72  TP_QT_NO_EXPORT void setAddress(const QString &address);
73 
74  struct Private;
75  friend struct PendingDBusTubeConnection;
76  friend struct Private;
77  Private *mPriv;
78 
79 };
80 
81 } // Tp
82 
83 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:1452
static const Feature FeatureCore
Definition: dbus-tube-channel.h:40
Definition: pending-dbus-tube-connection.h:36
The TubeChannel class is a base class for all tube types.
Definition: tube-channel.h:34
static const Feature FeatureBusNameMonitoring
Definition: dbus-tube-channel.h:41
Definition: build/TelepathyQt/_gen/types.h:107
Definition: abstract-adaptor.cpp:31
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The DBusTubeChannel class represents a Telepathy channel of type DBusTube.
Definition: dbus-tube-channel.h:34


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00897.html0000644000175000017500000001577712727270137021032 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractConnectionInterface Member List

This is the complete list of members for Tp::AbstractConnectionInterface, including all inherited members.

AbstractConnectionInterface(const QString &interfaceName)Tp::AbstractConnectionInterface
AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
createAdaptor()=0Tp::AbstractDBusServiceInterfaceprotectedpure virtual
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const =0Tp::AbstractDBusServiceInterfacepure virtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setBaseConnection(BaseConnection *connection)Tp::AbstractConnectionInterfaceprotectedvirtual
~AbstractConnectionInterface()Tp::AbstractConnectionInterfacevirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00396.html0000644000175000017500000001360212727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::ObjectPathList Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ObjectPathList Struct Reference

#include <TelepathyQt/Types>

Inherits QList< QDBusObjectPath >.

Public Member Functions

 ObjectPathList ()
 
 ObjectPathList (const QList< QDBusObjectPath > &a)
 
ObjectPathListoperator= (const QList< QDBusObjectPath > &a)
 

Detailed Description

Generic list type with QDBusObjectPath elements. Convertible with QList<QDBusObjectPath>, but needed to have a discrete type in the Qt type system.

Constructor & Destructor Documentation

Tp::ObjectPathList::ObjectPathList ( )
inline
Tp::ObjectPathList::ObjectPathList ( const QList< QDBusObjectPath > &  a)
inline

Member Function Documentation

ObjectPathList& Tp::ObjectPathList::operator= ( const QList< QDBusObjectPath > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01357.html0000644000175000017500000001016712727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceClientTypesAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceClientTypesAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
ClientTypesUpdated(uint contact, const QStringList &clientTypes)Tp::Service::ConnectionInterfaceClientTypesAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
GetClientTypes(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceClientTypesAdaptorslot
RequestClientTypes(uint contact, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceClientTypesAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00140.html0000644000175000017500000007062112727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::AbstractClientHandler::Capabilities Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::AbstractClientHandler::Capabilities Class Reference

The AbstractClientHandler::Capabilities class provides a wrapper around the capabilities of a handler. More...

#include <TelepathyQt/AbstractClientHandler>

Public Member Functions

 Capabilities (const QStringList &tokens=QStringList())
 
 Capabilities (const Capabilities &other)
 
 ~Capabilities ()
 
Capabilitiesoperator= (const Capabilities &other)
 
bool hasGTalkP2PNATTraversalToken () const
 
void setGTalkP2PNATTraversalToken ()
 
void unsetGTalkP2PNATTraversalToken ()
 
bool hasICEUDPNATTraversalToken () const
 
void setICEUDPNATTraversalToken ()
 
void unsetICEUDPNATTraversalToken ()
 
bool hasWLM85NATTraversalToken () const
 
void setWLM85NATTraversalToken ()
 
void unsetWLM85NATTraversalToken ()
 
bool hasWLM2009NATTraversalToken () const
 
void setWLM2009NATTraversalToken ()
 
void unsetWLM2009NATTraversalToken ()
 
bool hasAudioCodecToken (const QString &mimeSubType) const
 
void setAudioCodecToken (const QString &mimeSubType)
 
void unsetAudioCodecToken (const QString &mimeSubType)
 
bool hasVideoCodecToken (const QString &mimeSubType) const
 
void setVideoCodecToken (const QString &mimeSubType)
 
void unsetVideoCodecToken (const QString &mimeSubType)
 
bool hasToken (const QString &token) const
 
void setToken (const QString &token)
 
void unsetToken (const QString &token)
 
QStringList allTokens () const
 

Detailed Description

The AbstractClientHandler::Capabilities class provides a wrapper around the capabilities of a handler.

See also
AbstractClientHandler

Constructor & Destructor Documentation

Tp::AbstractClientHandler::Capabilities::Capabilities ( const QStringList &  tokens = QStringList())
Tp::AbstractClientHandler::Capabilities::Capabilities ( const Capabilities other)
Tp::AbstractClientHandler::Capabilities::~Capabilities ( )

Member Function Documentation

AbstractClientHandler::Capabilities & Tp::AbstractClientHandler::Capabilities::operator= ( const Capabilities other)
bool Tp::AbstractClientHandler::Capabilities::hasGTalkP2PNATTraversalToken ( ) const
inline
void Tp::AbstractClientHandler::Capabilities::setGTalkP2PNATTraversalToken ( )
inline
void Tp::AbstractClientHandler::Capabilities::unsetGTalkP2PNATTraversalToken ( )
inline
bool Tp::AbstractClientHandler::Capabilities::hasICEUDPNATTraversalToken ( ) const
inline
void Tp::AbstractClientHandler::Capabilities::setICEUDPNATTraversalToken ( )
inline
void Tp::AbstractClientHandler::Capabilities::unsetICEUDPNATTraversalToken ( )
inline
bool Tp::AbstractClientHandler::Capabilities::hasWLM85NATTraversalToken ( ) const
inline
void Tp::AbstractClientHandler::Capabilities::setWLM85NATTraversalToken ( )
inline
void Tp::AbstractClientHandler::Capabilities::unsetWLM85NATTraversalToken ( )
inline
bool Tp::AbstractClientHandler::Capabilities::hasWLM2009NATTraversalToken ( ) const
inline
void Tp::AbstractClientHandler::Capabilities::setWLM2009NATTraversalToken ( )
inline
void Tp::AbstractClientHandler::Capabilities::unsetWLM2009NATTraversalToken ( )
inline
bool Tp::AbstractClientHandler::Capabilities::hasAudioCodecToken ( const QString &  mimeSubType) const
inline
void Tp::AbstractClientHandler::Capabilities::setAudioCodecToken ( const QString &  mimeSubType)
inline
void Tp::AbstractClientHandler::Capabilities::unsetAudioCodecToken ( const QString &  mimeSubType)
inline
bool Tp::AbstractClientHandler::Capabilities::hasVideoCodecToken ( const QString &  mimeSubType) const
inline
void Tp::AbstractClientHandler::Capabilities::setVideoCodecToken ( const QString &  mimeSubType)
inline
void Tp::AbstractClientHandler::Capabilities::unsetVideoCodecToken ( const QString &  mimeSubType)
inline
bool Tp::AbstractClientHandler::Capabilities::hasToken ( const QString &  token) const
void Tp::AbstractClientHandler::Capabilities::setToken ( const QString &  token)
void Tp::AbstractClientHandler::Capabilities::unsetToken ( const QString &  token)
QStringList Tp::AbstractClientHandler::Capabilities::allTokens ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01101.html0000644000175000017500000000546612727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ObjectPathList Member List

This is the complete list of members for Tp::ObjectPathList, including all inherited members.

ObjectPathList()Tp::ObjectPathListinline
ObjectPathList(const QList< QDBusObjectPath > &a)Tp::ObjectPathListinline
operator=(const QList< QDBusObjectPath > &a)Tp::ObjectPathListinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00956.html0000644000175000017500000002003112727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::BaseProtocolPresenceInterface Member List

This is the complete list of members for Tp::BaseProtocolPresenceInterface, including all inherited members.

AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
AbstractProtocolInterface(const QString &interfaceName)Tp::AbstractProtocolInterface
BaseProtocolPresenceInterface()Tp::BaseProtocolPresenceInterfaceprotected
create()Tp::BaseProtocolPresenceInterfaceinlinestatic
create()Tp::BaseProtocolPresenceInterfaceinlinestatic
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const Tp::BaseProtocolPresenceInterfacevirtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
setStatuses(const PresenceSpecList &statuses)Tp::BaseProtocolPresenceInterface
statuses() const Tp::BaseProtocolPresenceInterface
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~AbstractProtocolInterface()Tp::AbstractProtocolInterfacevirtual
~BaseProtocolPresenceInterface()Tp::BaseProtocolPresenceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00455.html0000644000175000017500000001422412727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::ProtocolPropertiesMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::ProtocolPropertiesMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QVariantMap >.

Public Member Functions

 ProtocolPropertiesMap ()
 
 ProtocolPropertiesMap (const QMap< QString, QVariantMap > &a)
 
ProtocolPropertiesMapoperator= (const QMap< QString, QVariantMap > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QVariantMap>, but needed to have a discrete type in the Qt type system.

A map from protocol identifiers supported by a connection manager to the immutable properties of the corresponding ProtocolInterface objects.

Constructor & Destructor Documentation

Tp::ProtocolPropertiesMap::ProtocolPropertiesMap ( )
inline
Tp::ProtocolPropertiesMap::ProtocolPropertiesMap ( const QMap< QString, QVariantMap > &  a)
inline

Member Function Documentation

ProtocolPropertiesMap& Tp::ProtocolPropertiesMap::operator= ( const QMap< QString, QVariantMap > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01170.html0000644000175000017500000000563412727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RTCPFeedbackMessageMap Member List

This is the complete list of members for Tp::RTCPFeedbackMessageMap, including all inherited members.

operator=(const QMap< uint, RTCPFeedbackMessageProperties > &a)Tp::RTCPFeedbackMessageMapinline
RTCPFeedbackMessageMap()Tp::RTCPFeedbackMessageMapinline
RTCPFeedbackMessageMap(const QMap< uint, RTCPFeedbackMessageProperties > &a)Tp::RTCPFeedbackMessageMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00514.html0000644000175000017500000033633312727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::TextChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Tp::TextChannel Class Reference

The TextChannel class represents a Telepathy channel of type Text. More...

#include <TelepathyQt/TextChannel>

Inherits Tp::Channel.

Public Slots

void acknowledge (const QList< ReceivedMessage > &messages)
 
void forget (const QList< ReceivedMessage > &messages)
 
PendingSendMessagesend (const QString &text, ChannelTextMessageType type=ChannelTextMessageTypeNormal, MessageSendingFlags flags=0)
 
PendingSendMessagesend (const MessagePartList &parts, MessageSendingFlags flags=0)
 
PendingOperationinviteContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
PendingOperationrequestChatState (ChannelChatState state)
 

Signals

void messageSent (const Tp::Message &message, Tp::MessageSendingFlags flags, const QString &sentMessageToken)
 
void messageReceived (const Tp::ReceivedMessage &message)
 
void pendingMessageRemoved (const Tp::ReceivedMessage &message)
 
void chatStateChanged (const Tp::ContactPtr &contact, Tp::ChannelChatState state)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~TextChannel ()
 
bool hasMessagesInterface () const
 
bool hasChatStateInterface () const
 
bool canInviteContacts () const
 
bool supportsMessageType (ChannelTextMessageType messageType) const
 
QList< ChannelTextMessageTypesupportedMessageTypes () const
 
QStringList supportedContentTypes () const
 
MessagePartSupportFlags messagePartSupport () const
 
DeliveryReportingSupportFlags deliveryReportingSupport () const
 
QList< ReceivedMessagemessageQueue () const
 
ChannelChatState chatState (const ContactPtr &contact) const
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static TextChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureMessageQueue
 
static const Feature FeatureMessageCapabilities
 
static const Feature FeatureMessageSentSignal
 
static const Feature FeatureChatState
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 TextChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TextChannel::FeatureCore)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The TextChannel class represents a Telepathy channel of type Text.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::TextChannel::~TextChannel ( )
virtual

Class destructor.

Tp::TextChannel::TextChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = TextChannel::FeatureCore 
)
protected

Construct a new TextChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on TextChannel::FeatureCore.

Member Function Documentation

TextChannelPtr Tp::TextChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new TextChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A TextChannelPtr object pointing to the newly created TextChannel object.
bool Tp::TextChannel::hasMessagesInterface ( ) const

Return whether this channel supports the Messages interface.

If the interface is not supported, some advanced functionality will be unavailable.

This method requires TextChannel::FeatureCore to be ready.

Returns
true if the Messages interface is supported, false otherwise.
bool Tp::TextChannel::hasChatStateInterface ( ) const

Return whether this channel supports the ChatState interface.

If the interface is not supported, requestChatState() will fail and all contacts' chat states will appear to be ChannelChatStateInactive.

This method requires TextChannel::FeatureCore to be ready.

Returns
true if the ChatState interface is supported, false otherwise.
See also
requestChatState(), chatStateChanged()
bool Tp::TextChannel::canInviteContacts ( ) const

Return whether contacts can be invited into this channel using inviteContacts() (which is equivalent to Channel::groupAddContacts()).

Whether this is the case depends on the underlying protocol, the type of channel, and the user's privileges (in some chatrooms, only a privileged user can invite other contacts).

This is an alias for Channel::groupCanAddContacts(), to indicate its meaning more clearly for Text channels.

This method requires Channel::FeatureCore to be ready.

Returns
true if contacts can be invited, false otherwise.
See also
inviteContacts(), Channel::groupCanAddContacts(), Channel::groupAddContacts()
bool Tp::TextChannel::supportsMessageType ( ChannelTextMessageType  messageType) const

Return whether the provided message type is supported.

This method requires TextChannel::FeatureMessageCapabilities to be ready.

Parameters
messageTypeThe message type to check.
Returns
true if supported, false otherwise
QList< ChannelTextMessageType > Tp::TextChannel::supportedMessageTypes ( ) const

Return the message types supported by this channel.

This method requires TextChannel::FeatureMessageCapabilities to be ready.

Returns
The list of supported message types
QStringList Tp::TextChannel::supportedContentTypes ( ) const

Return a list of supported MIME content types for messages on this channel.

For a simple text channel this will be a list containing one item, "text/plain".

This list may contain the special value "*<!--x-->/<!--x-->*", which indicates that any content type is supported.

This method requires TextChannel::FeatureMessageCapabilities to be ready.

Returns
The list of MIME content types.
MessagePartSupportFlags Tp::TextChannel::messagePartSupport ( ) const

Return a set of flags indicating support for multi-part messages on this channel.

This is zero on simple text channels, or greater than zero if there is partial or full support for multi-part messages.

This method requires TextChannel::FeatureMessageCapabilities to be ready.

Returns
The flags as MessagePartSupportFlags.
DeliveryReportingSupportFlags Tp::TextChannel::deliveryReportingSupport ( ) const

Return a set of flags indicating support for delivery reporting on this channel.

This is zero if there are no particular guarantees, or greater than zero if delivery reports can be expected under certain circumstances.

This method requires TextChannel::FeatureMessageCapabilities to be ready.

Returns
The flags as DeliveryReportingSupportFlags.
QList< ReceivedMessage > Tp::TextChannel::messageQueue ( ) const

Return a list of messages received in this channel.

Messages are added to this list when they are received from the instant messaging service; the messageReceived() signal is emitted.

There is a small delay between the message being received over D-Bus and becoming available to users of this C++ API, since a small amount of additional information needs to be fetched. However, the relative ordering of all the messages in a channel is preserved.

Messages are removed from this list when they are acknowledged with the acknowledge() or forget() methods. On channels where hasMessagesInterface() returns true, they will also be removed when acknowledged by a different client. In either case, the pendingMessageRemoved() signal is emitted.

This method requires TextChannel::FeatureMessageQueue to be ready.

Returns
A list of ReceivedMessage objects.
See also
messageReceived()
ChannelChatState Tp::TextChannel::chatState ( const ContactPtr &  contact) const

Return the current chat state for contact.

If hasChatStateInterface() returns false, this method will always return ChannelChatStateInactive.

This method requires TextChannel::FeatureChatState to be ready.

Returns
The contact chat state as ChannelChatState.
void Tp::TextChannel::acknowledge ( const QList< ReceivedMessage > &  messages)
slot

Acknowledge that received messages have been displayed to the user.

Note that this method should only be called by the main handler of a channel, usually meaning the user interface process that displays the channel to the user (when a channel dispatcher is used, the handler must acknowledge messages, and other approvers or observers must not acknowledge messages).

Processes other than the main handler of a channel can free memory used by the library by calling forget() instead.

This method requires TextChannel::FeatureMessageQueue to be ready.

Parameters
messagesA list of received messages that have now been displayed.
See also
forget(), messageQueue(), messageReceived(), pendingMessageRemoved()
void Tp::TextChannel::forget ( const QList< ReceivedMessage > &  messages)
slot

Remove messages from the message queue without acknowledging them.

Note that this method frees memory used by the library, but does not free the corresponding memory in the CM process. It should be used by clients that are not the main handler for a channel; the main handler for a channel should use acknowledge() instead.

This method requires TextChannel::FeatureMessageQueue to be ready.

Parameters
messagesA list of received messages that have now been processed.
See also
acknowledge(), messageQueue(), messageReceived(), pendingMessageRemoved()
PendingSendMessage * Tp::TextChannel::send ( const QString &  text,
ChannelTextMessageType  type = ChannelTextMessageTypeNormal,
MessageSendingFlags  flags = 0 
)
slot

Request that a message be sent on this channel.

When the message has been submitted for delivery, this method will return and the messageSent() signal will be emitted.

If the message cannot be submitted for delivery, the returned pending operation will fail and no signal is emitted.

This method requires TextChannel::FeatureCore to be ready.

Parameters
textThe message body.
typeThe message type.
flagsFlags affecting how the message is sent. Note that the channel may ignore some or all flags, depending on deliveryReportingSupport(); the flags that were handled by the CM are provided in messageSent().
Returns
A PendingOperation which will emit PendingOperation::finished when the message has been submitted for delivery.
See also
messageSent()
PendingSendMessage * Tp::TextChannel::send ( const MessagePartList parts,
MessageSendingFlags  flags = 0 
)
slot

Request that a message be sent on this channel.

When the message has been submitted for delivery, this method will return and the messageSent() signal will be emitted.

If the message cannot be submitted for delivery, the returned pending operation will fail and no signal is emitted.

This method requires TextChannel::FeatureCore to be ready.

Parameters
partsThe message parts.
flagsFlags affecting how the message is sent. Note that the channel may ignore some or all flags, depending on deliveryReportingSupport(); the flags that were handled by the CM are provided in messageSent().
Returns
A PendingOperation which will emit PendingOperation::finished when the message has been submitted for delivery.
See also
messageSent()
PendingOperation* Tp::TextChannel::inviteContacts ( const QList< ContactPtr > &  contacts,
const QString &  message = QString() 
)
inlineslot
PendingOperation * Tp::TextChannel::requestChatState ( ChannelChatState  state)
slot

Set the local chat state and notify other members of the channel that it has changed.

Note that only the primary handler of the channel should set its chat state.

This method requires TextChannel::FeatureCore to be ready.

Parameters
stateThe new state.
See also
chatStateChanged()
void Tp::TextChannel::messageSent ( const Tp::Message message,
Tp::MessageSendingFlags  flags,
const QString &  sentMessageToken 
)
signal

Emitted when a message is sent, if the TextChannel::FeatureMessageSentSignal has been enabled.

This signal is emitted regardless of whether the message is sent by this client, or another client using the same channel via D-Bus.

Parameters
messageA message. This may differ slightly from what the client requested to send, for instance if it has been altered due to limitations of the instant messaging protocol used.
flagsMessageSendingFlags that were in effect when the message was sent. Clients can use these in conjunction with deliveryReportingSupport() to determine whether delivery reporting can be expected.
sentMessageTokenEither an empty QString, or an opaque token used to match the message to any delivery reports.
void Tp::TextChannel::messageReceived ( const Tp::ReceivedMessage message)
signal

Emitted when a message is added to messageQueue(), if the TextChannel::FeatureMessageQueue Feature has been enabled.

This occurs slightly later than the message being received over D-Bus; see messageQueue() for details.

Parameters
messageThe message received.
See also
messageQueue(), acknowledge(), forget()
void Tp::TextChannel::pendingMessageRemoved ( const Tp::ReceivedMessage message)
signal

Emitted when a message is removed from messageQueue(), if the TextChannel::FeatureMessageQueue Feature has been enabled. See messageQueue() for the circumstances in which this happens.

Parameters
messageThe message removed.
See also
messageQueue(), acknowledge(), forget()
void Tp::TextChannel::chatStateChanged ( const Tp::ContactPtr &  contact,
Tp::ChannelChatState  state 
)
signal

Emitted when the state of a member of the channel has changed, if the TextChannel::FeatureChatState feature has been enabled.

Local state changes are also emitted here.

Parameters
contactThe contact whose chat state changed.
stateThe new chat state for contact.
See also
chatState()

Member Data Documentation

const Feature Tp::TextChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the TextChannel object usable.

This is currently the same as Channel::FeatureCore, but may change to include more.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.

const Feature Tp::TextChannel::FeatureMessageQueue
static

Feature used in order to access the message queue info.

See message queue methods' documentation for more details.

See also
messageQueue(), messageReceived(), pendingMessageRemoved(), forget(), acknowledge()
const Feature Tp::TextChannel::FeatureMessageCapabilities
static

Feature used in order to access message capabilities info.

See message capabilities methods' documentation for more details.

See also
supportedContentTypes(), messagePartSupport(), deliveryReportingSupport()
const Feature Tp::TextChannel::FeatureMessageSentSignal
static

Feature used in order to receive notification when a message is sent.

See also
messageSent()
const Feature Tp::TextChannel::FeatureChatState
static

Feature used in order to keep track of chat state changes.

See chat state methods' documentation for more details.

See also
chatState(), chatStateChanged()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00269.html0000644000175000017500000021616012727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactListInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::Client::ConnectionInterfaceContactListInterface Class Reference

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::ContactAttributesMapGetContactListAttributes (const QStringList &interfaces, bool hold, int timeout=-1)
 
QDBusPendingReply RequestSubscription (const Tp::UIntList &contacts, const QString &message, int timeout=-1)
 
QDBusPendingReply AuthorizePublication (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply RemoveContacts (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply Unsubscribe (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply Unpublish (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply Download (int timeout=-1)
 

Signals

void ContactListStateChanged (uint contactListState)
 
void ContactsChangedWithID (const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)
 
void ContactsChanged (const Tp::ContactSubscriptionMap &changes, const Tp::UIntList &removals)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceContactListInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactListInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactListInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactListInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactListInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyContactListState () const
 
Tp::PendingVariantrequestPropertyContactListPersists () const
 
Tp::PendingVariantrequestPropertyCanChangeContactList () const
 
Tp::PendingVariantrequestPropertyRequestUsesMessage () const
 
Tp::PendingVariantrequestPropertyDownloadAtConnection () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ContactList".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactListInterface::ConnectionInterfaceContactListInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactListInterface 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.
Tp::Client::ConnectionInterfaceContactListInterface::ConnectionInterfaceContactListInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactListInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactListInterface::ConnectionInterfaceContactListInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactListInterface 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.
Tp::Client::ConnectionInterfaceContactListInterface::ConnectionInterfaceContactListInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactListInterface 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 Tp::Client::ConnectionInterfaceContactListInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ContactList", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactListInterface::requestPropertyContactListState ( ) const
inline

Asynchronous getter for the remote object property ContactListState of type uint.

The progress made in retrieving the contact list. Change notification is via ContactListStateChanged.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactListInterface::requestPropertyContactListPersists ( ) const
inline

Asynchronous getter for the remote object property ContactListPersists of type bool.

If true, presence subscriptions (in both directions) on this connection are stored by the server or other infrastructure.

XMPP, MSN, ICQ, etc. all behave like this.

If false, presence subscriptions on this connection are not stored.

In SIMPLE (SIP), clients are expected to keep a record of subscriptions, as described below. In link-local XMPP, subscriptions are implicit (everyone on the local network receives presence from everyone else) so nothing is ever stored.

If CanChangeContactList is true, Telepathy clients (e.g. user interfaces or address books) MAY keep a record of permission to publish and requests to subscribe locally, and attempt to restore it for each Connection. If ContactListPersists is false, clients MAY do this for all contacts; if ContactListPersists is true, clients SHOULD NOT change the state of contacts that were not changed locally.

In SIMPLE (SIP), ContactListPersists is false, but CanChangeContactList is true. Presence will not be received unless clients renew any subscriptions they have for each connection, in the way described. There is no server-side storage, so clients have no alternative but to maintain independent contact lists.

In protocols like XMPP and MSN, it may be useful for clients to queue up subscription requests or removals made while offline and process them next time the connection is online. However, clients should only replay the changes, rather than resetting the contact list to match a stored copy, to avoid overwriting changes that were made on the server.

Clients that replay requests like this SHOULD do so by calling AuthorizePublication to pre-approve publication of presence to the appropriate contacts, followed by RequestSubscription to request the appropriate contacts' presences.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactListInterface::requestPropertyCanChangeContactList ( ) const
inline

Asynchronous getter for the remote object property CanChangeContactList of type bool.

If true, presence subscription and publication can be changed using the RequestSubscription() , AuthorizePublication() and RemoveContacts() methods.

If false, all of those methods will always fail; they SHOULD raise the error org.freedesktop.Telepathy.Error.NotImplemented.

In XEP-0174 "Serverless Messaging" (link-local XMPP), presence is implicitly published to everyone in the local subnet, so the user cannot control their presence publication.

This property cannot change after the connection has moved to the Connected state. Until then, its value is undefined, and it may change at any time, without notification.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactListInterface::requestPropertyRequestUsesMessage ( ) const
inline

Asynchronous getter for the remote object property RequestUsesMessage of type bool.

If true, the Message parameter to RequestSubscription() is likely to be significant, and user interfaces SHOULD prompt the user for a message to send with the request; a message such as "I would like to add you to my contact list", translated into the local user's language, might make a suitable default.

This matches user expectations in XMPP and ICQ, for instance.

If false, the parameter is ignored; user interfaces SHOULD avoid prompting the user, and SHOULD pass an empty string to RequestSubscription.

FIXME: is there any such protocol?

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactListInterface::requestPropertyDownloadAtConnection ( ) const
inline

Asynchronous getter for the remote object property DownloadAtConnection of type bool.

If true, the contact list is automatically downloaded at connection. If false, the contact list is only downloaded when requested explicitely with Download() .

Downloading the contact list uses bandwidth and is not always necessary or desired. For example, a client could cache the contact list from previous connections and accept less regular updates, it could get the contact list from an out-of-band protocol-specific way, or it could not need the contact list at all.

Connection managers MUST default to true.

If a connection manager starts supporting this property but defaults to false, it would break all existing clients that don't call Download() .

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactListInterface::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<Tp::ContactAttributesMap> Tp::Client::ConnectionInterfaceContactListInterface::GetContactListAttributes ( const QStringList &  interfaces,
bool  hold,
int  timeout = -1 
)
inlineslot

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

Return some contact attributes for a list of contacts associated with the user. This list MUST include at least:

  • all contacts whose subscribe attribute is not No
  • all contacts whose publish attribute is not No

but MAY contain other contacts.

For instance, on XMPP, all contacts on the roster would appear here even if they have subscription="none", unless there's reason to believe the user does not want to see them (such as having been blocked).

This list does not need to contain every visible contact: for instance, contacts seen in XMPP or IRC chatrooms SHOULD NOT appear here. Blocked contacts SHOULD NOT appear here, unless they still have a non-No subscribe or publish attribute for some reason.

It's reasonable to assume that blocked contacts should not be visible to the user unless they specifically go looking for them, at least in protocols like XMPP where blocking a contact suppresses presence.

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

Parameters
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. Equivalent to the corresponding argument to ConnectionInterfaceContactsInterface::GetContactAttributes() , except that if this list does not contain the ContactList interface itself, it is treated as though that interface was also requested.

hold

If true, all handles that appear as keys in the result have been held on behalf of the calling process, as if by a call to ConnectionInterface::HoldHandles() . (If ConnectionInterface::HasImmortalHandles is true, which SHOULD be the case in all new connection managers, this has no effect.)

timeoutThe timeout in milliseconds.
Returns

A dictionary mapping the contact handles to contact attributes, equivalent to the result of ConnectionInterfaceContactsInterface::GetContactAttributes() .

QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::RequestSubscription ( const Tp::UIntList contacts,
const QString &  message,
int  timeout = -1 
)
inlineslot

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

Request that the given contacts allow the local user to subscribe to their presence, i.e. that their subscribe attribute becomes Yes.

Connection managers SHOULD NOT attempt to enforce a mutual-subscription policy (i.e. when this method is called, they should not automatically allow the contacts to see the local user's presence). User interfaces that require mutual subscription MAY call AuthorizePublication() at the same time as this method.

Whether to enforce mutual subscription is a matter of policy, so it is left to the user interface and/or the server.

Before calling this method on a connection where ConnectionInterfaceAliasingInterface::GetAliasFlags() returns the User_Set flag, user interfaces SHOULD obtain, from the user, an alias to identify the contact in future, and store it using ConnectionInterfaceAliasingInterface::SetAliases() .

The user MAY be prompted using the contact's current self-assigned nickname, or something derived from the contact's (presumably self-assigned) identifier, as a default, but these names chosen by the contact SHOULD NOT be used without user approval.

This is a generalization of XEP-0165 "Best Practices to Discourage JID Mimicking") to protocols other than XMPP. A reasonable user interface for this, as used in many XMPP clients, is to have a text entry for the alias adjacent to the text entry for the identifier to add.

For contacts with subscribe=Yes, this method has no effect. It MUST return successfully if all contacts are in this state.

For contacts with subscribe=Ask, this method SHOULD send a new request, with the given message, if allowed by the underlying protocol.

For contacts with subscribe=No or subscribe=Rejected, this method SHOULD request that the contact allows the local user to subscribe to their presence; in general, this will change their publish attribute to Ask (although it could change directly to Yes in some situations).

Any state changes that immediately result from this request MUST be signalled via ContactsChanged() before this method returns.

This makes it easy for user interfaces to see what practical effect this method had.

If the remote contact accepts the request, their subscribe attribute will later change from Ask to Yes.

If the remote contact explicitly rejects the request (in protocols that allow this), their subscribe attribute will later change from Ask to Rejected.

If the subscription request is cancelled by the local user, the contact's subscribe attribute will change from Ask to No.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

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

Parameters
contacts

One or more contacts to whom requests are to be sent.

message

An optional plain-text message from the user, to send to those contacts with the subscription request. The RequestUsesMessage property indicates whether this message will be used or ignored.

Clients SHOULD NOT send a non-empty message without first giving the user an opportunity to edit it.

These messages are typically presented to the remote contact as if the user had typed them, so as a minimum, the user should be allowed to see what the UI will be saying on their behalf.

Connections where this message is not useful MUST still allow it to be non-empty.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::AuthorizePublication ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

For each of the given contacts, request that the local user's presence is sent to that contact, i.e. that their publish attribute becomes Yes.

Connection managers SHOULD NOT attempt to enforce a mutual-subscription policy (i.e. when this method is called, they should not automatically request that the contacts allow the user to subscribe to their presence). User interfaces that require mutual subscription MAY call RequestSubscription() at the same time as this method.

Whether to enforce mutual subscription is a matter of policy, so it is left to the user interface and/or the server.

For contacts with publish=Yes, this method has no effect; it MUST return successfully if all contacts given have this state.

For contacts with publish=Ask, this method accepts the contact's request to see the local user's presence, changing their publish attribute from Ask to Yes.

For contacts with publish=No, if the protocol allows it, this method allows the contacts to see the local user's presence even though they have not requested it, changing their publish attribute from No to Yes. Otherwise, it merely records the fact that presence publication to those contacts is allowed; if any of those contacts ask to receive the local user's presence later in the lifetime of the connection, the connection SHOULD immediately allow them to do so, changing their publish attribute directly from No to Yes.

This makes it easy to implement the common UI policy that if the user attempts to subscribe to a contact's presence, requests for reciprocal subscription are automatically approved.

Any state changes that immediately result from this request MUST be signalled via ContactsChanged() before this method returns.

This makes it easy for user interfaces to see what practical effect this method had.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

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

Parameters
contacts

One or more contacts to authorize.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::RemoveContacts ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Remove the given contacts from the contact list entirely. It is protocol-dependent whether this works, and under which circumstances.

If possible, this method SHOULD set the contacts' subscribe and publish attributes to No, remove any stored aliases for those contacts, and remove the contacts from the result of GetContactListAttributes() .

This method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts (for instance, if there is an outstanding request to subscribe to the contact's presence, and it's not possible to cancel such requests). However, all signals that immediately result from this method call MUST be emitted before it returns, so that clients can interpret the result.

User interfaces removing a contact from the contact list are unlikely to want spurious failure notifications resulting from limitations of a particular protocol. However, emitting the signals first means that if a client does want to check exactly what happened, it can wait for the method to return (while applying change-notification signals to its local cache of the contact list's state), then consult its local cache of the contact list's state to see whether the contact is still there.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

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

Parameters
contacts

One or more contacts to remove.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::Unsubscribe ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Attempt to set the given contacts' subscribe attribute to No, i.e. stop receiving their presence.

For contacts with subscribe=Ask, this attempts to cancel an earlier request to subscribe to the contact's presence; for contacts with subscribe=Yes, this attempts to unsubscribe from the contact's presence.

As with RemoveContacts() , this method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts; however, all signals that immediately result from this method call MUST be emitted before it returns.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

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

Parameters
contacts

One or more contacts to remove.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::Unpublish ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Attempt to set the given contacts' publish attribute to No, i.e. stop sending presence to them.

For contacts with publish=Ask, this method explicitly rejects the contact's request to subscribe to the user's presence; for contacts with publish=Yes, this method attempts to prevent the user's presence from being received by the contact.

As with RemoveContacts() , this method SHOULD succeed even if it was not possible to carry out the request entirely or for all contacts; however, all signals that immediately result from this method call MUST be emitted before it returns.

This method SHOULD NOT be called until the ContactListState changes to Success. If the ContactListState changes to Failure, this method SHOULD raise the same error as GetContactListAttributes() .

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

Parameters
contacts

One or more contacts to remove.

timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfaceContactListInterface::Download ( int  timeout = -1)
inlineslot

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

Download the contact list from the server. If DownloadAtConnection is true, Download does nothing.

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 Tp::Client::ConnectionInterfaceContactListInterface::ContactListStateChanged ( uint  contactListState)
signal

Represents the signal ContactListStateChanged on the remote object.

Emitted when ContactListState changes.

Parameters
contactListState
The new value of ContactListState.
void Tp::Client::ConnectionInterfaceContactListInterface::ContactsChangedWithID ( const Tp::ContactSubscriptionMap changes,
const Tp::HandleIdentifierMap identifiers,
const Tp::HandleIdentifierMap removals 
)
signal

Represents the signal ContactsChangedWithID on the remote object.

Emitted when the contact list becomes available, when contacts' basic stored properties change, when new contacts are added to the list that would be returned by GetContactListAttributes() , or when contacts are removed from that list.

This provides change notification for that list, and for contacts' subscribe, publish and publish-request attributes.

Connection managers SHOULD also emit this signal when a contact requests that the user's presence is published to them, even if that contact's publish attribute is already Ask and the publish-request has not changed.

If the same contact sends 10 identical requests, 10 identical signals should be emitted.

Parameters
changes
The new subscribe, publish and publish-request attributes of all 
the contacts that have been added, and all the contacts for which 
those attributes have changed.
identifiers The identifiers of the contacts in the Changes map.
removals The contacts that have been removed from the list that would be returned by GetContactListAttributes() . This also implies that they have subscribe = No and publish = No; contacts MUST NOT be listed both here and in Changes.
void Tp::Client::ConnectionInterfaceContactListInterface::ContactsChanged ( const Tp::ContactSubscriptionMap changes,
const Tp::UIntList removals 
)
signal

Represents the signal ContactsChanged on the remote object.

Emitted immediately after ContactsChangedWithID() , under the same circumstances.

If clients receive this signal without first receiving a corresponding ContactsChangedWithID() , they MUST assume that only this signal will be emitted.

Parameters
changes
The same as the corresponding argument to ContactsChangedWithID.
removals
The same as the corresponding argument to ContactsChangedWithID, 
except that it only includes handles and not identifiers.
void Tp::Client::ConnectionInterfaceContactListInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00013.html0000644000175000017500000000700712727270137020771 0ustar00kaffeinekaffeine00000000000000 contact-messenger/sender.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
contact-messenger/sender.h
#ifndef _TelepathyQt_examples_contact_messenger_sender_h_HEADER_GUARD_
#define _TelepathyQt_examples_contact_messenger_sender_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include <QObject>
#include <QString>
namespace Tp
{
class PendingOperation;
}
class Sender : public QObject
{
Q_OBJECT
public:
Sender(const QString &accountPath, const QString &contactIdentifier, const QString &message);
~Sender();
private Q_SLOTS:
void onSendMessageFinished(Tp::PendingOperation *op);
private:
Tp::ContactMessengerPtr messenger;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_g.html0000644000175000017500000006274512727270137022515 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- g -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_v.html0000644000175000017500000000334712727270137023560 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- v -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00328.html0000644000175000017500000002230212727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Feature Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::Feature Class Reference

The Feature class represents a feature that can be enabled on demand. More...

#include <TelepathyQt/Feature>

Inherits QPair< QString, uint >.

Public Member Functions

 Feature ()
 
 Feature (const QString &className, uint id, bool critical=false)
 
 Feature (const Feature &other)
 
 ~Feature ()
 
bool isValid () const
 
Featureoperator= (const Feature &other)
 
bool isCritical () const
 

Detailed Description

The Feature class represents a feature that can be enabled on demand.

Constructor & Destructor Documentation

Tp::Feature::Feature ( )
Tp::Feature::Feature ( const QString &  className,
uint  id,
bool  critical = false 
)
Tp::Feature::Feature ( const Feature other)
Tp::Feature::~Feature ( )

Member Function Documentation

bool Tp::Feature::isValid ( ) const
inline
Feature & Tp::Feature::operator= ( const Feature other)
bool Tp::Feature::isCritical ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01299.html0000644000175000017500000002415712727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionInterfaceSimplePresenceInterface Member List

This is the complete list of members for Tp::Client::ConnectionInterfaceSimplePresenceInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionInterfaceSimplePresenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceSimplePresenceInterface
ConnectionInterfaceSimplePresenceInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionInterfaceSimplePresenceInterface
ConnectionInterfaceSimplePresenceInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionInterfaceSimplePresenceInterface
ConnectionInterfaceSimplePresenceInterface(const Tp::Client::ConnectionInterface &mainInterface)Tp::Client::ConnectionInterfaceSimplePresenceInterfaceexplicit
ConnectionInterfaceSimplePresenceInterface(const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)Tp::Client::ConnectionInterfaceSimplePresenceInterface
GetPresences(const Tp::UIntList &contacts, int timeout=-1)Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionInterfaceSimplePresenceInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
PresencesChanged(const Tp::SimpleContactPresences &presence)Tp::Client::ConnectionInterfaceSimplePresenceInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinline
requestPropertyMaximumStatusMessageLength() const Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinline
requestPropertyStatuses() const Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetPresence(const QString &status, const QString &statusMessage, int timeout=-1)Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinlineslot
staticInterfaceName()Tp::Client::ConnectionInterfaceSimplePresenceInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00657_source.html0000644000175000017500000005121712727270137022371 0ustar00kaffeinekaffeine00000000000000 contact-search-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
contact-search-channel.h
1 
23 #ifndef _TelepathyQt_contact_search_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_contact_search_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/Contact>
32 #include <TelepathyQt/Types>
33 
34 namespace Tp
35 {
36 
37 class TP_QT_EXPORT ContactSearchChannel : public Channel
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(ContactSearchChannel)
41 
42 public:
43  static const Feature FeatureCore;
44 
46  {
47  public:
51 
52  bool isValid() const { return mPriv.constData() != 0; }
53 
54  SearchStateChangeDetails &operator=(const SearchStateChangeDetails &other);
55 
56  bool hasDebugMessage() const { return allDetails().contains(QLatin1String("debug-message")); }
57  QString debugMessage() const { return qdbus_cast<QString>(allDetails().value(QLatin1String("debug-message"))); }
58 
59  QVariantMap allDetails() const;
60 
61  private:
62  friend class ContactSearchChannel;
63 
64  TP_QT_NO_EXPORT SearchStateChangeDetails(const QVariantMap &details);
65 
66  struct Private;
67  friend struct Private;
68  QSharedDataPointer<Private> mPriv;
69  };
70 
71  typedef QHash<ContactPtr, Contact::InfoFields> SearchResult;
72 
73  static ContactSearchChannelPtr create(const ConnectionPtr &connection,
74  const QString &objectPath, const QVariantMap &immutableProperties);
75 
76  virtual ~ContactSearchChannel();
77 
78  ChannelContactSearchState searchState() const;
79  uint limit() const;
80  QStringList availableSearchKeys() const;
81  QString server() const;
82 
83  PendingOperation *search(const QString &searchKey, const QString &searchTerm);
84  PendingOperation *search(const ContactSearchMap &searchTerms);
85  void continueSearch();
86  void stopSearch();
87 
88 Q_SIGNALS:
89  void searchStateChanged(Tp::ChannelContactSearchState state, const QString &errorName,
91  void searchResultReceived(const Tp::ContactSearchChannel::SearchResult &result);
92 
93 protected:
94  ContactSearchChannel(const ConnectionPtr &connection, const QString &objectPath,
95  const QVariantMap &immutableProperties, const Feature &coreFeature);
96 
97 private Q_SLOTS:
98  TP_QT_NO_EXPORT void gotProperties(QDBusPendingCallWatcher *watcher);
99  TP_QT_NO_EXPORT void gotSearchState(QDBusPendingCallWatcher *watcher);
100  TP_QT_NO_EXPORT void onSearchStateChanged(uint state, const QString &error, const QVariantMap &details);
101  TP_QT_NO_EXPORT void onSearchResultReceived(const Tp::ContactSearchResultMap &result);
102  TP_QT_NO_EXPORT void gotSearchResultContacts(Tp::PendingOperation *op);
103 
104 private:
105  class PendingSearch;
106 
107  struct Private;
108  friend struct Private;
109  Private *mPriv;
110 };
111 
112 } // Tp
113 
114 #endif
ChannelContactSearchState
Definition: build/TelepathyQt/_gen/constants.h:2533
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:1271
QString debugMessage() const
Definition: contact-search-channel.h:57
QHash< ContactPtr, Contact::InfoFields > SearchResult
Definition: contact-search-channel.h:71
The ContactSearchChannel::SearchStateChangeDetails class provides a wrapper around the details for a ...
Definition: contact-search-channel.h:45
The ContactSearchChannel class represents a Telepathy channel of type ContactSearch.
Definition: contact-search-channel.h:37
bool isValid() const
Definition: contact-search-channel.h:52
static const Feature FeatureCore
Definition: contact-search-channel.h:43
Definition: abstract-adaptor.cpp:31
bool hasDebugMessage() const
Definition: contact-search-channel.h:56
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The Channel class represents a Telepathy channel.
Definition: channel.h:51
Definition: build/TelepathyQt/_gen/types.h:3491


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00082.html0000644000175000017500000007145712727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelRoomListType Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Tp::BaseChannelRoomListType Class Reference

Base class for implementations of Channel.Type.RoomList. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback1< void, DBusError * > ListRoomsCallback
 
typedef Callback1< void, DBusError * > StopListingCallback
 

Public Member Functions

virtual ~BaseChannelRoomListType ()
 
QVariantMap immutableProperties () const
 
QString server () const
 
bool getListingRooms ()
 
void setListingRooms (bool listing)
 
void setListRoomsCallback (const ListRoomsCallback &cb)
 
void listRooms (DBusError *error)
 
void setStopListingCallback (const StopListingCallback &cb)
 
void stopListing (DBusError *error)
 
void gotRooms (const Tp::RoomInfoList &rooms)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelRoomListTypePtr create (const QString &server=QString())
 
template<typename BaseChannelRoomListTypeSubclass >
static SharedPtr< BaseChannelRoomListTypeSubclass > create (const QString &server=QString())
 

Protected Member Functions

 BaseChannelRoomListType (const QString &server)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Type.RoomList.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelRoomListType::~BaseChannelRoomListType ( )
virtual

Class destructor.

Tp::BaseChannelRoomListType::BaseChannelRoomListType ( const QString &  server)
protected

Class constructor.

Member Function Documentation

static BaseChannelRoomListTypePtr Tp::BaseChannelRoomListType::create ( const QString &  server = QString())
inlinestatic
template<typename BaseChannelRoomListTypeSubclass >
static SharedPtr<BaseChannelRoomListTypeSubclass> Tp::BaseChannelRoomListType::create ( const QString &  server = QString())
inlinestatic
QVariantMap Tp::BaseChannelRoomListType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

QString Tp::BaseChannelRoomListType::server ( ) const
bool Tp::BaseChannelRoomListType::getListingRooms ( )
void Tp::BaseChannelRoomListType::setListingRooms ( bool  listing)
void Tp::BaseChannelRoomListType::setListRoomsCallback ( const ListRoomsCallback cb)
void Tp::BaseChannelRoomListType::listRooms ( DBusError error)
void Tp::BaseChannelRoomListType::setStopListingCallback ( const StopListingCallback cb)
void Tp::BaseChannelRoomListType::stopListing ( DBusError error)
void Tp::BaseChannelRoomListType::gotRooms ( const Tp::RoomInfoList rooms)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01043.html0000644000175000017500000010641312727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FileTransferChannel Member List

This is the complete list of members for Tp::FileTransferChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
availableSocketTypes() const Tp::FileTransferChannelprotected
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
cancel()Tp::FileTransferChannel
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
connectToHost()Tp::FileTransferChannelprotectedvirtual
contentHash() const Tp::FileTransferChannel
contentHashType() const Tp::FileTransferChannel
contentType() const Tp::FileTransferChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::FileTransferChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
description() const Tp::FileTransferChannel
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::FileTransferChannelstatic
fileName() const Tp::FileTransferChannel
FileTransferChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=FileTransferChannel::FeatureCore)Tp::FileTransferChannelprotected
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initialOffset() const Tp::FileTransferChannel
initialOffsetDefined(qulonglong initialOffset)Tp::FileTransferChannelsignal
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isConnected() const Tp::FileTransferChannelprotected
isFinished() const Tp::FileTransferChannelprotected
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
lastModificationTime() const Tp::FileTransferChannel
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
onUriDefined(const QString &uri)Tp::FileTransferChannelprotectedslot
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
setBusName(const QString &busName)Tp::DBusProxyprotected
setConnected()Tp::FileTransferChannelprotected
setFinished()Tp::FileTransferChannelprotectedvirtual
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
size() const Tp::FileTransferChannel
state() const Tp::FileTransferChannel
stateChanged(Tp::FileTransferState state, Tp::FileTransferStateChangeReason reason)Tp::FileTransferChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
stateReason() const Tp::FileTransferChannel
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
transferredBytes() const Tp::FileTransferChannel
transferredBytesChanged(qulonglong count)Tp::FileTransferChannelsignal
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
uri() const Tp::FileTransferChannel
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~FileTransferChannel()Tp::FileTransferChannelvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00898.html0000644000175000017500000001415612727270137021021 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractDBusServiceInterface Member List

This is the complete list of members for Tp::AbstractDBusServiceInterface, including all inherited members.

AbstractDBusServiceInterface(const QString &interfaceName)Tp::AbstractDBusServiceInterface
createAdaptor()=0Tp::AbstractDBusServiceInterfaceprotectedpure virtual
dbusObject() const Tp::AbstractDBusServiceInterface
immutableProperties() const =0Tp::AbstractDBusServiceInterfacepure virtual
interfaceName() const Tp::AbstractDBusServiceInterface
isRegistered() const Tp::AbstractDBusServiceInterface
notify(const char *propertyName)Tp::Objectprotected
notifyPropertyChanged(const QString &propertyName, const QVariant &propertyValue)Tp::AbstractDBusServiceInterface
Object()Tp::Objectprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
RefCounted()Tp::RefCountedinline
registerInterface(DBusObject *dbusObject)Tp::AbstractDBusServiceInterfaceprotectedvirtual
~AbstractDBusServiceInterface()Tp::AbstractDBusServiceInterfacevirtual
~Object()Tp::Objectvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00397.html0000644000175000017500000002201212727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::AbstractClientObserver::ObserverInfo Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::AbstractClientObserver::ObserverInfo Class Reference

The AbstractClientObserver::ObserverInfo class provides a wrapper around the additional info about the channels passed to observeChannels(). More...

#include <TelepathyQt/AbstractClientObserver>

Public Member Functions

 ObserverInfo (const QVariantMap &info=QVariantMap())
 
 ObserverInfo (const ObserverInfo &other)
 
 ~ObserverInfo ()
 
ObserverInfooperator= (const ObserverInfo &other)
 
bool isRecovering () const
 
QVariantMap allInfo () const
 

Detailed Description

The AbstractClientObserver::ObserverInfo class provides a wrapper around the additional info about the channels passed to observeChannels().

See also
AbstractClientObserver

Constructor & Destructor Documentation

Tp::AbstractClientObserver::ObserverInfo::ObserverInfo ( const QVariantMap &  info = QVariantMap())
Tp::AbstractClientObserver::ObserverInfo::ObserverInfo ( const ObserverInfo other)
Tp::AbstractClientObserver::ObserverInfo::~ObserverInfo ( )

Member Function Documentation

AbstractClientObserver::ObserverInfo & Tp::AbstractClientObserver::ObserverInfo::operator= ( const ObserverInfo other)
bool Tp::AbstractClientObserver::ObserverInfo::isRecovering ( ) const
inline
QVariantMap Tp::AbstractClientObserver::ObserverInfo::allInfo ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00653_source.html0000644000175000017500000010650612727270137022367 0ustar00kaffeinekaffeine00000000000000 contact-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
contact-manager.h
1 
23 #ifndef _TelepathyQt_contact_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_contact_manager_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/Contact>
32 #include <TelepathyQt/Feature>
33 #include <TelepathyQt/Object>
34 #include <TelepathyQt/ReferencedHandles>
35 #include <TelepathyQt/Types>
36 
37 #include <QList>
38 #include <QSet>
39 #include <QString>
40 #include <QStringList>
41 #include <QVariantMap>
42 
43 namespace Tp
44 {
45 
46 class Connection;
47 class PendingContacts;
48 class PendingOperation;
49 
50 class TP_QT_EXPORT ContactManager : public Object
51 {
52  Q_OBJECT
53  Q_DISABLE_COPY(ContactManager)
54 
55 public:
56  virtual ~ContactManager();
57 
58  ConnectionPtr connection() const;
59 
60  Features supportedFeatures() const;
61 
62  ContactListState state() const;
63 
64  Contacts allKnownContacts() const;
65  QStringList allKnownGroups() const;
66 
67  PendingOperation *addGroup(const QString &group);
68  PendingOperation *removeGroup(const QString &group);
69 
70  Contacts groupContacts(const QString &group) const;
71  PendingOperation *addContactsToGroup(const QString &group,
72  const QList<ContactPtr> &contacts);
73  PendingOperation *removeContactsFromGroup(const QString &group,
74  const QList<ContactPtr> &contacts);
75 
76  bool canRequestPresenceSubscription() const;
77  bool subscriptionRequestHasMessage() const;
78  PendingOperation *requestPresenceSubscription(
79  const QList<ContactPtr> &contacts,
80  const QString &message = QString());
81  bool canRemovePresenceSubscription() const;
82  bool subscriptionRemovalHasMessage() const;
83  bool canRescindPresenceSubscriptionRequest() const;
84  bool subscriptionRescindingHasMessage() const;
85  PendingOperation *removePresenceSubscription(
86  const QList<ContactPtr> &contacts,
87  const QString &message = QString());
88  bool canAuthorizePresencePublication() const;
89  bool publicationAuthorizationHasMessage() const;
90  PendingOperation *authorizePresencePublication(
91  const QList<ContactPtr> &contacts,
92  const QString &message = QString());
93  bool publicationRejectionHasMessage() const;
94  bool canRemovePresencePublication() const;
95  bool publicationRemovalHasMessage() const;
96  PendingOperation *removePresencePublication(
97  const QList<ContactPtr> &contacts,
98  const QString &message = QString());
99  PendingOperation *removeContacts(
100  const QList<ContactPtr> &contacts,
101  const QString &message = QString());
102 
103  bool canBlockContacts() const;
104  bool canReportAbuse() const;
105  PendingOperation *blockContacts(const QList<ContactPtr> &contacts);
106  PendingOperation *blockContactsAndReportAbuse(const QList<ContactPtr> &contacts);
107  PendingOperation *unblockContacts(const QList<ContactPtr> &contacts);
108 
109  PendingContacts *contactsForHandles(const UIntList &handles,
110  const Features &features = Features());
111  PendingContacts *contactsForHandles(const ReferencedHandles &handles,
112  const Features &features = Features());
113  PendingContacts *contactsForHandles(const HandleIdentifierMap &handles,
114  const Features &features = Features());
115 
116  PendingContacts *contactsForIdentifiers(const QStringList &identifiers,
117  const Features &features = Features());
118 
119  PendingContacts *contactsForVCardAddresses(const QString &vcardField,
120  const QStringList &vcardAddresses,
121  const Features &features = Features());
122  PendingContacts *contactsForUris(const QStringList &uris,
123  const Features &features = Features());
124 
125  PendingContacts *upgradeContacts(const QList<ContactPtr> &contacts,
126  const Features &features);
127 
128  void requestContactAvatars(const QList<ContactPtr> &contacts);
129 
130  PendingOperation *refreshContactInfo(const QList<ContactPtr> &contact);
131 
132 Q_SIGNALS:
133  void stateChanged(Tp::ContactListState state);
134 
135  void presencePublicationRequested(const Tp::Contacts &contacts);
136 
137  void groupAdded(const QString &group);
138  void groupRenamed(const QString &oldGroup, const QString &newGroup);
139  void groupRemoved(const QString &group);
140 
141  void groupMembersChanged(const QString &group,
142  const Tp::Contacts &groupMembersAdded,
143  const Tp::Contacts &groupMembersRemoved,
145 
146  void allKnownContactsChanged(const Tp::Contacts &contactsAdded,
147  const Tp::Contacts &contactsRemoved,
149 
150 private Q_SLOTS:
151  TP_QT_NO_EXPORT void onAliasesChanged(const Tp::AliasPairList &);
152  TP_QT_NO_EXPORT void doRequestAvatars();
153  TP_QT_NO_EXPORT void onAvatarUpdated(uint, const QString &);
154  TP_QT_NO_EXPORT void onAvatarRetrieved(uint, const QString &, const QByteArray &, const QString &);
155  TP_QT_NO_EXPORT void onPresencesChanged(const Tp::SimpleContactPresences &);
156  TP_QT_NO_EXPORT void onCapabilitiesChanged(const Tp::ContactCapabilitiesMap &);
157  TP_QT_NO_EXPORT void onLocationUpdated(uint, const QVariantMap &);
158  TP_QT_NO_EXPORT void onContactInfoChanged(uint, const Tp::ContactInfoFieldList &);
159  TP_QT_NO_EXPORT void onClientTypesUpdated(uint, const QStringList &);
160  TP_QT_NO_EXPORT void doRefreshInfo();
161 
162 private:
163  class PendingRefreshContactInfo;
164  class Roster;
165  friend class Channel;
166  friend class Connection;
167  friend class PendingContacts;
168  friend class PendingRefreshContactInfo;
169  friend class Roster;
170 
171  TP_QT_NO_EXPORT ContactManager(Connection *parent);
172 
173  TP_QT_NO_EXPORT ContactPtr lookupContactByHandle(uint handle);
174 
175  TP_QT_NO_EXPORT ContactPtr ensureContact(const ReferencedHandles &handle,
176  const Features &features,
177  const QVariantMap &attributes);
178  TP_QT_NO_EXPORT ContactPtr ensureContact(uint bareHandle,
179  const QString &id, const Features &features);
180 
181  TP_QT_NO_EXPORT static QString featureToInterface(const Feature &feature);
182  TP_QT_NO_EXPORT void ensureTracking(const Feature &feature);
183 
184  TP_QT_NO_EXPORT PendingOperation *introspectRoster();
185  TP_QT_NO_EXPORT PendingOperation *introspectRosterGroups();
186  TP_QT_NO_EXPORT void resetRoster();
187 
188  TP_QT_NO_EXPORT PendingOperation *refreshContactInfo(Contact *contact);
189 
190  struct Private;
191  friend struct Private;
192  Private *mPriv;
193 };
194 
195 } // Tp
196 
197 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:3437
The ContactManager class is responsible for managing contacts.
Definition: contact-manager.h:50
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:233
Definition: build/TelepathyQt/_gen/types.h:1655
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1197
Definition: build/TelepathyQt/_gen/types.h:3836
The Contact class represents a Telepathy contact.
Definition: contact.h:51
The Features class represents a list of Feature.
Definition: feature.h:61
The PendingContacts class is used by ContactManager when creating/updating Contact objects...
Definition: pending-contacts.h:46
Definition: build/TelepathyQt/_gen/types.h:107
The Connection class represents a Telepathy connection.
Definition: connection.h:61
Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...
Definition: referenced-handles.h:47
The Channel::GroupMemberChangeDetails class represents the details of a group membership change...
Definition: channel.h:105
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
ContactListState
Definition: build/TelepathyQt/_gen/constants.h:1732
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01358.html0000644000175000017500000001154112727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactBlockingAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactBlockingAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
BlockContacts(const Tp::UIntList &contacts, bool reportAbusive, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactBlockingAdaptorslot
BlockedContactsChanged(const Tp::HandleIdentifierMap &blockedContacts, const Tp::HandleIdentifierMap &unblockedContacts)Tp::Service::ConnectionInterfaceContactBlockingAdaptorsignal
ContactBlockingCapabilities() const Tp::Service::ConnectionInterfaceContactBlockingAdaptor
dbusConnection() const Tp::AbstractAdaptor
RequestBlockedContacts(const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactBlockingAdaptorslot
UnblockContacts(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactBlockingAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00141.html0000644000175000017500000010230212727270137020765 0ustar00kaffeinekaffeine00000000000000 Tp::CapabilitiesBase Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Protected Member Functions | List of all members
Tp::CapabilitiesBase Class Reference

The CapabilitiesBase class represents the capabilities a Connection or a Contact supports. More...

#include <TelepathyQt/CapabilitiesBase>

Inherited by Tp::ConnectionCapabilities, and Tp::ContactCapabilities.

Public Member Functions

 CapabilitiesBase ()
 
 CapabilitiesBase (const CapabilitiesBase &other)
 
virtual ~CapabilitiesBase ()
 
CapabilitiesBaseoperator= (const CapabilitiesBase &other)
 
RequestableChannelClassSpecList allClassSpecs () const
 
bool isSpecificToContact () const
 
bool textChats () const
 
bool audioCalls () const
 
bool videoCalls () const
 
bool videoCallsWithAudio () const
 
bool upgradingCalls () const
 
TP_QT_DEPRECATED bool streamedMediaCalls () const
 
TP_QT_DEPRECATED bool streamedMediaAudioCalls () const
 
TP_QT_DEPRECATED bool streamedMediaVideoCalls () const
 
TP_QT_DEPRECATED bool streamedMediaVideoCallsWithAudio () const
 
TP_QT_DEPRECATED bool upgradingStreamedMediaCalls () const
 
bool fileTransfers () const
 

Protected Member Functions

 CapabilitiesBase (bool specificToContact)
 
 CapabilitiesBase (const RequestableChannelClassList &rccs, bool specificToContact)
 
 CapabilitiesBase (const RequestableChannelClassSpecList &rccSpecs, bool specificToContact)
 
virtual void updateRequestableChannelClasses (const RequestableChannelClassList &rccs)
 

Detailed Description

The CapabilitiesBase class represents the capabilities a Connection or a Contact supports.

Constructor & Destructor Documentation

Tp::CapabilitiesBase::CapabilitiesBase ( )

Construct a new CapabilitiesBase object.

Tp::CapabilitiesBase::CapabilitiesBase ( const CapabilitiesBase other)
Tp::CapabilitiesBase::~CapabilitiesBase ( )
virtual

Class destructor.

Tp::CapabilitiesBase::CapabilitiesBase ( bool  specificToContact)
protected

Construct a new CapabilitiesBase object.

Parameters
specificToContactWhether this object describes the capabilities of a particular contact.
Tp::CapabilitiesBase::CapabilitiesBase ( const RequestableChannelClassList rccs,
bool  specificToContact 
)
protected

Construct a new CapabilitiesBase object using the given rccs.

Parameters
rccsRequestableChannelClassList representing the capabilities of a connection or contact.
specificToContactWhether this object describes the capabilities of a particular contact.
Tp::CapabilitiesBase::CapabilitiesBase ( const RequestableChannelClassSpecList rccSpecs,
bool  specificToContact 
)
protected

Construct a new CapabilitiesBase object using the given rccSpecs.

Parameters
rccSpecsRequestableChannelClassSpecList representing the capabilities of a connection or contact.
specificToContactWhether this object describes the capabilities of a particular contact.

Member Function Documentation

CapabilitiesBase & Tp::CapabilitiesBase::operator= ( const CapabilitiesBase other)
RequestableChannelClassSpecList Tp::CapabilitiesBase::allClassSpecs ( ) const

Return the list of requestable channel class spec representing the requests that can succeed.

This can be used by advanced clients to determine whether an unusually complex request would succeed. See the Telepathy specification for details of how to interpret the returned list.

The higher-level methods like textChats() are likely to be more useful to the majority of clients.

Returns
A RequestableChannelClassSpecList indicating the parameters to Account::createChannel, Account::ensureChannel, Connection::createChannel and Connection::ensureChannel that can be expected to work.
bool Tp::CapabilitiesBase::isSpecificToContact ( ) const

Return whether this object accurately describes the capabilities of a particular contact, or if it's only a guess based on the capabilities of the underlying connection.

In protocols like XMPP where each contact advertises their capabilities to others, Contact::capabilities() will generally return an object where this method returns true.

In protocols like SIP where contacts' capabilities are not known, Contact::capabilities() will return an object where this method returns false, whose methods textChats() etc. are based on what the underlying connection supports.

This reflects the fact that the best assumption an application can make is that every contact supports every channel type supported by the connection, while indicating that requests to communicate might fail if the contact does not actually have the necessary functionality.

Returns
true if this object describes the capabilities of a particular contact, false otherwise.
bool Tp::CapabilitiesBase::textChats ( ) const

Return whether private text channels can be established by providing a contact identifier.

If the protocol is such that text chats can be established, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

Returns
true if Account::ensureTextChat() can be expected to work, false otherwise.
bool Tp::CapabilitiesBase::audioCalls ( ) const
bool Tp::CapabilitiesBase::videoCalls ( ) const
bool Tp::CapabilitiesBase::videoCallsWithAudio ( ) const
bool Tp::CapabilitiesBase::upgradingCalls ( ) const
bool Tp::CapabilitiesBase::streamedMediaCalls ( ) const

Return whether private audio and/or video calls can be established by providing a contact identifier.

If the protocol is such that these calls can be established, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

Returns
true if Account::ensureStreamedMediaCall() can be expected to work, false otherwise.
See also
streamedMediaAudioCalls(), streamedMediaVideoCalls(), streamedMediaVideoCallsWithAudio()
bool Tp::CapabilitiesBase::streamedMediaAudioCalls ( ) const

Return whether private audio calls can be established by providing a contact identifier.

Call upgradingCalls() to determine whether such calls are likely to be upgradable to have a video stream later.

If the protocol is such that these calls can be established, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

In some older connection managers, streamedMediaAudioCalls() and streamedMediaVideoCalls() might both return false, even though streamedMediaCalls() returns true. This indicates that only an older API is supported - clients of these connection managers must call Account::ensureStreamedMediaCall() to get an empty call, then add audio and/or video streams to it.

Returns
true if Account::ensureStreamedMediaAudioCall() can be expected to work, false otherwise.
See also
streamedMediaCalls(), streamedMediaVideoCalls(), streamedMediaVideoCallsWithAudio()
bool Tp::CapabilitiesBase::streamedMediaVideoCalls ( ) const

Return whether private video calls can be established by providing a contact identifier.

The same comments as for streamedMediaAudioCalls() apply to this method.

Returns
true if Account::ensureStreamedMediaVideoCall() can be expected to work, if given false as withAudio parameter, false otherwise.
See also
streamedMediaCalls(), streamedMediaAudioCalls(), streamedMediaVideoCallsWithAudio()
bool Tp::CapabilitiesBase::streamedMediaVideoCallsWithAudio ( ) const

Return whether private video calls with audio can be established by providing a contact identifier.

The same comments as for streamedMediaAudioCalls() apply to this method.

Returns
true if Account::ensureStreamedMediaVideoCall() can be expected to work, if given true as withAudio parameter, false otherwise.
See also
streamedMediaCalls(), streamedMediaAudioCalls(), streamedMediaVideoCalls()
bool Tp::CapabilitiesBase::upgradingStreamedMediaCalls ( ) const

Return whether the protocol supports adding streams of a different type to ongoing media calls.

In some protocols and clients (such as XMPP Jingle), all calls potentially support both audio and video. This is indicated by returning true.

In other protocols and clients (such as MSN, and the variant of XMPP Jingle used by Google clients), the streams are fixed at the time the call is started, so if you will ever want video, you have to ask for it at the beginning, for instance with ensureStreamedMediaVideoCall(). This is indicated by returning false.

User interfaces can use this method as a UI hint. If it returns false, then a UI wishing to support both audio and video calls will have to provide separate "audio call" and "video call" buttons or menu items; if it returns true, a single button that makes an audio call is sufficient, because video can be added later.

(The underlying Telepathy feature is the ImmutableStreams property; if this method returns true, then ImmutableStreams is false, and vice versa).

Returns
true if audio calls can be upgraded to audio + video, false otherwise.
bool Tp::CapabilitiesBase::fileTransfers ( ) const

Return whether file transfer can be established by providing a contact identifier

Returns
true if file transfers can be expected to work, false otherwise.
void Tp::CapabilitiesBase::updateRequestableChannelClasses ( const RequestableChannelClassList rccs)
protectedvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01102.html0000644000175000017500000001227712727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OptionalInterfaceFactory< DBusProxySubclass > Member List

This is the complete list of members for Tp::OptionalInterfaceFactory< DBusProxySubclass >, including all inherited members.

BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< DBusProxySubclass >
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< DBusProxySubclass >
hasInterface(const QString &name) const Tp::OptionalInterfaceFactory< DBusProxySubclass >inline
interface() const Tp::OptionalInterfaceFactory< DBusProxySubclass >inline
interfaces() const Tp::OptionalInterfaceFactory< DBusProxySubclass >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< DBusProxySubclass >
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) const Tp::OptionalInterfaceFactory< DBusProxySubclass >inline
OptionalInterfaceFactory(DBusProxySubclass *this_)Tp::OptionalInterfaceFactory< DBusProxySubclass >inline
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< DBusProxySubclass >inlineprotected
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< DBusProxySubclass >inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00957.html0000644000175000017500000000544412727270137021015 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ByteArrayList Member List

This is the complete list of members for Tp::ByteArrayList, including all inherited members.

ByteArrayList()Tp::ByteArrayListinline
ByteArrayList(const QList< QByteArray > &a)Tp::ByteArrayListinline
operator=(const QList< QByteArray > &a)Tp::ByteArrayListinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/doxygen.css0000644000175000017500000001317012727270137021464 0ustar00kaffeinekaffeine00000000000000body, table, div, p, dl { font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; font-size: 12px; } /* @group Heading Levels */ h1 { text-align: center; font-size: 150%; } h2 { font-size: 110%; font-weight: bold; } h3 { font-size: 100%; } h3.version { font-size: 100%; text-align: center; } /* @end */ caption { font-weight: bold; } div.title{ font-size: 150%; text-align: center; margin: 2px; padding: 2px; } div.qindex, div.navtab{ background-color: #e8eef2; border: 1px solid #84b0c7; text-align: center; margin: 2px; padding: 2px; } div.qindex, div.navpath { width: 100%; line-height: 140%; } div.navtab { margin-right: 15px; } /* @group Link Styling */ a { color: #153788; font-weight: normal; text-decoration: none; } .contents a:visited { color: #1b77c5; } a:hover { text-decoration: underline; } a.qindex { font-weight: bold; } a.qindexHL { font-weight: bold; background-color: #6666cc; color: #ffffff; border: 1px double #9295C2; } .contents a.qindexHL:visited { color: #ffffff; } a.el { } a.elRef { } a.code { } a.codeRef { } /* @end */ dl.el { margin-left: -1cm; } .fragment { font-family: monospace, fixed; font-size: 100%; } pre.fragment { border: 1px solid #CCCCCC; background-color: #f5f5f5; padding: 4px 6px; margin: 4px 8px 4px 2px; } div.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } div.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold; } div.groupText { margin-left: 16px; font-style: italic; } body { background: white; color: black; margin-right: 20px; margin-left: 20px; } td.indexkey { background-color: #e8eef2; font-weight: bold; border: 1px solid #CCCCCC; margin: 2px 0px 2px 0; padding: 2px 10px; } td.indexvalue { background-color: #e8eef2; border: 1px solid #CCCCCC; padding: 2px 10px; margin: 2px 0px; } tr.memlist { background-color: #f0f0f0; } p.formulaDsp { text-align: center; } img.formulaDsp { } img.formulaInl { vertical-align: middle; } /* @group Code Colorization */ span.keyword { color: #008000 } span.keywordtype { color: #604020 } span.keywordflow { color: #e08000 } span.comment { color: #800000 } span.preprocessor { color: #806020 } span.stringliteral { color: #002080 } span.charliteral { color: #008080 } span.vhdldigit { color: #ff00ff } span.vhdlchar { color: #000000 } span.vhdlkeyword { color: #700070 } span.vhdllogic { color: #ff0000 } /* @end */ .search { color: #003399; font-weight: bold; } form.search { margin-bottom: 0px; margin-top: 0px; } input.search { font-size: 75%; color: #000080; font-weight: normal; background-color: #e8eef2; } td.tiny { font-size: 75%; } .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #84b0c7; } th.dirtab { background: #e8eef2; font-weight: bold; } hr { height: 0; border: none; border-top: 1px solid #666; } /* @group Member Descriptions */ .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { background-color: #FAFAFA; border: none; margin: 4px; padding: 1px 0 0 8px; } .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; color: #555; } .memItemLeft, .memItemRight, .memTemplParams { border-top: 1px solid #ccc; } .memTemplParams { color: #606060; } /* @end */ /* @group Member Details */ /* Styles for detailed member documentation */ .memtemplate { font-size: 80%; color: #606060; font-weight: normal; margin-left: 3px; } .memnav { background-color: #e8eef2; border: 1px solid #84b0c7; text-align: center; margin: 2px; margin-right: 15px; padding: 2px; } .memitem { padding: 0; } .memname { white-space: nowrap; font-weight: bold; } .memproto { padding: 0; background-color: #d5e1e8; font-weight: bold; border: 1px solid #84b0c7; } .memdoc { padding: 2px 5px; border-top-width: 0; } .paramkey { text-align: right; } .paramtype { white-space: nowrap; } .paramname { color: #602020; white-space: nowrap; } .paramname em { font-style: normal; } /* @end */ /* @group Directory (tree) */ /* for the tree view */ .ftvtree { font-family: sans-serif; margin: 0.5em; } /* these are for tree view when used as main index */ .directory { font-size: 9pt; font-weight: bold; } .directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } /* The following two styles can be used to replace the root node title with an image of your choice. Simply uncomment the next two styles, specify the name of your image and be sure to set 'height' to the proper pixel height of your image. */ /* .directory h3.swap { height: 61px; background-repeat: no-repeat; background-image: url("yourimage.gif"); } .directory h3.swap span { display: none; } */ .directory > h3 { margin-top: 0; } .directory p { margin: 0px; white-space: nowrap; } .directory div { display: none; margin: 0px; } .directory img { vertical-align: -30%; } /* these are for tree view when not used as main index */ .directory-alt { font-size: 100%; font-weight: bold; } .directory-alt h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } .directory-alt > h3 { margin-top: 0; } .directory-alt p { margin: 0px; white-space: nowrap; } .directory-alt div { display: none; margin: 0px; } .directory-alt img { vertical-align: -30%; } /* @end */ address { font-style: normal; color: #333; } div.rationale:before { content: "Rationale:"; display: block; font-weight: bold; font-size: 0.85em; } div.rationale { font-style: italic; border-left: 0.25em solid #808080; padding-left: 0.5em; } div.rationale p { font-size: 0.85em; } telepathy-qt-0.9.7/doc/html/doxygen.png0000644000175000017500000000730312727270137021461 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDRh ;ˆØŠIDATxí]y\•Õº~45%TL Q”PE"q–Û11±]8a„w*©¨(*â" ˆzÀè`8 ¨‰¢mÅ,’òà„p$%”œBó(8k†Ü÷ýÜû6lòö»§k÷Ç÷[ÏÞß·Ö;?k½ëßÕÕÕPxÑêÏ't´ÏùÈ€zÀÇÅ3_€Q4€g@œmÿ ¾ò‰âci‰ôçÿ{ ðÇð¬ù~½Á€4:õHcÂü ðŸÁ³„ª'ÕPÆæ P7^h،♠zb„cóP¨„ 3‚† Ò}çÿO²qÁºNkÝTÛ(É?d Ç~z<’«4Óǡ؞Þv­zµÙ¦õ¬ZâdÛ,Ë6Ók±]Fz< ¾ZçƒsÕ?ìƒsUø2SÉåwê1”c`[ì—}%ѽ.Ô¼6‚BLZ˜û!F8[ ¹…×TéÛ— »Þ#gó]å:vžu?‡vèbÙR˜?wùŽŸ¾ÊÐgbÑÉÌÕ$kF~Ê;عÆ•¢ïX®?ÉèlÆÙôõà»Nʪ¼­,ìHC§gAz•ÆlÓº­gÑú ]œjÎñåM…3ÓÚæoÒ³'=‘$Ò÷f}G•ŸS_‡öèco.Êȹ :ó£ Ãds®Ù:1=¼{ƒå9?÷ý…zqÛvîÓi‰D’p¿Ë šmÙíoÛâýaÖüEqÒµwÌ}¿~{òj€ç{ôºŸFNëí[ëOq·ÇOSúXO]°>‚‚muæÄ¾e¤“5Ë{¨JÕ¯£(›´«bÂçû’ÍlÓÅ}žïú`éUÞy„ac§Á†ÔCºŠóAkl‘±y¥†ô¢ùôs÷Aø¬7ÄõôoJ±äÄ ù.¥Be. Z¬Ð×ÇÈöå¹­ù'Ù-PëìŠyF.ž‚žÝÚ€lp&.êˆð•jò7’re’z19»ã§HGíø%œüq°ïüz׈c¬_k_")ŸHJnÐÑ~ˆÐÖ˜á´äÕ5 µÁq€ÿ5#¸·îà¶+9T‘‚ ðŽ÷Rܸrz“Ï´Ì =Ï…{ðáO£Èf ¡Íwg|Ž’Ü/¢Þ$÷¯¢ëðúÀ;¿à¨Ö™âÒÆ­]¯ÜW"Þ/< ‡÷DÏà°½üB}çyIEc^—ƒ=[V“Ýh²ëMä$l];Kû®¸ýr¦È*Åò ÿtÒõ$]•MŸ÷´;×I€1èó!‚œõ¸M õ¨(fÌæ<ÁÎÎò5~z¿ù¶ž mÌêÕ >–âÚ©âëˆIÎÞçz;ãu[i·eç^ÆÜÙÓ³NÞëF6B\}7†»+üŽÓ,Ã'a ½˜-yHY¿,‘^—ñfú~ß?Hcø¸…¸ñó{Z+4\såƒû·¯Ù·nߣð«íFÆ¡sغëû§D¾?ò<–Ævkx0ÅM±ælذÁIÓxÿd”žÜÉ÷EE»AªM«g*È£YEí7Û™^[uíý®v[wGå†=Ed¼n×¶ÆæÖÅl¡'¨pGÚk+‹æ¢À¬¨C8ªâš2 dz3H£ß ¡¨BÒûSÃÅù[wŘ ~xpçútÁæmö¤Å£¥iQæ­‰AB1ÉfÙ‰›4u¹ïìIÒ]Ë6äò%ÿ†† 1t.’NJph¬zÌ ÎR1Ž"3-"¸‡‹&ìó°1âüžìó[:‡ï„¼‘……N m–“W0®_èÜœ ×õ6ùò&»)Æìꦬýæ}¬ñ~»{múù]z½£M•ºP~^Îá:eQTÙ_*7ÕÄ9É8—·Ëï 3°¶47E•î¿u÷“SÉ»U¯ _ NíºôW¬e¸ÄNÓ|»;™¿;ŒæÅd"ȉôøòÞµõï¾®½"èÄ´ÖMM+bYµ‘_ÉæEÝüÎ]P»¹XKÐI½Þ¥oE<_¹(„EP±Œ|mÇÁ¡‘Ý,ŠÓ©ººZ±Îߺ§×kÝ,kÍMš`Äø…jzeU»æ ™Át3ÓÀ½˜6—ÒöùË·r¨¹Ñ}““wö:Χùë¼ ¿|‚TܵÉQˆKßç_ÁâÀ™œ”pÑÐóໃ¼Ydâ0!®àa –øöçW$ÃÁ‘Á$/\¬$ð 2ÞímÞLH‹Ÿ èd£HVÜ,:ò½»RÍZšJ­a„z*>‹_…NT(ù‚^SVF­U¹8ñEþôñ܈óùnd;«®8™\C]ø=Èêm¬Æ:‚´ÆbãDd=Áãßžˆ‹UU5O‹|]þð®Pèêv‰á\]2ßìÿ"yÈ[ïyʧz£g{Y«{„Ùø5©ÿ;w{N3é­nâĨw§Á¢ÍK¢Ý­ûÏ29Id¿’ì y)ìPÞò8ŒÅ©¯‰±@mPÔñwjl,6 áhWÕ˜d öà uõmÁp®.™á£Ç…twöR x­BδYcŒxg*vo  yò‘•“[¬?ÜVœ˜0ÒN¡O난~Žó’¯·h#´Hkýœ±8kÓß^Àq@]àÓ“ø,56´¯÷Í-κU»n…[>]@nîøÏœp›[œ6# €4tën¯:ŽÒþ}…—8äT9_žY$/´G’K™©ù†•(óÑ’Mø©`ŸÉdѺ;ùO‹B Ó&P{qöhJÉ+Úé–§¦l2«MïöÝ_1ÑÓ«’t¸½±l€ëØya ¦ô©«®½ÆL^¬žêñš¸ùy.¾Û½Š[ u/]½‹iS}øN>²e1™q‡jfÚ&¢©iT\=kÏ›ÀXô-.84V5ðu!TE˜ þ.ŒOH´¶4—zwTr.ï‰¦Ë xõµ·œÖ„HÆù£žÈHùg Ñhñ’T$ßyq¸zþ¨p¿´ë< q•ró÷š‰wÿÍÑð–I]´–æI²é²˜sÂ"×:Õ–bÕ¦“ÈÙL6¢9VÊÓWž§<æ;”3?ý©Mê3AV#µ±ËÞ¯‘ž K£UrÝ9!›qát¦H£Ù+6ÇV…/TS^pÃùqgLP'Ú5E ‚–ÀÞºîÄ Ën"2|Ÿ;®W»Îý"Ö¬TwÖâµtúŽO'› á+W Ã+¦âZÌ–<ÕÆ&nOÝ,IŠ£06.ÁZ.Çñúøh*INÚ’Oe½ÉgBXÐÔZóäøä9èü“hÒíDSš¥¡Ê µA¯/Ôc¸ö“`A§¯"zå|‘ €ÅŸ¨ú;HÍ#‚Î|%ÄOˆƒ«OàÌÉÐÜD ž mÜðâc–ƤÉÂqm¶uË&~÷núÒË £ÇÏ€ZÕj =«_n[‡‡÷nN§ÏÝ$_¾bE˜‚€Õ)ù8¾?6‘lú“ÍÙæÖ}#bW( œ³d-®•p&¡ý’œÖa”"9öõņÐ$’Ú›AÜ!ä;ÐÑõè{~á¹8‘ÛÞ£1ÛÓÉ0ž`²#´kÒuäNÅÖ Q¹bhæ ”8ûÓMáŽa›•¿”w±h²¢®qŠæ°(bK ‚’Z¾Ò%ÐÆémáãÖË(Éý‚ÛJ)@> þ›7% ï{y Á“¾ÆÒîohfòô>{pÿ.­_Î%±ÉèägëlZØ\B2B #™¸ÚüÒºp‚hÝšü®[¥Ü<‹#SpñÌA7’ãØHƒt4:Ÿ|g¨tÓL¶*($Æ©»ì…®ù’ó÷$;b›ÔÙ`=¶£¦M„MÌÄ5ò«·Ç¾“H·ÌH.¼žHeAîº5}r­dõ¨±)ÀT};€Q5iÖ2…O0ü…0óñÃ;óæ,Š´²µ냔}g‘£]‹7å9ˆà©_{üèîêžC>úhê{Ž .ÈìðIIð€?[Kswz6Òuíý¬;µ€ç§OåâJÉa˶zv°éd† ¤µâ‚l´é舊«Åüy¾c÷ÁèÖÍ'ràúÅ™TWÕôÓ°¡L €|ʽŒ¼ì­høBã ÝTëî'ò]Kø£ìâÏ(=¹Kx €¿ LÌ,Pý¤Êµu‡¹…׈ §Å¾÷à1Ý«Äý;¿pGDäxZYÛ kfæ6¸ùóæ7®œ®þ6·ÕoÚ¾ÔH~ò®Þ¸â 8Uø“p<ºw3¡a£ÏÑ’‘3èÏ"€bˆ-ÎܺÏ_ªÅ]+ËM©zü°s“f-êçhÇãÑýÊãôÿ5}ZQNb{Ó?å%ÿ\SUõعIÓæ}~}p[œoÔÄ„êÐMMZáNÅå@>Œ„²á6(?¡Åé âK½+ü?À%ÝÝ·/Ç1‚9áUø?B)”ÕèâÞlÈÒêÏ @=àùÄÞžk­®ÅIEND®B`‚telepathy-qt-0.9.7/doc/html/a00456.html0000644000175000017500000001772012727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor0< R > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor0< R > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) ()
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor0 (FunctionType fn)
 
ResultType operator() () const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R >
typedef R(* Tp::PtrFunctor0< R >::FunctionType) ()
template<class R >
typedef R Tp::PtrFunctor0< R >::ResultType

Constructor & Destructor Documentation

template<class R >
Tp::PtrFunctor0< R >::PtrFunctor0 ( FunctionType  fn)
inline

Member Function Documentation

template<class R >
ResultType Tp::PtrFunctor0< R >::operator() ( ) const
inline

Member Data Documentation

template<class R >
FunctionType Tp::PtrFunctor0< R >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00200.html0000644000175000017500000010761112727270137020771 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceSMSInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< uint, int, int > GetSMSLength (const Tp::MessagePartList &message, int timeout=-1)
 

Signals

void SMSChannelChanged (bool SMSChannel)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelInterfaceSMSInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSMSInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSMSInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceSMSInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceSMSInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyFlash () const
 
Tp::PendingVariantrequestPropertySMSChannel () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceSMSInterface::ChannelInterfaceSMSInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceSMSInterface 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.
Tp::Client::ChannelInterfaceSMSInterface::ChannelInterfaceSMSInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceSMSInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceSMSInterface::ChannelInterfaceSMSInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceSMSInterface 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 Tp::Client::ChannelInterfaceSMSInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.SMS", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSMSInterface::requestPropertyFlash ( ) const
inline

Asynchronous getter for the remote object property Flash of type bool.

If True, then this channel is exclusively for receiving class 0 SMSes (and no SMSes can be sent using ChannelInterfaceMessagesInterface::SendMessage() on this channel). If False, no incoming class 0 SMSes will appear on this channel.

This property is immutable (cannot change), and therefore SHOULD appear wherever immutable properties are reported, e.g. ConnectionInterfaceRequestsInterface::NewChannels() signals.

Class 0 SMSes should be displayed immediately to the user, and need not be saved to the device memory unless the user explicitly chooses to do so. This is unlike “normalâ€, class 1 SMSes, which must be stored, but need not be shown immediately in their entirity to the user.

Separating class 0 SMSes into their own channel with this immutable property allows them to be dispatched to a different ClientHandlerInterface —which would include this property in its ClientHandlerInterface::HandlerChannelFilter —avoiding the normal Text channel handler having to decide for each message whether it should be displayed to the user immediately or handled normally.

Currently, no mechanism is defined for sending class 0 SMSes. It seems reasonable to support specifying the class of an outgoing SMS in its header Message_Part, rather than requiring the UI to request a special channel for such SMSes; hence, we define here that channels with Flash set to True are read-only.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSMSInterface::requestPropertySMSChannel ( ) const
inline

Asynchronous getter for the remote object property SMSChannel of type bool.

If TRUE, messages sent and received on this channel are transmitted via SMS.

If this property is included in the channel request, the Connection Manager MUST return an appropriate channel (i.e. if TRUE the channel must be for SMSes, if FALSE it must not), or else fail to provide the requested channel with the NotCapable error.

For example, to explicitly request an SMS channel to a contact. You might construct a channel request like:

{
  Channel.Type: Channel.Type.Text,
  Channel.TargetHandleType: Handle_Type_Contact,
  Channel.TargetID: escher.cat,
  Channel.Interface.SMS.SMSChannel: True,
}
Some protocols allow us to send SMSes to a remote contact, without knowing the phone number to which those SMSes will be sent. This provides a mechanism to request such channels.

If this property is not included in the channel request, the Connection Manager MAY return an SMS channel if that is the most appropriate medium (i.e. if the channel target is a phone number).

To some types of identifiers (i.e. phone numbers) it only makes sense to return an SMS channel, this is what happens currently with telepathy-ring. We don't want to break this behaviour when we are not explicit about the type of channel we want. Alternatively, for protocols where there is an SMS fallback for IM messages, it's possible that we don't care what sort of channel we get, and simply want notification of the transport.

Some protocols have a fallback to deliver IM messages via SMS. On these protocols, the Connection Manager SHOULD set the property value as appropriate, and notify its change with SMSChannelChanged() .

Protocols such as MSN can fall back to delivering IM messages via SMS. Where possible we want clients to be able to inform the user that their messages are going to be redirected to the remote contact's phone.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceSMSInterface::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<uint, int, int> Tp::Client::ChannelInterfaceSMSInterface::GetSMSLength ( const Tp::MessagePartList message,
int  timeout = -1 
)
inlineslot

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

Returns the number of 140 octet chunks required to send a message via SMS, as well as the number of remaining characters available in the final chunk and, if possible, an estimate of the cost.

There are a number of different SMS encoding mechanisms, and the client doesn't know which mechanisms an individual CM might support. This method allows the client, without any knowledge of the encoding mechanism, to provide length details to the user.

Clients SHOULD limit the frequency with which this method is called and SHOULD NOT call it for every keystroke. Clients MAY estimate the remaining size between single keystrokes.

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

Parameters
message
The message the user wishes to send.
timeoutThe timeout in milliseconds.
Returns

The number of 140 octet chunks required to send this message.

For example, in the GSM standard 7-bit encoding, a 162 character message would require 2 chunks.

Returns

The number of further characters that can be fit in the final chunk. A negative value indicates that the message will be truncated by abs(Remaining_Characters). The value MIN_INT32 (-231) indicates the message will be truncated by an unknown amount.

For example, in the GSM standard 7-bit encoding, a 162 character message would return 144 remaining characters (because of the space required for the multipart SMS header).

Returns

The estimated cost of sending this message. The currency and scale of this value are the same as the ConnectionInterfaceBalanceInterface::AccountBalance property.

A value of -1 indicates the cost could not be estimated.

void Tp::Client::ChannelInterfaceSMSInterface::SMSChannelChanged ( bool  SMSChannel)
signal

Represents the signal SMSChannelChanged on the remote object.

This signal indicates a change in the SMSChannel property.

Parameters
SMSChannel
The new value for SMSChannel.
void Tp::Client::ChannelInterfaceSMSInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01171.html0000644000175000017500000000473112727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RTCPFeedbackMessageProperties Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00515.html0000644000175000017500000001517112727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::TLSCertificateRejection Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::TLSCertificateRejection Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint reason
 
QString error
 
QVariantMap details
 

Detailed Description

Structure type generated from the specification.

Struct representing one reason why a TLS certificate was rejected.

Since there can be multiple things wrong with a TLS certificate, arrays of this type are used to represent lists of reasons for rejection. In that case, the most important reason SHOULD be placed first in the list.

Member Data Documentation

uint Tp::TLSCertificateRejection::reason

The value of the TLS_Certificate_Reject_Reason enumeration for this certificate rejection.

Clients that do not understand the Error member, which may be implementation-specific, can use this property to classify rejection reasons into common categories.

QString Tp::TLSCertificateRejection::error

The DBus error name for this certificate rejection.

This MAY correspond to the value of the Reason member, or MAY be a more specific D-Bus error name, perhaps implementation-specific.

QVariantMap Tp::TLSCertificateRejection::details

Additional information about why the certificate was rejected. This MAY also include one or more of the following well-known keys:

user-requested (b)
True if the error was due to an user-requested rejection of the certificate; False if there was an unrecoverable error in the verification process.
expected-hostname (s)
If the rejection reason is Hostname_Mismatch, the hostname that the server certificate was expected to have.
certificate-hostname (s)
If the rejection reason is Hostname_Mismatch, the hostname of the certificate that was presented.

For instance, if you try to connect to gmail.com but are presented with a TLS certificate issued to evil.example.org, the error details for Hostname_Mismatch MAY include:

      {
        'expected-hostname': 'gmail.com',
        'certificate-hostname': 'evil.example.org',
      }
    
debug-message (s)
Debugging information on the error, corresponding to the message part of a D-Bus error message, which SHOULD NOT be displayed to users under normal circumstances


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00646_source.html0000644000175000017500000177535312727270137022406 0ustar00kaffeinekaffeine00000000000000 constants.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
build/TelepathyQt/_gen/constants.h
1 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7
2  */
3 
4 #ifndef IN_TP_QT_HEADER
5 #error IN_TP_QT_HEADER
6 #endif
7 
8 #include <QFlags>
9 
46 namespace Tp
47 {
54 {
59 
64 
70 
84 
117 
119 };
120 
127 typedef QFlags<ConnMgrParamFlag> ConnMgrParamFlags;
128 Q_DECLARE_OPERATORS_FOR_FLAGS(ConnMgrParamFlags)
129 
130 
136 {
154 
156 };
157 
164 typedef QFlags<ConnectionAliasFlag> ConnectionAliasFlags;
165 Q_DECLARE_OPERATORS_FOR_FLAGS(ConnectionAliasFlags)
166 
167 
173 {
187 
200 
213 
214  _AnonymityModePadding = 0xffffffffU
215 };
216 
230 typedef QFlags<AnonymityMode> AnonymityModeFlags;
231 Q_DECLARE_OPERATORS_FOR_FLAGS(AnonymityModeFlags)
232 
233 
239 {
245 
250 
252 };
253 
260 typedef QFlags<ConnectionCapabilityFlag> ConnectionCapabilityFlags;
261 Q_DECLARE_OPERATORS_FOR_FLAGS(ConnectionCapabilityFlags)
262 
263 
269 {
278 
280 };
281 
288 typedef QFlags<ContactBlockingCapability> ContactBlockingCapabilities;
289 Q_DECLARE_OPERATORS_FOR_FLAGS(ContactBlockingCapabilities)
290 
291 
297 {
302 
309 
311 };
312 
324 typedef QFlags<ContactInfoFlag> ContactInfoFlags;
325 Q_DECLARE_OPERATORS_FOR_FLAGS(ContactInfoFlags)
326 
327 
333 {
349 
378 
380 };
381 
392 typedef QFlags<ContactInfoFieldFlag> ContactInfoFieldFlags;
393 Q_DECLARE_OPERATORS_FOR_FLAGS(ContactInfoFieldFlags)
394 
395 
401 {
407 
409 };
410 
422 typedef QFlags<LocationFeature> LocationFeatures;
423 Q_DECLARE_OPERATORS_FOR_FLAGS(LocationFeatures)
424 
425 
431 {
439 
447 
455 
462 
476 
489 
491 };
492 
505 typedef QFlags<MailNotificationFlag> MailNotificationFlags;
506 Q_DECLARE_OPERATORS_FOR_FLAGS(MailNotificationFlags)
507 
508 
514 {
527 
535 
542 
550 
560 
561  _CallFlagPadding = 0xffffffffU
562 };
563 
574 typedef QFlags<CallFlag> CallFlags;
575 Q_DECLARE_OPERATORS_FOR_FLAGS(CallFlags)
576 
577 
583 {
597 
610 
624 
626 };
627 
650 typedef QFlags<CallMemberFlag> CallMemberFlags;
651 Q_DECLARE_OPERATORS_FOR_FLAGS(CallMemberFlags)
652 
653 
659 {
665 
672 
674 };
675 
682 typedef QFlags<MediaStreamPending> MediaStreamPendingSend;
683 Q_DECLARE_OPERATORS_FOR_FLAGS(MediaStreamPendingSend)
684 
685 
691 {
696 
701 
706 
712 
718 
724 
726 };
727 
739 typedef QFlags<ChannelMediaCapability> ChannelMediaCapabilities;
740 Q_DECLARE_OPERATORS_FOR_FLAGS(ChannelMediaCapabilities)
741 
742 
748 {
754 
770 
788 
805 
807 };
808 
815 typedef QFlags<ChannelTextMessageFlag> ChannelTextMessageFlags;
816 Q_DECLARE_OPERATORS_FOR_FLAGS(ChannelTextMessageFlags)
817 
818 
824 {
830 
831  _CaptchaFlagPadding = 0xffffffffU
832 };
833 
844 typedef QFlags<CaptchaFlag> CaptchaFlags;
845 Q_DECLARE_OPERATORS_FOR_FLAGS(CaptchaFlags)
846 
847 
853 {
859 
865 
872 
879 
888 
902 
904 };
905 
914 typedef QFlags<ChannelCallState> ChannelCallStateFlags;
915 Q_DECLARE_OPERATORS_FOR_FLAGS(ChannelCallStateFlags)
916 
917 
923 {
929 
935 
941 
947 
953 
959 
965 
971 
992 
999 
1008 
1014 
1026 
1033 
1035 };
1036 
1043 typedef QFlags<ChannelGroupFlag> ChannelGroupFlags;
1044 Q_DECLARE_OPERATORS_FOR_FLAGS(ChannelGroupFlags)
1045 
1046 
1052 {
1062 
1070 
1072 };
1073 
1106 typedef QFlags<MessagePartSupportFlag> MessagePartSupportFlags;
1107 Q_DECLARE_OPERATORS_FOR_FLAGS(MessagePartSupportFlags)
1108 
1109 
1115 {
1134 
1143 
1152 
1154 };
1155 
1166 typedef QFlags<MessageSendingFlag> MessageSendingFlags;
1167 Q_DECLARE_OPERATORS_FOR_FLAGS(MessageSendingFlags)
1168 
1169 
1175 {
1181 
1187 
1193 
1199 
1201 };
1202 
1219 typedef QFlags<DeliveryReportingSupportFlag> DeliveryReportingSupportFlags;
1220 Q_DECLARE_OPERATORS_FOR_FLAGS(DeliveryReportingSupportFlags)
1221 
1222 
1228 {
1234 
1239 
1241 };
1242 
1249 typedef QFlags<ChannelPasswordFlag> ChannelPasswordFlags;
1250 Q_DECLARE_OPERATORS_FOR_FLAGS(ChannelPasswordFlags)
1251 
1252 
1258 {
1263 
1268 
1269  _PropertyFlagPadding = 0xffffffffU
1270 };
1271 
1278 typedef QFlags<PropertyFlag> PropertyFlags;
1279 Q_DECLARE_OPERATORS_FOR_FLAGS(PropertyFlags)
1280 
1281 
1287 {
1293 
1299 
1305 
1310 
1312 };
1313 
1322 typedef QFlags<StorageRestrictionFlag> StorageRestrictionFlags;
1323 Q_DECLARE_OPERATORS_FOR_FLAGS(StorageRestrictionFlags)
1324 
1325 
1331 {
1336 
1341 
1346 
1351 
1356 
1358 };
1359 
1366 typedef QFlags<RTCPXRStatisticsFlag> RTCPXRStatisticsFlags;
1367 Q_DECLARE_OPERATORS_FOR_FLAGS(RTCPXRStatisticsFlags)
1368 
1369 
1376 {
1383 
1388 
1393 
1398 
1403 
1404  _HandleTypePadding = 0xffffffffU
1405 };
1406 
1412 const int NUM_HANDLE_TYPES = (4+1);
1413 
1421 {
1426 
1433 
1442 
1444 };
1445 
1451 const int NUM_CONNECTION_STATUSES = (2+1);
1452 
1466 {
1477 
1490 
1510 
1521 
1536 
1583 
1594 
1608 
1619 
1630 
1641 
1653 
1664 
1676 
1687 
1699 
1713 
1715 };
1716 
1723 
1733 {
1739 
1746 
1756 
1763 
1765 };
1766 
1772 const int NUM_CONTACT_LIST_STATES = (3+1);
1773 
1790 {
1795 
1802 
1810 
1817 
1822 
1824 };
1825 
1831 const int NUM_SUBSCRIPTION_STATES = (4+1);
1832 
1881 {
1900 
1912 
1925 
1940 
1942 };
1943 
1950 
1960 {
1965 
1971 
1972  _HTTPMethodPadding = 0xffffffffU
1973 };
1974 
1980 const int NUM_HTTP_METHODS = (1+1);
1981 
1991 {
1998 
2003 
2009 
2011 };
2012 
2018 const int NUM_SERVICE_POINT_TYPES = (2+1);
2019 
2027 {
2034 
2039 
2044 
2049 
2054 
2059 
2064 
2070 
2076 
2078 };
2079 
2086 
2104 {
2116 
2122 
2133 
2138 
2145 
2151 
2170 
2172 };
2173 
2179 const int NUM_ACCESS_CONTROL_TYPES = (6+1);
2180 
2203 {
2209 
2216 
2223 
2229 
2231 };
2232 
2239 
2287 {
2294 
2302 
2313 
2326 
2333 
2339 
2344 
2345  _CallStatePadding = 0xffffffffU
2346 };
2347 
2353 const int NUM_CALL_STATES = (6+1);
2354 
2366 {
2374 
2382 
2395 
2407 
2418 
2433 
2442 
2453 
2465 
2476 
2487 
2498 
2509 
2516 
2518 };
2519 
2526 
2534 {
2539 
2544 
2550 
2555 
2560 
2562 };
2563 
2570 
2578 {
2584 
2591 
2598 
2603 
2608 
2613 
2615 };
2616 
2622 const int NUM_FILE_TRANSFER_STATES = (5+1);
2623 
2631 {
2636 
2641 
2646 
2651 
2656 
2661 
2663 };
2664 
2671 
2679 {
2684 
2689 
2694 
2699 
2700  _FileHashTypePadding = 0xffffffffU
2701 };
2702 
2708 const int NUM_FILE_HASH_TYPES = (3+1);
2709 
2717 {
2722 
2727 
2729 };
2730 
2736 const int NUM_MEDIA_STREAM_TYPES = (1+1);
2737 
2745 {
2750 
2755 
2760 
2762 };
2763 
2769 const int NUM_MEDIA_STREAM_STATES = (2+1);
2770 
2778 {
2783 
2788 
2793 
2798 
2800 };
2801 
2808 
2816 {
2821 
2826 
2831 
2836 
2841 
2847 
2849 };
2850 
2857 
2867 {
2872 
2880 
2885 
2890 
2897 
2899 };
2900 
2907 
2915 {
2923 
2931 
2932  _TubeTypePadding = 0xffffffffU
2933 };
2934 
2940 const int NUM_TUBE_TYPES = (1+1);
2941 
2949 {
2954 
2959 
2964 
2965  _TubeStatePadding = 0xffffffffU
2966 };
2967 
2973 const int NUM_TUBE_STATES = (2+1);
2974 
2986 {
2992 
3001 
3008 
3010 };
3011 
3017 const int NUM_CAPTCHA_CANCEL_REASONS = (2+1);
3018 
3026 {
3033 
3041 
3048 
3055 
3061 
3063 };
3064 
3070 const int NUM_CAPTCHA_STATUSES = (4+1);
3071 
3079 {
3084 
3089 
3094 
3099 
3104 
3106 };
3107 
3113 const int NUM_CHANNEL_CHAT_STATES = (4+1);
3114 
3122 {
3127 
3132 
3137 
3142 
3147 
3152 
3157 
3162 
3167 
3172 
3177 
3182 
3187 
3192 
3197 
3202 
3203  _DTMFEventPadding = 0xffffffffU
3204 };
3205 
3211 const int NUM_DTMF_EVENTS = (15+1);
3212 
3235 {
3256 
3280 
3292 
3316 
3324 
3336 
3341 
3367 
3390 
3403 
3416 
3447 
3449 };
3450 
3457 
3467 {
3473 
3478 
3487 
3496 
3498 };
3499 
3505 const int NUM_LOCAL_HOLD_STATES = (3+1);
3506 
3517 {
3524 
3529 
3534 
3536 };
3537 
3544 
3559 {
3567 
3572 
3580 
3590 
3599 
3604 
3611 
3613 };
3614 
3620 const int NUM_DELIVERY_STATUSES = (6+1);
3621 
3633 {
3638 
3643 
3645 };
3646 
3652 const int NUM_SASL_ABORT_REASONS = (1+1);
3653 
3661 {
3668 
3675 
3683 
3691 
3698 
3706 
3712 
3713  _SASLStatusPadding = 0xffffffffU
3714 };
3715 
3721 const int NUM_SASL_STATUSES = (6+1);
3722 
3730 {
3737 
3743 
3750 
3758 
3760 };
3761 
3767 const int NUM_TUBE_CHANNEL_STATES = (3+1);
3768 
3776 {
3782 
3789 
3797 
3805 
3807 };
3808 
3814 const int NUM_SOCKET_ADDRESS_TYPES = (3+1);
3815 
3823 {
3836 
3846 
3856 
3895 
3897 };
3898 
3904 const int NUM_SOCKET_ACCESS_CONTROLS = (3+1);
3905 
3913 {
3918 
3923 
3932 
3937 
3943 
3948 
3953 
3958 
3960 };
3961 
3967 const int NUM_MEDIA_STREAM_ERRORS = (7+1);
3968 
3976 {
3981 
3986 
3988 };
3989 
3996 
4004 {
4009 
4014 
4019 
4021 };
4022 
4029 
4037 {
4043 
4050 
4055 
4060 
4065 
4070 
4071  _DebugLevelPadding = 0xffffffffU
4072 };
4073 
4079 const int NUM_DEBUG_LEVELS = (5+1);
4080 
4090 {
4095 
4100 
4105 
4107 };
4108 
4114 const int NUM_TLS_CERTIFICATE_STATES = (2+1);
4115 
4125 {
4131 
4136 
4141 
4146 
4151 
4156 
4161 
4166 
4172 
4178 
4180 };
4181 
4188 
4198 {
4205 
4212 
4221 
4223 };
4224 
4231 
4242 {
4249 
4263 
4265 };
4266 
4273 
4281 {
4286 
4292 
4294 };
4295 
4301 const int NUM_RCPT_XR_RTT_MODES = (1+1);
4302 
4315 {
4320 
4326 
4332 
4338 
4340 };
4341 
4347 const int NUM_STREAM_FLOW_STATES = (3+1);
4348 
4360 {
4366 
4372 
4379 
4386 
4394 
4400 
4402 };
4403 
4410 
4424 {
4430 
4436 
4442 
4444 };
4445 
4451 const int NUM_STREAM_COMPONENTS = (2+1);
4452 
4464 {
4470 
4478 
4485 
4492 
4499 
4505 
4510 
4512 };
4513 
4519 const int NUM_STREAM_TRANSPORT_TYPES = (6+1);
4520 
4530 {
4535 
4540 
4545 
4550 
4551  _SendingStatePadding = 0xffffffffU
4552 };
4553 
4559 const int NUM_SENDING_STATES = (3+1);
4560 
4571 {
4576 
4583 
4591 
4599 
4606 
4608 };
4609 
4615 const int NUM_STREAM_ENDPOINT_STATES = (4+1);
4616 
4627 {
4633 
4638 
4647 
4655 
4662 
4664 };
4665 
4671 const int NUM_LOCAL_MUTE_STATES = (4+1);
4672 
4673 }
4674 
4681 #define TP_QT_IFACE_CONNECTION_MANAGER (QLatin1String("org.freedesktop.Telepathy.ConnectionManager"))
4682 
4689 #define TP_QT_IFACE_PROTOCOL (QLatin1String("org.freedesktop.Telepathy.Protocol"))
4690 
4697 #define TP_QT_IFACE_PROTOCOL_INTERFACE_ADDRESSING (QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Addressing"))
4698 
4705 #define TP_QT_IFACE_PROTOCOL_INTERFACE_AVATARS (QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Avatars"))
4706 
4713 #define TP_QT_IFACE_PROTOCOL_INTERFACE_PRESENCE (QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Presence"))
4714 
4721 #define TP_QT_IFACE_CONNECTION (QLatin1String("org.freedesktop.Telepathy.Connection"))
4722 
4729 #define TP_QT_IFACE_CONNECTION_INTERFACE_ADDRESSING (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Addressing1"))
4730 
4737 #define TP_QT_IFACE_CONNECTION_INTERFACE_ALIASING (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Aliasing"))
4738 
4745 #define TP_QT_IFACE_CONNECTION_INTERFACE_ANONYMITY (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Anonymity"))
4746 
4753 #define TP_QT_IFACE_CONNECTION_INTERFACE_AVATARS (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Avatars"))
4754 
4761 #define TP_QT_IFACE_CONNECTION_INTERFACE_BALANCE (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Balance"))
4762 
4769 #define TP_QT_IFACE_CONNECTION_INTERFACE_CAPABILITIES (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Capabilities"))
4770 
4777 #define TP_QT_IFACE_CONNECTION_INTERFACE_CELLULAR (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Cellular"))
4778 
4785 #define TP_QT_IFACE_CONNECTION_INTERFACE_CLIENT_TYPES (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ClientTypes"))
4786 
4793 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACTS (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Contacts"))
4794 
4801 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactBlocking"))
4802 
4809 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities"))
4810 
4817 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactGroups"))
4818 
4825 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_INFO (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactInfo"))
4826 
4833 #define TP_QT_IFACE_CONNECTION_INTERFACE_CONTACT_LIST (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ContactList"))
4834 
4841 #define TP_QT_IFACE_CONNECTION_INTERFACE_LOCATION (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Location"))
4842 
4849 #define TP_QT_IFACE_CONNECTION_INTERFACE_MAIL_NOTIFICATION (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.MailNotification"))
4850 
4857 #define TP_QT_IFACE_CONNECTION_INTERFACE_POWER_SAVING (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.PowerSaving"))
4858 
4865 #define TP_QT_IFACE_CONNECTION_INTERFACE_PRESENCE (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Presence"))
4866 
4873 #define TP_QT_IFACE_CONNECTION_INTERFACE_REQUESTS (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.Requests"))
4874 
4881 #define TP_QT_IFACE_CONNECTION_INTERFACE_SERVICE_POINT (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.ServicePoint"))
4882 
4889 #define TP_QT_IFACE_CONNECTION_INTERFACE_SIMPLE_PRESENCE (QLatin1String("org.freedesktop.Telepathy.Connection.Interface.SimplePresence"))
4890 
4897 #define TP_QT_IFACE_CHANNEL (QLatin1String("org.freedesktop.Telepathy.Channel"))
4898 
4905 #define TP_QT_IFACE_CHANNEL_TYPE_CALL (QLatin1String("org.freedesktop.Telepathy.Channel.Type.Call1"))
4906 
4913 #define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_LIST (QLatin1String("org.freedesktop.Telepathy.Channel.Type.ContactList"))
4914 
4921 #define TP_QT_IFACE_CHANNEL_TYPE_CONTACT_SEARCH (QLatin1String("org.freedesktop.Telepathy.Channel.Type.ContactSearch"))
4922 
4929 #define TP_QT_IFACE_CHANNEL_TYPE_DBUS_TUBE (QLatin1String("org.freedesktop.Telepathy.Channel.Type.DBusTube"))
4930 
4937 #define TP_QT_IFACE_CHANNEL_TYPE_FILE_TRANSFER (QLatin1String("org.freedesktop.Telepathy.Channel.Type.FileTransfer"))
4938 
4945 #define TP_QT_IFACE_CHANNEL_TYPE_ROOM_LIST (QLatin1String("org.freedesktop.Telepathy.Channel.Type.RoomList"))
4946 
4953 #define TP_QT_IFACE_CHANNEL_TYPE_SERVER_AUTHENTICATION (QLatin1String("org.freedesktop.Telepathy.Channel.Type.ServerAuthentication"))
4954 
4961 #define TP_QT_IFACE_CHANNEL_TYPE_SERVER_TLS_CONNECTION (QLatin1String("org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection"))
4962 
4969 #define TP_QT_IFACE_CHANNEL_TYPE_STREAMED_MEDIA (QLatin1String("org.freedesktop.Telepathy.Channel.Type.StreamedMedia"))
4970 
4977 #define TP_QT_IFACE_CHANNEL_TYPE_STREAM_TUBE (QLatin1String("org.freedesktop.Telepathy.Channel.Type.StreamTube"))
4978 
4985 #define TP_QT_IFACE_CHANNEL_TYPE_TEXT (QLatin1String("org.freedesktop.Telepathy.Channel.Type.Text"))
4986 
4993 #define TP_QT_IFACE_CHANNEL_TYPE_TUBES (QLatin1String("org.freedesktop.Telepathy.Channel.Type.Tubes"))
4994 
5001 #define TP_QT_IFACE_CHANNEL_INTERFACE_ANONYMITY (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Anonymity"))
5002 
5009 #define TP_QT_IFACE_CHANNEL_INTERFACE_CAPTCHA_AUTHENTICATION (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1"))
5010 
5017 #define TP_QT_IFACE_CHANNEL_INTERFACE_CALL_STATE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.CallState"))
5018 
5025 #define TP_QT_IFACE_CHANNEL_INTERFACE_CHAT_STATE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.ChatState"))
5026 
5033 #define TP_QT_IFACE_CHANNEL_INTERFACE_CONFERENCE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Conference"))
5034 
5041 #define TP_QT_IFACE_CHANNEL_INTERFACE_DESTROYABLE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Destroyable"))
5042 
5049 #define TP_QT_IFACE_CHANNEL_INTERFACE_DTMF (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.DTMF"))
5050 
5057 #define TP_QT_IFACE_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata"))
5058 
5065 #define TP_QT_IFACE_CHANNEL_INTERFACE_GROUP (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Group"))
5066 
5073 #define TP_QT_IFACE_CHANNEL_INTERFACE_HOLD (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Hold"))
5074 
5081 #define TP_QT_IFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.MediaSignalling"))
5082 
5089 #define TP_QT_IFACE_CHANNEL_INTERFACE_MESSAGES (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Messages"))
5090 
5097 #define TP_QT_IFACE_CHANNEL_INTERFACE_PASSWORD (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Password"))
5098 
5105 #define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Room2"))
5106 
5113 #define TP_QT_IFACE_CHANNEL_INTERFACE_ROOM_CONFIG (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.RoomConfig1"))
5114 
5121 #define TP_QT_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication"))
5122 
5129 #define TP_QT_IFACE_CHANNEL_INTERFACE_SECURABLE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Securable"))
5130 
5137 #define TP_QT_IFACE_CHANNEL_INTERFACE_SERVICE_POINT (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.ServicePoint"))
5138 
5145 #define TP_QT_IFACE_CHANNEL_INTERFACE_SMS (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.SMS"))
5146 
5153 #define TP_QT_IFACE_CHANNEL_INTERFACE_SUBJECT (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Subject2"))
5154 
5161 #define TP_QT_IFACE_CHANNEL_INTERFACE_TUBE (QLatin1String("org.freedesktop.Telepathy.Channel.Interface.Tube"))
5162 
5169 #define TP_QT_IFACE_CHANNEL_DISPATCHER (QLatin1String("org.freedesktop.Telepathy.ChannelDispatcher"))
5170 
5177 #define TP_QT_IFACE_CHANNEL_DISPATCHER_INTERFACE_MESSAGES1 (QLatin1String("org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1"))
5178 
5185 #define TP_QT_IFACE_CHANNEL_DISPATCH_OPERATION (QLatin1String("org.freedesktop.Telepathy.ChannelDispatchOperation"))
5186 
5193 #define TP_QT_IFACE_CHANNEL_REQUEST (QLatin1String("org.freedesktop.Telepathy.ChannelRequest"))
5194 
5201 #define TP_QT_IFACE_MEDIA_SESSION_HANDLER (QLatin1String("org.freedesktop.Telepathy.Media.SessionHandler"))
5202 
5209 #define TP_QT_IFACE_MEDIA_STREAM_HANDLER (QLatin1String("org.freedesktop.Telepathy.Media.StreamHandler"))
5210 
5217 #define TP_QT_IFACE_DBUS_DAEMON (QLatin1String("org.freedesktop.DBus"))
5218 
5225 #define TP_QT_IFACE_INTROSPECTABLE (QLatin1String("org.freedesktop.DBus.Introspectable"))
5226 
5233 #define TP_QT_IFACE_PEER (QLatin1String("org.freedesktop.DBus.Peer"))
5234 
5241 #define TP_QT_IFACE_PROPERTIES (QLatin1String("org.freedesktop.DBus.Properties"))
5242 
5249 #define TP_QT_IFACE_DEBUG (QLatin1String("org.freedesktop.Telepathy.Debug"))
5250 
5257 #define TP_QT_IFACE_PROPERTIES_INTERFACE (QLatin1String("org.freedesktop.Telepathy.Properties"))
5258 
5265 #define TP_QT_IFACE_ACCOUNT_MANAGER (QLatin1String("org.freedesktop.Telepathy.AccountManager"))
5266 
5273 #define TP_QT_IFACE_ACCOUNT (QLatin1String("org.freedesktop.Telepathy.Account"))
5274 
5281 #define TP_QT_IFACE_ACCOUNT_INTERFACE_ADDRESSING (QLatin1String("org.freedesktop.Telepathy.Account.Interface.Addressing"))
5282 
5289 #define TP_QT_IFACE_ACCOUNT_INTERFACE_AVATAR (QLatin1String("org.freedesktop.Telepathy.Account.Interface.Avatar"))
5290 
5297 #define TP_QT_IFACE_ACCOUNT_INTERFACE_STORAGE (QLatin1String("org.freedesktop.Telepathy.Account.Interface.Storage"))
5298 
5305 #define TP_QT_IFACE_CLIENT (QLatin1String("org.freedesktop.Telepathy.Client"))
5306 
5313 #define TP_QT_IFACE_CLIENT_OBSERVER (QLatin1String("org.freedesktop.Telepathy.Client.Observer"))
5314 
5321 #define TP_QT_IFACE_CLIENT_APPROVER (QLatin1String("org.freedesktop.Telepathy.Client.Approver"))
5322 
5329 #define TP_QT_IFACE_CLIENT_HANDLER (QLatin1String("org.freedesktop.Telepathy.Client.Handler"))
5330 
5337 #define TP_QT_IFACE_CLIENT_INTERFACE_REQUESTS (QLatin1String("org.freedesktop.Telepathy.Client.Interface.Requests"))
5338 
5345 #define TP_QT_IFACE_AUTHENTICATION_TLS_CERTIFICATE (QLatin1String("org.freedesktop.Telepathy.Authentication.TLSCertificate"))
5346 
5353 #define TP_QT_IFACE_CALL_CONTENT_INTERFACE_MEDIA (QLatin1String("org.freedesktop.Telepathy.Call1.Content.Interface.Media"))
5354 
5361 #define TP_QT_IFACE_CALL_CONTENT_INTERFACE_DTMF (QLatin1String("org.freedesktop.Telepathy.Call1.Content.Interface.DTMF"))
5362 
5369 #define TP_QT_IFACE_CALL_CONTENT_INTERFACE_VIDEO_CONTROL (QLatin1String("org.freedesktop.Telepathy.Call1.Content.Interface.VideoControl"))
5370 
5377 #define TP_QT_IFACE_CALL_CONTENT_INTERFACE_AUDIO_CONTROL (QLatin1String("org.freedesktop.Telepathy.Call1.Content.Interface.AudioControl"))
5378 
5385 #define TP_QT_IFACE_CALL_CONTENT (QLatin1String("org.freedesktop.Telepathy.Call1.Content"))
5386 
5393 #define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_EXTENDED_REPORTS (QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports"))
5394 
5401 #define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTCP_FEEDBACK (QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback"))
5402 
5409 #define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION_INTERFACE_RTP_HEADER_EXTENSIONS (QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions"))
5410 
5417 #define TP_QT_IFACE_CALL_CONTENT_MEDIA_DESCRIPTION (QLatin1String("org.freedesktop.Telepathy.Call1.Content.MediaDescription"))
5418 
5425 #define TP_QT_IFACE_CALL_STREAM_INTERFACE_MEDIA (QLatin1String("org.freedesktop.Telepathy.Call1.Stream.Interface.Media"))
5426 
5433 #define TP_QT_IFACE_CALL_STREAM (QLatin1String("org.freedesktop.Telepathy.Call1.Stream"))
5434 
5441 #define TP_QT_IFACE_CALL_STREAM_ENDPOINT (QLatin1String("org.freedesktop.Telepathy.Call1.Stream.Endpoint"))
5442 
5449 #define TP_QT_IFACE_CALL_INTERFACE_MUTE (QLatin1String("org.freedesktop.Telepathy.Call1.Interface.Mute"))
5450 
5459 #define TP_QT_ERROR_NETWORK_ERROR QLatin1String("org.freedesktop.Telepathy.Error.NetworkError")
5460 
5470 #define TP_QT_ERROR_NOT_IMPLEMENTED QLatin1String("org.freedesktop.Telepathy.Error.NotImplemented")
5471 
5480 #define TP_QT_ERROR_INVALID_ARGUMENT QLatin1String("org.freedesktop.Telepathy.Error.InvalidArgument")
5481 
5490 #define TP_QT_ERROR_NOT_AVAILABLE QLatin1String("org.freedesktop.Telepathy.Error.NotAvailable")
5491 
5500 #define TP_QT_ERROR_PERMISSION_DENIED QLatin1String("org.freedesktop.Telepathy.Error.PermissionDenied")
5501 
5514 #define TP_QT_ERROR_DISCONNECTED QLatin1String("org.freedesktop.Telepathy.Error.Disconnected")
5515 
5524 #define TP_QT_ERROR_INVALID_HANDLE QLatin1String("org.freedesktop.Telepathy.Error.InvalidHandle")
5525 
5534 #define TP_QT_ERROR_CHANNEL_BANNED QLatin1String("org.freedesktop.Telepathy.Error.Channel.Banned")
5535 
5544 #define TP_QT_ERROR_CHANNEL_FULL QLatin1String("org.freedesktop.Telepathy.Error.Channel.Full")
5545 
5554 #define TP_QT_ERROR_CHANNEL_INVITE_ONLY QLatin1String("org.freedesktop.Telepathy.Error.Channel.InviteOnly")
5555 
5571 #define TP_QT_ERROR_NOT_YOURS QLatin1String("org.freedesktop.Telepathy.Error.NotYours")
5572 
5590 #define TP_QT_ERROR_CANCELLED QLatin1String("org.freedesktop.Telepathy.Error.Cancelled")
5591 
5601 #define TP_QT_ERROR_AUTHENTICATION_FAILED QLatin1String("org.freedesktop.Telepathy.Error.AuthenticationFailed")
5602 
5616 #define TP_QT_ERROR_ENCRYPTION_NOT_AVAILABLE QLatin1String("org.freedesktop.Telepathy.Error.EncryptionNotAvailable")
5617 
5628 #define TP_QT_ERROR_ENCRYPTION_ERROR QLatin1String("org.freedesktop.Telepathy.Error.EncryptionError")
5629 
5644 #define TP_QT_ERROR_CERT_NOT_PROVIDED QLatin1String("org.freedesktop.Telepathy.Error.Cert.NotProvided")
5645 
5659 #define TP_QT_ERROR_CERT_UNTRUSTED QLatin1String("org.freedesktop.Telepathy.Error.Cert.Untrusted")
5660 
5671 #define TP_QT_ERROR_CERT_EXPIRED QLatin1String("org.freedesktop.Telepathy.Error.Cert.Expired")
5672 
5684 #define TP_QT_ERROR_CERT_NOT_ACTIVATED QLatin1String("org.freedesktop.Telepathy.Error.Cert.NotActivated")
5685 
5697 #define TP_QT_ERROR_CERT_FINGERPRINT_MISMATCH QLatin1String("org.freedesktop.Telepathy.Error.Cert.FingerprintMismatch")
5698 
5718 #define TP_QT_ERROR_CERT_HOSTNAME_MISMATCH QLatin1String("org.freedesktop.Telepathy.Error.Cert.HostnameMismatch")
5719 
5731 #define TP_QT_ERROR_CERT_SELF_SIGNED QLatin1String("org.freedesktop.Telepathy.Error.Cert.SelfSigned")
5732 
5743 #define TP_QT_ERROR_CERT_REVOKED QLatin1String("org.freedesktop.Telepathy.Error.Cert.Revoked")
5744 
5756 #define TP_QT_ERROR_CERT_INSECURE QLatin1String("org.freedesktop.Telepathy.Error.Cert.Insecure")
5757 
5769 #define TP_QT_ERROR_CERT_INVALID QLatin1String("org.freedesktop.Telepathy.Error.Cert.Invalid")
5770 
5783 #define TP_QT_ERROR_CERT_LIMIT_EXCEEDED QLatin1String("org.freedesktop.Telepathy.Error.Cert.LimitExceeded")
5784 
5794 #define TP_QT_ERROR_NOT_CAPABLE QLatin1String("org.freedesktop.Telepathy.Error.NotCapable")
5795 
5806 #define TP_QT_ERROR_OFFLINE QLatin1String("org.freedesktop.Telepathy.Error.Offline")
5807 
5818 #define TP_QT_ERROR_CHANNEL_KICKED QLatin1String("org.freedesktop.Telepathy.Error.Channel.Kicked")
5819 
5832 #define TP_QT_ERROR_BUSY QLatin1String("org.freedesktop.Telepathy.Error.Busy")
5833 
5844 #define TP_QT_ERROR_NO_ANSWER QLatin1String("org.freedesktop.Telepathy.Error.NoAnswer")
5845 
5856 #define TP_QT_ERROR_DOES_NOT_EXIST QLatin1String("org.freedesktop.Telepathy.Error.DoesNotExist")
5857 
5869 #define TP_QT_ERROR_TERMINATED QLatin1String("org.freedesktop.Telepathy.Error.Terminated")
5870 
5880 #define TP_QT_ERROR_MEDIA_CODECS_INCOMPATIBLE QLatin1String("org.freedesktop.Telepathy.Error.Media.CodecsIncompatible")
5881 
5891 #define TP_QT_ERROR_MEDIA_UNSUPPORTED_TYPE QLatin1String("org.freedesktop.Telepathy.Error.Media.UnsupportedType")
5892 
5902 #define TP_QT_ERROR_MEDIA_STREAMING_ERROR QLatin1String("org.freedesktop.Telepathy.Error.Media.StreamingError")
5903 
5912 #define TP_QT_ERROR_CONNECTION_REFUSED QLatin1String("org.freedesktop.Telepathy.Error.ConnectionRefused")
5913 
5922 #define TP_QT_ERROR_CONNECTION_FAILED QLatin1String("org.freedesktop.Telepathy.Error.ConnectionFailed")
5923 
5932 #define TP_QT_ERROR_CONNECTION_LOST QLatin1String("org.freedesktop.Telepathy.Error.ConnectionLost")
5933 
5947 #define TP_QT_ERROR_ALREADY_CONNECTED QLatin1String("org.freedesktop.Telepathy.Error.AlreadyConnected")
5948 
5964 #define TP_QT_ERROR_CONNECTION_REPLACED QLatin1String("org.freedesktop.Telepathy.Error.ConnectionReplaced")
5965 
5975 #define TP_QT_ERROR_REGISTRATION_EXISTS QLatin1String("org.freedesktop.Telepathy.Error.RegistrationExists")
5976 
5994 #define TP_QT_ERROR_SERVICE_BUSY QLatin1String("org.freedesktop.Telepathy.Error.ServiceBusy")
5995 
6007 #define TP_QT_ERROR_RESOURCE_UNAVAILABLE QLatin1String("org.freedesktop.Telepathy.Error.ResourceUnavailable")
6008 
6021 #define TP_QT_ERROR_WOULD_BREAK_ANONYMITY QLatin1String("org.freedesktop.Telepathy.Error.WouldBreakAnonymity")
6022 
6032 #define TP_QT_ERROR_NOT_YET QLatin1String("org.freedesktop.Telepathy.Error.NotYet")
6033 
6042 #define TP_QT_ERROR_REJECTED QLatin1String("org.freedesktop.Telepathy.Error.Rejected")
6043 
6053 #define TP_QT_ERROR_PICKED_UP_ELSEWHERE QLatin1String("org.freedesktop.Telepathy.Error.PickedUpElsewhere")
6054 
6068 #define TP_QT_ERROR_SERVICE_CONFUSED QLatin1String("org.freedesktop.Telepathy.Error.ServiceConfused")
6069 
6085 #define TP_QT_ERROR_CONFUSED QLatin1String("org.freedesktop.Telepathy.Error.Confused")
6086 
6111 #define TP_QT_ERROR_SOFTWARE_UPGRADE_REQUIRED QLatin1String("org.freedesktop.Telepathy.Error.SoftwareUpgradeRequired")
6112 
6127 #define TP_QT_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED QLatin1String("org.freedesktop.Telepathy.Error.EmergencyCallsNotSupported")
6128 
6149 #define TP_QT_ERROR_INSUFFICIENT_BALANCE QLatin1String("org.freedesktop.Telepathy.Error.InsufficientBalance")
6150 
6163 #define TP_QT_ERROR_CAPTCHA_NOT_SUPPORTED QLatin1String("org.freedesktop.Telepathy.Error.CaptchaNotSupported")
6164 
Definition: build/TelepathyQt/_gen/constants.h:4435
Definition: build/TelepathyQt/_gen/constants.h:3088
ConnectionStatusReason
Definition: build/TelepathyQt/_gen/constants.h:1465
Definition: build/TelepathyQt/_gen/constants.h:723
Definition: build/TelepathyQt/_gen/constants.h:3291
Definition: build/TelepathyQt/_gen/constants.h:695
Definition: build/TelepathyQt/_gen/constants.h:1335
Definition: build/TelepathyQt/_gen/constants.h:1069
Definition: build/TelepathyQt/_gen/constants.h:1801
const int NUM_CAPTCHA_STATUSES
Definition: build/TelepathyQt/_gen/constants.h:3070
const int NUM_SASL_STATUSES
Definition: build/TelepathyQt/_gen/constants.h:3721
ChannelContactSearchState
Definition: build/TelepathyQt/_gen/constants.h:2533
DeliveryStatus
Definition: build/TelepathyQt/_gen/constants.h:3558
Definition: build/TelepathyQt/_gen/constants.h:2583
QFlags< ChannelMediaCapability > ChannelMediaCapabilities
Definition: build/TelepathyQt/_gen/constants.h:739
Definition: build/TelepathyQt/_gen/constants.h:1340
Definition: build/TelepathyQt/_gen/constants.h:4135
Definition: build/TelepathyQt/_gen/constants.h:3171
Definition: build/TelepathyQt/_gen/constants.h:2614
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
const int NUM_TUBE_STATES
Definition: build/TelepathyQt/_gen/constants.h:2973
Definition: build/TelepathyQt/_gen/constants.h:2312
Definition: build/TelepathyQt/_gen/constants.h:3477
Definition: build/TelepathyQt/_gen/constants.h:541
AccessControlType
Definition: build/TelepathyQt/_gen/constants.h:2103
Definition: build/TelepathyQt/_gen/constants.h:1593
Definition: build/TelepathyQt/_gen/constants.h:1267
Definition: build/TelepathyQt/_gen/constants.h:4262
Definition: build/TelepathyQt/_gen/constants.h:1520
Definition: build/TelepathyQt/_gen/constants.h:3566
Definition: build/TelepathyQt/_gen/constants.h:3942
DebugLevel
Definition: build/TelepathyQt/_gen/constants.h:4036
Definition: build/TelepathyQt/_gen/constants.h:609
TubeType
Definition: build/TelepathyQt/_gen/constants.h:2914
Definition: build/TelepathyQt/_gen/constants.h:2069
Definition: build/TelepathyQt/_gen/constants.h:4204
TLSCertificateState
Definition: build/TelepathyQt/_gen/constants.h:4089
Definition: build/TelepathyQt/_gen/constants.h:3486
Definition: build/TelepathyQt/_gen/constants.h:3637
Definition: build/TelepathyQt/_gen/constants.h:2432
Definition: build/TelepathyQt/_gen/constants.h:301
Definition: build/TelepathyQt/_gen/constants.h:2965
Definition: build/TelepathyQt/_gen/constants.h:3931
const int NUM_DEBUG_LEVELS
Definition: build/TelepathyQt/_gen/constants.h:4079
Definition: build/TelepathyQt/_gen/constants.h:4094
Definition: build/TelepathyQt/_gen/constants.h:3571
Definition: build/TelepathyQt/_gen/constants.h:2394
Definition: build/TelepathyQt/_gen/constants.h:2896
Definition: build/TelepathyQt/_gen/constants.h:1355
Definition: build/TelepathyQt/_gen/constants.h:3472
StreamEndpointState
Definition: build/TelepathyQt/_gen/constants.h:4570
Definition: build/TelepathyQt/_gen/constants.h:3917
const int NUM_LOCAL_HOLD_STATE_REASONS
Definition: build/TelepathyQt/_gen/constants.h:3543
Definition: build/TelepathyQt/_gen/constants.h:664
ContactBlockingCapability
Definition: build/TelepathyQt/_gen/constants.h:268
Definition: build/TelepathyQt/_gen/constants.h:2043
Definition: build/TelepathyQt/_gen/constants.h:3054
Definition: build/TelepathyQt/_gen/constants.h:934
const int NUM_MEDIA_STREAM_ERRORS
Definition: build/TelepathyQt/_gen/constants.h:3967
ChannelTextMessageFlag
Definition: build/TelepathyQt/_gen/constants.h:747
Definition: build/TelepathyQt/_gen/constants.h:2645
Definition: build/TelepathyQt/_gen/constants.h:3156
const int NUM_RICH_PRESENCE_ACCESS_CONTROL_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2238
Definition: build/TelepathyQt/_gen/constants.h:2075
Definition: build/TelepathyQt/_gen/constants.h:4498
Definition: build/TelepathyQt/_gen/constants.h:4491
const int NUM_CALL_CONTENT_PACKETIZATION_TYPES
Definition: build/TelepathyQt/_gen/constants.h:4230
Definition: build/TelepathyQt/_gen/constants.h:2150
Definition: build/TelepathyQt/_gen/constants.h:2228
Definition: build/TelepathyQt/_gen/constants.h:1794
Definition: build/TelepathyQt/_gen/constants.h:2144
Definition: build/TelepathyQt/_gen/constants.h:379
Definition: build/TelepathyQt/_gen/constants.h:4071
Definition: build/TelepathyQt/_gen/constants.h:2406
MessageSendingFlag
Definition: build/TelepathyQt/_gen/constants.h:1114
Definition: build/TelepathyQt/_gen/constants.h:1911
const int NUM_TUBE_CHANNEL_STATES
Definition: build/TelepathyQt/_gen/constants.h:3767
Definition: build/TelepathyQt/_gen/constants.h:3896
Definition: build/TelepathyQt/_gen/constants.h:4504
Definition: build/TelepathyQt/_gen/constants.h:2635
const int NUM_STREAM_FLOW_STATES
Definition: build/TelepathyQt/_gen/constants.h:4347
Definition: build/TelepathyQt/_gen/constants.h:4477
Definition: build/TelepathyQt/_gen/constants.h:3136
Definition: build/TelepathyQt/_gen/constants.h:4646
Definition: build/TelepathyQt/_gen/constants.h:2538
QFlags< ContactBlockingCapability > ContactBlockingCapabilities
Definition: build/TelepathyQt/_gen/constants.h:288
Definition: build/TelepathyQt/_gen/constants.h:901
CaptchaCancelReason
Definition: build/TelepathyQt/_gen/constants.h:2985
ChannelTextSendError
Definition: build/TelepathyQt/_gen/constants.h:2815
Definition: build/TelepathyQt/_gen/constants.h:2063
Definition: build/TelepathyQt/_gen/constants.h:3947
const int NUM_CALL_CONTENT_DISPOSITIONS
Definition: build/TelepathyQt/_gen/constants.h:4272
Definition: build/TelepathyQt/_gen/constants.h:3667
Definition: build/TelepathyQt/_gen/constants.h:3642
Definition: build/TelepathyQt/_gen/constants.h:4371
Definition: build/TelepathyQt/_gen/constants.h:3402
Definition: build/TelepathyQt/_gen/constants.h:3131
Definition: build/TelepathyQt/_gen/constants.h:4099
QFlags< StorageRestrictionFlag > StorageRestrictionFlags
Definition: build/TelepathyQt/_gen/constants.h:1322
StreamComponent
Definition: build/TelepathyQt/_gen/constants.h:4423
Definition: build/TelepathyQt/_gen/constants.h:1924
ConnectionPresenceType
Definition: build/TelepathyQt/_gen/constants.h:2026
Definition: build/TelepathyQt/_gen/constants.h:2782
MediaStreamError
Definition: build/TelepathyQt/_gen/constants.h:3912
Definition: build/TelepathyQt/_gen/constants.h:4443
Definition: build/TelepathyQt/_gen/constants.h:2953
QFlags< AnonymityMode > AnonymityModeFlags
Definition: build/TelepathyQt/_gen/constants.h:230
FileTransferStateChangeReason
Definition: build/TelepathyQt/_gen/constants.h:2630
QFlags< ConnMgrParamFlag > ConnMgrParamFlags
Definition: build/TelepathyQt/_gen/constants.h:127
Definition: build/TelepathyQt/_gen/constants.h:623
Definition: build/TelepathyQt/_gen/constants.h:446
Definition: build/TelepathyQt/_gen/constants.h:3166
Definition: build/TelepathyQt/_gen/constants.h:3598
Definition: build/TelepathyQt/_gen/constants.h:3032
Definition: build/TelepathyQt/_gen/constants.h:2754
Definition: build/TelepathyQt/_gen/constants.h:871
Definition: build/TelepathyQt/_gen/constants.h:2497
Definition: build/TelepathyQt/_gen/constants.h:2683
QFlags< RTCPXRStatisticsFlag > RTCPXRStatisticsFlags
Definition: build/TelepathyQt/_gen/constants.h:1366
Definition: build/TelepathyQt/_gen/constants.h:1762
Definition: build/TelepathyQt/_gen/constants.h:3952
Definition: build/TelepathyQt/_gen/constants.h:1061
Definition: build/TelepathyQt/_gen/constants.h:4509
Definition: build/TelepathyQt/_gen/constants.h:3713
StreamFlowState
Definition: build/TelepathyQt/_gen/constants.h:4314
Definition: build/TelepathyQt/_gen/constants.h:958
Definition: build/TelepathyQt/_gen/constants.h:3835
Definition: build/TelepathyQt/_gen/constants.h:2688
Definition: build/TelepathyQt/_gen/constants.h:4018
Definition: build/TelepathyQt/_gen/constants.h:2597
CaptchaStatus
Definition: build/TelepathyQt/_gen/constants.h:3025
Definition: build/TelepathyQt/_gen/constants.h:4069
Definition: build/TelepathyQt/_gen/constants.h:3987
Definition: build/TelepathyQt/_gen/constants.h:63
Definition: build/TelepathyQt/_gen/constants.h:2879
Definition: build/TelepathyQt/_gen/constants.h:3497
Definition: build/TelepathyQt/_gen/constants.h:3446
Definition: build/TelepathyQt/_gen/constants.h:3315
QFlags< ChannelCallState > ChannelCallStateFlags
Definition: build/TelepathyQt/_gen/constants.h:914
Definition: build/TelepathyQt/_gen/constants.h:2208
Definition: build/TelepathyQt/_gen/constants.h:4177
QFlags< ConnectionCapabilityFlag > ConnectionCapabilityFlags
Definition: build/TelepathyQt/_gen/constants.h:260
Definition: build/TelepathyQt/_gen/constants.h:2922
Definition: build/TelepathyQt/_gen/constants.h:4054
Definition: build/TelepathyQt/_gen/constants.h:1535
Definition: build/TelepathyQt/_gen/constants.h:534
Definition: build/TelepathyQt/_gen/constants.h:3742
Definition: build/TelepathyQt/_gen/constants.h:2121
Definition: build/TelepathyQt/_gen/constants.h:155
DTMFEvent
Definition: build/TelepathyQt/_gen/constants.h:3121
Definition: build/TelepathyQt/_gen/constants.h:804
Definition: build/TelepathyQt/_gen/constants.h:829
Definition: build/TelepathyQt/_gen/constants.h:4378
Definition: build/TelepathyQt/_gen/constants.h:3083
Definition: build/TelepathyQt/_gen/constants.h:1233
Definition: build/TelepathyQt/_gen/constants.h:3141
Definition: build/TelepathyQt/_gen/constants.h:903
Definition: build/TelepathyQt/_gen/constants.h:2033
Definition: build/TelepathyQt/_gen/constants.h:2475
Definition: build/TelepathyQt/_gen/constants.h:2840
Definition: build/TelepathyQt/_gen/constants.h:1262
Definition: build/TelepathyQt/_gen/constants.h:3528
Definition: build/TelepathyQt/_gen/constants.h:2517
QFlags< ChannelPasswordFlag > ChannelPasswordFlags
Definition: build/TelepathyQt/_gen/constants.h:1249
Definition: build/TelepathyQt/_gen/constants.h:153
ConnectionCapabilityFlag
Definition: build/TelepathyQt/_gen/constants.h:238
Definition: build/TelepathyQt/_gen/constants.h:2058
Definition: build/TelepathyQt/_gen/constants.h:4291
Definition: build/TelepathyQt/_gen/constants.h:3711
Definition: build/TelepathyQt/_gen/constants.h:4155
Definition: build/TelepathyQt/_gen/constants.h:3610
Definition: build/TelepathyQt/_gen/constants.h:2559
Definition: build/TelepathyQt/_gen/constants.h:1821
Definition: build/TelepathyQt/_gen/constants.h:1509
Definition: build/TelepathyQt/_gen/constants.h:2820
Definition: build/TelepathyQt/_gen/constants.h:3957
Definition: build/TelepathyQt/_gen/constants.h:705
ChannelGroupFlag
Definition: build/TelepathyQt/_gen/constants.h:922
Definition: build/TelepathyQt/_gen/constants.h:3009
Definition: build/TelepathyQt/_gen/constants.h:3603
ConnectionAliasFlag
Definition: build/TelepathyQt/_gen/constants.h:135
SubscriptionState
Definition: build/TelepathyQt/_gen/constants.h:1789
Definition: build/TelepathyQt/_gen/constants.h:1582
Definition: build/TelepathyQt/_gen/constants.h:2332
Definition: build/TelepathyQt/_gen/constants.h:2554
const int NUM_DTMF_EVENTS
Definition: build/TelepathyQt/_gen/constants.h:3211
Definition: build/TelepathyQt/_gen/constants.h:1809
Definition: build/TelepathyQt/_gen/constants.h:2508
Definition: build/TelepathyQt/_gen/constants.h:1964
Definition: build/TelepathyQt/_gen/constants.h:4399
RCPTXRRTTMode
Definition: build/TelepathyQt/_gen/constants.h:4280
Definition: build/TelepathyQt/_gen/constants.h:2002
const int NUM_MEDIA_STREAM_BASE_PROTOS
Definition: build/TelepathyQt/_gen/constants.h:3995
const int NUM_MEDIA_STREAM_DIRECTIONS
Definition: build/TelepathyQt/_gen/constants.h:2807
Definition: build/TelepathyQt/_gen/constants.h:4511
Definition: build/TelepathyQt/_gen/constants.h:461
Definition: build/TelepathyQt/_gen/constants.h:186
Definition: build/TelepathyQt/_gen/constants.h:1443
Definition: build/TelepathyQt/_gen/constants.h:4248
SocketAddressType
Definition: build/TelepathyQt/_gen/constants.h:3775
Definition: build/TelepathyQt/_gen/constants.h:2132
Definition: build/TelepathyQt/_gen/constants.h:1432
Definition: build/TelepathyQt/_gen/constants.h:4484
Definition: build/TelepathyQt/_gen/constants.h:408
Definition: build/TelepathyQt/_gen/constants.h:3806
const int NUM_RCPT_XR_RTT_MODES
Definition: build/TelepathyQt/_gen/constants.h:4301
Definition: build/TelepathyQt/_gen/constants.h:831
QFlags< CallFlag > CallFlags
Definition: build/TelepathyQt/_gen/constants.h:574
QFlags< ContactInfoFlag > ContactInfoFlags
Definition: build/TelepathyQt/_gen/constants.h:324
Definition: build/TelepathyQt/_gen/constants.h:1200
Definition: build/TelepathyQt/_gen/constants.h:4605
Definition: build/TelepathyQt/_gen/constants.h:4429
Definition: build/TelepathyQt/_gen/constants.h:625
AnonymityMode
Definition: build/TelepathyQt/_gen/constants.h:172
Definition: build/TelepathyQt/_gen/constants.h:1269
ChannelMediaCapability
Definition: build/TelepathyQt/_gen/constants.h:690
Definition: build/TelepathyQt/_gen/constants.h:952
const int NUM_STREAM_COMPONENTS
Definition: build/TelepathyQt/_gen/constants.h:4451
Definition: build/TelepathyQt/_gen/constants.h:3126
const int NUM_STREAM_TRANSPORT_TYPES
Definition: build/TelepathyQt/_gen/constants.h:4519
Definition: build/TelepathyQt/_gen/constants.h:4534
Definition: build/TelepathyQt/_gen/constants.h:1899
const int NUM_SOCKET_ACCESS_CONTROLS
Definition: build/TelepathyQt/_gen/constants.h:3904
Definition: build/TelepathyQt/_gen/constants.h:858
Definition: build/TelepathyQt/_gen/constants.h:2343
Definition: build/TelepathyQt/_gen/constants.h:214
QFlags< PropertyFlag > PropertyFlags
Definition: build/TelepathyQt/_gen/constants.h:1278
Definition: build/TelepathyQt/_gen/constants.h:561
const int NUM_SASL_ABORT_REASONS
Definition: build/TelepathyQt/_gen/constants.h:3652
Definition: build/TelepathyQt/_gen/constants.h:1816
Definition: build/TelepathyQt/_gen/constants.h:1489
ContactInfoFieldFlag
Definition: build/TelepathyQt/_gen/constants.h:332
Definition: build/TelepathyQt/_gen/constants.h:964
ChannelCallState
Definition: build/TelepathyQt/_gen/constants.h:852
const int NUM_SOCKET_ADDRESS_TYPES
Definition: build/TelepathyQt/_gen/constants.h:3814
const int NUM_MEDIA_STREAM_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2736
Definition: build/TelepathyQt/_gen/constants.h:4598
const int NUM_LOCAL_HOLD_STATES
Definition: build/TelepathyQt/_gen/constants.h:3505
Definition: build/TelepathyQt/_gen/constants.h:2958
Definition: build/TelepathyQt/_gen/constants.h:2650
const int NUM_FILE_TRANSFER_STATE_CHANGE_REASONS
Definition: build/TelepathyQt/_gen/constants.h:2670
QFlags< ChannelTextMessageFlag > ChannelTextMessageFlags
Definition: build/TelepathyQt/_gen/constants.h:815
Definition: build/TelepathyQt/_gen/constants.h:2612
Definition: build/TelepathyQt/_gen/constants.h:940
Definition: build/TelepathyQt/_gen/constants.h:4661
Definition: build/TelepathyQt/_gen/constants.h:3161
Definition: build/TelepathyQt/_gen/constants.h:2053
Definition: build/TelepathyQt/_gen/constants.h:454
const int NUM_CONTACT_LIST_STATES
Definition: build/TelepathyQt/_gen/constants.h:1772
Definition: build/TelepathyQt/_gen/constants.h:2698
Definition: build/TelepathyQt/_gen/constants.h:2825
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
Definition: build/TelepathyQt/_gen/constants.h:2792
Definition: build/TelepathyQt/_gen/constants.h:3922
Definition: build/TelepathyQt/_gen/constants.h:475
Definition: build/TelepathyQt/_gen/constants.h:2325
Definition: build/TelepathyQt/_gen/constants.h:2338
ChannelGroupChangeReason
Definition: build/TelepathyQt/_gen/constants.h:3234
Definition: build/TelepathyQt/_gen/constants.h:4165
Definition: build/TelepathyQt/_gen/constants.h:1441
Definition: build/TelepathyQt/_gen/constants.h:3757
Definition: build/TelepathyQt/_gen/constants.h:2515
Definition: build/TelepathyQt/_gen/constants.h:673
Definition: build/TelepathyQt/_gen/constants.h:3000
Definition: build/TelepathyQt/_gen/constants.h:4160
Definition: build/TelepathyQt/_gen/constants.h:3415
Definition: build/TelepathyQt/_gen/constants.h:1238
Definition: build/TelepathyQt/_gen/constants.h:1133
Definition: build/TelepathyQt/_gen/constants.h:4013
Definition: build/TelepathyQt/_gen/constants.h:4365
Definition: build/TelepathyQt/_gen/constants.h:1972
Definition: build/TelepathyQt/_gen/constants.h:4637
Definition: build/TelepathyQt/_gen/constants.h:4042
Definition: build/TelepathyQt/_gen/constants.h:1309
Definition: build/TelepathyQt/_gen/constants.h:3980
Definition: build/TelepathyQt/_gen/constants.h:4551
TubeState
Definition: build/TelepathyQt/_gen/constants.h:2948
Definition: build/TelepathyQt/_gen/constants.h:1764
Definition: build/TelepathyQt/_gen/constants.h:1476
Definition: build/TelepathyQt/_gen/constants.h:1970
Definition: build/TelepathyQt/_gen/constants.h:1151
Definition: build/TelepathyQt/_gen/constants.h:2137
Definition: build/TelepathyQt/_gen/constants.h:3697
Definition: build/TelepathyQt/_gen/constants.h:377
Definition: build/TelepathyQt/_gen/constants.h:2169
Definition: build/TelepathyQt/_gen/constants.h:3340
const int NUM_DELIVERY_STATUSES
Definition: build/TelepathyQt/_gen/constants.h:3620
Definition: build/TelepathyQt/_gen/constants.h:2293
const int NUM_SUBSCRIPTION_STATES
Definition: build/TelepathyQt/_gen/constants.h:1831
Definition: build/TelepathyQt/_gen/constants.h:3579
const int NUM_CHANNEL_TEXT_SEND_ERRORS
Definition: build/TelepathyQt/_gen/constants.h:2856
Definition: build/TelepathyQt/_gen/constants.h:199
Definition: build/TelepathyQt/_gen/constants.h:4020
Definition: build/TelepathyQt/_gen/constants.h:2038
const int NUM_STREAM_ENDPOINT_STATES
Definition: build/TelepathyQt/_gen/constants.h:4615
Definition: build/TelepathyQt/_gen/constants.h:2222
MessagePartSupportFlag
Definition: build/TelepathyQt/_gen/constants.h:1051
Definition: build/TelepathyQt/_gen/constants.h:3201
Definition: build/TelepathyQt/_gen/constants.h:1392
ConnMgrParamFlag
Definition: build/TelepathyQt/_gen/constants.h:53
Definition: build/TelepathyQt/_gen/constants.h:3749
Definition: build/TelepathyQt/_gen/constants.h:3279
CallStateChangeReason
Definition: build/TelepathyQt/_gen/constants.h:2365
Definition: build/TelepathyQt/_gen/constants.h:3495
Definition: build/TelepathyQt/_gen/constants.h:2590
Definition: build/TelepathyQt/_gen/constants.h:4590
Definition: build/TelepathyQt/_gen/constants.h:1142
Definition: build/TelepathyQt/_gen/constants.h:3855
Definition: build/TelepathyQt/_gen/constants.h:1153
Definition: build/TelepathyQt/_gen/constants.h:277
Definition: build/TelepathyQt/_gen/constants.h:1941
const int NUM_HTTP_METHODS
Definition: build/TelepathyQt/_gen/constants.h:1980
Definition: build/TelepathyQt/_gen/constants.h:549
Definition: build/TelepathyQt/_gen/constants.h:3533
Definition: build/TelepathyQt/_gen/constants.h:4106
Definition: build/TelepathyQt/_gen/constants.h:3105
Definition: build/TelepathyQt/_gen/constants.h:3335
Definition: build/TelepathyQt/_gen/constants.h:2452
Definition: build/TelepathyQt/_gen/constants.h:279
const int NUM_TLS_CERTIFICATE_REJECT_REASONS
Definition: build/TelepathyQt/_gen/constants.h:4187
ConnectionStatus
Definition: build/TelepathyQt/_gen/constants.h:1420
Definition: build/TelepathyQt/_gen/constants.h:1997
Definition: build/TelepathyQt/_gen/constants.h:2846
Definition: build/TelepathyQt/_gen/constants.h:488
Definition: build/TelepathyQt/_gen/constants.h:1025
Definition: build/TelepathyQt/_gen/constants.h:3062
Definition: build/TelepathyQt/_gen/constants.h:310
Definition: build/TelepathyQt/_gen/constants.h:2932
Definition: build/TelepathyQt/_gen/constants.h:4222
Definition: build/TelepathyQt/_gen/constants.h:2963
Definition: build/TelepathyQt/_gen/constants.h:1402
Definition: build/TelepathyQt/_gen/constants.h:4393
Definition: build/TelepathyQt/_gen/constants.h:2171
Definition: build/TelepathyQt/_gen/constants.h:878
Definition: build/TelepathyQt/_gen/constants.h:4008
Definition: build/TelepathyQt/_gen/constants.h:4145
Definition: build/TelepathyQt/_gen/constants.h:864
Definition: build/TelepathyQt/_gen/constants.h:2215
QFlags< MediaStreamPending > MediaStreamPendingSend
Definition: build/TelepathyQt/_gen/constants.h:682
Definition: build/TelepathyQt/_gen/constants.h:3176
Definition: build/TelepathyQt/_gen/constants.h:946
Definition: build/TelepathyQt/_gen/constants.h:4401
Definition: build/TelepathyQt/_gen/constants.h:1714
Definition: build/TelepathyQt/_gen/constants.h:1180
QFlags< ConnectionAliasFlag > ConnectionAliasFlags
Definition: build/TelepathyQt/_gen/constants.h:164
QFlags< MessageSendingFlag > MessageSendingFlags
Definition: build/TelepathyQt/_gen/constants.h:1166
Definition: build/TelepathyQt/_gen/constants.h:3448
MediaStreamPending
Definition: build/TelepathyQt/_gen/constants.h:658
CallMemberFlag
Definition: build/TelepathyQt/_gen/constants.h:582
Definition: build/TelepathyQt/_gen/constants.h:1652
const int NUM_HANDLE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:1412
Definition: build/TelepathyQt/_gen/constants.h:4285
Definition: build/TelepathyQt/_gen/constants.h:2693
Definition: build/TelepathyQt/_gen/constants.h:2797
HTTPMethod
Definition: build/TelepathyQt/_gen/constants.h:1959
Definition: build/TelepathyQt/_gen/constants.h:725
Definition: build/TelepathyQt/_gen/constants.h:2373
Definition: build/TelepathyQt/_gen/constants.h:2884
Definition: build/TelepathyQt/_gen/constants.h:3366
Definition: build/TelepathyQt/_gen/constants.h:4150
const int NUM_CALL_STATES
Definition: build/TelepathyQt/_gen/constants.h:2353
const int NUM_CONTACT_METADATA_STORAGE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:1949
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Definition: build/TelepathyQt/_gen/constants.h:3389
Definition: build/TelepathyQt/_gen/constants.h:2464
ContactInfoFlag
Definition: build/TelepathyQt/_gen/constants.h:296
Definition: build/TelepathyQt/_gen/constants.h:4059
Definition: build/TelepathyQt/_gen/constants.h:116
const int NUM_TLS_CERTIFICATE_STATES
Definition: build/TelepathyQt/_gen/constants.h:4114
Definition: build/TelepathyQt/_gen/constants.h:2721
FileHashType
Definition: build/TelepathyQt/_gen/constants.h:2678
const int NUM_CHANNEL_TEXT_MESSAGE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2906
LocalMuteState
Definition: build/TelepathyQt/_gen/constants.h:4626
Definition: build/TelepathyQt/_gen/constants.h:4104
Definition: build/TelepathyQt/_gen/constants.h:1357
QFlags< MailNotificationFlag > MailNotificationFlags
Definition: build/TelepathyQt/_gen/constants.h:505
QFlags< MessagePartSupportFlag > MessagePartSupportFlags
Definition: build/TelepathyQt/_gen/constants.h:1106
Definition: build/TelepathyQt/_gen/constants.h:2799
Definition: build/TelepathyQt/_gen/constants.h:526
ChannelChatState
Definition: build/TelepathyQt/_gen/constants.h:3078
Definition: build/TelepathyQt/_gen/constants.h:3535
Definition: build/TelepathyQt/_gen/constants.h:406
const int NUM_TUBE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2940
CaptchaFlag
Definition: build/TelepathyQt/_gen/constants.h:823
Definition: build/TelepathyQt/_gen/constants.h:998
Definition: build/TelepathyQt/_gen/constants.h:717
QFlags< CallMemberFlag > CallMemberFlags
Definition: build/TelepathyQt/_gen/constants.h:650
Definition: build/TelepathyQt/_gen/constants.h:1629
StorageRestrictionFlag
Definition: build/TelepathyQt/_gen/constants.h:1286
Definition: build/TelepathyQt/_gen/constants.h:3589
Definition: build/TelepathyQt/_gen/constants.h:4539
Definition: build/TelepathyQt/_gen/constants.h:2991
Definition: build/TelepathyQt/_gen/constants.h:3788
Definition: build/TelepathyQt/_gen/constants.h:1304
Definition: build/TelepathyQt/_gen/constants.h:1007
Definition: build/TelepathyQt/_gen/constants.h:2835
Definition: build/TelepathyQt/_gen/constants.h:3682
Definition: build/TelepathyQt/_gen/constants.h:1311
Definition: build/TelepathyQt/_gen/constants.h:249
Definition: build/TelepathyQt/_gen/constants.h:2230
RichPresenceAccessControlType
Definition: build/TelepathyQt/_gen/constants.h:2202
Definition: build/TelepathyQt/_gen/constants.h:4331
Definition: build/TelepathyQt/_gen/constants.h:3959
Definition: build/TelepathyQt/_gen/constants.h:1663
Definition: build/TelepathyQt/_gen/constants.h:2602
Definition: build/TelepathyQt/_gen/constants.h:2726
Definition: build/TelepathyQt/_gen/constants.h:970
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
SendingState
Definition: build/TelepathyQt/_gen/constants.h:4529
Definition: build/TelepathyQt/_gen/constants.h:4319
Definition: build/TelepathyQt/_gen/constants.h:3103
Definition: build/TelepathyQt/_gen/constants.h:3736
Definition: build/TelepathyQt/_gen/constants.h:2662
Definition: build/TelepathyQt/_gen/constants.h:787
Definition: build/TelepathyQt/_gen/constants.h:69
MediaStreamState
Definition: build/TelepathyQt/_gen/constants.h:2744
CallStreamCandidateType
Definition: build/TelepathyQt/_gen/constants.h:4359
Definition: build/TelepathyQt/_gen/constants.h:3151
Definition: build/TelepathyQt/_gen/constants.h:4575
Definition: build/TelepathyQt/_gen/constants.h:4607
const int NUM_FILE_TRANSFER_STATES
Definition: build/TelepathyQt/_gen/constants.h:2622
MediaStreamTransportType
Definition: build/TelepathyQt/_gen/constants.h:4003
CallFlag
Definition: build/TelepathyQt/_gen/constants.h:513
Definition: build/TelepathyQt/_gen/constants.h:1425
Definition: build/TelepathyQt/_gen/constants.h:490
Definition: build/TelepathyQt/_gen/constants.h:4654
Definition: build/TelepathyQt/_gen/constants.h:3845
Definition: build/TelepathyQt/_gen/constants.h:2660
TLSCertificateRejectReason
Definition: build/TelepathyQt/_gen/constants.h:4124
Definition: build/TelepathyQt/_gen/constants.h:2930
Definition: build/TelepathyQt/_gen/constants.h:3894
Definition: build/TelepathyQt/_gen/constants.h:3985
CallContentPacketizationType
Definition: build/TelepathyQt/_gen/constants.h:4197
const int NUM_CALL_STREAM_CANDIDATE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:4409
Definition: build/TelepathyQt/_gen/constants.h:4264
Definition: build/TelepathyQt/_gen/constants.h:1192
CallContentDisposition
Definition: build/TelepathyQt/_gen/constants.h:4241
Definition: build/TelepathyQt/_gen/constants.h:2549
Definition: build/TelepathyQt/_gen/constants.h:4544
QFlags< CaptchaFlag > CaptchaFlags
Definition: build/TelepathyQt/_gen/constants.h:844
Definition: build/TelepathyQt/_gen/constants.h:4140
Definition: build/TelepathyQt/_gen/constants.h:2898
Definition: build/TelepathyQt/_gen/constants.h:3644
const int NUM_CHANNEL_CHAT_STATES
Definition: build/TelepathyQt/_gen/constants.h:3113
Definition: build/TelepathyQt/_gen/constants.h:1240
RTCPXRStatisticsFlag
Definition: build/TelepathyQt/_gen/constants.h:1330
Definition: build/TelepathyQt/_gen/constants.h:4064
Definition: build/TelepathyQt/_gen/constants.h:1686
Definition: build/TelepathyQt/_gen/constants.h:2301
Definition: build/TelepathyQt/_gen/constants.h:700
Definition: build/TelepathyQt/_gen/constants.h:1071
Definition: build/TelepathyQt/_gen/constants.h:4171
Definition: build/TelepathyQt/_gen/constants.h:2889
Definition: build/TelepathyQt/_gen/constants.h:3690
Definition: build/TelepathyQt/_gen/constants.h:559
Definition: build/TelepathyQt/_gen/constants.h:1382
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
Definition: build/TelepathyQt/_gen/constants.h:3523
const int NUM_CALL_STATE_CHANGE_REASONS
Definition: build/TelepathyQt/_gen/constants.h:2525
Definition: build/TelepathyQt/_gen/constants.h:887
Definition: build/TelepathyQt/_gen/constants.h:438
Definition: abstract-adaptor.cpp:31
Definition: build/TelepathyQt/_gen/constants.h:2441
LocationFeature
Definition: build/TelepathyQt/_gen/constants.h:400
Definition: build/TelepathyQt/_gen/constants.h:1013
const int NUM_MEDIA_STREAM_TRANSPORT_TYPES
Definition: build/TelepathyQt/_gen/constants.h:4028
Definition: build/TelepathyQt/_gen/constants.h:4549
MailNotificationFlag
Definition: build/TelepathyQt/_gen/constants.h:430
TubeChannelState
Definition: build/TelepathyQt/_gen/constants.h:3729
Definition: build/TelepathyQt/_gen/constants.h:1387
Definition: build/TelepathyQt/_gen/constants.h:928
Definition: build/TelepathyQt/_gen/constants.h:1034
Definition: build/TelepathyQt/_gen/constants.h:1640
Definition: build/TelepathyQt/_gen/constants.h:4441
Definition: build/TelepathyQt/_gen/constants.h:4385
QFlags< DeliveryReportingSupportFlag > DeliveryReportingSupportFlags
Definition: build/TelepathyQt/_gen/constants.h:1219
Definition: build/TelepathyQt/_gen/constants.h:2848
Definition: build/TelepathyQt/_gen/constants.h:3040
Definition: build/TelepathyQt/_gen/constants.h:1618
const int NUM_ACCESS_CONTROL_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2179
Definition: build/TelepathyQt/_gen/constants.h:596
FileTransferState
Definition: build/TelepathyQt/_gen/constants.h:2577
Definition: build/TelepathyQt/_gen/constants.h:1397
Definition: build/TelepathyQt/_gen/constants.h:2486
Definition: build/TelepathyQt/_gen/constants.h:2761
const int NUM_CONNECTION_STATUSES
Definition: build/TelepathyQt/_gen/constants.h:1451
Definition: build/TelepathyQt/_gen/constants.h:1345
Definition: build/TelepathyQt/_gen/constants.h:1712
Definition: build/TelepathyQt/_gen/constants.h:3186
Definition: build/TelepathyQt/_gen/constants.h:348
Definition: build/TelepathyQt/_gen/constants.h:3060
Definition: build/TelepathyQt/_gen/constants.h:2728
Definition: build/TelepathyQt/_gen/constants.h:4582
Definition: build/TelepathyQt/_gen/constants.h:4220
Definition: build/TelepathyQt/_gen/constants.h:1298
StreamTransportType
Definition: build/TelepathyQt/_gen/constants.h:4463
Definition: build/TelepathyQt/_gen/constants.h:3181
const int NUM_CAPTCHA_CANCEL_REASONS
Definition: build/TelepathyQt/_gen/constants.h:3017
Definition: build/TelepathyQt/_gen/constants.h:1350
Definition: build/TelepathyQt/_gen/constants.h:4211
Definition: build/TelepathyQt/_gen/constants.h:806
Definition: build/TelepathyQt/_gen/constants.h:4339
Definition: build/TelepathyQt/_gen/constants.h:3093
Definition: build/TelepathyQt/_gen/constants.h:4179
Definition: build/TelepathyQt/_gen/constants.h:1186
Definition: build/TelepathyQt/_gen/constants.h:4049
const int NUM_SERVICE_POINT_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2018
Definition: build/TelepathyQt/_gen/constants.h:3781
Definition: build/TelepathyQt/_gen/constants.h:2759
Definition: build/TelepathyQt/_gen/constants.h:2787
Definition: build/TelepathyQt/_gen/constants.h:1607
Definition: build/TelepathyQt/_gen/constants.h:3804
const int NUM_MEDIA_STREAM_STATES
Definition: build/TelepathyQt/_gen/constants.h:2769
Definition: build/TelepathyQt/_gen/constants.h:4663
Definition: build/TelepathyQt/_gen/constants.h:753
Definition: build/TelepathyQt/_gen/constants.h:3323
Definition: build/TelepathyQt/_gen/constants.h:1738
Definition: build/TelepathyQt/_gen/constants.h:3796
QFlags< ChannelGroupFlag > ChannelGroupFlags
Definition: build/TelepathyQt/_gen/constants.h:1043
const int NUM_CHANNEL_CONTACT_SEARCH_STATES
Definition: build/TelepathyQt/_gen/constants.h:2569
MediaStreamBaseProto
Definition: build/TelepathyQt/_gen/constants.h:3975
const int NUM_FILE_HASH_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2708
SASLStatus
Definition: build/TelepathyQt/_gen/constants.h:3660
Definition: build/TelepathyQt/_gen/constants.h:3936
const int NUM_SENDING_STATES
Definition: build/TelepathyQt/_gen/constants.h:4559
Definition: build/TelepathyQt/_gen/constants.h:3146
Definition: build/TelepathyQt/_gen/constants.h:2010
Definition: build/TelepathyQt/_gen/constants.h:3612
SocketAccessControl
Definition: build/TelepathyQt/_gen/constants.h:3822
Definition: build/TelepathyQt/_gen/constants.h:2607
Definition: build/TelepathyQt/_gen/constants.h:1032
Definition: build/TelepathyQt/_gen/constants.h:4325
Definition: build/TelepathyQt/_gen/constants.h:3203
ContactListState
Definition: build/TelepathyQt/_gen/constants.h:1732
Definition: build/TelepathyQt/_gen/constants.h:1823
Definition: build/TelepathyQt/_gen/constants.h:2830
Definition: build/TelepathyQt/_gen/constants.h:4130
Definition: build/TelepathyQt/_gen/constants.h:83
Definition: build/TelepathyQt/_gen/constants.h:4337
Definition: build/TelepathyQt/_gen/constants.h:118
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
Definition: build/TelepathyQt/_gen/constants.h:1292
Definition: build/TelepathyQt/_gen/constants.h:2048
QFlags< LocationFeature > LocationFeatures
Definition: build/TelepathyQt/_gen/constants.h:422
Definition: build/TelepathyQt/_gen/constants.h:2381
DeliveryReportingSupportFlag
Definition: build/TelepathyQt/_gen/constants.h:1174
Definition: build/TelepathyQt/_gen/constants.h:4632
ContactMetadataStorageType
Definition: build/TelepathyQt/_gen/constants.h:1880
ChannelPasswordFlag
Definition: build/TelepathyQt/_gen/constants.h:1227
Definition: build/TelepathyQt/_gen/constants.h:3196
const int NUM_CONNECTION_STATUS_REASONS
Definition: build/TelepathyQt/_gen/constants.h:1722
Definition: build/TelepathyQt/_gen/constants.h:4469
Definition: build/TelepathyQt/_gen/constants.h:308
SASLAbortReason
Definition: build/TelepathyQt/_gen/constants.h:3632
const int NUM_CONNECTION_PRESENCE_TYPES
Definition: build/TelepathyQt/_gen/constants.h:2085
Definition: build/TelepathyQt/_gen/constants.h:1404
Definition: build/TelepathyQt/_gen/constants.h:1698
Definition: build/TelepathyQt/_gen/constants.h:2543
Definition: build/TelepathyQt/_gen/constants.h:251
Definition: build/TelepathyQt/_gen/constants.h:4293
Definition: build/TelepathyQt/_gen/constants.h:1755
Definition: build/TelepathyQt/_gen/constants.h:2871
Definition: build/TelepathyQt/_gen/constants.h:2417
Definition: build/TelepathyQt/_gen/constants.h:2749
QFlags< ContactInfoFieldFlag > ContactInfoFieldFlags
Definition: build/TelepathyQt/_gen/constants.h:392
ChannelTextMessageType
Definition: build/TelepathyQt/_gen/constants.h:2866
Definition: build/TelepathyQt/_gen/constants.h:2008
Definition: build/TelepathyQt/_gen/constants.h:3098
Definition: build/TelepathyQt/_gen/constants.h:244
Definition: build/TelepathyQt/_gen/constants.h:2345
Definition: build/TelepathyQt/_gen/constants.h:58
Definition: build/TelepathyQt/_gen/constants.h:1198
Definition: build/TelepathyQt/_gen/constants.h:3047
PropertyFlag
Definition: build/TelepathyQt/_gen/constants.h:1257
Definition: build/TelepathyQt/_gen/constants.h:2655
const int NUM_CHANNEL_GROUP_CHANGE_REASONS
Definition: build/TelepathyQt/_gen/constants.h:3456
Definition: build/TelepathyQt/_gen/constants.h:2561
Definition: build/TelepathyQt/_gen/constants.h:711
Definition: build/TelepathyQt/_gen/constants.h:991
Definition: build/TelepathyQt/_gen/constants.h:3255
Definition: build/TelepathyQt/_gen/constants.h:3007
const int NUM_LOCAL_MUTE_STATES
Definition: build/TelepathyQt/_gen/constants.h:4671
Definition: build/TelepathyQt/_gen/constants.h:1675
Definition: build/TelepathyQt/_gen/constants.h:212
Definition: build/TelepathyQt/_gen/constants.h:2115
Definition: build/TelepathyQt/_gen/constants.h:2700
Definition: build/TelepathyQt/_gen/constants.h:2077
ServicePointType
Definition: build/TelepathyQt/_gen/constants.h:1990
Definition: build/TelepathyQt/_gen/constants.h:3705
Definition: build/TelepathyQt/_gen/constants.h:671
Definition: build/TelepathyQt/_gen/constants.h:3759
Definition: build/TelepathyQt/_gen/constants.h:769
Definition: build/TelepathyQt/_gen/constants.h:2640
Definition: build/TelepathyQt/_gen/constants.h:3674
Definition: build/TelepathyQt/_gen/constants.h:1939
Definition: build/TelepathyQt/_gen/constants.h:1745
Definition: build/TelepathyQt/_gen/constants.h:3191


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01230.html0000644000175000017500000002244612727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface Member List

This is the complete list of members for Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceexplicit
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceinline
requestPropertyDoesAVPF() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceinline
requestPropertyFeedbackMessages() const Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentMediaDescriptionInterfaceRTCPFeedbackInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00014.html0000644000175000017500000000372312727270137020773 0ustar00kaffeinekaffeine00000000000000 Protocols Example
   Home · All Classes · All Namespaces · Modules · Functions · Files
Protocols Example


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_h.html0000644000175000017500000003513412727270137022506 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- h -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_vars_w.html0000644000175000017500000000341012727270137023550 0ustar00kaffeinekaffeine00000000000000 Class Members - Variables
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- w -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00642_source.html0000644000175000017500000005064712727270137022371 0ustar00kaffeinekaffeine00000000000000 connection-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
connection-manager.h
1 
23 #ifndef _TelepathyQt_connection_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_connection_manager_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-connection-manager.h>
31 
32 #include <TelepathyQt/ChannelFactory>
33 #include <TelepathyQt/ConnectionFactory>
34 #include <TelepathyQt/Constants>
35 #include <TelepathyQt/ContactFactory>
36 #include <TelepathyQt/DBus>
37 #include <TelepathyQt/DBusProxy>
38 #include <TelepathyQt/OptionalInterfaceFactory>
39 #include <TelepathyQt/ProtocolInfo>
40 #include <TelepathyQt/ProtocolParameter>
41 #include <TelepathyQt/ReadinessHelper>
42 #include <TelepathyQt/SharedPtr>
43 #include <TelepathyQt/Types>
44 
45 namespace Tp
46 {
47 
48 class ConnectionManagerLowlevel;
49 class PendingConnection;
50 class PendingStringList;
51 
52 class TP_QT_EXPORT ConnectionManager : public StatelessDBusProxy,
53  public OptionalInterfaceFactory<ConnectionManager>
54 {
55  Q_OBJECT
56  Q_DISABLE_COPY(ConnectionManager)
57  Q_PROPERTY(QString name READ name)
58  Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
59  Q_PROPERTY(ProtocolInfoList protocols READ protocols)
60 
61 public:
62  static const Feature FeatureCore;
63 
64  static ConnectionManagerPtr create(const QDBusConnection &bus,
65  const QString &name);
66  static ConnectionManagerPtr create(const QString &name,
67  const ConnectionFactoryConstPtr &connectionFactory =
68  ConnectionFactory::create(QDBusConnection::sessionBus()),
69  const ChannelFactoryConstPtr &channelFactory =
70  ChannelFactory::create(QDBusConnection::sessionBus()),
71  const ContactFactoryConstPtr &contactFactory =
72  ContactFactory::create());
73  static ConnectionManagerPtr create(const QDBusConnection &bus,
74  const QString &name,
75  const ConnectionFactoryConstPtr &connectionFactory,
76  const ChannelFactoryConstPtr &channelFactory,
77  const ContactFactoryConstPtr &contactFactory =
78  ContactFactory::create());
79 
80  virtual ~ConnectionManager();
81 
82  QString name() const;
83 
84  ConnectionFactoryConstPtr connectionFactory() const;
85  ChannelFactoryConstPtr channelFactory() const;
86  ContactFactoryConstPtr contactFactory() const;
87 
88  QStringList supportedProtocols() const;
89  const ProtocolInfoList &protocols() const;
90  bool hasProtocol(const QString &protocolName) const;
91  ProtocolInfo protocol(const QString &protocolName) const;
92 
93  static PendingStringList *listNames(
94  const QDBusConnection &bus = QDBusConnection::sessionBus());
95 
96 #if defined(BUILDING_TP_QT) || defined(TP_QT_ENABLE_LOWLEVEL_API)
97  ConnectionManagerLowlevelPtr lowlevel();
98  ConnectionManagerLowlevelConstPtr lowlevel() const;
99 #endif
100 
101 protected:
102  ConnectionManager(const QDBusConnection &bus, const QString &name,
103  const ConnectionFactoryConstPtr &connectionFactory,
104  const ChannelFactoryConstPtr &channelFactory,
105  const ContactFactoryConstPtr &contactFactory);
106 
107  Client::ConnectionManagerInterface *baseInterface() const;
108 
109 private Q_SLOTS:
110  TP_QT_NO_EXPORT void gotMainProperties(Tp::PendingOperation *op);
111  TP_QT_NO_EXPORT void gotProtocolsLegacy(QDBusPendingCallWatcher *watcher);
112  TP_QT_NO_EXPORT void gotParametersLegacy(QDBusPendingCallWatcher *watcher);
113  TP_QT_NO_EXPORT void onProtocolReady(Tp::PendingOperation *watcher);
114 
115 private:
116  friend class PendingConnection;
117 
118  struct Private;
119  friend struct Private;
120  Private *mPriv;
121 };
122 
123 } // Tp
124 
125 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
Definition: cli-connection-manager.h:44
The ChannelFactory class is responsible for constructing Channel objects according to application-def...
Definition: channel-factory.h:46
The ConnectionFactory class is responsible for constructing Connection objects according to applicati...
Definition: connection-factory.h:49
The PendingConnection class represents the parameters of and the reply to an asynchronous connection ...
Definition: pending-connection.h:43
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
The ConnectionManager class represents a Telepathy connection manager.
Definition: connection-manager.h:52
Definition: abstract-adaptor.cpp:31
QList< ProtocolInfo > ProtocolInfoList
Definition: protocol-info.h:104
The PendingStringList class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-string-list.h:37
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The ContactFactory class is responsible for constructing Contact objects according to application-def...
Definition: contact-factory.h:44


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00329.html0000644000175000017500000001412712727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Features Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The Features class represents a list of Feature. More...

#include <TelepathyQt/Features>

Inherits QSet< Feature >.

Public Member Functions

 Features ()
 
 Features (const Feature &feature)
 
 Features (const QSet< Feature > &s)
 

Detailed Description

The Features class represents a list of Feature.

Constructor & Destructor Documentation

Tp::Features::Features ( )
inline
Tp::Features::Features ( const Feature feature)
inline
Tp::Features::Features ( const QSet< Feature > &  s)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00083.html0000644000175000017500000015410112727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelSASLAuthenticationInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Interface.SASLAuthentication. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, const QString &, DBusError * > StartMechanismCallback
 
typedef Callback3< void, const QString &, const QByteArray &, DBusError * > StartMechanismWithDataCallback
 
typedef Callback2< void, const QByteArray &, DBusError * > RespondCallback
 
typedef Callback1< void, DBusError * > AcceptSASLCallback
 
typedef Callback3< void, uint, const QString &, DBusError * > AbortSASLCallback
 

Public Member Functions

virtual ~BaseChannelSASLAuthenticationInterface ()
 
QVariantMap immutableProperties () const
 
QStringList availableMechanisms () const
 
bool hasInitialData () const
 
bool canTryAgain () const
 
QString authorizationIdentity () const
 
QString defaultUsername () const
 
QString defaultRealm () const
 
bool maySaveResponse () const
 
uint saslStatus () const
 
void setSaslStatus (uint status, const QString &reason, const QVariantMap &details)
 
QString saslError () const
 
void setSaslError (const QString &saslError)
 
QVariantMap saslErrorDetails () const
 
void setSaslErrorDetails (const QVariantMap &saslErrorDetails)
 
void setStartMechanismCallback (const StartMechanismCallback &cb)
 
void startMechanism (const QString &mechanism, DBusError *error)
 
void setStartMechanismWithDataCallback (const StartMechanismWithDataCallback &cb)
 
void startMechanismWithData (const QString &mechanism, const QByteArray &initialData, DBusError *error)
 
void setRespondCallback (const RespondCallback &cb)
 
void respond (const QByteArray &responseData, DBusError *error)
 
void setAcceptSaslCallback (const AcceptSASLCallback &cb)
 
void acceptSasl (DBusError *error)
 
void setAbortSaslCallback (const AbortSASLCallback &cb)
 
void abortSasl (uint reason, const QString &debugMessage, DBusError *error)
 
void newChallenge (const QByteArray &challengeData)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelSASLAuthenticationInterfacePtr create (const QStringList &availableMechanisms, bool hasInitialData, bool canTryAgain, const QString &authorizationIdentity, const QString &defaultUsername, const QString &defaultRealm, bool maySaveResponse)
 
template<typename BaseChannelSASLAuthenticationInterfaceSubclass >
static SharedPtr< BaseChannelSASLAuthenticationInterfaceSubclass > create (const QStringList &availableMechanisms, bool hasInitialData, bool canTryAgain, const QString &authorizationIdentity, const QString &defaultUsername, const QString &defaultRealm, bool maySaveResponse)
 

Protected Member Functions

 BaseChannelSASLAuthenticationInterface (const QStringList &availableMechanisms, bool hasInitialData, bool canTryAgain, const QString &authorizationIdentity, const QString &defaultUsername, const QString &defaultRealm, bool maySaveResponse)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.SASLAuthentication.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelSASLAuthenticationInterface::~BaseChannelSASLAuthenticationInterface ( )
virtual

Class destructor.

Tp::BaseChannelSASLAuthenticationInterface::BaseChannelSASLAuthenticationInterface ( const QStringList &  availableMechanisms,
bool  hasInitialData,
bool  canTryAgain,
const QString &  authorizationIdentity,
const QString &  defaultUsername,
const QString &  defaultRealm,
bool  maySaveResponse 
)
protected

Class constructor.

Member Function Documentation

static BaseChannelSASLAuthenticationInterfacePtr Tp::BaseChannelSASLAuthenticationInterface::create ( const QStringList &  availableMechanisms,
bool  hasInitialData,
bool  canTryAgain,
const QString &  authorizationIdentity,
const QString &  defaultUsername,
const QString &  defaultRealm,
bool  maySaveResponse 
)
inlinestatic
template<typename BaseChannelSASLAuthenticationInterfaceSubclass >
static SharedPtr<BaseChannelSASLAuthenticationInterfaceSubclass> Tp::BaseChannelSASLAuthenticationInterface::create ( const QStringList &  availableMechanisms,
bool  hasInitialData,
bool  canTryAgain,
const QString &  authorizationIdentity,
const QString &  defaultUsername,
const QString &  defaultRealm,
bool  maySaveResponse 
)
inlinestatic
QVariantMap Tp::BaseChannelSASLAuthenticationInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

QStringList Tp::BaseChannelSASLAuthenticationInterface::availableMechanisms ( ) const
bool Tp::BaseChannelSASLAuthenticationInterface::hasInitialData ( ) const
bool Tp::BaseChannelSASLAuthenticationInterface::canTryAgain ( ) const
QString Tp::BaseChannelSASLAuthenticationInterface::authorizationIdentity ( ) const
QString Tp::BaseChannelSASLAuthenticationInterface::defaultUsername ( ) const
QString Tp::BaseChannelSASLAuthenticationInterface::defaultRealm ( ) const
bool Tp::BaseChannelSASLAuthenticationInterface::maySaveResponse ( ) const
uint Tp::BaseChannelSASLAuthenticationInterface::saslStatus ( ) const
void Tp::BaseChannelSASLAuthenticationInterface::setSaslStatus ( uint  status,
const QString &  reason,
const QVariantMap &  details 
)
QString Tp::BaseChannelSASLAuthenticationInterface::saslError ( ) const
void Tp::BaseChannelSASLAuthenticationInterface::setSaslError ( const QString &  saslError)
QVariantMap Tp::BaseChannelSASLAuthenticationInterface::saslErrorDetails ( ) const
void Tp::BaseChannelSASLAuthenticationInterface::setSaslErrorDetails ( const QVariantMap &  saslErrorDetails)
void Tp::BaseChannelSASLAuthenticationInterface::setStartMechanismCallback ( const StartMechanismCallback cb)
void Tp::BaseChannelSASLAuthenticationInterface::startMechanism ( const QString &  mechanism,
DBusError error 
)
void Tp::BaseChannelSASLAuthenticationInterface::setStartMechanismWithDataCallback ( const StartMechanismWithDataCallback cb)
void Tp::BaseChannelSASLAuthenticationInterface::startMechanismWithData ( const QString &  mechanism,
const QByteArray &  initialData,
DBusError error 
)
void Tp::BaseChannelSASLAuthenticationInterface::setRespondCallback ( const RespondCallback cb)
void Tp::BaseChannelSASLAuthenticationInterface::respond ( const QByteArray &  responseData,
DBusError error 
)
void Tp::BaseChannelSASLAuthenticationInterface::setAcceptSaslCallback ( const AcceptSASLCallback cb)
void Tp::BaseChannelSASLAuthenticationInterface::acceptSasl ( DBusError error)
void Tp::BaseChannelSASLAuthenticationInterface::setAbortSaslCallback ( const AbortSASLCallback cb)
void Tp::BaseChannelSASLAuthenticationInterface::abortSasl ( uint  reason,
const QString &  debugMessage,
DBusError error 
)
void Tp::BaseChannelSASLAuthenticationInterface::newChallenge ( const QByteArray &  challengeData)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01044.html0000644000175000017500000002262312727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FileTransferChannelCreationProperties Member List

This is the complete list of members for Tp::FileTransferChannelCreationProperties, including all inherited members.

contentHash() const Tp::FileTransferChannelCreationProperties
contentHashType() const Tp::FileTransferChannelCreationProperties
contentType() const Tp::FileTransferChannelCreationProperties
createRequest() const Tp::FileTransferChannelCreationProperties
createRequest(const QString &contactIdentifier) const Tp::FileTransferChannelCreationProperties
createRequest(uint handle) const Tp::FileTransferChannelCreationProperties
description() const Tp::FileTransferChannelCreationProperties
FileTransferChannelCreationProperties()Tp::FileTransferChannelCreationProperties
FileTransferChannelCreationProperties(const QString &suggestedFileName, const QString &contentType, qulonglong size)Tp::FileTransferChannelCreationProperties
FileTransferChannelCreationProperties(const QString &path, const QString &contentType)Tp::FileTransferChannelCreationProperties
FileTransferChannelCreationProperties(const FileTransferChannelCreationProperties &other)Tp::FileTransferChannelCreationProperties
hasContentHash() const Tp::FileTransferChannelCreationProperties
hasDescription() const Tp::FileTransferChannelCreationProperties
hasLastModificationTime() const Tp::FileTransferChannelCreationProperties
hasUri() const Tp::FileTransferChannelCreationProperties
isValid() const Tp::FileTransferChannelCreationPropertiesinline
lastModificationTime() const Tp::FileTransferChannelCreationProperties
operator=(const FileTransferChannelCreationProperties &other)Tp::FileTransferChannelCreationProperties
operator==(const FileTransferChannelCreationProperties &other) const Tp::FileTransferChannelCreationProperties
setContentHash(FileHashType contentHashType, const QString &contentHash)Tp::FileTransferChannelCreationProperties
setDescription(const QString &description)Tp::FileTransferChannelCreationProperties
setLastModificationTime(const QDateTime &lastModificationTime)Tp::FileTransferChannelCreationProperties
setUri(const QString &uri)Tp::FileTransferChannelCreationProperties
size() const Tp::FileTransferChannelCreationProperties
suggestedFileName() const Tp::FileTransferChannelCreationProperties
uri() const Tp::FileTransferChannelCreationProperties
~FileTransferChannelCreationProperties()Tp::FileTransferChannelCreationProperties


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00899.html0000644000175000017500000000647212727270137021024 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractFunctorCaller Member List

This is the complete list of members for Tp::AbstractFunctorCaller, including all inherited members.

AbstractFunctorCaller(HookType invokeMethodHook)Tp::AbstractFunctorCallerinline
clone() const =0Tp::AbstractFunctorCallerpure virtual
HookType typedefTp::AbstractFunctorCaller
invokeMethodHookTp::AbstractFunctorCaller
~AbstractFunctorCaller()Tp::AbstractFunctorCallerinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00639_source.html0000644000175000017500000004247612727270137022400 0ustar00kaffeinekaffeine00000000000000 connection-lowlevel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
connection-lowlevel.h
1 
23 #ifndef _TelepathyQt_connection_lowlevel_h_HEADER_GUARD_
24 #define _TelepathyQt_connection_lowlevel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/Types>
32 
33 namespace Tp
34 {
35 
36 class Connection;
37 class PendingChannel;
38 class PendingContactAttributes;
39 class PendingHandles;
40 class PendingOperation;
41 class PendingReady;
42 
43 class TP_QT_EXPORT ConnectionLowlevel : public QObject, public RefCounted
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(ConnectionLowlevel)
47 
48 public:
50 
51  bool isValid() const;
52  ConnectionPtr connection() const;
53 
54  PendingReady *requestConnect(const Features &requestedFeatures = Features());
55  PendingOperation *requestDisconnect();
56 
57  SimpleStatusSpecMap allowedPresenceStatuses() const;
58  uint maxPresenceStatusMessageLength() const;
59 
60  PendingOperation *setSelfPresence(const QString &status, const QString &statusMessage);
61 
62  PendingChannel *createChannel(const QVariantMap &request);
63  PendingChannel *createChannel(const QVariantMap &request, int timeout);
64  PendingChannel *ensureChannel(const QVariantMap &request);
65  PendingChannel *ensureChannel(const QVariantMap &request, int timeout);
66 
67  PendingHandles *requestHandles(HandleType handleType, const QStringList &names);
68  PendingHandles *referenceHandles(HandleType handleType, const UIntList &handles);
69 
70  PendingContactAttributes *contactAttributes(const UIntList &handles,
71  const QStringList &interfaces, bool reference = true);
72  QStringList contactAttributeInterfaces() const;
73 
74  void injectContactIds(const HandleIdentifierMap &contactIds);
75  void injectContactId(uint handle, const QString &contactId);
76 
77 private:
78  friend class Connection;
79  friend class ContactManager;
80  friend class PendingContacts;
81 
82  TP_QT_NO_EXPORT ConnectionLowlevel(Connection *parent);
83 
84  TP_QT_NO_EXPORT bool hasImmortalHandles() const;
85 
86  TP_QT_NO_EXPORT bool hasContactId(uint handle) const;
87  TP_QT_NO_EXPORT QString contactId(uint handle) const;
88 
89  struct Private;
90  friend struct Private;
91  Private *mPriv;
92 };
93 
94 } // Tp
95 
96 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
Definition: build/TelepathyQt/_gen/types.h:3858
The PendingContactAttributes class represents the parameters of and the reply to an asynchronous requ...
Definition: pending-contact-attributes.h:40
The ContactManager class is responsible for managing contacts.
Definition: contact-manager.h:50
Definition: build/TelepathyQt/_gen/types.h:1655
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The PendingHandles class represents the parameters of and the reply to an asynchronous handle request...
Definition: pending-handles.h:46
The Features class represents a list of Feature.
Definition: feature.h:61
The PendingContacts class is used by ContactManager when creating/updating Contact objects...
Definition: pending-contacts.h:46
Definition: build/TelepathyQt/_gen/types.h:107
The Connection class represents a Telepathy connection.
Definition: connection.h:61
The PendingChannel class represents the parameters of and the reply to an asynchronous channel reques...
Definition: pending-channel.h:44
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
Definition: abstract-adaptor.cpp:31
The ConnectionLowlevel class extends Connection with support to low-level features.
Definition: connection-lowlevel.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00398.html0000644000175000017500000004245712727270137021021 0ustar00kaffeinekaffeine00000000000000 Tp::OptionalInterfaceFactory< DBusProxySubclass > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OptionalInterfaceFactory< DBusProxySubclass > Class Template Reference

The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to offer access to shared instances of interface proxies for optional interfaces. More...

#include <TelepathyQt/OptionalInterfaceFactory>

Public Types

enum  InterfaceSupportedChecking { CheckInterfaceSupported, BypassInterfaceCheck }
 

Public Member Functions

 OptionalInterfaceFactory (DBusProxySubclass *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
template<class Interface >
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
template<typename Interface >
Interface * interface () const
 

Protected Member Functions

void setInterfaces (const QStringList &interfaces)
 

Detailed Description

template<typename DBusProxySubclass>
class Tp::OptionalInterfaceFactory< DBusProxySubclass >

The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to offer access to shared instances of interface proxies for optional interfaces.

To use this helper in a subclass of DBusProxy (say, ExampleObject), ExampleObject should inherit from OptionalInterfaceFactory<ExampleObject>, and call OptionalInterfaceFactory(this) in its constructor's initialization list.

Template Parameters
DBusProxySubclassA subclass of DBusProxy

Member Enumeration Documentation

template<typename DBusProxySubclass>
enum Tp::OptionalInterfaceFactory::InterfaceSupportedChecking

Specifies if the interface being supported by the remote object should be checked by optionalInterface() and the convenience functions for it.

See also
optionalInterface()
Enumerator
CheckInterfaceSupported 

Don't return an interface instance unless it can be guaranteed that the remote object actually implements the interface.

BypassInterfaceCheck 

Return an interface instance even if it can't be verified that the remote object supports the interface.

Constructor & Destructor Documentation

template<typename DBusProxySubclass>
Tp::OptionalInterfaceFactory< DBusProxySubclass >::OptionalInterfaceFactory ( DBusProxySubclass *  this_)
inline

Class constructor.

Parameters
this_The class to which this OptionalInterfaceFactory is attached
template<typename DBusProxySubclass>
Tp::OptionalInterfaceFactory< DBusProxySubclass >::~OptionalInterfaceFactory ( )
inline

Class destructor.

Frees all interface instances constructed by this factory.

Member Function Documentation

template<typename DBusProxySubclass>
Tp::OptionalInterfaceFactory< DBusProxySubclass >::interfaces ( ) const
inline

Return a list of interfaces supported by this object.

Returns
List of supported interfaces.
template<typename DBusProxySubclass>
bool Tp::OptionalInterfaceFactory< DBusProxySubclass >::hasInterface ( const QString &  name) const
inline
template<typename DBusProxySubclass>
template<class Interface >
Interface* Tp::OptionalInterfaceFactory< DBusProxySubclass >::optionalInterface ( InterfaceSupportedChecking  check = CheckInterfaceSupported) const
inline
template<typename DBusProxySubclass>
template<typename Interface >
template< typename Interface > inline Interface * Tp::OptionalInterfaceFactory< DBusProxySubclass >::interface ( ) const
inline

Return a pointer to a valid instance of a interface class, associated with the same remote object as the given main interface instance. The given main interface must be of the class the optional interface is generated for (for eg. ChannelInterfaceGroupInterface this means ChannelInterface) or a subclass.

First invocation of this method for a particular optional interface class will construct the instance; subsequent calls will return a pointer to the same instance.

The returned instance is freed when the factory is destroyed; using it after destroying the factory will likely produce a crash. As the instance is shared, it should not be freed directly.

Template Parameters
InterfaceClass of the interface instance to get.
Returns
A pointer to an optional interface instance.
template<typename DBusProxySubclass>
void Tp::OptionalInterfaceFactory< DBusProxySubclass >::setInterfaces ( const QStringList &  interfaces)
inlineprotected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01359.html0000644000175000017500000001033612727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap &caps)Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
GetContactCapabilities(const Tp::UIntList &handles, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptorslot
UpdateCapabilities(const Tp::HandlerCapabilitiesList &handlerCapabilities, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactCapabilitiesAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00142.html0000644000175000017500000001534012727270137020773 0ustar00kaffeinekaffeine00000000000000 Tp::CapabilityChange Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CapabilityChange Struct Reference

#include <TelepathyQt/Types>

Public Attributes

uint handle
 
QString channelType
 
uint oldGenericFlags
 
uint newGenericFlags
 
uint oldTypeSpecificFlags
 
uint newTypeSpecificFlags
 

Detailed Description

Structure type generated from the specification.

A struct (contact handle, channel type, old generic flags, new generic flags, old type-specific flags, new type-specific flags) representing a change to one of a contact's capabilities, as seen in the CapabilitiesChanged signal on the Capabilities interface.

Member Data Documentation

uint Tp::CapabilityChange::handle
QString Tp::CapabilityChange::channelType
uint Tp::CapabilityChange::oldGenericFlags
uint Tp::CapabilityChange::newGenericFlags
uint Tp::CapabilityChange::oldTypeSpecificFlags
uint Tp::CapabilityChange::newTypeSpecificFlags


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01103.html0000644000175000017500000001125112727270137020766 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OrFilter< T > Member List

This is the complete list of members for Tp::OrFilter< T >, including all inherited members.

create(const QList< SharedPtr< const Filter< T > > > &filters=QList< SharedPtr< const Filter< T > > >())Tp::OrFilter< T >inlinestatic
Filter()Tp::Filter< T >inlineprotected
filters() const Tp::OrFilter< T >inline
isValid() const Tp::OrFilter< T >inlinevirtual
matches(const SharedPtr< T > &t) const Tp::OrFilter< T >inlinevirtual
RefCounted()Tp::RefCountedinline
~Filter()Tp::Filter< T >inlinevirtual
~OrFilter()Tp::OrFilter< T >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00958.html0000644000175000017500000001216512727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback0< R > Member List

This is the complete list of members for Tp::Callback0< R >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback0()Tp::Callback0< R >inline
Callback0(const Functor &functor)Tp::Callback0< R >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback0< R >
isValid() const Tp::BaseCallbackinline
operator()() const Tp::Callback0< R >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback0< R >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00457.html0000644000175000017500000002020512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor1< R, Arg1 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor1< R, Arg1 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor1 (FunctionType fn)
 
ResultType operator() (Arg1 a1) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 >
typedef R(* Tp::PtrFunctor1< R, Arg1 >::FunctionType) (Arg1)
template<class R , class Arg1 >
typedef R Tp::PtrFunctor1< R, Arg1 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 >
Tp::PtrFunctor1< R, Arg1 >::PtrFunctor1 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 >
ResultType Tp::PtrFunctor1< R, Arg1 >::operator() ( Arg1  a1) const
inline

Member Data Documentation

template<class R , class Arg1 >
FunctionType Tp::PtrFunctor1< R, Arg1 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00201.html0000644000175000017500000001567612727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceSplittableAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ChannelInterfaceSplittableAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void Split (const QDBusMessage &dbusMessage)
 

Additional Inherited Members

- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

void Tp::Service::ChannelInterfaceSplittableAdaptor::Split ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void split(const Tp::Service::ChannelInterfaceSplittableAdaptor::SplitContextPtr &context);

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

Request that this channel is removed from any ChannelInterfaceConferenceInterface of which it is a part.

This implies that the media streams within the conference are put on hold and the media streams within the member channel leaving the conference are unheld.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01172.html0000644000175000017500000000552212727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::RTPHeaderExtension Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00516.html0000644000175000017500000002751212727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeClient::Tube Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::StreamTubeClient::Tube Class Reference

The StreamTubeClient::Tube class represents a tube being handled by the client. More...

#include <TelepathyQt/StreamTubeClient>

Inherits QPair< AccountPtr, IncomingStreamTubeChannelPtr >.

Public Member Functions

 Tube ()
 
 Tube (const AccountPtr &account, const IncomingStreamTubeChannelPtr &channel)
 
 Tube (const Tube &other)
 
 ~Tube ()
 
bool isValid () const
 
Tubeoperator= (const Tube &other)
 
const AccountPtr & account () const
 
const IncomingStreamTubeChannelPtr & channel () const
 

Detailed Description

The StreamTubeClient::Tube class represents a tube being handled by the client.

Constructor & Destructor Documentation

Tp::StreamTubeClient::Tube::Tube ( )

Constructs a new invalid Tube instance.

Tp::StreamTubeClient::Tube::Tube ( const AccountPtr &  account,
const IncomingStreamTubeChannelPtr &  channel 
)

Constructs a Tube instance for the given tube channel from the given account.

Parameters
accountA pointer to the account the online connection of which the tube originates from.
channelA pointer to the tube channel object.
Tp::StreamTubeClient::Tube::Tube ( const Tube other)

Copy constructor.

Tp::StreamTubeClient::Tube::~Tube ( )

Class destructor.

Member Function Documentation

bool Tp::StreamTubeClient::Tube::isValid ( ) const
inline

Return whether or not the tube is valid or is just the null object created using the default constructor.

Returns
true if valid, false otherwise.
StreamTubeClient::Tube & Tp::StreamTubeClient::Tube::operator= ( const Tube other)

Assignment operator.

AccountPtr Tp::StreamTubeClient::Tube::account ( ) const
inline

Return the account from which the tube originates.

Returns
A pointer to the account object.
IncomingStreamTubeChannelPtr Tp::StreamTubeClient::Tube::channel ( ) const
inline

Return the actual tube channel.

Returns
A pointer to the channel.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00270.html0000644000175000017500000004140512727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceContactsAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactsAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::ContactAttributesMap GetContactAttributes (const Tp::UIntList &handles, const QStringList &interfaces, bool hold, const QDBusMessage &dbusMessage)
 
uint GetContactByID (const QString &identifier, const QStringList &interfaces, const QDBusMessage &dbusMessage, QVariantMap &attributes)
 

Public Member Functions

QStringList ContactAttributeInterfaces () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QStringList Tp::Service::ConnectionInterfaceContactsAdaptor::ContactAttributeInterfaces ( ) const

Return the value of the exported D-Bus object property ContactAttributeInterfaces of type QStringList.

Adaptees should export this property as a Qt property named 'contactAttributeInterfaces' with type QStringList.

A list of D-Bus interfaces for which GetContactAttributes is expected to work. This cannot change during the lifetime of the Connection.

Returns
The value of exported property ContactAttributeInterfaces.
Tp::ContactAttributesMap Tp::Service::ConnectionInterfaceContactsAdaptor::GetContactAttributes ( const Tp::UIntList handles,
const QStringList &  interfaces,
bool  hold,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getContactAttributes(const Tp::UIntList& handles, const QStringList& interfaces, bool hold, const Tp::Service::ConnectionInterfaceContactsAdaptor::GetContactAttributesContextPtr &context);

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

Return any number of contact attributes for the given handles.

Parameters
handles
An array of handles representing contacts.
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. All supported attributes from these interfaces, whose values can be obtained without additional network activity, will be in the reply.

Connection managers SHOULD ignore interfaces requested which they do not support (i.e. those not mentioned in the \\\ \\link requestPropertyContactAttributeInterfaces() ContactAttributeInterfaces \\endlink \\htmlonly property.)

This simplifies client-side code. Clients which care may distinguish between unsupported interfaces (e.g. this Connection does not support Avatars), and interfaces on which no information is known for these contacts (e.g. we don't know the avatar tokens of any of the contacts, so we omitted them all) by inspecting \\endhtmlonly \\link requestPropertyContactAttributeInterfaces() ContactAttributeInterfaces \\endlink \\htmlonly .

Attributes from the interface \\endhtmlonly ConnectionInterface \\htmlonly are always returned, and need not be requested explicitly.

As well as returning cached information immediately, the connection MAY start asynchronous requests to obtain better values for the contact attributes. If better values are later obtained by this process, they will be indicated with the usual signals (such as \\endhtmlonly ConnectionInterfaceAliasingInterface::AliasesChanged() \\htmlonly ).

For instance, an XMPP connection manager could download vCards in response to a request for \\endhtmlonly ConnectionInterfaceAliasingInterface \\htmlonly attributes.
Parameters
hold

If true, all handles that appear as keys in the result have been held on behalf of the calling process, as if by a call to \\\ ConnectionInterface::HoldHandles() \\htmlonly . (If \\endhtmlonly \\link ConnectionInterface::requestPropertyHasImmortalHandles() ConnectionInterface::HasImmortalHandles \\endlink \\htmlonly is true, which SHOULD be the case in all new connection managers, this has no effect.)

For further round-trip avoidance.
Returns

A dictionary mapping the contact handles to contact attributes. If any of the requested handles are in fact invalid, they are simply omitted from this mapping. If contact attributes are not immediately known, the behaviour is defined by the interface; the attribute should either be omitted from the result or replaced with a default value.

Each contact's attributes will always include at least the identifier that would be obtained by inspecting the handle (org.freedesktop.Telepathy.Connection/contact-id).

uint Tp::Service::ConnectionInterfaceContactsAdaptor::GetContactByID ( const QString &  identifier,
const QStringList &  interfaces,
const QDBusMessage &  dbusMessage,
QVariantMap &  attributes 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getContactByID(const QString& identifier, const QStringList& interfaces, const Tp::Service::ConnectionInterfaceContactsAdaptor::GetContactByIDContextPtr &context);

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

Return any number of contact attributes for the given identifier. This is for a single identifier to make it simpler to use for the most common use case. For multiple contacts case, GetContactAttributes should be used.

Parameters
identifier
An identifier representing a contact.
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. All supported attributes from these interfaces, whose values can be obtained without additional network activity, will be in the reply.

See \\\ GetContactAttributes() \\htmlonly for details.

attributesOutput parameter

All supported attributes of the contact on the given interfaces that can be returned without network round-trips. If contact attributes are not immediately known, the behaviour is defined by the interface; the attribute should either be omitted from the result or replaced with a default value.

The contact's attributes will always include at least the identifier that would be obtained by inspecting the handle (org.freedesktop.Telepathy.Connection/contact-id).

Returns

The contact's handle, as returned by \\\ ConnectionInterface::RequestHandles() \\htmlonly


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01231.html0000644000175000017500000002213112727270137020767 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface Member List

This is the complete list of members for Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(Tp::DBusProxy *proxy)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterfaceexplicit
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const Tp::Client::CallContentMediaDescriptionInterface &mainInterface, QObject *parent)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterfaceinline
requestPropertyHeaderExtensions() const Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00015.html0000644000175000017500000000617012727270137020773 0ustar00kaffeinekaffeine00000000000000 protocols/main.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/main.cpp
#include <TelepathyQt/Debug>
#include <TelepathyQt/Constants>
#include <TelepathyQt/Types>
#include <QDebug>
#include <QtCore>
#include "protocols.h"
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
Protocols protocols;
return app.exec();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00628_source.html0000644000175000017500000005742112727270137022372 0ustar00kaffeinekaffeine00000000000000 cli-properties.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-properties.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.Properties");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
103  explicit PropertiesInterfaceInterface(const Tp::AbstractInterface& mainInterface);
104 
112  PropertiesInterfaceInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
113 
121  {
122  return internalRequestAllProperties();
123  }
124 
125 public Q_SLOTS:
151  inline QDBusPendingReply<Tp::PropertyValueList> GetProperties(const Tp::UIntList& properties, int timeout = -1)
152  {
153  if (!invalidationReason().isEmpty()) {
154  return QDBusPendingReply<Tp::PropertyValueList>(QDBusMessage::createError(
155  invalidationReason(),
156  invalidationMessage()
157  ));
158  }
159 
160  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
161  this->staticInterfaceName(), QLatin1String("GetProperties"));
162  callMessage << QVariant::fromValue(properties);
163  return this->connection().asyncCall(callMessage, timeout);
164  }
165 
182  inline QDBusPendingReply<Tp::PropertySpecList> ListProperties(int timeout = -1)
183  {
184  if (!invalidationReason().isEmpty()) {
185  return QDBusPendingReply<Tp::PropertySpecList>(QDBusMessage::createError(
186  invalidationReason(),
187  invalidationMessage()
188  ));
189  }
190 
191  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
192  this->staticInterfaceName(), QLatin1String("ListProperties"));
193  return this->connection().asyncCall(callMessage, timeout);
194  }
195 
220  inline QDBusPendingReply<> SetProperties(const Tp::PropertyValueList& properties, int timeout = -1)
221  {
222  if (!invalidationReason().isEmpty()) {
223  return QDBusPendingReply<>(QDBusMessage::createError(
224  invalidationReason(),
225  invalidationMessage()
226  ));
227  }
228 
229  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
230  this->staticInterfaceName(), QLatin1String("SetProperties"));
231  callMessage << QVariant::fromValue(properties);
232  return this->connection().asyncCall(callMessage, timeout);
233  }
234 
235 Q_SIGNALS:
253  void PropertiesChanged(const Tp::PropertyValueList& properties);
254 
272  void PropertyFlagsChanged(const Tp::PropertyFlagsChangeList& properties);
273 
274 protected:
275  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
276 };
277 }
278 }
279 Q_DECLARE_METATYPE(Tp::Client::PropertiesInterfaceInterface*)
QList< PropertyValue > PropertyValueList
Definition: build/TelepathyQt/_gen/types.h:2369
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-properties.h:120
static QLatin1String staticInterfaceName()
Definition: cli-properties.h:55
QList< PropertyFlagsChange > PropertyFlagsChangeList
Definition: build/TelepathyQt/_gen/types.h:2302
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
QDBusPendingReply< Tp::PropertySpecList > ListProperties(int timeout=-1)
Definition: cli-properties.h:182
Definition: cli-properties.h:44
QDBusPendingReply SetProperties(const Tp::PropertyValueList &properties, int timeout=-1)
Definition: cli-properties.h:220
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Definition: build/TelepathyQt/_gen/types.h:107
Definition: abstract-adaptor.cpp:31
QDBusPendingReply< Tp::PropertyValueList > GetProperties(const Tp::UIntList &properties, int timeout=-1)
Definition: cli-properties.h:151
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_i.html0000644000175000017500000013342212727270137022506 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- i -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00084.html0000644000175000017500000005454712727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelSecurableInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Interface.Securable. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Member Functions

virtual ~BaseChannelSecurableInterface ()
 
QVariantMap immutableProperties () const
 
bool encrypted () const
 
void setEncrypted (bool encrypted)
 
bool verified () const
 
void setVerified (bool verified)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelSecurableInterfacePtr create ()
 
template<typename BaseChannelSecurableInterfaceSubclass >
static SharedPtr< BaseChannelSecurableInterfaceSubclass > create ()
 

Protected Member Functions

 BaseChannelSecurableInterface ()
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Securable.

Constructor & Destructor Documentation

Tp::BaseChannelSecurableInterface::~BaseChannelSecurableInterface ( )
virtual

Class destructor.

Tp::BaseChannelSecurableInterface::BaseChannelSecurableInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseChannelSecurableInterfacePtr Tp::BaseChannelSecurableInterface::create ( )
inlinestatic
template<typename BaseChannelSecurableInterfaceSubclass >
static SharedPtr<BaseChannelSecurableInterfaceSubclass> Tp::BaseChannelSecurableInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelSecurableInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

bool Tp::BaseChannelSecurableInterface::encrypted ( ) const
void Tp::BaseChannelSecurableInterface::setEncrypted ( bool  encrypted)
bool Tp::BaseChannelSecurableInterface::verified ( ) const
void Tp::BaseChannelSecurableInterface::setVerified ( bool  verified)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00624_source.html0000644000175000017500000004571412727270137022370 0ustar00kaffeinekaffeine00000000000000 cli-media-session-handler.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-media-session-handler.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.Media.SessionHandler");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
103  {
104  return internalRequestAllProperties();
105  }
106 
107 public Q_SLOTS:
121  inline QDBusPendingReply<> Error(uint errorCode, const QString& message, int timeout = -1)
122  {
123  if (!invalidationReason().isEmpty()) {
124  return QDBusPendingReply<>(QDBusMessage::createError(
125  invalidationReason(),
126  invalidationMessage()
127  ));
128  }
129 
130  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
131  this->staticInterfaceName(), QLatin1String("Error"));
132  callMessage << QVariant::fromValue(errorCode) << QVariant::fromValue(message);
133  return this->connection().asyncCall(callMessage, timeout);
134  }
135 
148  inline QDBusPendingReply<> Ready(int timeout = -1)
149  {
150  if (!invalidationReason().isEmpty()) {
151  return QDBusPendingReply<>(QDBusMessage::createError(
152  invalidationReason(),
153  invalidationMessage()
154  ));
155  }
156 
157  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
158  this->staticInterfaceName(), QLatin1String("Ready"));
159  return this->connection().asyncCall(callMessage, timeout);
160  }
161 
162 Q_SIGNALS:
184  void NewStreamHandler(const QDBusObjectPath& streamHandler, uint ID, uint mediaType, uint direction);
185 
186 protected:
187  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
188 };
189 }
190 }
191 Q_DECLARE_METATYPE(Tp::Client::MediaSessionHandlerInterface*)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-media-session-handler.h:102
Definition: cli-media-session-handler.h:44
QDBusPendingReply Error(uint errorCode, const QString &message, int timeout=-1)
Definition: cli-media-session-handler.h:121
static QLatin1String staticInterfaceName()
Definition: cli-media-session-handler.h:55
Definition: abstract-adaptor.cpp:31
QDBusPendingReply Ready(int timeout=-1)
Definition: cli-media-session-handler.h:148
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01045.html0000644000175000017500000000726312727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Filter< T > Member List

This is the complete list of members for Tp::Filter< T >, including all inherited members.

Filter()Tp::Filter< T >inlineprotected
isValid() const Tp::Filter< T >inlinevirtual
matches(const SharedPtr< T > &t) const Tp::Filter< T >inlinevirtual
RefCounted()Tp::RefCountedinline
~Filter()Tp::Filter< T >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions.html0000644000175000017500000010645112727270137022200 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- a -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00399.html0000644000175000017500000003213512727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::OrFilter< T > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The OrFilter class provides a generic filter object to be used in conjunction of other filters. More...

#include <TelepathyQt/OrFilter>

Inherits Tp::Filter< T >.

Public Member Functions

virtual ~OrFilter ()
 
virtual bool isValid () const
 
virtual bool matches (const SharedPtr< T > &t) const
 
QList< SharedPtr< const Filter< T > > > filters () const
 
- Public Member Functions inherited from Tp::Filter< T >
virtual ~Filter ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static SharedPtr< OrFilter< T > > create (const QList< SharedPtr< const Filter< T > > > &filters=QList< SharedPtr< const Filter< T > > >())
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Filter< T >
 Filter ()
 

Detailed Description

template<class T>
class Tp::OrFilter< T >

The OrFilter class provides a generic filter object to be used in conjunction of other filters.

The OrFilter will match if any of its given list of filters matches their criteria.

Constructor & Destructor Documentation

template<class T >
virtual Tp::OrFilter< T >::~OrFilter ( )
inlinevirtual

Member Function Documentation

template<class T >
static SharedPtr<OrFilter<T> > Tp::OrFilter< T >::create ( const QList< SharedPtr< const Filter< T > > > &  filters = QList<SharedPtr<const Filter<T> > >())
inlinestatic
template<class T >
virtual bool Tp::OrFilter< T >::isValid ( ) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
virtual bool Tp::OrFilter< T >::matches ( const SharedPtr< T > &  t) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
QList<SharedPtr<const Filter<T> > > Tp::OrFilter< T >::filters ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00143.html0000644000175000017500000000772612727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::CapabilityPair Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

QString channelType
 
uint typeSpecificFlags
 

Detailed Description

Structure type generated from the specification.

A pair (channel type, type-specific flags) as passed to AdvertiseCapabilities on the Capabilities interface.

Member Data Documentation

QString Tp::CapabilityPair::channelType
uint Tp::CapabilityPair::typeSpecificFlags


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00620_source.html0000644000175000017500000026674612727270137022376 0ustar00kaffeinekaffeine00000000000000 cli-dbus.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-dbus.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 namespace DBus
37 {
38 
46 class TP_QT_EXPORT DBusDaemonInterface : public Tp::AbstractInterface
47 {
48  Q_OBJECT
49 
50 public:
57  static inline QLatin1String staticInterfaceName()
58  {
59  return QLatin1String("org.freedesktop.DBus");
60  }
61 
70  const QString& busName,
71  const QString& objectPath,
72  QObject* parent = 0
73  );
74 
84  const QDBusConnection& connection,
85  const QString& busName,
86  const QString& objectPath,
87  QObject* parent = 0
88  );
89 
97 
105  explicit DBusDaemonInterface(const Tp::AbstractInterface& mainInterface);
106 
114  DBusDaemonInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
115 
123  {
124  return internalRequestAllProperties();
125  }
126 
127 public Q_SLOTS:
136  inline QDBusPendingReply<QString> Hello(int timeout = -1)
137  {
138  if (!invalidationReason().isEmpty()) {
139  return QDBusPendingReply<QString>(QDBusMessage::createError(
140  invalidationReason(),
141  invalidationMessage()
142  ));
143  }
144 
145  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
146  this->staticInterfaceName(), QLatin1String("Hello"));
147  return this->connection().asyncCall(callMessage, timeout);
148  }
149 
158  inline QDBusPendingReply<uint> RequestName(const QString& name, uint flags, int timeout = -1)
159  {
160  if (!invalidationReason().isEmpty()) {
161  return QDBusPendingReply<uint>(QDBusMessage::createError(
162  invalidationReason(),
163  invalidationMessage()
164  ));
165  }
166 
167  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
168  this->staticInterfaceName(), QLatin1String("RequestName"));
169  callMessage << QVariant::fromValue(name) << QVariant::fromValue(flags);
170  return this->connection().asyncCall(callMessage, timeout);
171  }
172 
181  inline QDBusPendingReply<uint> ReleaseName(const QString& name, int timeout = -1)
182  {
183  if (!invalidationReason().isEmpty()) {
184  return QDBusPendingReply<uint>(QDBusMessage::createError(
185  invalidationReason(),
186  invalidationMessage()
187  ));
188  }
189 
190  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
191  this->staticInterfaceName(), QLatin1String("ReleaseName"));
192  callMessage << QVariant::fromValue(name);
193  return this->connection().asyncCall(callMessage, timeout);
194  }
195 
204  inline QDBusPendingReply<uint> StartServiceByName(const QString& service, uint flags, int timeout = -1)
205  {
206  if (!invalidationReason().isEmpty()) {
207  return QDBusPendingReply<uint>(QDBusMessage::createError(
208  invalidationReason(),
209  invalidationMessage()
210  ));
211  }
212 
213  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
214  this->staticInterfaceName(), QLatin1String("StartServiceByName"));
215  callMessage << QVariant::fromValue(service) << QVariant::fromValue(flags);
216  return this->connection().asyncCall(callMessage, timeout);
217  }
218 
227  inline QDBusPendingReply<bool> NameHasOwner(const QString& nameToCheck, int timeout = -1)
228  {
229  if (!invalidationReason().isEmpty()) {
230  return QDBusPendingReply<bool>(QDBusMessage::createError(
231  invalidationReason(),
232  invalidationMessage()
233  ));
234  }
235 
236  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
237  this->staticInterfaceName(), QLatin1String("NameHasOwner"));
238  callMessage << QVariant::fromValue(nameToCheck);
239  return this->connection().asyncCall(callMessage, timeout);
240  }
241 
250  inline QDBusPendingReply<QStringList> ListNames(int timeout = -1)
251  {
252  if (!invalidationReason().isEmpty()) {
253  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
254  invalidationReason(),
255  invalidationMessage()
256  ));
257  }
258 
259  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
260  this->staticInterfaceName(), QLatin1String("ListNames"));
261  return this->connection().asyncCall(callMessage, timeout);
262  }
263 
272  inline QDBusPendingReply<QStringList> ListActivatableNames(int timeout = -1)
273  {
274  if (!invalidationReason().isEmpty()) {
275  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
276  invalidationReason(),
277  invalidationMessage()
278  ));
279  }
280 
281  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
282  this->staticInterfaceName(), QLatin1String("ListActivatableNames"));
283  return this->connection().asyncCall(callMessage, timeout);
284  }
285 
294  inline QDBusPendingReply<> AddMatch(const QString& rule, int timeout = -1)
295  {
296  if (!invalidationReason().isEmpty()) {
297  return QDBusPendingReply<>(QDBusMessage::createError(
298  invalidationReason(),
299  invalidationMessage()
300  ));
301  }
302 
303  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
304  this->staticInterfaceName(), QLatin1String("AddMatch"));
305  callMessage << QVariant::fromValue(rule);
306  return this->connection().asyncCall(callMessage, timeout);
307  }
308 
317  inline QDBusPendingReply<> RemoveMatch(const QString& rule, int timeout = -1)
318  {
319  if (!invalidationReason().isEmpty()) {
320  return QDBusPendingReply<>(QDBusMessage::createError(
321  invalidationReason(),
322  invalidationMessage()
323  ));
324  }
325 
326  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
327  this->staticInterfaceName(), QLatin1String("RemoveMatch"));
328  callMessage << QVariant::fromValue(rule);
329  return this->connection().asyncCall(callMessage, timeout);
330  }
331 
340  inline QDBusPendingReply<QString> GetNameOwner(const QString& name, int timeout = -1)
341  {
342  if (!invalidationReason().isEmpty()) {
343  return QDBusPendingReply<QString>(QDBusMessage::createError(
344  invalidationReason(),
345  invalidationMessage()
346  ));
347  }
348 
349  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
350  this->staticInterfaceName(), QLatin1String("GetNameOwner"));
351  callMessage << QVariant::fromValue(name);
352  return this->connection().asyncCall(callMessage, timeout);
353  }
354 
363  inline QDBusPendingReply<QStringList> ListQueuedOwners(const QString& name, int timeout = -1)
364  {
365  if (!invalidationReason().isEmpty()) {
366  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
367  invalidationReason(),
368  invalidationMessage()
369  ));
370  }
371 
372  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
373  this->staticInterfaceName(), QLatin1String("ListQueuedOwners"));
374  callMessage << QVariant::fromValue(name);
375  return this->connection().asyncCall(callMessage, timeout);
376  }
377 
386  inline QDBusPendingReply<uint> GetConnectionUnixUser(const QString& connectionName, int timeout = -1)
387  {
388  if (!invalidationReason().isEmpty()) {
389  return QDBusPendingReply<uint>(QDBusMessage::createError(
390  invalidationReason(),
391  invalidationMessage()
392  ));
393  }
394 
395  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
396  this->staticInterfaceName(), QLatin1String("GetConnectionUnixUser"));
397  callMessage << QVariant::fromValue(connectionName);
398  return this->connection().asyncCall(callMessage, timeout);
399  }
400 
409  inline QDBusPendingReply<uint> GetConnectionUnixProcessID(const QString& connectionName, int timeout = -1)
410  {
411  if (!invalidationReason().isEmpty()) {
412  return QDBusPendingReply<uint>(QDBusMessage::createError(
413  invalidationReason(),
414  invalidationMessage()
415  ));
416  }
417 
418  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
419  this->staticInterfaceName(), QLatin1String("GetConnectionUnixProcessID"));
420  callMessage << QVariant::fromValue(connectionName);
421  return this->connection().asyncCall(callMessage, timeout);
422  }
423 
432  inline QDBusPendingReply<QByteArray> GetConnectionSELinuxSecurityContext(const QString& connectionName, int timeout = -1)
433  {
434  if (!invalidationReason().isEmpty()) {
435  return QDBusPendingReply<QByteArray>(QDBusMessage::createError(
436  invalidationReason(),
437  invalidationMessage()
438  ));
439  }
440 
441  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
442  this->staticInterfaceName(), QLatin1String("GetConnectionSELinuxSecurityContext"));
443  callMessage << QVariant::fromValue(connectionName);
444  return this->connection().asyncCall(callMessage, timeout);
445  }
446 
455  inline QDBusPendingReply<> ReloadConfig(int timeout = -1)
456  {
457  if (!invalidationReason().isEmpty()) {
458  return QDBusPendingReply<>(QDBusMessage::createError(
459  invalidationReason(),
460  invalidationMessage()
461  ));
462  }
463 
464  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
465  this->staticInterfaceName(), QLatin1String("ReloadConfig"));
466  return this->connection().asyncCall(callMessage, timeout);
467  }
468 
477  inline QDBusPendingReply<QString> GetId(int timeout = -1)
478  {
479  if (!invalidationReason().isEmpty()) {
480  return QDBusPendingReply<QString>(QDBusMessage::createError(
481  invalidationReason(),
482  invalidationMessage()
483  ));
484  }
485 
486  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
487  this->staticInterfaceName(), QLatin1String("GetId"));
488  return this->connection().asyncCall(callMessage, timeout);
489  }
490 
491 Q_SIGNALS:
495  void NameOwnerChanged(const QString& name, const QString& oldOwner, const QString& newOwner);
496 
500  void NameLost(const QString& name);
501 
505  void NameAcquired(const QString& name);
506 
507 protected:
508  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
509 };
510 
519 {
520  Q_OBJECT
521 
522 public:
529  static inline QLatin1String staticInterfaceName()
530  {
531  return QLatin1String("org.freedesktop.DBus.Introspectable");
532  }
533 
542  const QString& busName,
543  const QString& objectPath,
544  QObject* parent = 0
545  );
546 
556  const QDBusConnection& connection,
557  const QString& busName,
558  const QString& objectPath,
559  QObject* parent = 0
560  );
561 
569 
577  explicit IntrospectableInterface(const Tp::AbstractInterface& mainInterface);
578 
586  IntrospectableInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
587 
595  {
596  return internalRequestAllProperties();
597  }
598 
599 public Q_SLOTS:
608  inline QDBusPendingReply<QString> Introspect(int timeout = -1)
609  {
610  if (!invalidationReason().isEmpty()) {
611  return QDBusPendingReply<QString>(QDBusMessage::createError(
612  invalidationReason(),
613  invalidationMessage()
614  ));
615  }
616 
617  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
618  this->staticInterfaceName(), QLatin1String("Introspect"));
619  return this->connection().asyncCall(callMessage, timeout);
620  }
621 
622 protected:
623  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
624 };
625 
633 class TP_QT_EXPORT PeerInterface : public Tp::AbstractInterface
634 {
635  Q_OBJECT
636 
637 public:
644  static inline QLatin1String staticInterfaceName()
645  {
646  return QLatin1String("org.freedesktop.DBus.Peer");
647  }
648 
657  const QString& busName,
658  const QString& objectPath,
659  QObject* parent = 0
660  );
661 
671  const QDBusConnection& connection,
672  const QString& busName,
673  const QString& objectPath,
674  QObject* parent = 0
675  );
676 
684 
692  explicit PeerInterface(const Tp::AbstractInterface& mainInterface);
693 
701  PeerInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
702 
710  {
711  return internalRequestAllProperties();
712  }
713 
714 public Q_SLOTS:
723  inline QDBusPendingReply<> Ping(int timeout = -1)
724  {
725  if (!invalidationReason().isEmpty()) {
726  return QDBusPendingReply<>(QDBusMessage::createError(
727  invalidationReason(),
728  invalidationMessage()
729  ));
730  }
731 
732  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
733  this->staticInterfaceName(), QLatin1String("Ping"));
734  return this->connection().asyncCall(callMessage, timeout);
735  }
736 
745  inline QDBusPendingReply<QString> GetMachineId(int timeout = -1)
746  {
747  if (!invalidationReason().isEmpty()) {
748  return QDBusPendingReply<QString>(QDBusMessage::createError(
749  invalidationReason(),
750  invalidationMessage()
751  ));
752  }
753 
754  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
755  this->staticInterfaceName(), QLatin1String("GetMachineId"));
756  return this->connection().asyncCall(callMessage, timeout);
757  }
758 
759 protected:
760  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
761 };
762 
770 class TP_QT_EXPORT PropertiesInterface : public Tp::AbstractInterface
771 {
772  Q_OBJECT
773 
774 public:
781  static inline QLatin1String staticInterfaceName()
782  {
783  return QLatin1String("org.freedesktop.DBus.Properties");
784  }
785 
794  const QString& busName,
795  const QString& objectPath,
796  QObject* parent = 0
797  );
798 
808  const QDBusConnection& connection,
809  const QString& busName,
810  const QString& objectPath,
811  QObject* parent = 0
812  );
813 
821 
829  explicit PropertiesInterface(const Tp::AbstractInterface& mainInterface);
830 
838  PropertiesInterface(const Tp::AbstractInterface& mainInterface, QObject* parent);
839 
847  {
848  return internalRequestAllProperties();
849  }
850 
851 public Q_SLOTS:
860  inline QDBusPendingReply<QDBusVariant> Get(const QString& interfaceName, const QString& propertyName, int timeout = -1)
861  {
862  if (!invalidationReason().isEmpty()) {
863  return QDBusPendingReply<QDBusVariant>(QDBusMessage::createError(
864  invalidationReason(),
865  invalidationMessage()
866  ));
867  }
868 
869  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
870  this->staticInterfaceName(), QLatin1String("Get"));
871  callMessage << QVariant::fromValue(interfaceName) << QVariant::fromValue(propertyName);
872  return this->connection().asyncCall(callMessage, timeout);
873  }
874 
883  inline QDBusPendingReply<> Set(const QString& interfaceName, const QString& propertyName, const QDBusVariant& value, int timeout = -1)
884  {
885  if (!invalidationReason().isEmpty()) {
886  return QDBusPendingReply<>(QDBusMessage::createError(
887  invalidationReason(),
888  invalidationMessage()
889  ));
890  }
891 
892  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
893  this->staticInterfaceName(), QLatin1String("Set"));
894  callMessage << QVariant::fromValue(interfaceName) << QVariant::fromValue(propertyName) << QVariant::fromValue(value);
895  return this->connection().asyncCall(callMessage, timeout);
896  }
897 
906  inline QDBusPendingReply<QVariantMap> GetAll(const QString& interfaceName, int timeout = -1)
907  {
908  if (!invalidationReason().isEmpty()) {
909  return QDBusPendingReply<QVariantMap>(QDBusMessage::createError(
910  invalidationReason(),
911  invalidationMessage()
912  ));
913  }
914 
915  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
916  this->staticInterfaceName(), QLatin1String("GetAll"));
917  callMessage << QVariant::fromValue(interfaceName);
918  return this->connection().asyncCall(callMessage, timeout);
919  }
920 
921 protected:
922  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
923 };
924 }
925 }
926 }
927 Q_DECLARE_METATYPE(Tp::Client::DBus::DBusDaemonInterface*)
929 Q_DECLARE_METATYPE(Tp::Client::DBus::PeerInterface*)
930 Q_DECLARE_METATYPE(Tp::Client::DBus::PropertiesInterface*)
QDBusPendingReply< QString > GetMachineId(int timeout=-1)
Definition: cli-dbus.h:745
QDBusPendingReply< QStringList > ListQueuedOwners(const QString &name, int timeout=-1)
Definition: cli-dbus.h:363
QDBusPendingReply< QDBusVariant > Get(const QString &interfaceName, const QString &propertyName, int timeout=-1)
Definition: cli-dbus.h:860
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:644
QDBusPendingReply Set(const QString &interfaceName, const QString &propertyName, const QDBusVariant &value, int timeout=-1)
Definition: cli-dbus.h:883
QDBusPendingReply ReloadConfig(int timeout=-1)
Definition: cli-dbus.h:455
QDBusPendingReply< QStringList > ListActivatableNames(int timeout=-1)
Definition: cli-dbus.h:272
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-dbus.h:122
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-dbus.h:594
QDBusPendingReply< QString > Hello(int timeout=-1)
Definition: cli-dbus.h:136
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
QDBusPendingReply< uint > ReleaseName(const QString &name, int timeout=-1)
Definition: cli-dbus.h:181
Definition: cli-dbus.h:633
QDBusPendingReply< uint > StartServiceByName(const QString &service, uint flags, int timeout=-1)
Definition: cli-dbus.h:204
QDBusPendingReply< uint > GetConnectionUnixProcessID(const QString &connectionName, int timeout=-1)
Definition: cli-dbus.h:409
QDBusPendingReply RemoveMatch(const QString &rule, int timeout=-1)
Definition: cli-dbus.h:317
QDBusPendingReply< QString > GetNameOwner(const QString &name, int timeout=-1)
Definition: cli-dbus.h:340
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:781
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-dbus.h:846
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:529
QDBusPendingReply Ping(int timeout=-1)
Definition: cli-dbus.h:723
Definition: cli-dbus.h:46
Definition: cli-dbus.h:770
QDBusPendingReply< QString > GetId(int timeout=-1)
Definition: cli-dbus.h:477
QDBusPendingReply< QVariantMap > GetAll(const QString &interfaceName, int timeout=-1)
Definition: cli-dbus.h:906
QDBusPendingReply< QByteArray > GetConnectionSELinuxSecurityContext(const QString &connectionName, int timeout=-1)
Definition: cli-dbus.h:432
Definition: abstract-adaptor.cpp:31
QDBusPendingReply< QStringList > ListNames(int timeout=-1)
Definition: cli-dbus.h:250
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-dbus.h:709
QDBusPendingReply< uint > GetConnectionUnixUser(const QString &connectionName, int timeout=-1)
Definition: cli-dbus.h:386
static QLatin1String staticInterfaceName()
Definition: cli-dbus.h:57
QDBusPendingReply< QString > Introspect(int timeout=-1)
Definition: cli-dbus.h:608
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusPendingReply< uint > RequestName(const QString &name, uint flags, int timeout=-1)
Definition: cli-dbus.h:158
QDBusPendingReply AddMatch(const QString &rule, int timeout=-1)
Definition: cli-dbus.h:294
QDBusPendingReply< bool > NameHasOwner(const QString &nameToCheck, int timeout=-1)
Definition: cli-dbus.h:227


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01104.html0000644000175000017500000010341612727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OutgoingDBusTubeChannel Member List

This is the complete list of members for Tp::OutgoingDBusTubeChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
address() const Tp::DBusTubeChannel
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
busNameAdded(const QString &busName, const Tp::ContactPtr &contact)Tp::DBusTubeChannelsignal
busNameRemoved(const QString &busName, const Tp::ContactPtr &contact)Tp::DBusTubeChannelsignal
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
contactsForBusNames() const Tp::DBusTubeChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::OutgoingDBusTubeChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
DBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::DBusTubeChannelprotected
FeatureBusNameMonitoringTp::DBusTubeChannelstatic
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::DBusTubeChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
offerTube(const QVariantMap &parameters, bool allowOtherUsers=false)Tp::OutgoingDBusTubeChannel
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
OutgoingDBusTubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::OutgoingDBusTubeChannelprotected
parameters() const Tp::TubeChannel
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
serviceName() const Tp::DBusTubeChannel
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
setParameters(const QVariantMap &parameters)Tp::TubeChannelprotected
state() const Tp::TubeChannel
stateChanged(Tp::TubeChannelState state)Tp::TubeChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
supportsRestrictingToCurrentUser() const Tp::DBusTubeChannel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
TubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)Tp::TubeChannelprotected
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~DBusTubeChannel()Tp::DBusTubeChannelvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~OutgoingDBusTubeChannel()Tp::OutgoingDBusTubeChannelvirtual
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual
~TubeChannel()Tp::TubeChannelvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00959.html0000644000175000017500000001224612727270137021015 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback1< R, Arg1 > Member List

This is the complete list of members for Tp::Callback1< R, Arg1 >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback1()Tp::Callback1< R, Arg1 >inline
Callback1(const Functor &functor)Tp::Callback1< R, Arg1 >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback1< R, Arg1 >
isValid() const Tp::BaseCallbackinline
operator()(Arg1 a1) const Tp::Callback1< R, Arg1 >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback1< R, Arg1 >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00458.html0000644000175000017500000002100512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor2< R, Arg1, Arg2 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor2< R, Arg1, Arg2 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor2 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 >
typedef R(* Tp::PtrFunctor2< R, Arg1, Arg2 >::FunctionType) (Arg1, Arg2)
template<class R , class Arg1 , class Arg2 >
typedef R Tp::PtrFunctor2< R, Arg1, Arg2 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 >
Tp::PtrFunctor2< R, Arg1, Arg2 >::PtrFunctor2 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 >
ResultType Tp::PtrFunctor2< R, Arg1, Arg2 >::operator() ( Arg1  a1,
Arg2  a2 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 >
FunctionType Tp::PtrFunctor2< R, Arg1, Arg2 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00202.html0000644000175000017500000003552312727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelInterfaceSubjectAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

void SetSubject (const QString &subject, const QDBusMessage &dbusMessage)
 

Public Member Functions

QString Subject () const
 
QString Actor () const
 
uint ActorHandle () const
 
qlonglong Timestamp () const
 
bool CanSet () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QString Tp::Service::ChannelInterfaceSubjectAdaptor::Subject ( ) const

Return the value of the exported D-Bus object property Subject of type QString.

Adaptees should export this property as a Qt property named 'subject' with type QString.

The human-readable subject on the channel such as the topic in an IRC channel, or the room name in XMPP MUCs.

This property replaces the subject Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

This property may change during the lifetime of the channel and MUST not be included in a channel request.

Returns
The value of exported property Subject.
QString Tp::Service::ChannelInterfaceSubjectAdaptor::Actor ( ) const

Return the value of the exported D-Bus object property Actor of type QString.

Adaptees should export this property as a Qt property named 'actor' with type QString.

The normalized contact ID representing who last modified the subject, or the empty string if it is not known.

This property replaces the subject-contact Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

Returns
The value of exported property Actor.
uint Tp::Service::ChannelInterfaceSubjectAdaptor::ActorHandle ( ) const

Return the value of the exported D-Bus object property ActorHandle of type uint.

Adaptees should export this property as a Qt property named 'actorHandle' with type uint.

The handle corresponding to Actor , or 0 if the Actor is unknown.

Returns
The value of exported property ActorHandle.
qlonglong Tp::Service::ChannelInterfaceSubjectAdaptor::Timestamp ( ) const

Return the value of the exported D-Bus object property Timestamp of type qlonglong.

Adaptees should export this property as a Qt property named 'timestamp' with type qlonglong.

A unix timestamp indicating when the subject was last modified, or INT_MAX64 if unknown.

This property replaces the subject-timestamp Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

Returns
The value of exported property Timestamp.
bool Tp::Service::ChannelInterfaceSubjectAdaptor::CanSet ( ) const

Return the value of the exported D-Bus object property CanSet of type bool.

Adaptees should export this property as a Qt property named 'canSet' with type bool.

TRUE if the Subject property can be set by the user by calling SetSubject() , otherwise FALSE.

If implementations are unsure of what this value should be it SHOULD still be set to what it believes the value is. As a result, clients should be aware that SetSubject() can still fail even with this property set to TRUE.

In XMPP it is impossible to know whether an occupant can set the subject as XMPP server implementations are wildly inconsistent.

Returns
The value of exported property CanSet.
void Tp::Service::ChannelInterfaceSubjectAdaptor::SetSubject ( const QString &  subject,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setSubject(const QString& subject, const Tp::Service::ChannelInterfaceSubjectAdaptor::SetSubjectContextPtr &context);

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

Set the room's subject. Clients SHOULD look at the subject flags before calling this method as the user might not have permission to set the subject.

A successful return of this method indicates a successful change in subject, but clients should still listen for changes to the Subject property for further changes by other users or the server.

Parameters
subject
The new subject.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00617_source.html0000644000175000017500000025613312727270137022371 0ustar00kaffeinekaffeine00000000000000 cli-connection-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-connection-manager.h
1 /*
2  * This file contains D-Bus client proxy classes generated by qt-client-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #ifndef IN_TP_QT_HEADER
9 #error IN_TP_QT_HEADER
10 #endif
11 
12 #include <TelepathyQt/Types>
13 
14 #include <QtGlobal>
15 
16 #include <QString>
17 #include <QObject>
18 #include <QVariant>
19 
20 #include <QDBusPendingReply>
21 
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
25 
26 namespace Tp
27 {
28 class PendingVariant;
29 class PendingOperation;
30 }
31 
32 namespace Tp
33 {
34 namespace Client
35 {
36 
45 {
46  Q_OBJECT
47 
48 public:
55  static inline QLatin1String staticInterfaceName()
56  {
57  return QLatin1String("org.freedesktop.Telepathy.ConnectionManager");
58  }
59 
68  const QString& busName,
69  const QString& objectPath,
70  QObject* parent = 0
71  );
72 
82  const QDBusConnection& connection,
83  const QString& busName,
84  const QString& objectPath,
85  QObject* parent = 0
86  );
87 
95 
121  {
122  return internalRequestProperty(QLatin1String("Protocols"));
123  }
124 
153  {
154  return internalRequestProperty(QLatin1String("Interfaces"));
155  }
156 
164  {
165  return internalRequestAllProperties();
166  }
167 
168 public Q_SLOTS:
194  inline QDBusPendingReply<Tp::ParamSpecList> GetParameters(const QString& protocol, int timeout = -1)
195  {
196  if (!invalidationReason().isEmpty()) {
197  return QDBusPendingReply<Tp::ParamSpecList>(QDBusMessage::createError(
198  invalidationReason(),
199  invalidationMessage()
200  ));
201  }
202 
203  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
204  this->staticInterfaceName(), QLatin1String("GetParameters"));
205  callMessage << QVariant::fromValue(protocol);
206  return this->connection().asyncCall(callMessage, timeout);
207  }
208 
224  inline QDBusPendingReply<QStringList> ListProtocols(int timeout = -1)
225  {
226  if (!invalidationReason().isEmpty()) {
227  return QDBusPendingReply<QStringList>(QDBusMessage::createError(
228  invalidationReason(),
229  invalidationMessage()
230  ));
231  }
232 
233  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
234  this->staticInterfaceName(), QLatin1String("ListProtocols"));
235  return this->connection().asyncCall(callMessage, timeout);
236  }
237 
315  inline QDBusPendingReply<QString, QDBusObjectPath> RequestConnection(const QString& protocol, const QVariantMap& parameters, int timeout = -1)
316  {
317  if (!invalidationReason().isEmpty()) {
318  return QDBusPendingReply<QString, QDBusObjectPath>(QDBusMessage::createError(
319  invalidationReason(),
320  invalidationMessage()
321  ));
322  }
323 
324  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
325  this->staticInterfaceName(), QLatin1String("RequestConnection"));
326  callMessage << QVariant::fromValue(protocol) << QVariant::fromValue(parameters);
327  return this->connection().asyncCall(callMessage, timeout);
328  }
329 
330 Q_SIGNALS:
348  void NewConnection(const QString& busName, const QDBusObjectPath& objectPath, const QString& protocol);
349 
350 protected:
351  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
352 };
353 
361 class TP_QT_EXPORT ProtocolInterface : public Tp::AbstractInterface
362 {
363  Q_OBJECT
364 
365 public:
372  static inline QLatin1String staticInterfaceName()
373  {
374  return QLatin1String("org.freedesktop.Telepathy.Protocol");
375  }
376 
385  const QString& busName,
386  const QString& objectPath,
387  QObject* parent = 0
388  );
389 
399  const QDBusConnection& connection,
400  const QString& busName,
401  const QString& objectPath,
402  QObject* parent = 0
403  );
404 
412 
420  explicit ProtocolInterface(const Tp::Client::ConnectionManagerInterface& mainInterface);
421 
429  ProtocolInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject* parent);
430 
455  {
456  return internalRequestProperty(QLatin1String("Interfaces"));
457  }
458 
486  {
487  return internalRequestProperty(QLatin1String("Parameters"));
488  }
489 
515  {
516  return internalRequestProperty(QLatin1String("ConnectionInterfaces"));
517  }
518 
585  {
586  return internalRequestProperty(QLatin1String("RequestableChannelClasses"));
587  }
588 
639  {
640  return internalRequestProperty(QLatin1String("VCardField"));
641  }
642 
682  {
683  return internalRequestProperty(QLatin1String("EnglishName"));
684  }
685 
716  {
717  return internalRequestProperty(QLatin1String("Icon"));
718  }
719 
766  {
767  return internalRequestProperty(QLatin1String("AuthenticationTypes"));
768  }
769 
777  {
778  return internalRequestAllProperties();
779  }
780 
781 public Q_SLOTS:
819  inline QDBusPendingReply<QString> IdentifyAccount(const QVariantMap& parameters, int timeout = -1)
820  {
821  if (!invalidationReason().isEmpty()) {
822  return QDBusPendingReply<QString>(QDBusMessage::createError(
823  invalidationReason(),
824  invalidationMessage()
825  ));
826  }
827 
828  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
829  this->staticInterfaceName(), QLatin1String("IdentifyAccount"));
830  callMessage << QVariant::fromValue(parameters);
831  return this->connection().asyncCall(callMessage, timeout);
832  }
833 
888  inline QDBusPendingReply<QString> NormalizeContact(const QString& contactID, int timeout = -1)
889  {
890  if (!invalidationReason().isEmpty()) {
891  return QDBusPendingReply<QString>(QDBusMessage::createError(
892  invalidationReason(),
893  invalidationMessage()
894  ));
895  }
896 
897  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
898  this->staticInterfaceName(), QLatin1String("NormalizeContact"));
899  callMessage << QVariant::fromValue(contactID);
900  return this->connection().asyncCall(callMessage, timeout);
901  }
902 
903 protected:
904  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
905 };
906 
915 {
916  Q_OBJECT
917 
918 public:
925  static inline QLatin1String staticInterfaceName()
926  {
927  return QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Addressing");
928  }
929 
938  const QString& busName,
939  const QString& objectPath,
940  QObject* parent = 0
941  );
942 
952  const QDBusConnection& connection,
953  const QString& busName,
954  const QString& objectPath,
955  QObject* parent = 0
956  );
957 
965 
974 
983 
1047  {
1048  return internalRequestProperty(QLatin1String("AddressableVCardFields"));
1049  }
1050 
1131  {
1132  return internalRequestProperty(QLatin1String("AddressableURISchemes"));
1133  }
1134 
1142  {
1143  return internalRequestAllProperties();
1144  }
1145 
1146 public Q_SLOTS:
1189  inline QDBusPendingReply<QString> NormalizeVCardAddress(const QString& VCardField, const QString& VCardAddress, int timeout = -1)
1190  {
1191  if (!invalidationReason().isEmpty()) {
1192  return QDBusPendingReply<QString>(QDBusMessage::createError(
1193  invalidationReason(),
1194  invalidationMessage()
1195  ));
1196  }
1197 
1198  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1199  this->staticInterfaceName(), QLatin1String("NormalizeVCardAddress"));
1200  callMessage << QVariant::fromValue(VCardField) << QVariant::fromValue(VCardAddress);
1201  return this->connection().asyncCall(callMessage, timeout);
1202  }
1203 
1264  inline QDBusPendingReply<QString> NormalizeContactURI(const QString& URI, int timeout = -1)
1265  {
1266  if (!invalidationReason().isEmpty()) {
1267  return QDBusPendingReply<QString>(QDBusMessage::createError(
1268  invalidationReason(),
1269  invalidationMessage()
1270  ));
1271  }
1272 
1273  QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
1274  this->staticInterfaceName(), QLatin1String("NormalizeContactURI"));
1275  callMessage << QVariant::fromValue(URI);
1276  return this->connection().asyncCall(callMessage, timeout);
1277  }
1278 
1279 protected:
1280  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1281 };
1282 
1291 {
1292  Q_OBJECT
1293 
1294 public:
1301  static inline QLatin1String staticInterfaceName()
1302  {
1303  return QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Avatars");
1304  }
1305 
1314  const QString& busName,
1315  const QString& objectPath,
1316  QObject* parent = 0
1317  );
1318 
1328  const QDBusConnection& connection,
1329  const QString& busName,
1330  const QString& objectPath,
1331  QObject* parent = 0
1332  );
1333 
1341 
1350 
1358  ProtocolInterfaceAvatarsInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject* parent);
1359 
1372  {
1373  return internalRequestProperty(QLatin1String("SupportedAvatarMIMETypes"));
1374  }
1375 
1388  {
1389  return internalRequestProperty(QLatin1String("MinimumAvatarHeight"));
1390  }
1391 
1404  {
1405  return internalRequestProperty(QLatin1String("MinimumAvatarWidth"));
1406  }
1407 
1420  {
1421  return internalRequestProperty(QLatin1String("RecommendedAvatarHeight"));
1422  }
1423 
1436  {
1437  return internalRequestProperty(QLatin1String("RecommendedAvatarWidth"));
1438  }
1439 
1452  {
1453  return internalRequestProperty(QLatin1String("MaximumAvatarHeight"));
1454  }
1455 
1468  {
1469  return internalRequestProperty(QLatin1String("MaximumAvatarWidth"));
1470  }
1471 
1484  {
1485  return internalRequestProperty(QLatin1String("MaximumAvatarBytes"));
1486  }
1487 
1495  {
1496  return internalRequestAllProperties();
1497  }
1498 
1499 protected:
1500  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1501 };
1502 
1511 {
1512  Q_OBJECT
1513 
1514 public:
1521  static inline QLatin1String staticInterfaceName()
1522  {
1523  return QLatin1String("org.freedesktop.Telepathy.Protocol.Interface.Presence");
1524  }
1525 
1534  const QString& busName,
1535  const QString& objectPath,
1536  QObject* parent = 0
1537  );
1538 
1548  const QDBusConnection& connection,
1549  const QString& busName,
1550  const QString& objectPath,
1551  QObject* parent = 0
1552  );
1553 
1561 
1570 
1578  ProtocolInterfacePresenceInterface(const Tp::Client::ConnectionManagerInterface& mainInterface, QObject* parent);
1579 
1594  {
1595  return internalRequestProperty(QLatin1String("Statuses"));
1596  }
1597 
1605  {
1606  return internalRequestAllProperties();
1607  }
1608 
1609 protected:
1610  virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
1611 };
1612 }
1613 }
1614 Q_DECLARE_METATYPE(Tp::Client::ConnectionManagerInterface*)
1615 Q_DECLARE_METATYPE(Tp::Client::ProtocolInterface*)
Tp::PendingVariant * requestPropertyAddressableVCardFields() const
Definition: cli-connection-manager.h:1046
Tp::PendingVariant * requestPropertyRecommendedAvatarWidth() const
Definition: cli-connection-manager.h:1435
Tp::PendingVariant * requestPropertyMinimumAvatarHeight() const
Definition: cli-connection-manager.h:1387
Definition: cli-connection-manager.h:44
Definition: cli-connection-manager.h:361
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-connection-manager.h:454
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection-manager.h:776
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-connection-manager.h:152
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection-manager.h:1604
Tp::PendingVariant * requestPropertyMaximumAvatarWidth() const
Definition: cli-connection-manager.h:1467
Tp::PendingVariant * requestPropertyStatuses() const
Definition: cli-connection-manager.h:1593
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::PendingVariant * requestPropertyRequestableChannelClasses() const
Definition: cli-connection-manager.h:584
Tp::PendingVariant * requestPropertyVCardField() const
Definition: cli-connection-manager.h:638
Tp::PendingVariant * requestPropertyAddressableURISchemes() const
Definition: cli-connection-manager.h:1130
Tp::PendingVariant * requestPropertyParameters() const
Definition: cli-connection-manager.h:485
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection-manager.h:1494
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection-manager.h:163
Tp::PendingVariant * requestPropertyRecommendedAvatarHeight() const
Definition: cli-connection-manager.h:1419
QDBusPendingReply< QStringList > ListProtocols(int timeout=-1)
Definition: cli-connection-manager.h:224
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:925
QDBusPendingReply< QString > IdentifyAccount(const QVariantMap &parameters, int timeout=-1)
Definition: cli-connection-manager.h:819
Tp::PendingVariant * requestPropertyProtocols() const
Definition: cli-connection-manager.h:120
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
QDBusPendingReply< QString > NormalizeContactURI(const QString &URI, int timeout=-1)
Definition: cli-connection-manager.h:1264
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-connection-manager.h:1141
Tp::PendingVariant * requestPropertyMinimumAvatarWidth() const
Definition: cli-connection-manager.h:1403
Definition: cli-connection-manager.h:914
QDBusPendingReply< QString > NormalizeVCardAddress(const QString &VCardField, const QString &VCardAddress, int timeout=-1)
Definition: cli-connection-manager.h:1189
QDBusPendingReply< QString, QDBusObjectPath > RequestConnection(const QString &protocol, const QVariantMap &parameters, int timeout=-1)
Definition: cli-connection-manager.h:315
Tp::PendingVariant * requestPropertyAuthenticationTypes() const
Definition: cli-connection-manager.h:765
Tp::PendingVariant * requestPropertyMaximumAvatarBytes() const
Definition: cli-connection-manager.h:1483
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:1521
QDBusPendingReply< QString > NormalizeContact(const QString &contactID, int timeout=-1)
Definition: cli-connection-manager.h:888
Definition: abstract-adaptor.cpp:31
Tp::PendingVariant * requestPropertyIcon() const
Definition: cli-connection-manager.h:715
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::PendingVariant * requestPropertyMaximumAvatarHeight() const
Definition: cli-connection-manager.h:1451
Definition: cli-connection-manager.h:1510
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:55
Tp::PendingVariant * requestPropertyConnectionInterfaces() const
Definition: cli-connection-manager.h:514
Tp::PendingVariant * requestPropertyEnglishName() const
Definition: cli-connection-manager.h:681
Definition: cli-connection-manager.h:1290
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:372
QDBusPendingReply< Tp::ParamSpecList > GetParameters(const QString &protocol, int timeout=-1)
Definition: cli-connection-manager.h:194
Tp::PendingVariant * requestPropertySupportedAvatarMIMETypes() const
Definition: cli-connection-manager.h:1371
static QLatin1String staticInterfaceName()
Definition: cli-connection-manager.h:1301


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01173.html0000644000175000017500000007370012727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ServerAuthenticationChannel Member List

This is the complete list of members for Tp::ServerAuthenticationChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
captchaAuthentication() const Tp::ServerAuthenticationChannel
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::ServerAuthenticationChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::ServerAuthenticationChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasCaptchaInterface() const Tp::ServerAuthenticationChannel
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
ServerAuthenticationChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=ServerAuthenticationChannel::FeatureCore)Tp::ServerAuthenticationChannelprotected
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~ServerAuthenticationChannel()Tp::ServerAuthenticationChannelvirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00517.html0000644000175000017500000002744512727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeServer::Tube Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::StreamTubeServer::Tube Class Reference

The StreamTubeServer::Tube class represents a tube being handled by the server. More...

#include <TelepathyQt/StreamTubeServer>

Inherits QPair< AccountPtr, OutgoingStreamTubeChannelPtr >.

Public Member Functions

 Tube ()
 
 Tube (const AccountPtr &account, const OutgoingStreamTubeChannelPtr &channel)
 
 Tube (const Tube &other)
 
 ~Tube ()
 
bool isValid () const
 
Tubeoperator= (const Tube &other)
 
const AccountPtr & account () const
 
const OutgoingStreamTubeChannelPtr & channel () const
 

Detailed Description

The StreamTubeServer::Tube class represents a tube being handled by the server.

Constructor & Destructor Documentation

Tp::StreamTubeServer::Tube::Tube ( )

Constructs a new invalid Tube instance.

Tp::StreamTubeServer::Tube::Tube ( const AccountPtr &  account,
const OutgoingStreamTubeChannelPtr &  channel 
)

Constructs a Tube instance for the given tube channel originating from the given account.

Parameters
accountA pointer to the account object.
channelA pointer to the tube channel object.
Tp::StreamTubeServer::Tube::Tube ( const Tube other)

Copy constructor.

Tp::StreamTubeServer::Tube::~Tube ( )

Class destructor.

Member Function Documentation

bool Tp::StreamTubeServer::Tube::isValid ( ) const
inline

Return whether or not the tube is valid or is just the null object created using the default constructor.

Returns
true if valid, false otherwise.
StreamTubeServer::Tube & Tp::StreamTubeServer::Tube::operator= ( const Tube other)

Assignment operator.

AccountPtr Tp::StreamTubeServer::Tube::account ( ) const
inline

Return the account from which the tube originates.

Returns
A pointer to the account object.
OutgoingStreamTubeChannelPtr Tp::StreamTubeServer::Tube::channel ( ) const
inline

Return the actual tube channel.

Returns
A pointer to the channel.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00613_source.html0000644000175000017500000011355512727270137022365 0ustar00kaffeinekaffeine00000000000000 cli-client-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-client-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/client.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ClientInterface::ClientInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ClientInterface::ClientInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27 
28  Tp::AbstractInterface::invalidate(proxy, error, message);
29 }
30 
31 ClientApproverInterface::ClientApproverInterface(const QString& busName, const QString& objectPath, QObject *parent)
32  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
33 {
34 }
35 
36 ClientApproverInterface::ClientApproverInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
37  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
38 {
39 }
40 
43 {
44 }
45 
47  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
48 {
49 }
50 
52  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
53 {
54 }
55 
57  const QString &error, const QString &message)
58 {
59 
60  Tp::AbstractInterface::invalidate(proxy, error, message);
61 }
62 
63 ClientHandlerInterface::ClientHandlerInterface(const QString& busName, const QString& objectPath, QObject *parent)
64  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
65 {
66 }
67 
68 ClientHandlerInterface::ClientHandlerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
69  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
70 {
71 }
72 
75 {
76 }
77 
79  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
80 {
81 }
82 
84  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
85 {
86 }
87 
89  const QString &error, const QString &message)
90 {
91 
92  Tp::AbstractInterface::invalidate(proxy, error, message);
93 }
94 
95 ClientInterfaceRequestsInterface::ClientInterfaceRequestsInterface(const QString& busName, const QString& objectPath, QObject *parent)
96  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
97 {
98 }
99 
100 ClientInterfaceRequestsInterface::ClientInterfaceRequestsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
102 {
103 }
104 
107 {
108 }
109 
111  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
112 {
113 }
114 
116  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
117 {
118 }
119 
121  const QString &error, const QString &message)
122 {
123 
124  Tp::AbstractInterface::invalidate(proxy, error, message);
125 }
126 
127 ClientObserverInterface::ClientObserverInterface(const QString& busName, const QString& objectPath, QObject *parent)
128  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
129 {
130 }
131 
132 ClientObserverInterface::ClientObserverInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
133  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
134 {
135 }
136 
139 {
140 }
141 
143  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
144 {
145 }
146 
148  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
149 {
150 }
151 
153  const QString &error, const QString &message)
154 {
155 
156  Tp::AbstractInterface::invalidate(proxy, error, message);
157 }
158 }
159 }
ClientObserverInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-client-body.hpp:127
static QLatin1String staticInterfaceName()
Definition: cli-client.h:752
ClientHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-client-body.hpp:63
ClientInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-client-body.hpp:9
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-client-body.hpp:120
ClientInterfaceRequestsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-client-body.hpp:95
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Definition: cli-client.h:44
static QLatin1String staticInterfaceName()
Definition: cli-client.h:376
static QLatin1String staticInterfaceName()
Definition: cli-client.h:55
ClientApproverInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-client-body.hpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-client-body.hpp:152
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-client-body.hpp:24
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-client-body.hpp:56
static QLatin1String staticInterfaceName()
Definition: cli-client.h:997
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-client-body.hpp:88
static QLatin1String staticInterfaceName()
Definition: cli-client.h:156
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00271.html0000644000175000017500000010553412727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceContactsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::ContactAttributesMapGetContactAttributes (const Tp::UIntList &handles, const QStringList &interfaces, bool hold, int timeout=-1)
 
QDBusPendingReply< uint, QVariantMap > GetContactByID (const QString &identifier, const QStringList &interfaces, int timeout=-1)
 

Public Member Functions

 ConnectionInterfaceContactsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceContactsInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceContactsInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceContactsInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyContactAttributeInterfaces () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Contacts".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceContactsInterface 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.
Tp::Client::ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceContactsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceContactsInterface 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.
Tp::Client::ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceContactsInterface 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 Tp::Client::ConnectionInterfaceContactsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Contacts", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceContactsInterface::requestPropertyContactAttributeInterfaces ( ) const
inline

Asynchronous getter for the remote object property ContactAttributeInterfaces of type QStringList.

A list of D-Bus interfaces for which GetContactAttributes is expected to work. This cannot change during the lifetime of the Connection.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceContactsInterface::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<Tp::ContactAttributesMap> Tp::Client::ConnectionInterfaceContactsInterface::GetContactAttributes ( const Tp::UIntList handles,
const QStringList &  interfaces,
bool  hold,
int  timeout = -1 
)
inlineslot

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

Return any number of contact attributes for the given handles.

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

Parameters
handles
An array of handles representing contacts.
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. All supported attributes from these interfaces, whose values can be obtained without additional network activity, will be in the reply.

Connection managers SHOULD ignore interfaces requested which they do not support (i.e. those not mentioned in the ContactAttributeInterfaces property.)

This simplifies client-side code. Clients which care may distinguish between unsupported interfaces (e.g. this Connection does not support Avatars), and interfaces on which no information is known for these contacts (e.g. we don't know the avatar tokens of any of the contacts, so we omitted them all) by inspecting ContactAttributeInterfaces .

Attributes from the interface ConnectionInterface are always returned, and need not be requested explicitly.

As well as returning cached information immediately, the connection MAY start asynchronous requests to obtain better values for the contact attributes. If better values are later obtained by this process, they will be indicated with the usual signals (such as ConnectionInterfaceAliasingInterface::AliasesChanged() ).

For instance, an XMPP connection manager could download vCards in response to a request for ConnectionInterfaceAliasingInterface attributes.
hold

If true, all handles that appear as keys in the result have been held on behalf of the calling process, as if by a call to ConnectionInterface::HoldHandles() . (If ConnectionInterface::HasImmortalHandles is true, which SHOULD be the case in all new connection managers, this has no effect.)

For further round-trip avoidance.

timeoutThe timeout in milliseconds.
Returns

A dictionary mapping the contact handles to contact attributes. If any of the requested handles are in fact invalid, they are simply omitted from this mapping. If contact attributes are not immediately known, the behaviour is defined by the interface; the attribute should either be omitted from the result or replaced with a default value.

Each contact's attributes will always include at least the identifier that would be obtained by inspecting the handle (org.freedesktop.Telepathy.Connection/contact-id).

QDBusPendingReply<uint, QVariantMap> Tp::Client::ConnectionInterfaceContactsInterface::GetContactByID ( const QString &  identifier,
const QStringList &  interfaces,
int  timeout = -1 
)
inlineslot

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

Return any number of contact attributes for the given identifier. This is for a single identifier to make it simpler to use for the most common use case. For multiple contacts case, GetContactAttributes should be used.

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

Parameters
identifier
An identifier representing a contact.
interfaces

A list of strings indicating which D-Bus interfaces the calling process is interested in. All supported attributes from these interfaces, whose values can be obtained without additional network activity, will be in the reply.

See GetContactAttributes() for details.

timeoutThe timeout in milliseconds.
Returns

The contact's handle, as returned by ConnectionInterface::RequestHandles()

Returns

All supported attributes of the contact on the given interfaces that can be returned without network round-trips. If contact attributes are not immediately known, the behaviour is defined by the interface; the attribute should either be omitted from the result or replaced with a default value.

The contact's attributes will always include at least the identifier that would be obtained by inspecting the handle (org.freedesktop.Telepathy.Connection/contact-id).

void Tp::Client::ConnectionInterfaceContactsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01232.html0000644000175000017500000003220212727270137020770 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallStreamEndpointInterface Member List

This is the complete list of members for Tp::Client::CallStreamEndpointInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AcceptSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)Tp::Client::CallStreamEndpointInterfaceinlineslot
CallStreamEndpointInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamEndpointInterface
CallStreamEndpointInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamEndpointInterface
CallStreamEndpointInterface(Tp::DBusProxy *proxy)Tp::Client::CallStreamEndpointInterface
CandidatePairSelected(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate)Tp::Client::CallStreamEndpointInterfacesignal
ControllingChanged(bool controlling)Tp::Client::CallStreamEndpointInterfacesignal
EndpointStateChanged(uint component, uint state)Tp::Client::CallStreamEndpointInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallStreamEndpointInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RejectSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)Tp::Client::CallStreamEndpointInterfaceinlineslot
RemoteCandidatesAdded(const Tp::CandidateList &candidates)Tp::Client::CallStreamEndpointInterfacesignal
RemoteCredentialsSet(const QString &username, const QString &password)Tp::Client::CallStreamEndpointInterfacesignal
requestAllProperties() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyControlling() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyEndpointState() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyIsICELite() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyRemoteCandidates() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyRemoteCredentials() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertySelectedCandidatePairs() const Tp::Client::CallStreamEndpointInterfaceinline
requestPropertyTransport() const Tp::Client::CallStreamEndpointInterfaceinline
SetControlling(bool controlling, int timeout=-1)Tp::Client::CallStreamEndpointInterfaceinlineslot
SetEndpointState(uint component, uint state, int timeout=-1)Tp::Client::CallStreamEndpointInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)Tp::Client::CallStreamEndpointInterfaceinlineslot
staticInterfaceName()Tp::Client::CallStreamEndpointInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00016.html0000644000175000017500000001121212727270137020765 0ustar00kaffeinekaffeine00000000000000 protocols/cm-wrapper.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/cm-wrapper.cpp
#include "cm-wrapper.h"
#include "_gen/cm-wrapper.moc.hpp"
#include <TelepathyQt/Debug>
#include <TelepathyQt/ConnectionManager>
#include <TelepathyQt/PendingReady>
#include <QDebug>
CMWrapper::CMWrapper(const QString &cmName, QObject *parent)
: QObject(parent),
mCM(ConnectionManager::create(cmName))
{
connect(mCM->becomeReady(),
SIGNAL(finished(Tp::PendingOperation *)),
SLOT(onCMReady(Tp::PendingOperation *)));
}
CMWrapper::~CMWrapper()
{
}
ConnectionManagerPtr CMWrapper::cm() const
{
return mCM;
}
void CMWrapper::onCMReady(PendingOperation *op)
{
if (op->isError()) {
qWarning() << "CM" << mCM->name() << "cannot become ready -" <<
op->errorName() << ": " << op->errorMessage();
return;
}
qDebug() << "CM" << mCM->name() << "ready!";
qDebug() << "Supported protocols:";
foreach (const QString &protocol, mCM->supportedProtocols()) {
qDebug() << "\t" << protocol;
}
emit finished();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00330.html0000644000175000017500000001326412727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::FieldSpec Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

QString name
 
QStringList parameters
 
uint flags
 
uint max
 

Detailed Description

Structure type generated from the specification.

A struct describing a vCard field, with parameters, that may be passed to SetContactInfo on this Connection.

Member Data Documentation

QString Tp::FieldSpec::name

A vCard field name, such as 'tel'.

QStringList Tp::FieldSpec::parameters

The set of vCard type parameters which may be set on this field. If this list is empty and the Contact_Info_Field_Flag_Parameters_Exact flag is not set, any vCard type parameters may be used.

uint Tp::FieldSpec::flags

Flags describing the behaviour of this field.

uint Tp::FieldSpec::max

Maximum number of instances of this field which may be set. MAXUINT32 is used to indicate that there is no limit.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00085.html0000644000175000017500000004432312727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelServerAuthenticationType Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Type.ServerAuthentifcation. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Member Functions

virtual ~BaseChannelServerAuthenticationType ()
 
QVariantMap immutableProperties () const
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelServerAuthenticationTypePtr create (const QString &authenticationMethod)
 
template<typename BaseChannelServerAuthenticationTypeSubclass >
static SharedPtr< BaseChannelServerAuthenticationTypeSubclass > create (const QString &authenticationMethod)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Type.ServerAuthentifcation.

Constructor & Destructor Documentation

Tp::BaseChannelServerAuthenticationType::~BaseChannelServerAuthenticationType ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelServerAuthenticationTypePtr Tp::BaseChannelServerAuthenticationType::create ( const QString &  authenticationMethod)
inlinestatic
template<typename BaseChannelServerAuthenticationTypeSubclass >
static SharedPtr<BaseChannelServerAuthenticationTypeSubclass> Tp::BaseChannelServerAuthenticationType::create ( const QString &  authenticationMethod)
inlinestatic
QVariantMap Tp::BaseChannelServerAuthenticationType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01046.html0000644000175000017500000001505512727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FixedFeatureFactory Member List

This is the complete list of members for Tp::FixedFeatureFactory, including all inherited members.

addFeature(const Feature &feature)Tp::FixedFeatureFactory
addFeatures(const Features &features)Tp::FixedFeatureFactory
cachedProxy(const QString &busName, const QString &objectPath) const Tp::DBusProxyFactoryprotected
dbusConnection() const Tp::DBusProxyFactory
DBusProxyFactory(const QDBusConnection &bus)Tp::DBusProxyFactoryprotected
features() const Tp::FixedFeatureFactory
featuresFor(const DBusProxyPtr &proxy) const Tp::FixedFeatureFactoryprotectedvirtual
finalBusNameFrom(const QString &uniqueOrWellKnown) const =0Tp::DBusProxyFactoryprotectedpure virtual
FixedFeatureFactory(const QDBusConnection &bus)Tp::FixedFeatureFactoryprotected
initialPrepare(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotectedvirtual
nowHaveProxy(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotected
readyPrepare(const DBusProxyPtr &proxy) const Tp::DBusProxyFactoryprotectedvirtual
RefCounted()Tp::RefCountedinline
~DBusProxyFactory()Tp::DBusProxyFactoryvirtual
~FixedFeatureFactory()Tp::FixedFeatureFactoryvirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00606_source.html0000644000175000017500000002513512727270137022363 0ustar00kaffeinekaffeine00000000000000 cli-channel-dispatch-operation-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel-dispatch-operation-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/channel-dispatch-operation.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 ChannelDispatchOperationInterface::ChannelDispatchOperationInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 ChannelDispatchOperationInterface::ChannelDispatchOperationInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(ChannelLost(const QDBusObjectPath&, const QString&, const QString&)), NULL, NULL);
28  disconnect(this, SIGNAL(Finished()), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 }
33 }
void ChannelLost(const QDBusObjectPath &channel, const QString &error, const QString &message)
static QLatin1String staticInterfaceName()
Definition: cli-channel-dispatch-operation.h:55
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-channel-dispatch-operation-body.hpp:24
ChannelDispatchOperationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-channel-dispatch-operation-body.hpp:9
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01360.html0000644000175000017500000001672312727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactGroupsAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactGroupsAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AddToGroup(const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
dbusConnection() const Tp::AbstractAdaptor
DisjointGroups() const Tp::Service::ConnectionInterfaceContactGroupsAdaptor
GroupRenamed(const QString &oldName, const QString &newName)Tp::Service::ConnectionInterfaceContactGroupsAdaptorsignal
Groups() const Tp::Service::ConnectionInterfaceContactGroupsAdaptor
GroupsChanged(const Tp::UIntList &contact, const QStringList &added, const QStringList &removed)Tp::Service::ConnectionInterfaceContactGroupsAdaptorsignal
GroupsCreated(const QStringList &names)Tp::Service::ConnectionInterfaceContactGroupsAdaptorsignal
GroupsRemoved(const QStringList &names)Tp::Service::ConnectionInterfaceContactGroupsAdaptorsignal
GroupStorage() const Tp::Service::ConnectionInterfaceContactGroupsAdaptor
RemoveFromGroup(const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
RemoveGroup(const QString &group, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
RenameGroup(const QString &oldName, const QString &newName, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
SetContactGroups(uint contact, const QStringList &groups, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
SetGroupMembers(const QString &group, const Tp::UIntList &members, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactGroupsAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00144.html0000644000175000017500000003274212727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Captcha Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Captcha Class Reference

The Captcha class represents a Captcha ready to be answered. More...

#include <TelepathyQt/Captcha>

Public Member Functions

 Captcha ()
 
 Captcha (const Captcha &other)
 
 ~Captcha ()
 
bool isValid () const
 
Captchaoperator= (const Captcha &rhs)
 
QString mimeType () const
 
QString label () const
 
QByteArray data () const
 
CaptchaAuthentication::ChallengeType type () const
 
uint id () const
 

Detailed Description

The Captcha class represents a Captcha ready to be answered.

It exposes all the parameters needed for a handler to present the user with a captcha.

Please note this class is meant to be read-only. It is usually created by PendingCaptchas once a Captcha request operation succeeds.

Please note that this class is implicitly shared.

Constructor & Destructor Documentation

Tp::Captcha::Captcha ( )

Default constructor.

Tp::Captcha::Captcha ( const Captcha other)

Copy constructor.

Tp::Captcha::~Captcha ( )

Class destructor.

Member Function Documentation

bool Tp::Captcha::isValid ( ) const
inline
Captcha & Tp::Captcha::operator= ( const Captcha rhs)
QString Tp::Captcha::mimeType ( ) const

Return the mimetype of the captcha.

Returns
The captcha's mimetype.
See also
data()
QString Tp::Captcha::label ( ) const

Return the label of the captcha. For some captcha types, such as CaptchaAuthentication::TextQuestionChallenge, the label is also the challenge the user has to answer

Returns
The captcha's label.
See also
data() type()
QByteArray Tp::Captcha::data ( ) const

Return the raw data of the captcha. The handler can check its type and metatype to know how to parse the blob.

Returns
The captcha's data.
See also
mimeType(), type()
CaptchaAuthentication::ChallengeType Tp::Captcha::type ( ) const

Return the type of the captcha.

Returns
The captcha's type.
See also
data()
uint Tp::Captcha::id ( ) const

Return the id of the captcha. This parameter should be used to identify the captcha when answering its challenge.

Returns
The captcha's id.
See also
CaptchaAuthentication::answer()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01105.html0000644000175000017500000010732712727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OutgoingFileTransferChannel Member List

This is the complete list of members for Tp::OutgoingFileTransferChannel, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
availableSocketTypes() const Tp::FileTransferChannelprotected
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
cancel()Tp::FileTransferChannel
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
contentHash() const Tp::FileTransferChannel
contentHashType() const Tp::FileTransferChannel
contentType() const Tp::FileTransferChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::OutgoingFileTransferChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
description() const Tp::FileTransferChannel
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureCoreTp::OutgoingFileTransferChannelstatic
fileName() const Tp::FileTransferChannel
FileTransferChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=FileTransferChannel::FeatureCore)Tp::FileTransferChannelprotected
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initialOffset() const Tp::FileTransferChannel
initialOffsetDefined(qulonglong initialOffset)Tp::FileTransferChannelsignal
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isConnected() const Tp::FileTransferChannelprotected
isFinished() const Tp::FileTransferChannelprotected
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
lastModificationTime() const Tp::FileTransferChannel
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
onUriDefined(const QString &uri)Tp::FileTransferChannelprotectedslot
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
OutgoingFileTransferChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=OutgoingFileTransferChannel::FeatureCore)Tp::OutgoingFileTransferChannelprotected
propertyChanged(const QString &propertyName)Tp::Objectsignal
provideFile(QIODevice *input)Tp::OutgoingFileTransferChannel
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
setBusName(const QString &busName)Tp::DBusProxyprotected
setConnected()Tp::FileTransferChannelprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
size() const Tp::FileTransferChannel
state() const Tp::FileTransferChannel
stateChanged(Tp::FileTransferState state, Tp::FileTransferStateChangeReason reason)Tp::FileTransferChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
stateReason() const Tp::FileTransferChannel
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
transferredBytes() const Tp::FileTransferChannel
transferredBytesChanged(qulonglong count)Tp::FileTransferChannelsignal
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
uri() const Tp::FileTransferChannel
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~FileTransferChannel()Tp::FileTransferChannelvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~OutgoingFileTransferChannel()Tp::OutgoingFileTransferChannelvirtual
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00602_source.html0000644000175000017500000003177512727270137022366 0ustar00kaffeinekaffeine00000000000000 cli-call-stream-endpoint-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-stream-endpoint-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-stream-endpoint.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallStreamEndpointInterface::CallStreamEndpointInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallStreamEndpointInterface::CallStreamEndpointInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(RemoteCredentialsSet(const QString&, const QString&)), NULL, NULL);
28  disconnect(this, SIGNAL(RemoteCandidatesAdded(const Tp::CandidateList&)), NULL, NULL);
29  disconnect(this, SIGNAL(CandidatePairSelected(const Tp::Candidate&, const Tp::Candidate&)), NULL, NULL);
30  disconnect(this, SIGNAL(EndpointStateChanged(uint, uint)), NULL, NULL);
31  disconnect(this, SIGNAL(ControllingChanged(bool)), NULL, NULL);
32 
33  Tp::AbstractInterface::invalidate(proxy, error, message);
34 }
35 }
36 }
static QLatin1String staticInterfaceName()
Definition: cli-call-stream-endpoint.h:55
void EndpointStateChanged(uint component, uint state)
void ControllingChanged(bool controlling)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
void RemoteCandidatesAdded(const Tp::CandidateList &candidates)
QList< Candidate > CandidateList
Definition: build/TelepathyQt/_gen/types.h:422
void RemoteCredentialsSet(const QString &username, const QString &password)
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-stream-endpoint-body.hpp:24
Definition: build/TelepathyQt/_gen/types.h:388
CallStreamEndpointInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-stream-endpoint-body.hpp:9
void CandidatePairSelected(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate)
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00459.html0000644000175000017500000002147412727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor3 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 >
typedef R(* Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 >::FunctionType) (Arg1, Arg2, Arg3)
template<class R , class Arg1 , class Arg2 , class Arg3 >
typedef R Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 >
Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 >::PtrFunctor3 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 >
ResultType Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 >
FunctionType Tp::PtrFunctor3< R, Arg1, Arg2, Arg3 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00203.html0000644000175000017500000010457512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceSubjectInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetSubject (const QString &subject, int timeout=-1)
 

Public Member Functions

 ChannelInterfaceSubjectInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSubjectInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceSubjectInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceSubjectInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceSubjectInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySubject () const
 
Tp::PendingVariantrequestPropertyActor () const
 
Tp::PendingVariantrequestPropertyActorHandle () const
 
Tp::PendingVariantrequestPropertyTimestamp () const
 
Tp::PendingVariantrequestPropertyCanSet () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceSubjectInterface::ChannelInterfaceSubjectInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceSubjectInterface 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.
Tp::Client::ChannelInterfaceSubjectInterface::ChannelInterfaceSubjectInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceSubjectInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceSubjectInterface::ChannelInterfaceSubjectInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceSubjectInterface 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 Tp::Client::ChannelInterfaceSubjectInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Subject2", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSubjectInterface::requestPropertySubject ( ) const
inline

Asynchronous getter for the remote object property Subject of type QString.

The human-readable subject on the channel such as the topic in an IRC channel, or the room name in XMPP MUCs.

This property replaces the subject Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

This property may change during the lifetime of the channel and MUST not be included in a channel request.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSubjectInterface::requestPropertyActor ( ) const
inline

Asynchronous getter for the remote object property Actor of type QString.

The normalized contact ID representing who last modified the subject, or the empty string if it is not known.

This property replaces the subject-contact Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSubjectInterface::requestPropertyActorHandle ( ) const
inline

Asynchronous getter for the remote object property ActorHandle of type uint.

The handle corresponding to Actor , or 0 if the Actor is unknown.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSubjectInterface::requestPropertyTimestamp ( ) const
inline

Asynchronous getter for the remote object property Timestamp of type qlonglong.

A unix timestamp indicating when the subject was last modified, or INT_MAX64 if unknown.

This property replaces the subject-timestamp Telepathy property of Text channels, as Telepathy properties are soon to be deprecated completely.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceSubjectInterface::requestPropertyCanSet ( ) const
inline

Asynchronous getter for the remote object property CanSet of type bool.

TRUE if the Subject property can be set by the user by calling SetSubject() , otherwise FALSE.

If implementations are unsure of what this value should be it SHOULD still be set to what it believes the value is. As a result, clients should be aware that SetSubject() can still fail even with this property set to TRUE.

In XMPP it is impossible to know whether an occupant can set the subject as XMPP server implementations are wildly inconsistent.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceSubjectInterface::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 Tp::Client::ChannelInterfaceSubjectInterface::SetSubject ( const QString &  subject,
int  timeout = -1 
)
inlineslot

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

Set the room's subject. Clients SHOULD look at the subject flags before calling this method as the user might not have permission to set the subject.

A successful return of this method indicates a successful change in subject, but clients should still listen for changes to the Subject property for further changes by other users or the server.

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

Parameters
subject
The new subject.
timeoutThe timeout in milliseconds.
void Tp::Client::ChannelInterfaceSubjectInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01174.html0000644000175000017500000000460012727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ServicePoint Member List

This is the complete list of members for Tp::ServicePoint, including all inherited members.

serviceTp::ServicePoint
servicePointTypeTp::ServicePoint


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00518.html0000644000175000017500000021533412727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::TubeChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The TubeChannel class is a base class for all tube types. More...

#include <TelepathyQt/TubeChannel>

Inherits Tp::Channel.

Inherited by Tp::DBusTubeChannel, and Tp::StreamTubeChannel.

Signals

void stateChanged (Tp::TubeChannelState state)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~TubeChannel ()
 
TubeChannelState state () const
 
QVariantMap parameters () const
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static TubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 TubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)
 
void setParameters (const QVariantMap &parameters)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The TubeChannel class is a base class for all tube types.

A tube is a mechanism for arbitrary data transfer between two or more IM users, used to allow applications on the users' systems to communicate without having to establish network connections themselves.

Note that TubeChannel should never be instantiated directly, instead one of its subclasses (e.g. IncomingStreamTubeChannel or OutgoingStreamTubeChannel) should be used.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::TubeChannel::~TubeChannel ( )
virtual

Class destructor.

Tp::TubeChannel::TubeChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = TubeChannel::FeatureCore 
)
protected

Construct a new TubeChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on TubeChannel::FeatureCore.

Member Function Documentation

TubeChannelPtr Tp::TubeChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new TubeChannel channel.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A TubeChannelPtr object pointing to the newly created TubeChannel object.
TubeChannelState Tp::TubeChannel::state ( ) const

Return the state of this tube.

Change notification is via the stateChanged() signal.

This method requires TubeChannel::FeatureCore to be ready.

Returns
The state as TubeChannelState.
See also
stateChanged()
QVariantMap Tp::TubeChannel::parameters ( ) const

Return the parameters associated with this tube, if any.

The parameters are populated when an outgoing tube is offered, but they are most useful in the receiving end, where the parameters passed to the offer can be extracted for the tube's entire lifetime to bootstrap legacy protocols. All parameters are passed unchanged.

This method requires TubeChannel::FeatureCore to be ready.

Returns
The parameters as QVariantMap.
void Tp::TubeChannel::stateChanged ( Tp::TubeChannelState  state)
signal

Emitted when the value of state() changes.

See also
state The new state of this tube.
void Tp::TubeChannel::setParameters ( const QVariantMap &  parameters)
protected

Member Data Documentation

const Feature Tp::TubeChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the TubeChannel object usable.

Note that this feature must be enabled in order to use most TubeChannel methods. See specific methods documentation for more details.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00272.html0000644000175000017500000005510512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceLocationAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::ContactLocations GetLocations (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 
QVariantMap RequestLocation (uint contact, const QDBusMessage &dbusMessage)
 
void SetLocation (const QVariantMap &location, const QDBusMessage &dbusMessage)
 

Signals

void LocationUpdated (uint contact, const QVariantMap &location)
 

Public Member Functions

Tp::UIntList LocationAccessControlTypes () const
 
Tp::RichPresenceAccessControl LocationAccessControl () const
 
void SetLocationAccessControl (const Tp::RichPresenceAccessControl &newValue)
 
uint SupportedLocationFeatures () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::UIntList Tp::Service::ConnectionInterfaceLocationAdaptor::LocationAccessControlTypes ( ) const

Return the value of the exported D-Bus object property LocationAccessControlTypes of type Tp::UIntList.

Adaptees should export this property as a Qt property named 'locationAccessControlTypes' with type Tp::UIntList.

The types of access control that are supported by this connection.

Returns
The value of exported property LocationAccessControlTypes.
Tp::RichPresenceAccessControl Tp::Service::ConnectionInterfaceLocationAdaptor::LocationAccessControl ( ) const

Return the value of the exported D-Bus object property LocationAccessControl of type Tp::RichPresenceAccessControl.

Adaptees should export this property as a Qt property named 'locationAccessControl' with type Tp::RichPresenceAccessControl.

The current access control mechanism and settings for this connection. Before publishing location for the first time, if this has not been set by a client, implementations SHOULD set it to be as restrictive as possible (an empty whitelist, if supported).

Returns
The value of exported property LocationAccessControl.
void Tp::Service::ConnectionInterfaceLocationAdaptor::SetLocationAccessControl ( const Tp::RichPresenceAccessControl newValue)

Set the value of the exported D-Bus object property LocationAccessControl of type Tp::RichPresenceAccessControl.

Adaptees should export this property as a writable Qt property named 'locationAccessControl' with type Tp::RichPresenceAccessControl.

The current access control mechanism and settings for this connection. Before publishing location for the first time, if this has not been set by a client, implementations SHOULD set it to be as restrictive as possible (an empty whitelist, if supported).

uint Tp::Service::ConnectionInterfaceLocationAdaptor::SupportedLocationFeatures ( ) const

Return the value of the exported D-Bus object property SupportedLocationFeatures of type uint.

Adaptees should export this property as a Qt property named 'supportedLocationFeatures' with type uint.

Indicates the Location features supported by this connection. This property MAY be undefined before ConnectionInterface::Status becomes Connected, but MUST remain constant thereafter.

Returns
The value of exported property SupportedLocationFeatures.
Tp::ContactLocations Tp::Service::ConnectionInterfaceLocationAdaptor::GetLocations ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getLocations(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceLocationAdaptor::GetLocationsContextPtr &context);

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

Return the current locations of the given contacts, if they are already known. If any of the given contacts' locations are not known, request their current locations, but return immediately without waiting for a reply; if a reply with a non-empty location is later received for those contacts, the LocationUpdated() signal will be emitted for them.

This method is appropriate for "lazy" location finding, for instance displaying the location (if available) of everyone in your contact list.

For backwards compatibility, if this method is called by a client whose "interest count" for this interface, as defined by ConnectionInterface::AddClientInterest() , is zero, the Connection SHOULD behave as if AddClientInterest had been called for this interface just before that method call. Clients that do not explicitly call AddClientInterest SHOULD NOT call ConnectionInterface::RemoveClientInterest() either.

Parameters
contacts
The contacts whose locations should be returned or signalled.
Returns
The contacts&apos; locations, if already known. Contacts whose 
locations are not already known are omitted from the mapping; 
contacts known to have no location information appear in the 
mapping with an empty Location dictionary.
QVariantMap Tp::Service::ConnectionInterfaceLocationAdaptor::RequestLocation ( uint  contact,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestLocation(uint contact, const Tp::Service::ConnectionInterfaceLocationAdaptor::RequestLocationContextPtr &context);

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

Return the current location of the given contact. If necessary, make a request to the server for up-to-date information, and wait for a reply. This method is appropriate for use in a "Contact Information..." dialog; it can be used to show progress information (while waiting for the method to return), and can distinguish between various error conditions.

Parameters
contact
The contact whose location should be returned.
Returns
The contact&apos;s location. It MAY be empty, indicating that no 
location information was found.
void Tp::Service::ConnectionInterfaceLocationAdaptor::SetLocation ( const QVariantMap &  location,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setLocation(const QVariantMap& location, const Tp::Service::ConnectionInterfaceLocationAdaptor::SetLocationContextPtr &context);

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

Set the local user's own location.

Parameters
location
The location to advertise. If the user wants to obscure their exact 
location by reducing the precision or accuracy, clients MUST do 
this themselves, rather than relying on the connection manager to 
do so. Clients that interact with more than one connection SHOULD 
advertise the same reduced-accuracy location to all of them, so 
that contacts cannot obtain an undesirably accurate location by 
assuming that random errors have been added and averaging the 
locations advertised on multiple connections.
void Tp::Service::ConnectionInterfaceLocationAdaptor::LocationUpdated ( uint  contact,
const QVariantMap &  location 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void locationUpdated(uint contact, const QVariantMap& location);

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

Parameters
contact
The contact
location
The contact&apos;s location, or empty to indicate that nothing is 
known about the contact&apos;s location.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01233.html0000644000175000017500000002442312727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallStreamInterface Member List

This is the complete list of members for Tp::Client::CallStreamInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallStreamInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamInterface
CallStreamInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamInterface
CallStreamInterface(Tp::DBusProxy *proxy)Tp::Client::CallStreamInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallStreamInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
LocalSendingStateChanged(uint state, const Tp::CallStateReason &reason)Tp::Client::CallStreamInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
RemoteMembersChanged(const Tp::ContactSendingStateMap &updates, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)Tp::Client::CallStreamInterfacesignal
requestAllProperties() const Tp::Client::CallStreamInterfaceinline
requestPropertyCanRequestReceiving() const Tp::Client::CallStreamInterfaceinline
requestPropertyInterfaces() const Tp::Client::CallStreamInterfaceinline
requestPropertyLocalSendingState() const Tp::Client::CallStreamInterfaceinline
requestPropertyRemoteMemberIdentifiers() const Tp::Client::CallStreamInterfaceinline
requestPropertyRemoteMembers() const Tp::Client::CallStreamInterfaceinline
RequestReceiving(uint contact, bool receive, int timeout=-1)Tp::Client::CallStreamInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetSending(bool send, int timeout=-1)Tp::Client::CallStreamInterfaceinlineslot
staticInterfaceName()Tp::Client::CallStreamInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00017.html0000644000175000017500000000762512727270137021003 0ustar00kaffeinekaffeine00000000000000 protocols/cm-wrapper.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/cm-wrapper.h
#ifndef _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#define _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include <QObject>
#include <QString>
using namespace Tp;
namespace Tp
{
}
class CMWrapper : public QObject
{
Q_OBJECT
public:
CMWrapper(const QString &cmName, QObject *parent = 0);
~CMWrapper();
ConnectionManagerPtr cm() const;
Q_SIGNALS:
void finished();
private Q_SLOTS:
void onCMReady(Tp::PendingOperation *op);
private:
ConnectionManagerPtr mCM;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_k.html0000644000175000017500000000403312727270137022503 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- k -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00331.html0000644000175000017500000030573712727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::FileTransferChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The FileTransferChannel class represents a Telepathy channel of type FileTransfer. More...

#include <TelepathyQt/FileTransferChannel>

Inherits Tp::Channel.

Inherited by Tp::IncomingFileTransferChannel, and Tp::OutgoingFileTransferChannel.

Signals

void stateChanged (Tp::FileTransferState state, Tp::FileTransferStateChangeReason reason)
 
void initialOffsetDefined (qulonglong initialOffset)
 
void transferredBytesChanged (qulonglong count)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~FileTransferChannel ()
 
FileTransferState state () const
 
FileTransferStateChangeReason stateReason () const
 
QString fileName () const
 
QString contentType () const
 
qulonglong size () const
 
QString uri () const
 
FileHashType contentHashType () const
 
QString contentHash () const
 
QString description () const
 
QDateTime lastModificationTime () const
 
qulonglong initialOffset () const
 
qulonglong transferredBytes () const
 
PendingOperationcancel ()
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static FileTransferChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Slots

void onUriDefined (const QString &uri)
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Protected Member Functions

 FileTransferChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=FileTransferChannel::FeatureCore)
 
SupportedSocketMap availableSocketTypes () const
 
virtual void connectToHost ()
 
bool isConnected () const
 
void setConnected ()
 
bool isFinished () const
 
virtual void setFinished ()
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 

Detailed Description

The FileTransferChannel class represents a Telepathy channel of type FileTransfer.

For more specialized file transfer classes, please refer to OutgoingFileTransferChannel and IncomingFileTransferChannel.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::FileTransferChannel::~FileTransferChannel ( )
virtual

Class destructor.

Tp::FileTransferChannel::FileTransferChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = FileTransferChannel::FeatureCore 
)
protected

Construct a new FileTransferChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on FileTransferChannel::FeatureCore.

Member Function Documentation

FileTransferChannelPtr Tp::FileTransferChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new FileTransferChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A FileTransferChannelPtr object pointing to the newly created FileTransferChannel object.
FileTransferState Tp::FileTransferChannel::state ( ) const

Return the state of the file transfer as described by FileTransferState.

Change notification is via the stateChanged() signal.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The state as FileTransferState.
See also
stateReason()
FileTransferStateChangeReason Tp::FileTransferChannel::stateReason ( ) const

Return the reason for the state change as described by the FileTransferStateChangeReason.

Change notification is via the stateChanged() signal.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The state reason as FileTransferStateChangeReason.
See also
state()
QString Tp::FileTransferChannel::fileName ( ) const

Return the name of the file on the sender's side. This is given as a suggested filename for the receiver.

This property should be the basename of the file being sent. For example, if the sender sends the file /home/user/monkey.pdf then this property should be set to monkey.pdf.

This property cannot change once the channel has been created.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The suggested filename for the receiver.
QString Tp::FileTransferChannel::contentType ( ) const

Return the file's MIME type.

This property cannot change once the channel has been created.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The file's MIME type.
qulonglong Tp::FileTransferChannel::size ( ) const

Return the size of the file.

Note that the size is not guaranteed to be exactly right for incoming files. This is merely a hint and should not be used to know when the transfer finished.

For unknown sizes the return value can be UINT64_MAX.

This property cannot change once the channel has been created.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The file size.
QString Tp::FileTransferChannel::uri ( ) const

Return the URI of the file.

On outgoing file transfers, this property cannot change after the channel is requested. For incoming file transfers, this property may be set by the channel handler before calling AcceptFile to inform observers where the incoming file will be saved. When the URI property is set, the signal IncomingFileTransferChannel::uriDefined() is emitted.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The file uri.
See also
IncomingFileTransferChannel::uriDefined()
FileHashType Tp::FileTransferChannel::contentHashType ( ) const

Return the type of the contentHash().

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The content hash type as FileHashType.
See also
contentHash()
QString Tp::FileTransferChannel::contentHash ( ) const

Return the hash of the contents of the file transfer, of type described in the value of the contentHashType().

Its value MUST correspond to the appropriate type of the contentHashType(). If the contentHashType() is set to FileHashTypeNone, then the returned value is an empty string.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The hash of the contents.
See also
contentHashType()
QString Tp::FileTransferChannel::description ( ) const

Return the description of the file transfer.

This property cannot change once the channel has been created.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The description.
QDateTime Tp::FileTransferChannel::lastModificationTime ( ) const

Return the last modification time of the file being transferred. This cannot change once the channel has been created.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The file modification time as QDateTime.
qulonglong Tp::FileTransferChannel::initialOffset ( ) const

Return the offset in bytes from which the file will be sent.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The offset in bytes.
See also
initialOffsetDefined()
qulonglong Tp::FileTransferChannel::transferredBytes ( ) const

Return the number of bytes that have been transferred.

Change notification is via the transferredBytesChanged() signal.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The number of bytes.
See also
transferredBytesChanged()
PendingOperation * Tp::FileTransferChannel::cancel ( )

Cancel a file transfer.

Returns
A PendingOperation object which will emit PendingOperation::finished when the call has finished.
void Tp::FileTransferChannel::stateChanged ( Tp::FileTransferState  state,
Tp::FileTransferStateChangeReason  reason 
)
signal

Emitted when the value of state() changes.

Parameters
stateThe new state of this file transfer channel.
reasonThe reason for the change of state.
See also
state()
void Tp::FileTransferChannel::initialOffsetDefined ( qulonglong  initialOffset)
signal

Emitted when the initial offset for the file transfer is defined.

Parameters
initialOffsetThe new initial offset for the file transfer.
See also
initialOffset()
void Tp::FileTransferChannel::transferredBytesChanged ( qulonglong  count)
signal

Emitted when the value of transferredBytes() changes.

Parameters
countThe new number of bytes transferred.
See also
transferredBytes()
SupportedSocketMap Tp::FileTransferChannel::availableSocketTypes ( ) const
protected

Return a mapping from address types (members of SocketAddressType) to arrays of access-control type (members of SocketAccessControl) that the CM supports for sockets with that address type.

For simplicity, if a CM supports offering a particular type of file transfer, it is assumed to support accepting it. All CMs support at least SocketAddressTypeIPv4.

This method requires FileTransferChannel::FeatureCore to be ready.

Returns
The available socket types as a map from address types to arrays of access-control type.
void Tp::FileTransferChannel::connectToHost ( )
protectedvirtual

Protected virtual method called when the state becomes FileTransferStateOpen.

Specialized classes should reimplement this method and call setConnected() when the connection is established.

See also
setConnected()
bool Tp::FileTransferChannel::isConnected ( ) const
protected

Return whether a connection has been established.

Returns
true if the connections has been established, false otherwise.
See also
setConnected()
void Tp::FileTransferChannel::setConnected ( )
protected

Indicate whether a connection has been established.

Specialized classes that reimplement connectToHost() must call this method once the connection has been established or setFinished() if an error occurred.

See also
isConnected(), connectToHost(), setFinished()
bool Tp::FileTransferChannel::isFinished ( ) const
protected

Return whether sending/receiving has finished.

Returns
true if sending/receiving has finished, false otherwise.
void Tp::FileTransferChannel::setFinished ( )
protectedvirtual

Protected virtual method called when an error occurred and the transfer should finish.

Specialized classes should reimplement this method and close the IO devices and do all the needed cleanup.

Note that for specialized classes that reimplement connectToHost() and set isConnected() to true, the state will not change to FileTransferStateCompleted once the state change is received.

When finished sending/receiving the specialized class MUST call this method and then the state will change to the latest pending state.

void Tp::FileTransferChannel::onUriDefined ( const QString &  uri)
protectedslot

Member Data Documentation

const Feature Tp::FileTransferChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the FileTransferChannel object usable.

Note that this feature must be enabled in order to use most FileTransferChannel methods. See specific methods documentation for more details.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00086.html0000644000175000017500000005762712727270137021020 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelSMSInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Interface.SMS. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< void, const Tp::MessagePartList &, DBusError * > GetSMSLengthCallback
 

Signals

void smsChannelChanged (bool smsChannel)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseChannelSMSInterface ()
 
QVariantMap immutableProperties () const
 
void setGetSMSLengthCallback (const GetSMSLengthCallback &cb)
 
bool flash () const
 
bool smsChannel () const
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelSMSInterfacePtr create (bool flash, bool smsChannel)
 
template<typename BaseChannelSMSInterfaceSubclass >
static SharedPtr< BaseChannelSMSInterfaceSubclass > create (bool flash, bool smsChannel)
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.SMS.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelSMSInterface::~BaseChannelSMSInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelSMSInterfacePtr Tp::BaseChannelSMSInterface::create ( bool  flash,
bool  smsChannel 
)
inlinestatic
template<typename BaseChannelSMSInterfaceSubclass >
static SharedPtr<BaseChannelSMSInterfaceSubclass> Tp::BaseChannelSMSInterface::create ( bool  flash,
bool  smsChannel 
)
inlinestatic
QVariantMap Tp::BaseChannelSMSInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseChannelSMSInterface::setGetSMSLengthCallback ( const GetSMSLengthCallback cb)
bool Tp::BaseChannelSMSInterface::flash ( ) const
bool Tp::BaseChannelSMSInterface::smsChannel ( ) const
void Tp::BaseChannelSMSInterface::smsChannelChanged ( bool  smsChannel)
signal


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01047.html0000644000175000017500000001307312727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller0< Functor, R > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01361.html0000644000175000017500000001261012727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactInfoAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactInfoAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
ContactInfoChanged(uint contact, const Tp::ContactInfoFieldList &contactInfo)Tp::Service::ConnectionInterfaceContactInfoAdaptorsignal
ContactInfoFlags() const Tp::Service::ConnectionInterfaceContactInfoAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetContactInfo(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactInfoAdaptorslot
RefreshContactInfo(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactInfoAdaptorslot
RequestContactInfo(uint contact, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactInfoAdaptorslot
SetContactInfo(const Tp::ContactInfoFieldList &contactInfo, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactInfoAdaptorslot
SupportedFields() const Tp::Service::ConnectionInterfaceContactInfoAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00145.html0000644000175000017500000001364712727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::CaptchaAnswers Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Inherits QMap< uint, QString >.

Public Member Functions

 CaptchaAnswers ()
 
 CaptchaAnswers (const QMap< uint, QString > &a)
 
CaptchaAnswersoperator= (const QMap< uint, QString > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, QString>, but needed to have a discrete type in the Qt type system.

A mapping of captcha IDs to answer strings.

Constructor & Destructor Documentation

Tp::CaptchaAnswers::CaptchaAnswers ( )
inline
Tp::CaptchaAnswers::CaptchaAnswers ( const QMap< uint, QString > &  a)
inline

Member Function Documentation

CaptchaAnswers& Tp::CaptchaAnswers::operator= ( const QMap< uint, QString > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01106.html0000644000175000017500000012044412727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::OutgoingStreamTubeChannel Member List

This is the complete list of members for Tp::OutgoingStreamTubeChannel, including all inherited members.

accessControl() const Tp::StreamTubeChannelprotected
actualFeatures() const Tp::ReadyObjectvirtual
addConnection(uint connection)Tp::StreamTubeChannelprotected
addressType() const Tp::StreamTubeChannel
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
connectionClosed(uint connectionId, const QString &errorName, const QString &errorMessage)Tp::StreamTubeChannelsignal
connections() const Tp::StreamTubeChannel
connectionsForCredentials() const Tp::OutgoingStreamTubeChannel
connectionsForSourceAddresses() const Tp::OutgoingStreamTubeChannel
contactsForConnections() const Tp::OutgoingStreamTubeChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::OutgoingStreamTubeChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureConnectionMonitoringTp::StreamTubeChannelstatic
FeatureCoreTp::OutgoingStreamTubeChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
immutableProperties() const Tp::Channel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
ipAddress() const Tp::StreamTubeChannel
isConference() const Tp::Channel
isDroppingConnections() const Tp::StreamTubeChannelprotected
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
localAddress() const Tp::StreamTubeChannel
missingFeatures() const Tp::ReadyObjectvirtual
newConnection(uint connectionId)Tp::StreamTubeChannelsignal
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
offerTcpSocket(const QHostAddress &address, quint16 port, const QVariantMap &parameters=QVariantMap())Tp::OutgoingStreamTubeChannel
offerTcpSocket(const QTcpServer *server, const QVariantMap &parameters=QVariantMap())Tp::OutgoingStreamTubeChannel
offerUnixSocket(const QString &socketAddress, const QVariantMap &parameters=QVariantMap(), bool requireCredentials=false)Tp::OutgoingStreamTubeChannel
offerUnixSocket(const QLocalServer *server, const QVariantMap &parameters=QVariantMap(), bool requireCredentials=false)Tp::OutgoingStreamTubeChannel
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
OutgoingStreamTubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=OutgoingStreamTubeChannel::FeatureCore)Tp::OutgoingStreamTubeChannelprotected
parameters() const Tp::TubeChannel
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
removeConnection(uint connection, const QString &error, const QString &message)Tp::StreamTubeChannelprotected
requestClose()Tp::Channel
requestedFeatures() const Tp::ReadyObjectvirtual
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
service() const Tp::StreamTubeChannel
setAccessControl(SocketAccessControl accessControl)Tp::StreamTubeChannelprotected
setAddressType(SocketAddressType type)Tp::StreamTubeChannelprotected
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
setIpAddress(const QPair< QHostAddress, quint16 > &address)Tp::StreamTubeChannelprotected
setLocalAddress(const QString &address)Tp::StreamTubeChannelprotected
setParameters(const QVariantMap &parameters)Tp::TubeChannelprotected
state() const Tp::TubeChannel
stateChanged(Tp::TubeChannelState state)Tp::TubeChannelsignal
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
StreamTubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=StreamTubeChannel::FeatureCore)Tp::StreamTubeChannelprotected
supportsAbstractUnixSocketsOnLocalhost() const Tp::StreamTubeChannel
supportsAbstractUnixSocketsWithCredentials() const Tp::StreamTubeChannel
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
supportsIPv4SocketsOnLocalhost() const Tp::StreamTubeChannel
supportsIPv4SocketsWithSpecifiedAddress() const Tp::StreamTubeChannel
supportsIPv6SocketsOnLocalhost() const Tp::StreamTubeChannel
supportsIPv6SocketsWithSpecifiedAddress() const Tp::StreamTubeChannel
supportsUnixSocketsOnLocalhost() const Tp::StreamTubeChannel
supportsUnixSocketsWithCredentials() const Tp::StreamTubeChannel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
TubeChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)Tp::TubeChannelprotected
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~OutgoingStreamTubeChannel()Tp::OutgoingStreamTubeChannelvirtual
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual
~StreamTubeChannel()Tp::StreamTubeChannelvirtual
~TubeChannel()Tp::TubeChannelvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00598_source.html0000644000175000017500000010227112727270137022372 0ustar00kaffeinekaffeine00000000000000 cli-call-content-media-description-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-call-content-media-description-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/call-content-media-description.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 CallContentMediaDescriptionInterface::CallContentMediaDescriptionInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 CallContentMediaDescriptionInterface::CallContentMediaDescriptionInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27 
28  Tp::AbstractInterface::invalidate(proxy, error, message);
29 }
30 
32  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
33 {
34 }
35 
36 CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface::CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
37  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
38 {
39 }
40 
43 {
44 }
45 
47  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
48 {
49 }
50 
52  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
53 {
54 }
55 
57  const QString &error, const QString &message)
58 {
59 
60  Tp::AbstractInterface::invalidate(proxy, error, message);
61 }
62 
64  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
65 {
66 }
67 
68 CallContentMediaDescriptionInterfaceRTCPFeedbackInterface::CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
69  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
70 {
71 }
72 
75 {
76 }
77 
79  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
80 {
81 }
82 
84  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
85 {
86 }
87 
89  const QString &error, const QString &message)
90 {
91 
92  Tp::AbstractInterface::invalidate(proxy, error, message);
93 }
94 
96  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
97 {
98 }
99 
100 CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface::CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
101  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
102 {
103 }
104 
107 {
108 }
109 
111  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
112 {
113 }
114 
116  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
117 {
118 }
119 
121  const QString &error, const QString &message)
122 {
123 
124  Tp::AbstractInterface::invalidate(proxy, error, message);
125 }
126 }
127 }
CallContentMediaDescriptionInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-media-description-body.hpp:9
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-media-description-body.hpp:31
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:341
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-media-description-body.hpp:88
Definition: cli-call-content-media-description.h:44
CallContentMediaDescriptionInterfaceRTCPFeedbackInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-media-description-body.hpp:63
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-media-description-body.hpp:24
CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-call-content-media-description-body.hpp:95
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-media-description-body.hpp:120
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-call-content-media-description-body.hpp:56
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:55
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:547
Definition: abstract-adaptor.cpp:31
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:668
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00960.html0000644000175000017500000001233112727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback2< R, Arg1, Arg2 > Member List

This is the complete list of members for Tp::Callback2< R, Arg1, Arg2 >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback2()Tp::Callback2< R, Arg1, Arg2 >inline
Callback2(const Functor &functor)Tp::Callback2< R, Arg1, Arg2 >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback2< R, Arg1, Arg2 >
isValid() const Tp::BaseCallbackinline
operator()(Arg1 a1, Arg2 a2) const Tp::Callback2< R, Arg1, Arg2 >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback2< R, Arg1, Arg2 >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00204.html0000644000175000017500000007345712727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelInterfaceTubeInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Signals

void TubeChannelStateChanged (uint state)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelInterfaceTubeInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceTubeInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelInterfaceTubeInterface (Tp::DBusProxy *proxy)
 
 ChannelInterfaceTubeInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelInterfaceTubeInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyParameters () const
 
Tp::PendingVariantrequestPropertyState () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

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

Constructor & Destructor Documentation

Tp::Client::ChannelInterfaceTubeInterface::ChannelInterfaceTubeInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelInterfaceTubeInterface 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.
Tp::Client::ChannelInterfaceTubeInterface::ChannelInterfaceTubeInterface ( Tp::DBusProxy proxy)

Creates a ChannelInterfaceTubeInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelInterfaceTubeInterface::ChannelInterfaceTubeInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelInterfaceTubeInterface 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 Tp::Client::ChannelInterfaceTubeInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Interface.Tube", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelInterfaceTubeInterface::requestPropertyParameters ( ) const
inline

Asynchronous getter for the remote object property Parameters of type QVariantMap.

Each tube has a dictionary of arbitrary parameters. Parameters are commonly used to bootstrap legacy protocols where you can't negotiate parameters in-band. The allowable keys, types and values are defined by the service, but connection managers must support the value being a string (D-Bus type 's'), array of bytes (D-Bus type 'ay'), unsigned integer (D-Bus type 'u'), integer (D-Bus type 'i') and boolean (D-Bus type 'b').

When the tube is offered, the parameters are transmitted with the offer and appear as a property of the incoming tube for other participants.

For example, a stream tube for ChannelTypeStreamTubeInterface::Service "smb" (Server Message Block over TCP/IP) might use the following properties, as defined in DNS SRV (RFC 2782) Service Types:

{ 'u': 'some-username',
  'p': 'top-secret-password',
  'path': '/etc/passwd',
}

When requesting a tube with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST NOT be included in the request; instead, it is set when ChannelTypeStreamTubeInterface::Offer() or ChannelTypeDBusTubeInterface::Offer() (as appropriate) is called. Its value is undefined until the tube is offered; once set, its value MUST NOT change.

When receiving an incoming tube, this property is immutable and so advertised in the ConnectionInterfaceRequestsInterface::NewChannels() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelInterfaceTubeInterface::requestPropertyState ( ) const
inline

Asynchronous getter for the remote object property State of type uint.

State of the tube in this channel.

When requesting a tube with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST NOT be included in the request.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelInterfaceTubeInterface::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.
void Tp::Client::ChannelInterfaceTubeInterface::TubeChannelStateChanged ( uint  state)
signal

Represents the signal TubeChannelStateChanged on the remote object.

Emitted when the state of the tube channel changes. Valid state transitions are documented with Tube_Channel_State.

Parameters
state
The new state of the tube.
void Tp::Client::ChannelInterfaceTubeInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01175.html0000644000175000017500000000462312727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ServicePointInfo Member List

This is the complete list of members for Tp::ServicePointInfo, including all inherited members.

serviceIDsTp::ServicePointInfo
servicePointTp::ServicePointInfo


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00594_source.html0000644000175000017500000002466612727270137022401 0ustar00kaffeinekaffeine00000000000000 cli-account-manager-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
cli-account-manager-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/account-manager.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 AccountManagerInterface::AccountManagerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 AccountManagerInterface::AccountManagerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  const QString &error, const QString &message)
26 {
27  disconnect(this, SIGNAL(AccountRemoved(const QDBusObjectPath&)), NULL, NULL);
28  disconnect(this, SIGNAL(AccountValidityChanged(const QDBusObjectPath&, bool)), NULL, NULL);
29 
30  Tp::AbstractInterface::invalidate(proxy, error, message);
31 }
32 }
33 }
void AccountValidityChanged(const QDBusObjectPath &account, bool valid)
AccountManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-account-manager-body.hpp:9
void AccountRemoved(const QDBusObjectPath &account)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
static QLatin1String staticInterfaceName()
Definition: cli-account-manager.h:55
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-account-manager-body.hpp:24


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00519.html0000644000175000017500000001475112727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::TubeInfo Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

uint identifier
 
uint initiator
 
uint type
 
QString service
 
QVariantMap parameters
 
uint state
 

Detailed Description

Structure type generated from the specification.

A struct (tube ID, initiator handle, tube type, service name, parameters, state) representing a tube, as returned by ListTubes on the Tubes channel type.

Member Data Documentation

uint Tp::TubeInfo::identifier
uint Tp::TubeInfo::initiator
uint Tp::TubeInfo::type
QString Tp::TubeInfo::service
QVariantMap Tp::TubeInfo::parameters
uint Tp::TubeInfo::state


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00273.html0000644000175000017500000012217212727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceLocationInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::ContactLocationsGetLocations (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< QVariantMap > RequestLocation (uint contact, int timeout=-1)
 
QDBusPendingReply SetLocation (const QVariantMap &location, int timeout=-1)
 

Signals

void LocationUpdated (uint contact, const QVariantMap &location)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceLocationInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceLocationInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceLocationInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceLocationInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceLocationInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyLocationAccessControlTypes () const
 
Tp::PendingVariantrequestPropertyLocationAccessControl () const
 
Tp::PendingOperationsetPropertyLocationAccessControl (Tp::RichPresenceAccessControl newValue)
 
Tp::PendingVariantrequestPropertySupportedLocationFeatures () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Location".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceLocationInterface 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.
Tp::Client::ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceLocationInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceLocationInterface 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.
Tp::Client::ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceLocationInterface 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 Tp::Client::ConnectionInterfaceLocationInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Location", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceLocationInterface::requestPropertyLocationAccessControlTypes ( ) const
inline

Asynchronous getter for the remote object property LocationAccessControlTypes of type Tp::UIntList.

The types of access control that are supported by this connection.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceLocationInterface::requestPropertyLocationAccessControl ( ) const
inline

Asynchronous getter for the remote object property LocationAccessControl of type Tp::RichPresenceAccessControl.

The current access control mechanism and settings for this connection. Before publishing location for the first time, if this has not been set by a client, implementations SHOULD set it to be as restrictive as possible (an empty whitelist, if supported).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingOperation* Tp::Client::ConnectionInterfaceLocationInterface::setPropertyLocationAccessControl ( Tp::RichPresenceAccessControl  newValue)
inline

Asynchronous setter for the remote object property LocationAccessControl of type Tp::RichPresenceAccessControl.

The current access control mechanism and settings for this connection. Before publishing location for the first time, if this has not been set by a client, implementations SHOULD set it to be as restrictive as possible (an empty whitelist, if supported).

Returns
A pending operation which will emit finished when the property has been set.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceLocationInterface::requestPropertySupportedLocationFeatures ( ) const
inline

Asynchronous getter for the remote object property SupportedLocationFeatures of type uint.

Indicates the Location features supported by this connection. This property MAY be undefined before ConnectionInterface::Status becomes Connected, but MUST remain constant thereafter.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceLocationInterface::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<Tp::ContactLocations> Tp::Client::ConnectionInterfaceLocationInterface::GetLocations ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Return the current locations of the given contacts, if they are already known. If any of the given contacts' locations are not known, request their current locations, but return immediately without waiting for a reply; if a reply with a non-empty location is later received for those contacts, the LocationUpdated() signal will be emitted for them.

This method is appropriate for "lazy" location finding, for instance displaying the location (if available) of everyone in your contact list.

For backwards compatibility, if this method is called by a client whose "interest count" for this interface, as defined by ConnectionInterface::AddClientInterest() , is zero, the Connection SHOULD behave as if AddClientInterest had been called for this interface just before that method call. Clients that do not explicitly call AddClientInterest SHOULD NOT call ConnectionInterface::RemoveClientInterest() either.

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

Parameters
contacts
The contacts whose locations should be returned or signalled.
timeoutThe timeout in milliseconds.
Returns
The contacts&apos; locations, if already known. Contacts whose 
locations are not already known are omitted from the mapping; 
contacts known to have no location information appear in the 
mapping with an empty Location dictionary.
QDBusPendingReply<QVariantMap> Tp::Client::ConnectionInterfaceLocationInterface::RequestLocation ( uint  contact,
int  timeout = -1 
)
inlineslot

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

Return the current location of the given contact. If necessary, make a request to the server for up-to-date information, and wait for a reply. This method is appropriate for use in a "Contact Information..." dialog; it can be used to show progress information (while waiting for the method to return), and can distinguish between various error conditions.

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

Parameters
contact
The contact whose location should be returned.
timeoutThe timeout in milliseconds.
Returns
The contact&apos;s location. It MAY be empty, indicating that no 
location information was found.
QDBusPendingReply Tp::Client::ConnectionInterfaceLocationInterface::SetLocation ( const QVariantMap &  location,
int  timeout = -1 
)
inlineslot

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

Set the local user's own location.

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

Parameters
location
The location to advertise. If the user wants to obscure their exact 
location by reducing the precision or accuracy, clients MUST do 
this themselves, rather than relying on the connection manager to 
do so. Clients that interact with more than one connection SHOULD 
advertise the same reduced-accuracy location to all of them, so 
that contacts cannot obtain an undesirably accurate location by 
assuming that random errors have been added and averaging the 
locations advertised on multiple connections.
timeoutThe timeout in milliseconds.
void Tp::Client::ConnectionInterfaceLocationInterface::LocationUpdated ( uint  contact,
const QVariantMap &  location 
)
signal

Represents the signal LocationUpdated on the remote object.

Emitted when a contact's location changes or becomes known.

Parameters
contact
The contact
location
The contact&apos;s location, or empty to indicate that nothing is 
known about the contact&apos;s location.
void Tp::Client::ConnectionInterfaceLocationInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01234.html0000644000175000017500000004215712727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::CallStreamInterfaceMediaInterface Member List

This is the complete list of members for Tp::Client::CallStreamInterfaceMediaInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AddCandidates(const Tp::CandidateList &candidates, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
CallStreamInterfaceMediaInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamInterfaceMediaInterface
CallStreamInterfaceMediaInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::CallStreamInterfaceMediaInterface
CallStreamInterfaceMediaInterface(Tp::DBusProxy *proxy)Tp::Client::CallStreamInterfaceMediaInterface
CallStreamInterfaceMediaInterface(const Tp::Client::CallStreamInterface &mainInterface)Tp::Client::CallStreamInterfaceMediaInterfaceexplicit
CallStreamInterfaceMediaInterface(const Tp::Client::CallStreamInterface &mainInterface, QObject *parent)Tp::Client::CallStreamInterfaceMediaInterface
CompleteReceivingStateChange(uint state, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
CompleteSendingStateChange(uint state, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
EndpointsChanged(const Tp::ObjectPathList &endpointsAdded, const Tp::ObjectPathList &endpointsRemoved)Tp::Client::CallStreamInterfaceMediaInterfacesignal
Fail(const Tp::CallStateReason &reason, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
FinishInitialCandidates(int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
ICERestartRequested()Tp::Client::CallStreamInterfaceMediaInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::CallStreamInterfaceMediaInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
LocalCandidatesAdded(const Tp::CandidateList &candidates)Tp::Client::CallStreamInterfaceMediaInterfacesignal
LocalCredentialsChanged(const QString &username, const QString &password)Tp::Client::CallStreamInterfaceMediaInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
ReceivingStateChanged(uint state)Tp::Client::CallStreamInterfaceMediaInterfacesignal
RelayInfoChanged(const Tp::StringVariantMapList &relayInfo)Tp::Client::CallStreamInterfaceMediaInterfacesignal
ReportReceivingFailure(uint reason, const QString &error, const QString &message, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
ReportSendingFailure(uint reason, const QString &error, const QString &message, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
requestAllProperties() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyEndpoints() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyHasServerInfo() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyICERestartPending() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyLocalCandidates() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyLocalCredentials() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyReceivingState() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyRelayInfo() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertySendingState() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertySTUNServers() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
requestPropertyTransport() const Tp::Client::CallStreamInterfaceMediaInterfaceinline
SendingStateChanged(uint state)Tp::Client::CallStreamInterfaceMediaInterfacesignal
ServerInfoRetrieved()Tp::Client::CallStreamInterfaceMediaInterfacesignal
SetCredentials(const QString &username, const QString &password, int timeout=-1)Tp::Client::CallStreamInterfaceMediaInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::CallStreamInterfaceMediaInterfaceinlinestatic
STUNServersChanged(const Tp::SocketAddressIPList &servers)Tp::Client::CallStreamInterfaceMediaInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00018.html0000644000175000017500000001200712727270137020772 0ustar00kaffeinekaffeine00000000000000 protocols/protocols.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/protocols.cpp
#include "protocols.h"
#include "_gen/protocols.moc.hpp"
#include <TelepathyQt/Debug>
#include <TelepathyQt/ConnectionManager>
#include <TelepathyQt/PendingStringList>
#include <QCoreApplication>
#include <QDebug>
Protocols::Protocols()
: cmWrappersFinished(0)
{
qDebug() << "Listing names";
SIGNAL(finished(Tp::PendingOperation *)),
SLOT(onListNamesFinished(Tp::PendingOperation *)));
}
Protocols::~Protocols()
{
}
void Protocols::onListNamesFinished(PendingOperation *op)
{
if (op->isError()) {
qWarning() << "Error listing connection manager names -" <<
op->errorName() << ": " << op->errorMessage();
return;
}
PendingStringList *ps = qobject_cast<PendingStringList *>(op);
qDebug() << "Supported CMs:" << ps->result();
foreach (const QString &cmName, ps->result()) {
CMWrapper *cmWrapper = new CMWrapper(cmName, this);
mCMWrappers.append(cmWrapper);
connect(cmWrapper,
SIGNAL(finished()),
SLOT(onCMWrapperFinished()));
}
}
void Protocols::onCMWrapperFinished()
{
if (++cmWrappersFinished == mCMWrappers.size()) {
QCoreApplication::quit();
}
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_l.html0000644000175000017500000002422412727270137022510 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- l -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00332.html0000644000175000017500000011442512727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::FileTransferChannelCreationProperties Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FileTransferChannelCreationProperties Class Reference

The FileTransferChannelCreationProperties class represents the properties of a file transfer channel request. More...

#include <TelepathyQt/FileTransferChannelCreationProperties>

Public Member Functions

 FileTransferChannelCreationProperties ()
 
 FileTransferChannelCreationProperties (const QString &suggestedFileName, const QString &contentType, qulonglong size)
 
 FileTransferChannelCreationProperties (const QString &path, const QString &contentType)
 
 FileTransferChannelCreationProperties (const FileTransferChannelCreationProperties &other)
 
 ~FileTransferChannelCreationProperties ()
 
bool isValid () const
 
FileTransferChannelCreationPropertiesoperator= (const FileTransferChannelCreationProperties &other)
 
bool operator== (const FileTransferChannelCreationProperties &other) const
 
FileTransferChannelCreationPropertiessetContentHash (FileHashType contentHashType, const QString &contentHash)
 
FileTransferChannelCreationPropertiessetDescription (const QString &description)
 
FileTransferChannelCreationPropertiessetLastModificationTime (const QDateTime &lastModificationTime)
 
FileTransferChannelCreationPropertiessetUri (const QString &uri)
 
QString suggestedFileName () const
 
QString contentType () const
 
qulonglong size () const
 
bool hasContentHash () const
 
FileHashType contentHashType () const
 
QString contentHash () const
 
bool hasDescription () const
 
QString description () const
 
bool hasLastModificationTime () const
 
QDateTime lastModificationTime () const
 
bool hasUri () const
 
QString uri () const
 
QVariantMap createRequest () const
 
QVariantMap createRequest (const QString &contactIdentifier) const
 
QVariantMap createRequest (uint handle) const
 

Detailed Description

The FileTransferChannelCreationProperties class represents the properties of a file transfer channel request.

Constructor & Destructor Documentation

Tp::FileTransferChannelCreationProperties::FileTransferChannelCreationProperties ( )
Tp::FileTransferChannelCreationProperties::FileTransferChannelCreationProperties ( const QString &  suggestedFileName,
const QString &  contentType,
qulonglong  size 
)

Create a FileTransferChannelCreationProperties.

If suggestedFileName or contentType are empty or if size is equal to zero, the channel request will fail. suggestedFileName will be cleaned of any path.

Parameters
suggestedFileNameThe name of the file on the sender's side. This is therefore given as a suggested filename for the receiver.
contentTypeThe content type (MIME) of the file.
sizeThe size of the content of the file.
See also
setUri()
Tp::FileTransferChannelCreationProperties::FileTransferChannelCreationProperties ( const QString &  path,
const QString &  contentType 
)

Create a FileTransferChannelCreationProperties.

This constructor accepts the path to a local file and sets the properties that can be deducted from the file. If path is not a local file the FileTransferChannelCreationProperties will be invalid.

Parameters
pathThe path to the local file to be sent.
Tp::FileTransferChannelCreationProperties::FileTransferChannelCreationProperties ( const FileTransferChannelCreationProperties other)

Copy constructor.

Tp::FileTransferChannelCreationProperties::~FileTransferChannelCreationProperties ( )

Class destructor.

Member Function Documentation

bool Tp::FileTransferChannelCreationProperties::isValid ( ) const
inline
FileTransferChannelCreationProperties & Tp::FileTransferChannelCreationProperties::operator= ( const FileTransferChannelCreationProperties other)
bool Tp::FileTransferChannelCreationProperties::operator== ( const FileTransferChannelCreationProperties other) const
FileTransferChannelCreationProperties & Tp::FileTransferChannelCreationProperties::setContentHash ( FileHashType  contentHashType,
const QString &  contentHash 
)

Set the content hash of the file and its type for the request.

Parameters
contentHashTypeThe type of content hash.
contentHashThe hash of the file, of type contentHashType.
Returns
This FileTransferChannelCreationProperties.
See also
hasContentHash(), contentHash(), contentHashType()
FileTransferChannelCreationProperties & Tp::FileTransferChannelCreationProperties::setDescription ( const QString &  description)

Set a description of the file for the request.

Parameters
descriptionThe description of the file.
Returns
This FileTransferChannelCreationProperties.
See also
hasDescription(), description()
FileTransferChannelCreationProperties & Tp::FileTransferChannelCreationProperties::setLastModificationTime ( const QDateTime &  lastModificationTime)

Set the last modification time of the file for the request.

Parameters
lastModificationTimeThe last modification time of the file.
Returns
This FileTransferChannelCreationProperties.
See also
hasLastModificationTime(), lastModificationTime()
FileTransferChannelCreationProperties & Tp::FileTransferChannelCreationProperties::setUri ( const QString &  uri)

Set the URI of the file for the request.

Parameters
uriThe URI of the file.
Returns
This FileTransferChannelCreationProperties.
See also
uri()
QString Tp::FileTransferChannelCreationProperties::suggestedFileName ( ) const

Return the suggested file name for the request. If the suggested file name is empty, the channel request will fail.

Returns
The suggested file name for the request.
QString Tp::FileTransferChannelCreationProperties::contentType ( ) const

Return the content type (MIME) of the file for the request. If the content type is empty, the channel request will fail.

Returns
The content type of the file.
qulonglong Tp::FileTransferChannelCreationProperties::size ( ) const

Return the size of the contents of the file for the request. If size is zero, the channel request will fail.

Returns
The size of the contents of file.
bool Tp::FileTransferChannelCreationProperties::hasContentHash ( ) const

Return whether the request will have a content hash.

Returns
true whether it will have a content hash, false otherwise.
See also
contentHash(), contentHashType(), setContentHash()
FileHashType Tp::FileTransferChannelCreationProperties::contentHashType ( ) const

Return the type of the content hash for the request.

Returns
The type of the content hash.
See also
hasContentHash(), contentHash(), setContentHash()
QString Tp::FileTransferChannelCreationProperties::contentHash ( ) const

Return the content hash of the file for the request.

Returns
The hash of the contents of the file transfer, of type returned by contentHashType().
See also
hasContentHash(), contentHashType(), setContentHash()
bool Tp::FileTransferChannelCreationProperties::hasDescription ( ) const

Return whether the request will have a descriprion.

Returns
true whether it will have description, false otherwise.
See also
description(), setDescription()
QString Tp::FileTransferChannelCreationProperties::description ( ) const

Return the description of the file for the request.

Returns
The description of the file.
See also
hasDescription(), setDescription()
bool Tp::FileTransferChannelCreationProperties::hasLastModificationTime ( ) const

Return whether the request will have a last modification time.

Returns
true whether it will have a last modification time, false otherwise.
See also
lastModificationTime(), setLastModificationTime()
QDateTime Tp::FileTransferChannelCreationProperties::lastModificationTime ( ) const

Return the last modification time of the file for the request.

Returns
The last modification time of the file.
See also
hasLastModificationTime(), setLastModificationTime()
bool Tp::FileTransferChannelCreationProperties::hasUri ( ) const

Return whether the request will have an URI.

Returns
true whether it will have URI, false otherwise.
See also
uri(), setUri()
QString Tp::FileTransferChannelCreationProperties::uri ( ) const

Return the URI of the file for the request. If the URI property is empty and the file transfer is handled by an handler that is not this process, then it won't be able to initiate the file transfer.

Returns
The URI of the file.
See also
setUri()
QVariantMap Tp::FileTransferChannelCreationProperties::createRequest ( ) const
QVariantMap Tp::FileTransferChannelCreationProperties::createRequest ( const QString &  contactIdentifier) const
QVariantMap Tp::FileTransferChannelCreationProperties::createRequest ( uint  handle) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00087.html0000644000175000017500000005146212727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelSplittableInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Interface.Splittable. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback1< void, DBusError * > SplitCallback
 

Public Member Functions

virtual ~BaseChannelSplittableInterface ()
 
QVariantMap immutableProperties () const
 
void split ()
 
void setSplitCallback (const SplitCallback &cb)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelSplittableInterfacePtr create ()
 
template<typename BaseChannelSplittableInterfaceSubclass >
static SharedPtr< BaseChannelSplittableInterfaceSubclass > create ()
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.Splittable.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseChannelSplittableInterface::~BaseChannelSplittableInterface ( )
virtual

Class destructor.

Member Function Documentation

static BaseChannelSplittableInterfacePtr Tp::BaseChannelSplittableInterface::create ( )
inlinestatic
template<typename BaseChannelSplittableInterfaceSubclass >
static SharedPtr<BaseChannelSplittableInterfaceSubclass> Tp::BaseChannelSplittableInterface::create ( )
inlinestatic
QVariantMap Tp::BaseChannelSplittableInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseChannelSplittableInterface::split ( )
void Tp::BaseChannelSplittableInterface::setSplitCallback ( const SplitCallback cb)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01048.html0000644000175000017500000001320012727270137020772 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller1< Functor, R, Arg1 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01362.html0000644000175000017500000002003012727270137020770 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactListAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactListAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AuthorizePublication(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
CanChangeContactList() const Tp::Service::ConnectionInterfaceContactListAdaptor
ContactListPersists() const Tp::Service::ConnectionInterfaceContactListAdaptor
ContactListState() const Tp::Service::ConnectionInterfaceContactListAdaptor
ContactListStateChanged(uint contactListState)Tp::Service::ConnectionInterfaceContactListAdaptorsignal
ContactsChanged(const Tp::ContactSubscriptionMap &changes, const Tp::UIntList &removals)Tp::Service::ConnectionInterfaceContactListAdaptorsignal
ContactsChangedWithID(const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)Tp::Service::ConnectionInterfaceContactListAdaptorsignal
dbusConnection() const Tp::AbstractAdaptor
Download(const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
DownloadAtConnection() const Tp::Service::ConnectionInterfaceContactListAdaptor
GetContactListAttributes(const QStringList &interfaces, bool hold, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
RemoveContacts(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
RequestSubscription(const Tp::UIntList &contacts, const QString &message, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
RequestUsesMessage() const Tp::Service::ConnectionInterfaceContactListAdaptor
Unpublish(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
Unsubscribe(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactListAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00146.html0000644000175000017500000010421612727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::CaptchaAuthentication Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The CaptchaAuthentication class exposes CaptchaAuthentication's features for channels implementing it. More...

#include <TelepathyQt/CaptchaAuthentication>

Inherits Tp::Object.

Public Types

enum  ChallengeType {
  NoChallenge, OCRChallenge, AudioRecognitionChallenge, PictureQuestionChallenge,
  PictureRecognitionChallenge, TextQuestionChallenge, SpeechQuestionChallenge, SpeechRecognitionChallenge,
  VideoQuestionChallenge, VideoRecognitionChallenge, UnknownChallenge
}
 

Public Slots

Tp::PendingOperationcancel (Tp::CaptchaCancelReason reason, const QString &message=QString())
 

Signals

void statusChanged (Tp::CaptchaStatus status)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~CaptchaAuthentication ()
 
ChannelPtr channel () const
 
bool canRetry () const
 
Tp::CaptchaStatus status () const
 
QString error () const
 
Connection::ErrorDetails errorDetails () const
 
Tp::PendingCaptchasrequestCaptchas (const QStringList &preferredMimeTypes=QStringList(), ChallengeTypes preferredTypes=~ChallengeTypes(NoChallenge))
 
Tp::PendingOperationanswer (uint id, const QString &answer)
 
Tp::PendingOperationanswer (const Tp::CaptchaAnswers &response)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

The CaptchaAuthentication class exposes CaptchaAuthentication's features for channels implementing it.

A ServerAuthentication channel can implement a CaptchaAuthentication interface: this class exposes all the features this interface provides in a high-level fashion. It is a mechanism for retrieving a captcha challenge from a connection manager and answering it.

This class is meant to be used just during authentication phase. It is useful just for platform-level handlers which are meant to handle authentication - if you are implementing a client which is meant to live in a Telepathy-aware platform, you probably won't need to handle this unless you have very special needs.

Note that CaptchaAuthentication cannot be instantiated directly, instead the accessor method from ServerAuthenticationChannel (ServerAuthenticationChannel::captchaAuthentication) should be used.

See Asynchronous Object Model, Shared Pointer Usage

Member Enumeration Documentation

Enumerator
NoChallenge 
OCRChallenge 
AudioRecognitionChallenge 
PictureQuestionChallenge 
PictureRecognitionChallenge 
TextQuestionChallenge 
SpeechQuestionChallenge 
SpeechRecognitionChallenge 
VideoQuestionChallenge 
VideoRecognitionChallenge 
UnknownChallenge 

Constructor & Destructor Documentation

Tp::CaptchaAuthentication::~CaptchaAuthentication ( )
virtual

Class destructor.

Member Function Documentation

Tp::ChannelPtr Tp::CaptchaAuthentication::channel ( ) const

Return the channel associated with this captcha.

CaptchaAuthentication is just a representation of an interface which can be implemented by a ServerAuthentication channel. This function will return the channel implementing the interface represented by this instance.

Note that it is currently guaranteed the ChannelPtr returned by this function will be a ServerAuthenticationChannel.

Returns
The channel implementing the CaptchaAuthentication interface represented by this instance.
bool Tp::CaptchaAuthentication::canRetry ( ) const

Return whether this channel supports updating its captchas or not.

Some protocols allow their captchas to be reloaded providing new data to the user; for example, in case the image provided is not easily readable. This function checks if this instance supports such a feature.

Note that in case this function returns true, requestCaptchas can be called safely after a failed answer attempt.

Returns
true if a new captcha can be fetched from this channel, false otherwise.
Tp::CaptchaStatus Tp::CaptchaAuthentication::status ( ) const

Return the current status of the captcha.

Returns
The current status of the captcha.
QString Tp::CaptchaAuthentication::error ( ) const

Return the code of the last error happened on the interface.

Returns
An error code describing the last error occurred.
See also
errorDetails
Connection::ErrorDetails Tp::CaptchaAuthentication::errorDetails ( ) const

Return the details of the last error happened on the interface.

Returns
Further details describing the last error occurred.
See also
error
PendingCaptchas * Tp::CaptchaAuthentication::requestCaptchas ( const QStringList &  preferredMimeTypes = QStringList(),
ChallengeTypes  preferredTypes = ~ChallengeTypes(NoChallenge) 
)

Request captcha challenges from the connection manager.

Even if most protocols usually provide a single captcha challenge (OCR), for a variety of reasons some of them could provide a number of different challenge types, requiring one or more of them to be answered.

This method initiates a request to the connection manager for obtaining the most compatible captcha challenges available. It allows to supply a number of supported mimetypes and types, so that the request will fail if the CM is unable to provide a challenge compatible with what the handler supports, or will provide the best one available otherwise.

Please note that all the challenges returned by this request must be answered in order for the authentication to succeed.

Note that if the CM supports retrying the captcha, this function can also be used to load a new set of captchas. In general, if canRetry returns true, one can expect this function to always return a different set of challenges which invalidates any other obtained previously.

Parameters
preferredMimeTypesA list of mimetypes supported by the handler, or an empty list if every mimetype can be supported.
preferredTypesA list of challenge types supported by the handler.
Returns
A PendingCaptchas which will emit PendingCaptchas::finished when the request has been completed and all the payloads have been downloaded.
See also
canRetry
cancel
answer
Tp::PendingOperation * Tp::CaptchaAuthentication::answer ( uint  id,
const QString &  response 
)

Overloaded function. Convenience method when just a single captcha requires to be answered.

Note that you need to answer only the last set of challenges returned, in case requestCaptchas was invoked multiple times.

Please note that if this operation succeeds, the channel will be closed right after.

Parameters
idThe id of the challenge being answered.
responseThe answer of this challenge.
Returns
A PendingOperation which will emit PendingOperation::finished upon the outcome of the answer procedure. Upon success, the operation will complete once the channel is closed.
See also
requestCaptchas
answer
Tp::PendingOperation * Tp::CaptchaAuthentication::answer ( const Tp::CaptchaAnswers response)

Answer a set of challenges.

Challenges obtained with requestCaptchas should be answered using this method. Note that every challenge returned by the last invocation of requestCaptchas must be answered in order for the operation to succeed.

Usually, most protocols will require just a single challenge to be answered: if that is the case, you can use the convenience overload.

Note that you need to answer only the last set of challenges returned, in case requestCaptchas was invoked multiple times.

Please note that if this operation succeeds, the channel will be closed right after.

Parameters
responseA set of answers mapped by their id to the challenges obtained previously
Returns
A PendingOperation which will emit PendingOperation::finished upon the outcome of the answer procedure. Upon success, the operation will complete once the channel is closed.
See also
requestCaptchas
answer
void Tp::CaptchaAuthentication::statusChanged ( Tp::CaptchaStatus  status)
signal

Emitted when the value of status() changes.

See also
status The new status of this CaptchaAuthentication.
Tp::PendingOperation * Tp::CaptchaAuthentication::cancel ( Tp::CaptchaCancelReason  reason,
const QString &  message = QString() 
)
slot

Cancel the current challenge.

Please note that if this operation succeeds, the channel will be closed right after.

Note that this function has not the same semantics as retry. The status of the CaptchaAuthentication will change to Failed even if the channel supports retrying. This function should be called only if the user refuses to answer any challenge. Instead, if the user wishes to retry, you should just call requestCaptchas one more time.

Parameters
reasonThe reason why the challenge has been cancelled.
messageA message detailing the cancel reason.
Returns
A PendingOperation which will emit PendingOperation::finished upon the outcome of the cancel procedure. Upon success, the operation will complete once the channel is closed.
See also
requestCaptchas


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01107.html0000644000175000017500000000543112727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ParamSpec Member List

This is the complete list of members for Tp::ParamSpec, including all inherited members.

defaultValueTp::ParamSpec
flagsTp::ParamSpec
nameTp::ParamSpec
signatureTp::ParamSpec


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00961.html0000644000175000017500000001241412727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback3< R, Arg1, Arg2, Arg3 > Member List

This is the complete list of members for Tp::Callback3< R, Arg1, Arg2, Arg3 >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback3()Tp::Callback3< R, Arg1, Arg2, Arg3 >inline
Callback3(const Functor &functor)Tp::Callback3< R, Arg1, Arg2, Arg3 >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback3< R, Arg1, Arg2, Arg3 >
isValid() const Tp::BaseCallbackinline
operator()(Arg1 a1, Arg2 a2, Arg3 a3) const Tp::Callback3< R, Arg1, Arg2, Arg3 >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback3< R, Arg1, Arg2, Arg3 >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00460.html0000644000175000017500000002216312727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3, Arg4)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor4 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
typedef R(* Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >::FunctionType) (Arg1, Arg2, Arg3, Arg4)
template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
typedef R Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >::PtrFunctor4 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
ResultType Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
FunctionType Tp::PtrFunctor4< R, Arg1, Arg2, Arg3, Arg4 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00205.html0000644000175000017500000001422112727270137020770 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelOriginatorMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ChannelOriginatorMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, QDBusObjectPath >.

Public Member Functions

 ChannelOriginatorMap ()
 
 ChannelOriginatorMap (const QMap< uint, QDBusObjectPath > &a)
 
ChannelOriginatorMapoperator= (const QMap< uint, QDBusObjectPath > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, QDBusObjectPath>, but needed to have a discrete type in the Qt type system.

A mapping from members of a conference to the original 1-1 channel with that contact, if any. See OriginalChannels for details.

Constructor & Destructor Documentation

Tp::ChannelOriginatorMap::ChannelOriginatorMap ( )
inline
Tp::ChannelOriginatorMap::ChannelOriginatorMap ( const QMap< uint, QDBusObjectPath > &  a)
inline

Member Function Documentation

ChannelOriginatorMap& Tp::ChannelOriginatorMap::operator= ( const QMap< uint, QDBusObjectPath > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01176.html0000644000175000017500000002152312727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SharedPtr< T > Member List

This is the complete list of members for Tp::SharedPtr< T >, including all inherited members.

constCast(const SharedPtr< X > &src)Tp::SharedPtr< T >inlinestatic
constData() const Tp::SharedPtr< T >inline
data() const Tp::SharedPtr< T >inline
dynamicCast(const SharedPtr< X > &src)Tp::SharedPtr< T >inlinestatic
isNull() const Tp::SharedPtr< T >inline
operator UnspecifiedBoolType() const Tp::SharedPtr< T >inline
operator!() const Tp::SharedPtr< T >inline
operator!=(const SharedPtr< T > &o) const Tp::SharedPtr< T >inline
operator!=(const T *ptr) const Tp::SharedPtr< T >inline
operator->()Tp::SharedPtr< T >inline
operator->() const Tp::SharedPtr< T >inline
operator=(const SharedPtr< T > &o)Tp::SharedPtr< T >inline
operator==(const SharedPtr< T > &o) const Tp::SharedPtr< T >inline
operator==(const T *ptr) const Tp::SharedPtr< T >inline
qObjectCast(const SharedPtr< X > &src)Tp::SharedPtr< T >inlinestatic
reset()Tp::SharedPtr< T >inline
SharedPtr()Tp::SharedPtr< T >inline
SharedPtr(T *d)Tp::SharedPtr< T >inlineexplicit
SharedPtr(const SharedPtr< Subclass > &o)Tp::SharedPtr< T >inline
SharedPtr(const SharedPtr< T > &o)Tp::SharedPtr< T >inline
SharedPtr(const WeakPtr< T > &o)Tp::SharedPtr< T >inlineexplicit
staticCast(const SharedPtr< X > &src)Tp::SharedPtr< T >inlinestatic
swap(SharedPtr< T > &o)Tp::SharedPtr< T >inline
~SharedPtr()Tp::SharedPtr< T >inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/index.html0000644000175000017500000000673212727270137021300 0ustar00kaffeinekaffeine00000000000000 Telepathy-Qt
   Home · All Classes · All Namespaces · Modules · Functions · Files
Telepathy-Qt

Introduction

Telepathy-Qt is a Qt high-level binding for Telepathy.

Telepathy is a D-Bus framework for unifying real time communication, including instant messaging, voice calls and video calls. It abstracts differences between protocols to provide a unified interface for applications.

Releases can be found here.

Development is done in the git repository found here.

Getting Started

Examples

This is the list of examples in Telepathy-Qt's examples directory. The examples demonstrate Telepathy-Qt features in small, self-contained programs. They are not all designed to be impressive when you run them, but their source code is carefully written to show good Telepathy-Qt programming practices.

Further Information


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00274.html0000644000175000017500000005632412727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceMailNotificationAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceMailNotificationAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

Tp::MailURL RequestInboxURL (const QDBusMessage &dbusMessage)
 
Tp::MailURL RequestMailURL (const QString &ID, const QDBusVariant &URLData, const QDBusMessage &dbusMessage)
 

Signals

void MailsReceived (const Tp::MailList &mails)
 
void UnreadMailsChanged (uint count, const Tp::MailList &mailsAdded, const QStringList &mailsRemoved)
 

Public Member Functions

uint MailNotificationFlags () const
 
uint UnreadMailCount () const
 
Tp::MailList UnreadMails () const
 
QString MailAddress () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ConnectionInterfaceMailNotificationAdaptor::MailNotificationFlags ( ) const

Return the value of the exported D-Bus object property MailNotificationFlags of type uint.

Adaptees should export this property as a Qt property named 'mailNotificationFlags' with type uint.

Integer representing the bitwise-OR of supported features for e-mails notification on this server. This property MUST NOT change after the Connection becomes CONNECTED. This property indicates the behavior and availability of the other properties and signals within this interface. A connection manager that cannot at least set one of the flags in the Mail_Notification_Flags SHOULD NOT provide this interface.

Returns
The value of exported property MailNotificationFlags.
uint Tp::Service::ConnectionInterfaceMailNotificationAdaptor::UnreadMailCount ( ) const

Return the value of the exported D-Bus object property UnreadMailCount of type uint.

Adaptees should export this property as a Qt property named 'unreadMailCount' with type uint.

The number of unread messages in the Inbox. Change notification is via UnreadMailsChanged() .

This property is only useful if Supports_Unread_Mail_Count is set in the MailNotificationFlags ; otherwise, it MUST be zero.

If Thread_Based appears in the MailNotificationFlags , this property counts the number of threads, not the number of mails.

Note that this count MAY be bigger than the number of items in UnreadMails . See UnreadMails for more details.

Returns
The value of exported property UnreadMailCount.
Tp::MailList Tp::Service::ConnectionInterfaceMailNotificationAdaptor::UnreadMails ( ) const

Return the value of the exported D-Bus object property UnreadMails of type Tp::MailList.

Adaptees should export this property as a Qt property named 'unreadMails' with type Tp::MailList.

An array of unread Mails. Change notification is via UnreadMailsChanged. This property is only useful if Supports_Unread_Mails is set in MailNotificationFlags; otherwise, it MUST be an empty list. The array size MAY be shorter than UnreadMailCount. Some servers may limits the amount of detailed e-mails sent. This can significantly reduce the network traffic for large inbox. For this reason, it is normal that UnreadMailCount be bigger or equal to the size of this array.

Returns
The value of exported property UnreadMails.
QString Tp::Service::ConnectionInterfaceMailNotificationAdaptor::MailAddress ( ) const

Return the value of the exported D-Bus object property MailAddress of type QString.

Adaptees should export this property as a Qt property named 'mailAddress' with type QString.

A string representing the e-mail address of the account. The CMs MUST provide this information. In close integration of MailNotification with other e-mail services, the e-mail address can be used has a unique identifier for the account. Possible integration could be between Telepathy and Evolution where the e-mail address is the common information in both interfaces.

Returns
The value of exported property MailAddress.
Tp::MailURL Tp::Service::ConnectionInterfaceMailNotificationAdaptor::RequestInboxURL ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestInboxURL(const Tp::Service::ConnectionInterfaceMailNotificationAdaptor::RequestInboxURLContextPtr &context);

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

This method creates and returns a URL and an optional POST data that allow opening the Inbox folder of a webmail account. This URL MAY contain tokens with a short lifetime, so clients SHOULD request a new URL for each visit to the webmail interface. This method is implemented only if the Supports_Request_Inbox_URL flag is set in MailNotificationFlags. We are not using properties here because the tokens are unsuitable for sharing between clients, and network round-trips may be required to obtain the information that leads to authentication free webmail access.

Returns
A struture containing a URL and optional additional data to open a 
webmail client, without re-authentication if possible.
Tp::MailURL Tp::Service::ConnectionInterfaceMailNotificationAdaptor::RequestMailURL ( const QString &  ID,
const QDBusVariant &  URLData,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void requestMailURL(const QString& ID, const QDBusVariant& URLData, const Tp::Service::ConnectionInterfaceMailNotificationAdaptor::RequestMailURLContextPtr &context);

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

This method creates and returns a URL and optional POST data that allow opening a specific mail in a webmail interface. This method is implemented only if Supports_Request_Mail_URL flag is set in MailNotificationFlags. See RequestInboxURL for design rationale.

Parameters
ID
The mail&apos;s id as found in the Mail structure, or the empty 
string if no id key was provided.
URLData
Whatever url-data was found in the Mail structure, or the boolean 
value False (D-Bus type &apos;b&apos;) if no url-data was provided 
in the Mail.
Returns
A struture that contains a URL and optional additional data to open 
a webmail client, without re-authentication if possible.
void Tp::Service::ConnectionInterfaceMailNotificationAdaptor::MailsReceived ( const Tp::MailList mails)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void mailsReceived(const Tp::MailList& mails);

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

Parameters
mails

An array of Mails. Those e-mail MUST NOT have the "id" key.

On connections that emit this signal, it's impossible to tell when a mail has been removed, and hence when "id" has become invalid.

void Tp::Service::ConnectionInterfaceMailNotificationAdaptor::UnreadMailsChanged ( uint  count,
const Tp::MailList mailsAdded,
const QStringList &  mailsRemoved 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void unreadMailsChanged(uint count, const Tp::MailList& mailsAdded, const QStringList& mailsRemoved);

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

Parameters
count
Number of unread messages in the inbox (the new value of 
UnreadMailCount).
mailsAdded

A list of Mail that are being added or updated in \\\ \\link requestPropertyUnreadMails() UnreadMails \\endlink \\htmlonly .

Mails may be updated when the URL information (URL and POST data) have changed, or senders were added or removed from an e-mail thread.

If the Supports_Unread_Mails flag is not set, this list MUST be empty, even if Count has increased.

Parameters
mailsRemoved
A list of e-mail IDs that are being removed from UnreadMails. If 
the Supports_Unread_Mails flag is not set, this list MUST be empty, 
even if Count has decreased.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01235.html0000644000175000017500000002542212727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelDispatcherInterface Member List

This is the complete list of members for Tp::Client::ChannelDispatcherInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelDispatcherInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatcherInterface
ChannelDispatcherInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatcherInterface
ChannelDispatcherInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelDispatcherInterface
CreateChannel(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
CreateChannelWithHints(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
DelegateChannels(const Tp::ObjectPathList &channels, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
EnsureChannel(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
EnsureChannelWithHints(const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelDispatcherInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
PresentChannel(const QDBusObjectPath &channel, qlonglong userActionTime, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceinlineslot
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelDispatcherInterfaceinline
requestPropertyInterfaces() const Tp::Client::ChannelDispatcherInterfaceinline
requestPropertySupportsRequestHints() const Tp::Client::ChannelDispatcherInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelDispatcherInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00019.html0000644000175000017500000000741712727270137021004 0ustar00kaffeinekaffeine00000000000000 protocols/protocols.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/protocols.h
#ifndef _TelepathyQt_examples_protocols_protocols_h_HEADER_GUARD_
#define _TelepathyQt_examples_protocols_protocols_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include "cm-wrapper.h"
#include <QList>
#include <QObject>
using namespace Tp;
namespace Tp
{
}
class Protocols : public QObject
{
Q_OBJECT
public:
Protocols();
~Protocols();
private Q_SLOTS:
void onListNamesFinished(Tp::PendingOperation *op);
void onCMWrapperFinished();
private:
QList<CMWrapper *> mCMWrappers;
int cmWrappersFinished;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_m.html0000644000175000017500000004704512727270137022517 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- m -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00333.html0000644000175000017500000002646512727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::Filter< T > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFilter, GenericPropertyFilter, etc. More...

#include <TelepathyQt/Filter>

Inherits Tp::RefCounted.

Inherited by Tp::GenericPropertyFilter< Account >, Tp::AndFilter< T >, Tp::GenericCapabilityFilter< T >, Tp::GenericPropertyFilter< T >, Tp::NotFilter< T >, and Tp::OrFilter< T >.

Public Member Functions

virtual ~Filter ()
 
virtual bool isValid () const
 
virtual bool matches (const SharedPtr< T > &t) const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

 Filter ()
 

Detailed Description

template<class T>
class Tp::Filter< T >

The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFilter, GenericPropertyFilter, etc.

Constructor & Destructor Documentation

template<class T >
virtual Tp::Filter< T >::~Filter ( )
inlinevirtual
template<class T >
Tp::Filter< T >::Filter ( )
inlineprotected

Member Function Documentation

template<class T >
virtual bool Tp::Filter< T >::matches ( const SharedPtr< T > &  t) const
inlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00088.html0000644000175000017500000007336212727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::BaseChannelTextType Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Channel.Type.Text. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

Public Types

typedef Callback2< QDBusObjectPath, const QVariantMap &, DBusError * > CreateChannelCallback
 
typedef Callback2< bool, const QVariantMap &, DBusError * > EnsureChannelCallback
 
typedef Callback1< void, QString > MessageAcknowledgedCallback
 

Public Member Functions

virtual ~BaseChannelTextType ()
 
QVariantMap immutableProperties () const
 
void setMessageAcknowledgedCallback (const MessageAcknowledgedCallback &cb)
 
Tp::MessagePartListList pendingMessages ()
 
void addReceivedMessage (const Tp::MessagePartList &message)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseChannelTextTypePtr create (BaseChannel *channel)
 
template<typename BaseChannelTextTypeSubclass >
static SharedPtr< BaseChannelTextTypeSubclass > create (BaseChannel *channel)
 

Public Attributes

CreateChannelCallback createChannel
 
EnsureChannelCallback ensureChannel
 
Tp::RequestableChannelClassList requestableChannelClasses
 

Protected Member Functions

 BaseChannelTextType (BaseChannel *channel)
 
void acknowledgePendingMessages (const Tp::UIntList &IDs, DBusError *error)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Channel.Type.Text.

Member Typedef Documentation

typedef Callback2<QDBusObjectPath, const QVariantMap&, DBusError*> Tp::BaseChannelTextType::CreateChannelCallback

Constructor & Destructor Documentation

Tp::BaseChannelTextType::~BaseChannelTextType ( )
virtual

Class destructor.

Tp::BaseChannelTextType::BaseChannelTextType ( BaseChannel channel)
protected

Class constructor.

Member Function Documentation

static BaseChannelTextTypePtr Tp::BaseChannelTextType::create ( BaseChannel channel)
inlinestatic
template<typename BaseChannelTextTypeSubclass >
static SharedPtr<BaseChannelTextTypeSubclass> Tp::BaseChannelTextType::create ( BaseChannel channel)
inlinestatic
QVariantMap Tp::BaseChannelTextType::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseChannelTextType::setMessageAcknowledgedCallback ( const MessageAcknowledgedCallback cb)
Tp::MessagePartListList Tp::BaseChannelTextType::pendingMessages ( )
void Tp::BaseChannelTextType::addReceivedMessage ( const Tp::MessagePartList message)
void Tp::BaseChannelTextType::acknowledgePendingMessages ( const Tp::UIntList IDs,
DBusError error 
)
protected

Member Data Documentation

CreateChannelCallback Tp::BaseChannelTextType::createChannel
EnsureChannelCallback Tp::BaseChannelTextType::ensureChannel
Tp::RequestableChannelClassList Tp::BaseChannelTextType::requestableChannelClasses


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01049.html0000644000175000017500000001330512727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller2< Functor, R, Arg1, Arg2 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00569_source.html0000644000175000017500000004201712727270137022371 0ustar00kaffeinekaffeine00000000000000 call-stream.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
call-stream.h
1 
23 #ifndef _TelepathyQt_call_stream_h_HEADER_GUARD_
24 #define _TelepathyQt_call_stream_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-call-stream.h>
31 
32 #include <TelepathyQt/Constants>
33 #include <TelepathyQt/DBusProxy>
34 #include <TelepathyQt/OptionalInterfaceFactory>
35 #include <TelepathyQt/PendingOperation>
36 #include <TelepathyQt/Types>
37 #include <TelepathyQt/SharedPtr>
38 
39 namespace Tp
40 {
41 
42 typedef QList<CallStreamPtr> CallStreams;
43 
44 class TP_QT_EXPORT CallStream : public StatefulDBusProxy,
45  public OptionalInterfaceFactory<CallStream>
46 {
47  Q_OBJECT
48  Q_DISABLE_COPY(CallStream)
49 
50 public:
51  ~CallStream();
52 
53  CallContentPtr content() const;
54 
55  Contacts remoteMembers() const;
56  bool canRequestReceiving() const;
57 
58  SendingState localSendingState() const;
59  SendingState remoteSendingState(const ContactPtr &contact) const;
60 
61  PendingOperation *requestSending(bool send);
62  PendingOperation *requestReceiving(const ContactPtr &contact, bool receive);
63 
64 Q_SIGNALS:
65  void localSendingStateChanged(Tp::SendingState localSendingState,
66  const Tp::CallStateReason &reason);
67  void remoteSendingStateChanged(
68  const QHash<Tp::ContactPtr, Tp::SendingState> &remoteSendingStates,
69  const Tp::CallStateReason &reason);
70  void remoteMembersRemoved(const Tp::Contacts &remoteMembers,
71  const Tp::CallStateReason &reason);
72 
73 private Q_SLOTS:
74  TP_QT_NO_EXPORT void gotMainProperties(Tp::PendingOperation *op);
75  TP_QT_NO_EXPORT void gotRemoteMembersContacts(Tp::PendingOperation *op);
76 
77  TP_QT_NO_EXPORT void onRemoteMembersChanged(const Tp::ContactSendingStateMap &updates,
78  const Tp::HandleIdentifierMap &identifiers,
79  const Tp::UIntList &removed,
80  const Tp::CallStateReason &reason);
81  TP_QT_NO_EXPORT void onLocalSendingStateChanged(uint, const Tp::CallStateReason &reason);
82 
83 private:
84  friend class CallChannel;
85  friend class CallContent;
86 
87  TP_QT_NO_EXPORT static const Feature FeatureCore;
88 
89  TP_QT_NO_EXPORT CallStream(const CallContentPtr &content, const QDBusObjectPath &streamPath);
90 
91  struct Private;
92  friend struct Private;
93  Private *mPriv;
94 };
95 
96 } // Tp
97 
98 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:1655
The CallContent class provides an object representing a Telepathy Call.Content.
Definition: call-content.h:39
QList< CallStreamPtr > CallStreams
Definition: call-stream.h:42
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful...
Definition: dbus-proxy.h:96
The CallChannel class provides an object representing a Telepathy channel of type Call...
Definition: call-channel.h:35
Definition: build/TelepathyQt/_gen/types.h:329
Definition: build/TelepathyQt/_gen/types.h:107
SendingState
Definition: build/TelepathyQt/_gen/constants.h:4529
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
Definition: abstract-adaptor.cpp:31
Definition: build/TelepathyQt/_gen/types.h:1293
The CallStream class provides an object representing a Telepathy Call.Stream.
Definition: call-stream.h:44
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00841_source.html0000644000175000017500000174224612727270137022376 0ustar00kaffeinekaffeine00000000000000 types.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
build/TelepathyQt/_gen/types.h
1 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7 */
2 
3 #ifndef IN_TP_QT_HEADER
4 #error IN_TP_QT_HEADER
5 #endif
6 
7 #include <QtGlobal>
8 
9 #include <QByteArray>
10 #include <QString>
11 #include <QStringList>
12 #include <QVariantList>
13 #include <QVariantMap>
14 
15 #include <QDBusArgument>
16 #include <QDBusMetaType>
17 #include <QDBusObjectPath>
18 #include <QDBusSignature>
19 #include <QDBusVariant>
20 
21 #include <TelepathyQt/Global>
22 
51 namespace Tp
52 {
61 struct TP_QT_EXPORT ByteArrayList : public QList<QByteArray>
62 {
63  ByteArrayList() : QList<QByteArray>() {}
64  ByteArrayList(const QList<QByteArray>& a) : QList<QByteArray>(a) {}
65 
66  ByteArrayList& operator=(const QList<QByteArray>& a)
67  {
68  *(static_cast<QList<QByteArray>*>(this)) = a;
69  return *this;
70  }
71 };
72 
73 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ByteArrayList &list);
74 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ByteArrayList &list);
75 
84 struct TP_QT_EXPORT ObjectPathList : public QList<QDBusObjectPath>
85 {
86  ObjectPathList() : QList<QDBusObjectPath>() {}
87  ObjectPathList(const QList<QDBusObjectPath>& a) : QList<QDBusObjectPath>(a) {}
88 
89  ObjectPathList& operator=(const QList<QDBusObjectPath>& a)
90  {
91  *(static_cast<QList<QDBusObjectPath>*>(this)) = a;
92  return *this;
93  }
94 };
95 
96 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ObjectPathList &list);
97 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ObjectPathList &list);
98 
107 struct TP_QT_EXPORT UIntList : public QList<uint>
108 {
109  UIntList() : QList<uint>() {}
110  UIntList(const QList<uint>& a) : QList<uint>(a) {}
111 
112  UIntList& operator=(const QList<uint>& a)
113  {
114  *(static_cast<QList<uint>*>(this)) = a;
115  return *this;
116  }
117 };
118 
119 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const UIntList &list);
120 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, UIntList &list);
121 
139 struct TP_QT_EXPORT AccessControl
140 {
144  uint type;
149  QDBusVariant detail;
150 };
151 
152 TP_QT_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2);
153 inline bool operator!=(const AccessControl& v1, const AccessControl& v2)
154 {
155  return !operator==(v1, v2);
156 }
157 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val);
158 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val);
159 
170 struct TP_QT_EXPORT AddressingNormalizationMap : public QMap<QString, uint>
171 {
172  AddressingNormalizationMap() : QMap<QString, uint>() {}
173  AddressingNormalizationMap(const QMap<QString, uint>& a) : QMap<QString, uint>(a) {}
174 
175  AddressingNormalizationMap& operator=(const QMap<QString, uint>& a)
176  {
177  *(static_cast<QMap<QString, uint>*>(this)) = a;
178  return *this;
179  }
180 };
181 
192 struct TP_QT_EXPORT AliasMap : public QMap<uint, QString>
193 {
194  AliasMap() : QMap<uint, QString>() {}
195  AliasMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
196 
197  AliasMap& operator=(const QMap<uint, QString>& a)
198  {
199  *(static_cast<QMap<uint, QString>*>(this)) = a;
200  return *this;
201  }
202 };
203 
213 struct TP_QT_EXPORT AliasPair
214 {
215  uint handle;
216  QString alias;
217 };
218 
219 TP_QT_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2);
220 inline bool operator!=(const AliasPair& v1, const AliasPair& v2)
221 {
222  return !operator==(v1, v2);
223 }
224 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val);
225 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val);
226 
233 typedef QList<AliasPair> AliasPairList;
234 
249 struct TP_QT_EXPORT Avatar
250 {
251  QByteArray avatarData;
252  QString MIMEType;
253 };
254 
255 TP_QT_EXPORT bool operator==(const Avatar& v1, const Avatar& v2);
256 inline bool operator!=(const Avatar& v1, const Avatar& v2)
257 {
258  return !operator==(v1, v2);
259 }
260 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val);
261 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val);
262 
274 struct TP_QT_EXPORT AvatarTokenMap : public QMap<uint, QString>
275 {
276  AvatarTokenMap() : QMap<uint, QString>() {}
277  AvatarTokenMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
278 
279  AvatarTokenMap& operator=(const QMap<uint, QString>& a)
280  {
281  *(static_cast<QMap<uint, QString>*>(this)) = a;
282  return *this;
283  }
284 };
285 
296 struct TP_QT_EXPORT CallMemberMap : public QMap<uint, uint>
297 {
298  CallMemberMap() : QMap<uint, uint>() {}
299  CallMemberMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
300 
301  CallMemberMap& operator=(const QMap<uint, uint>& a)
302  {
303  *(static_cast<QMap<uint, uint>*>(this)) = a;
304  return *this;
305  }
306 };
307 
314 typedef QList<CallMemberMap> CallMemberMapList;
315 
329 struct TP_QT_EXPORT CallStateReason
330 {
335  uint actor;
341  uint reason;
362  QString DBusReason;
368  QString message;
369 };
370 
371 TP_QT_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2);
372 inline bool operator!=(const CallStateReason& v1, const CallStateReason& v2)
373 {
374  return !operator==(v1, v2);
375 }
376 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val);
377 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val);
378 
388 struct TP_QT_EXPORT Candidate
389 {
393  uint component;
397  QString IP;
401  uint port;
405  QVariantMap info;
406 };
407 
408 TP_QT_EXPORT bool operator==(const Candidate& v1, const Candidate& v2);
409 inline bool operator!=(const Candidate& v1, const Candidate& v2)
410 {
411  return !operator==(v1, v2);
412 }
413 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val);
414 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val);
415 
422 typedef QList<Candidate> CandidateList;
423 
483 struct TP_QT_EXPORT CandidateInfo : public QMap<QString, QDBusVariant>
484 {
485  CandidateInfo() : QMap<QString, QDBusVariant>() {}
486  CandidateInfo(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
487 
488  CandidateInfo& operator=(const QMap<QString, QDBusVariant>& a)
489  {
490  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
491  return *this;
492  }
493 };
494 
507 struct TP_QT_EXPORT CapabilityChange
508 {
509  uint handle;
510  QString channelType;
515 };
516 
517 TP_QT_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2);
518 inline bool operator!=(const CapabilityChange& v1, const CapabilityChange& v2)
519 {
520  return !operator==(v1, v2);
521 }
522 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val);
523 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val);
524 
531 typedef QList<CapabilityChange> CapabilityChangeList;
532 
543 struct TP_QT_EXPORT CapabilityPair
544 {
545  QString channelType;
547 };
548 
549 TP_QT_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2);
550 inline bool operator!=(const CapabilityPair& v1, const CapabilityPair& v2)
551 {
552  return !operator==(v1, v2);
553 }
554 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val);
555 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val);
556 
563 typedef QList<CapabilityPair> CapabilityPairList;
564 
577 struct TP_QT_EXPORT CaptchaAnswers : public QMap<uint, QString>
578 {
579  CaptchaAnswers() : QMap<uint, QString>() {}
580  CaptchaAnswers(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
581 
582  CaptchaAnswers& operator=(const QMap<uint, QString>& a)
583  {
584  *(static_cast<QMap<uint, QString>*>(this)) = a;
585  return *this;
586  }
587 };
588 
601 struct TP_QT_EXPORT CaptchaInfo
602 {
610  uint ID;
620  QString type;
652  QString label;
658  uint flags;
665  QStringList availableMIMETypes;
666 };
667 
668 TP_QT_EXPORT bool operator==(const CaptchaInfo& v1, const CaptchaInfo& v2);
669 inline bool operator!=(const CaptchaInfo& v1, const CaptchaInfo& v2)
670 {
671  return !operator==(v1, v2);
672 }
673 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CaptchaInfo& val);
674 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CaptchaInfo& val);
675 
682 typedef QList<CaptchaInfo> CaptchaInfoList;
683 
694 struct TP_QT_EXPORT ChannelCallStateMap : public QMap<uint, uint>
695 {
696  ChannelCallStateMap() : QMap<uint, uint>() {}
697  ChannelCallStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
698 
699  ChannelCallStateMap& operator=(const QMap<uint, uint>& a)
700  {
701  *(static_cast<QMap<uint, uint>*>(this)) = a;
702  return *this;
703  }
704 };
705 
731 struct TP_QT_EXPORT ChannelClass : public QMap<QString, QDBusVariant>
732 {
733  ChannelClass() : QMap<QString, QDBusVariant>() {}
734  ChannelClass(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
735 
736  ChannelClass& operator=(const QMap<QString, QDBusVariant>& a)
737  {
738  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
739  return *this;
740  }
741 };
742 
749 typedef QList<ChannelClass> ChannelClassList;
750 
761 struct TP_QT_EXPORT ChannelDetails
762 {
766  QDBusObjectPath channel;
812  QVariantMap properties;
813 };
814 
815 TP_QT_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2);
816 inline bool operator!=(const ChannelDetails& v1, const ChannelDetails& v2)
817 {
818  return !operator==(v1, v2);
819 }
820 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val);
821 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val);
822 
829 typedef QList<ChannelDetails> ChannelDetailsList;
830 
841 struct TP_QT_EXPORT ChannelInfo
842 {
847  QDBusObjectPath channel;
851  QString channelType;
861  uint handle;
862 };
863 
864 TP_QT_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2);
865 inline bool operator!=(const ChannelInfo& v1, const ChannelInfo& v2)
866 {
867  return !operator==(v1, v2);
868 }
869 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val);
870 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val);
871 
878 typedef QList<ChannelInfo> ChannelInfoList;
879 
894 struct TP_QT_EXPORT ChannelOriginatorMap : public QMap<uint, QDBusObjectPath>
895 {
896  ChannelOriginatorMap() : QMap<uint, QDBusObjectPath>() {}
897  ChannelOriginatorMap(const QMap<uint, QDBusObjectPath>& a) : QMap<uint, QDBusObjectPath>(a) {}
898 
899  ChannelOriginatorMap& operator=(const QMap<uint, QDBusObjectPath>& a)
900  {
901  *(static_cast<QMap<uint, QDBusObjectPath>*>(this)) = a;
902  return *this;
903  }
904 };
905 
916 struct TP_QT_EXPORT ChatStateMap : public QMap<uint, uint>
917 {
918  ChatStateMap() : QMap<uint, uint>() {}
919  ChatStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
920 
921  ChatStateMap& operator=(const QMap<uint, uint>& a)
922  {
923  *(static_cast<QMap<uint, uint>*>(this)) = a;
924  return *this;
925  }
926 };
927 
936 struct TP_QT_EXPORT ComponentStateMap : public QMap<uint, uint>
937 {
938  ComponentStateMap() : QMap<uint, uint>() {}
939  ComponentStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
940 
941  ComponentStateMap& operator=(const QMap<uint, uint>& a)
942  {
943  *(static_cast<QMap<uint, uint>*>(this)) = a;
944  return *this;
945  }
946 };
947 
959 struct TP_QT_EXPORT ContactAttributesMap : public QMap<uint, QVariantMap>
960 {
961  ContactAttributesMap() : QMap<uint, QVariantMap>() {}
962  ContactAttributesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
963 
964  ContactAttributesMap& operator=(const QMap<uint, QVariantMap>& a)
965  {
966  *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
967  return *this;
968  }
969 };
970 
982 struct TP_QT_EXPORT ContactCapability
983 {
984  uint handle;
985  QString channelType;
988 };
989 
990 TP_QT_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2);
991 inline bool operator!=(const ContactCapability& v1, const ContactCapability& v2)
992 {
993  return !operator==(v1, v2);
994 }
995 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val);
996 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val);
997 
1004 typedef QList<ContactCapability> ContactCapabilityList;
1005 
1016 struct TP_QT_EXPORT ContactClientTypes : public QMap<uint, QStringList>
1017 {
1018  ContactClientTypes() : QMap<uint, QStringList>() {}
1019  ContactClientTypes(const QMap<uint, QStringList>& a) : QMap<uint, QStringList>(a) {}
1020 
1021  ContactClientTypes& operator=(const QMap<uint, QStringList>& a)
1022  {
1023  *(static_cast<QMap<uint, QStringList>*>(this)) = a;
1024  return *this;
1025  }
1026 };
1027 
1115 struct TP_QT_EXPORT ContactInfoField
1116 {
1122  QString fieldName;
1149  QStringList parameters;
1180  QStringList fieldValue;
1181 };
1182 
1183 TP_QT_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2);
1184 inline bool operator!=(const ContactInfoField& v1, const ContactInfoField& v2)
1185 {
1186  return !operator==(v1, v2);
1187 }
1188 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val);
1189 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val);
1190 
1197 typedef QList<ContactInfoField> ContactInfoFieldList;
1198 
1209 struct TP_QT_EXPORT ContactLocations : public QMap<uint, QVariantMap>
1210 {
1211  ContactLocations() : QMap<uint, QVariantMap>() {}
1212  ContactLocations(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
1213 
1214  ContactLocations& operator=(const QMap<uint, QVariantMap>& a)
1215  {
1216  *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
1217  return *this;
1218  }
1219 };
1220 
1229 struct TP_QT_EXPORT ContactMediaDescriptionPropertiesMap : public QMap<uint, QVariantMap>
1230 {
1231  ContactMediaDescriptionPropertiesMap() : QMap<uint, QVariantMap>() {}
1232  ContactMediaDescriptionPropertiesMap(const QMap<uint, QVariantMap>& a) : QMap<uint, QVariantMap>(a) {}
1233 
1234  ContactMediaDescriptionPropertiesMap& operator=(const QMap<uint, QVariantMap>& a)
1235  {
1236  *(static_cast<QMap<uint, QVariantMap>*>(this)) = a;
1237  return *this;
1238  }
1239 };
1240 
1249 struct TP_QT_EXPORT ContactSSRCsMap : public QMap<uint, UIntList>
1250 {
1251  ContactSSRCsMap() : QMap<uint, UIntList>() {}
1252  ContactSSRCsMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
1253 
1254  ContactSSRCsMap& operator=(const QMap<uint, UIntList>& a)
1255  {
1256  *(static_cast<QMap<uint, UIntList>*>(this)) = a;
1257  return *this;
1258  }
1259 };
1260 
1271 struct TP_QT_EXPORT ContactSearchMap : public QMap<QString, QString>
1272 {
1273  ContactSearchMap() : QMap<QString, QString>() {}
1274  ContactSearchMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
1275 
1276  ContactSearchMap& operator=(const QMap<QString, QString>& a)
1277  {
1278  *(static_cast<QMap<QString, QString>*>(this)) = a;
1279  return *this;
1280  }
1281 };
1282 
1293 struct TP_QT_EXPORT ContactSendingStateMap : public QMap<uint, uint>
1294 {
1295  ContactSendingStateMap() : QMap<uint, uint>() {}
1296  ContactSendingStateMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
1297 
1298  ContactSendingStateMap& operator=(const QMap<uint, uint>& a)
1299  {
1300  *(static_cast<QMap<uint, uint>*>(this)) = a;
1301  return *this;
1302  }
1303 };
1304 
1314 struct TP_QT_EXPORT ContactSubscriptions
1315 {
1323  uint publish;
1329 };
1330 
1331 TP_QT_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2);
1332 inline bool operator!=(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
1333 {
1334  return !operator==(v1, v2);
1335 }
1336 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val);
1337 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val);
1338 
1361 struct TP_QT_EXPORT CurrencyAmount
1362 {
1372  int amount;
1385  uint scale;
1392  QString currency;
1393 };
1394 
1395 TP_QT_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2);
1396 inline bool operator!=(const CurrencyAmount& v1, const CurrencyAmount& v2)
1397 {
1398  return !operator==(v1, v2);
1399 }
1400 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val);
1401 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val);
1402 
1413 struct TP_QT_EXPORT DBusTubeMember
1414 {
1418  uint handle;
1422  QString uniqueName;
1423 };
1424 
1425 TP_QT_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2);
1426 inline bool operator!=(const DBusTubeMember& v1, const DBusTubeMember& v2)
1427 {
1428  return !operator==(v1, v2);
1429 }
1430 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val);
1431 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val);
1432 
1439 typedef QList<DBusTubeMember> DBusTubeMemberList;
1440 
1452 struct TP_QT_EXPORT DBusTubeParticipants : public QMap<uint, QString>
1453 {
1454  DBusTubeParticipants() : QMap<uint, QString>() {}
1455  DBusTubeParticipants(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
1456 
1457  DBusTubeParticipants& operator=(const QMap<uint, QString>& a)
1458  {
1459  *(static_cast<QMap<uint, QString>*>(this)) = a;
1460  return *this;
1461  }
1462 };
1463 
1473 struct TP_QT_EXPORT DebugMessage
1474 {
1479  double timestamp;
1496  QString domain;
1501  uint level;
1505  QString message;
1506 };
1507 
1508 TP_QT_EXPORT bool operator==(const DebugMessage& v1, const DebugMessage& v2);
1509 inline bool operator!=(const DebugMessage& v1, const DebugMessage& v2)
1510 {
1511  return !operator==(v1, v2);
1512 }
1513 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DebugMessage& val);
1514 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DebugMessage& val);
1515 
1522 typedef QList<DebugMessage> DebugMessageList;
1523 
1534 struct TP_QT_EXPORT FieldSpec
1535 {
1539  QString name;
1545  QStringList parameters;
1549  uint flags;
1554  uint max;
1555 };
1556 
1557 TP_QT_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2);
1558 inline bool operator!=(const FieldSpec& v1, const FieldSpec& v2)
1559 {
1560  return !operator==(v1, v2);
1561 }
1562 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val);
1563 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val);
1564 
1571 typedef QList<FieldSpec> FieldSpecs;
1572 
1617 struct TP_QT_EXPORT HTTPPostData
1618 {
1622  QString key;
1626  QString value;
1627 };
1628 
1629 TP_QT_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2);
1630 inline bool operator!=(const HTTPPostData& v1, const HTTPPostData& v2)
1631 {
1632  return !operator==(v1, v2);
1633 }
1634 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val);
1635 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val);
1636 
1643 typedef QList<HTTPPostData> HTTPPostDataList;
1644 
1655 struct TP_QT_EXPORT HandleIdentifierMap : public QMap<uint, QString>
1656 {
1657  HandleIdentifierMap() : QMap<uint, QString>() {}
1658  HandleIdentifierMap(const QMap<uint, QString>& a) : QMap<uint, QString>(a) {}
1659 
1660  HandleIdentifierMap& operator=(const QMap<uint, QString>& a)
1661  {
1662  *(static_cast<QMap<uint, QString>*>(this)) = a;
1663  return *this;
1664  }
1665 };
1666 
1677 struct TP_QT_EXPORT HandleOwnerMap : public QMap<uint, uint>
1678 {
1679  HandleOwnerMap() : QMap<uint, uint>() {}
1680  HandleOwnerMap(const QMap<uint, uint>& a) : QMap<uint, uint>(a) {}
1681 
1682  HandleOwnerMap& operator=(const QMap<uint, uint>& a)
1683  {
1684  *(static_cast<QMap<uint, uint>*>(this)) = a;
1685  return *this;
1686  }
1687 };
1688 
1699 struct TP_QT_EXPORT LocalPendingInfo
1700 {
1708  uint actor;
1712  uint reason;
1717  QString message;
1718 };
1719 
1720 TP_QT_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2);
1721 inline bool operator!=(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
1722 {
1723  return !operator==(v1, v2);
1724 }
1725 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val);
1726 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val);
1727 
1734 typedef QList<LocalPendingInfo> LocalPendingInfoList;
1735 
1746 struct TP_QT_EXPORT Location : public QMap<QString, QDBusVariant>
1747 {
1748  Location() : QMap<QString, QDBusVariant>() {}
1749  Location(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
1750 
1751  Location& operator=(const QMap<QString, QDBusVariant>& a)
1752  {
1753  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
1754  return *this;
1755  }
1756 };
1757 
1771 struct TP_QT_EXPORT Mail : public QMap<QString, QDBusVariant>
1772 {
1773  Mail() : QMap<QString, QDBusVariant>() {}
1774  Mail(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
1775 
1776  Mail& operator=(const QMap<QString, QDBusVariant>& a)
1777  {
1778  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
1779  return *this;
1780  }
1781 };
1782 
1789 typedef QList<Mail> MailList;
1790 
1811 struct TP_QT_EXPORT MailAddress
1812 {
1816  QString name;
1820  QString address;
1821 };
1822 
1823 TP_QT_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2);
1824 inline bool operator!=(const MailAddress& v1, const MailAddress& v2)
1825 {
1826  return !operator==(v1, v2);
1827 }
1828 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val);
1829 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val);
1830 
1837 typedef QList<MailAddress> MailAddressList;
1838 
1848 struct TP_QT_EXPORT MediaDescriptionOffer
1849 {
1855  QDBusObjectPath mediaDescription;
1862  QVariantMap properties;
1863 };
1864 
1865 TP_QT_EXPORT bool operator==(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2);
1866 inline bool operator!=(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2)
1867 {
1868  return !operator==(v1, v2);
1869 }
1870 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaDescriptionOffer& val);
1871 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaDescriptionOffer& val);
1872 
1894 struct TP_QT_EXPORT MediaDescriptionProperties : public QMap<QString, QDBusVariant>
1895 {
1896  MediaDescriptionProperties() : QMap<QString, QDBusVariant>() {}
1897  MediaDescriptionProperties(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
1898 
1899  MediaDescriptionProperties& operator=(const QMap<QString, QDBusVariant>& a)
1900  {
1901  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
1902  return *this;
1903  }
1904 };
1905 
1915 struct TP_QT_EXPORT MediaSessionHandlerInfo
1916 {
1921  QDBusObjectPath sessionHandler;
1926 };
1927 
1928 TP_QT_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2);
1930 {
1931  return !operator==(v1, v2);
1932 }
1933 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val);
1934 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val);
1935 
1942 typedef QList<MediaSessionHandlerInfo> MediaSessionHandlerInfoList;
1943 
1951 struct TP_QT_EXPORT MediaStreamHandlerTransport
1952 {
1954  QString IPAddress;
1955  uint port;
1956  uint protocol;
1957  QString subtype;
1958  QString profile;
1961  QString username;
1962  QString password;
1963 };
1964 
1965 TP_QT_EXPORT bool operator==(const MediaStreamHandlerTransport& v1, const MediaStreamHandlerTransport& v2);
1967 {
1968  return !operator==(v1, v2);
1969 }
1970 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val);
1971 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val);
1972 
1979 typedef QList<MediaStreamHandlerTransport> MediaStreamHandlerTransportList;
1980 
1988 struct TP_QT_EXPORT MediaStreamInfo
1989 {
1991  uint contact;
1992  uint type;
1993  uint state;
1996 };
1997 
1998 TP_QT_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2);
1999 inline bool operator!=(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
2000 {
2001  return !operator==(v1, v2);
2002 }
2003 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val);
2004 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val);
2005 
2012 typedef QList<MediaStreamInfo> MediaStreamInfoList;
2013 
2022 struct TP_QT_EXPORT MessagePart : public QMap<QString, QDBusVariant>
2023 {
2024  MessagePart() : QMap<QString, QDBusVariant>() {}
2025  MessagePart(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
2026 
2027  MessagePart& operator=(const QMap<QString, QDBusVariant>& a)
2028  {
2029  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
2030  return *this;
2031  }
2032 };
2033 
2040 typedef QList<MessagePart> MessagePartList;
2041 
2048 typedef QList<MessagePartList> MessagePartListList;
2049 
2061 struct TP_QT_EXPORT MessagePartContentMap : public QMap<uint, QDBusVariant>
2062 {
2063  MessagePartContentMap() : QMap<uint, QDBusVariant>() {}
2064  MessagePartContentMap(const QMap<uint, QDBusVariant>& a) : QMap<uint, QDBusVariant>(a) {}
2065 
2066  MessagePartContentMap& operator=(const QMap<uint, QDBusVariant>& a)
2067  {
2068  *(static_cast<QMap<uint, QDBusVariant>*>(this)) = a;
2069  return *this;
2070  }
2071 };
2072 
2092 struct TP_QT_EXPORT Metadata : public QMap<QString, QStringList>
2093 {
2094  Metadata() : QMap<QString, QStringList>() {}
2095  Metadata(const QMap<QString, QStringList>& a) : QMap<QString, QStringList>(a) {}
2096 
2097  Metadata& operator=(const QMap<QString, QStringList>& a)
2098  {
2099  *(static_cast<QMap<QString, QStringList>*>(this)) = a;
2100  return *this;
2101  }
2102 };
2103 
2116 struct TP_QT_EXPORT MultipleStatusMap : public QMap<QString, QVariantMap>
2117 {
2118  MultipleStatusMap() : QMap<QString, QVariantMap>() {}
2119  MultipleStatusMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
2120 
2121  MultipleStatusMap& operator=(const QMap<QString, QVariantMap>& a)
2122  {
2123  *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
2124  return *this;
2125  }
2126 };
2127 
2135 struct TP_QT_EXPORT NotDelegatedError
2136 {
2140  QString errorName;
2144  QString errorMessage;
2145 };
2146 
2147 TP_QT_EXPORT bool operator==(const NotDelegatedError& v1, const NotDelegatedError& v2);
2148 inline bool operator!=(const NotDelegatedError& v1, const NotDelegatedError& v2)
2149 {
2150  return !operator==(v1, v2);
2151 }
2152 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const NotDelegatedError& val);
2153 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, NotDelegatedError& val);
2154 
2165 struct TP_QT_EXPORT ObjectImmutablePropertiesMap : public QMap<QDBusObjectPath, QVariantMap>
2166 {
2167  ObjectImmutablePropertiesMap() : QMap<QDBusObjectPath, QVariantMap>() {}
2168  ObjectImmutablePropertiesMap(const QMap<QDBusObjectPath, QVariantMap>& a) : QMap<QDBusObjectPath, QVariantMap>(a) {}
2169 
2170  ObjectImmutablePropertiesMap& operator=(const QMap<QDBusObjectPath, QVariantMap>& a)
2171  {
2172  *(static_cast<QMap<QDBusObjectPath, QVariantMap>*>(this)) = a;
2173  return *this;
2174  }
2175 };
2176 
2183 typedef QList<ObjectImmutablePropertiesMap> ObjectImmutablePropertiesMapList;
2184 
2195 struct TP_QT_EXPORT ParamSpec
2196 {
2200  QString name;
2204  uint flags;
2208  QString signature;
2214  QDBusVariant defaultValue;
2215 };
2216 
2217 TP_QT_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2);
2218 inline bool operator!=(const ParamSpec& v1, const ParamSpec& v2)
2219 {
2220  return !operator==(v1, v2);
2221 }
2222 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val);
2223 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val);
2224 
2231 typedef QList<ParamSpec> ParamSpecList;
2232 
2245 struct TP_QT_EXPORT PendingTextMessage
2246 {
2249  uint sender;
2251  uint flags;
2252  QString text;
2253 };
2254 
2255 TP_QT_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2);
2256 inline bool operator!=(const PendingTextMessage& v1, const PendingTextMessage& v2)
2257 {
2258  return !operator==(v1, v2);
2259 }
2260 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val);
2261 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val);
2262 
2269 typedef QList<PendingTextMessage> PendingTextMessageList;
2270 
2282 struct TP_QT_EXPORT PropertyFlagsChange
2283 {
2285  uint newFlags;
2286 };
2287 
2288 TP_QT_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2);
2289 inline bool operator!=(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
2290 {
2291  return !operator==(v1, v2);
2292 }
2293 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val);
2294 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val);
2295 
2302 typedef QList<PropertyFlagsChange> PropertyFlagsChangeList;
2303 
2314 struct TP_QT_EXPORT PropertySpec
2315 {
2317  QString name;
2318  QString signature;
2319  uint flags;
2320 };
2321 
2322 TP_QT_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2);
2323 inline bool operator!=(const PropertySpec& v1, const PropertySpec& v2)
2324 {
2325  return !operator==(v1, v2);
2326 }
2327 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val);
2328 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val);
2329 
2336 typedef QList<PropertySpec> PropertySpecList;
2337 
2349 struct TP_QT_EXPORT PropertyValue
2350 {
2352  QDBusVariant value;
2353 };
2354 
2355 TP_QT_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2);
2356 inline bool operator!=(const PropertyValue& v1, const PropertyValue& v2)
2357 {
2358  return !operator==(v1, v2);
2359 }
2360 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val);
2361 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val);
2362 
2369 typedef QList<PropertyValue> PropertyValueList;
2370 
2385 struct TP_QT_EXPORT ProtocolPropertiesMap : public QMap<QString, QVariantMap>
2386 {
2387  ProtocolPropertiesMap() : QMap<QString, QVariantMap>() {}
2388  ProtocolPropertiesMap(const QMap<QString, QVariantMap>& a) : QMap<QString, QVariantMap>(a) {}
2389 
2390  ProtocolPropertiesMap& operator=(const QMap<QString, QVariantMap>& a)
2391  {
2392  *(static_cast<QMap<QString, QVariantMap>*>(this)) = a;
2393  return *this;
2394  }
2395 };
2396 
2408 struct TP_QT_EXPORT QualifiedPropertyValueMap : public QMap<QString, QDBusVariant>
2409 {
2410  QualifiedPropertyValueMap() : QMap<QString, QDBusVariant>() {}
2411  QualifiedPropertyValueMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
2412 
2413  QualifiedPropertyValueMap& operator=(const QMap<QString, QDBusVariant>& a)
2414  {
2415  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
2416  return *this;
2417  }
2418 };
2419 
2426 typedef QList<QualifiedPropertyValueMap> QualifiedPropertyValueMapList;
2427 
2437 struct TP_QT_EXPORT RTCPFeedbackMessage
2438 {
2443  QString type;
2449  QString subtype;
2453  QString parameters;
2454 };
2455 
2456 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2);
2457 inline bool operator!=(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2)
2458 {
2459  return !operator==(v1, v2);
2460 }
2461 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessage& val);
2462 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessage& val);
2463 
2470 typedef QList<RTCPFeedbackMessage> RTCPFeedbackMessageList;
2471 
2481 struct TP_QT_EXPORT RTPHeaderExtension
2482 {
2486  uint ID;
2494  QString URI;
2498  QString parameters;
2499 };
2500 
2501 TP_QT_EXPORT bool operator==(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2);
2502 inline bool operator!=(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2)
2503 {
2504  return !operator==(v1, v2);
2505 }
2506 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTPHeaderExtension& val);
2507 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTPHeaderExtension& val);
2508 
2515 typedef QList<RTPHeaderExtension> RTPHeaderExtensionsList;
2516 
2554 struct TP_QT_EXPORT RequestableChannelClass
2555 {
2582  QVariantMap fixedProperties;
2613  QStringList allowedProperties;
2614 };
2615 
2616 TP_QT_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2);
2618 {
2619  return !operator==(v1, v2);
2620 }
2621 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val);
2622 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val);
2623 
2630 typedef QList<RequestableChannelClass> RequestableChannelClassList;
2631 
2650 struct TP_QT_EXPORT RichPresenceAccessControl
2651 {
2655  uint type;
2660  QDBusVariant detail;
2661 };
2662 
2663 TP_QT_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2);
2665 {
2666  return !operator==(v1, v2);
2667 }
2668 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val);
2669 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val);
2670 
2678 struct TP_QT_EXPORT RoomInfo
2679 {
2680  uint handle;
2681  QString channelType;
2682  QVariantMap info;
2683 };
2684 
2685 TP_QT_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2);
2686 inline bool operator!=(const RoomInfo& v1, const RoomInfo& v2)
2687 {
2688  return !operator==(v1, v2);
2689 }
2690 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val);
2691 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val);
2692 
2699 typedef QList<RoomInfo> RoomInfoList;
2700 
2710 struct TP_QT_EXPORT ServicePoint
2711 {
2722  QString service;
2723 };
2724 
2725 TP_QT_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2);
2726 inline bool operator!=(const ServicePoint& v1, const ServicePoint& v2)
2727 {
2728  return !operator==(v1, v2);
2729 }
2730 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val);
2731 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val);
2732 
2742 struct TP_QT_EXPORT SimplePresence
2743 {
2747  uint type;
2752  QString status;
2776  QString statusMessage;
2777 };
2778 
2779 TP_QT_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2);
2780 inline bool operator!=(const SimplePresence& v1, const SimplePresence& v2)
2781 {
2782  return !operator==(v1, v2);
2783 }
2784 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val);
2785 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val);
2786 
2796 struct TP_QT_EXPORT SimpleStatusSpec
2797 {
2805  uint type;
2817 };
2818 
2819 TP_QT_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2);
2820 inline bool operator!=(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
2821 {
2822  return !operator==(v1, v2);
2823 }
2824 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val);
2825 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val);
2826 
2837 struct TP_QT_EXPORT SingleContactAttributesMap : public QMap<QString, QDBusVariant>
2838 {
2839  SingleContactAttributesMap() : QMap<QString, QDBusVariant>() {}
2840  SingleContactAttributesMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
2841 
2842  SingleContactAttributesMap& operator=(const QMap<QString, QDBusVariant>& a)
2843  {
2844  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
2845  return *this;
2846  }
2847 };
2848 
2858 struct TP_QT_EXPORT SocketAddressIP
2859 {
2864  QString address;
2868  ushort port;
2869 };
2870 
2871 TP_QT_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2);
2872 inline bool operator!=(const SocketAddressIP& v1, const SocketAddressIP& v2)
2873 {
2874  return !operator==(v1, v2);
2875 }
2876 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val);
2877 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val);
2878 
2885 typedef QList<SocketAddressIP> SocketAddressIPList;
2886 
2896 struct TP_QT_EXPORT SocketAddressIPv4
2897 {
2902  QString address;
2906  ushort port;
2907 };
2908 
2909 TP_QT_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2);
2910 inline bool operator!=(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
2911 {
2912  return !operator==(v1, v2);
2913 }
2914 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val);
2915 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val);
2916 
2926 struct TP_QT_EXPORT SocketAddressIPv6
2927 {
2932  QString address;
2936  ushort port;
2937 };
2938 
2939 TP_QT_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2);
2940 inline bool operator!=(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
2941 {
2942  return !operator==(v1, v2);
2943 }
2944 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val);
2945 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val);
2946 
2956 struct TP_QT_EXPORT SocketNetmaskIPv4
2957 {
2962  QString address;
2968 };
2969 
2970 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2);
2971 inline bool operator!=(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
2972 {
2973  return !operator==(v1, v2);
2974 }
2975 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val);
2976 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val);
2977 
2987 struct TP_QT_EXPORT SocketNetmaskIPv6
2988 {
2993  QString address;
2999 };
3000 
3001 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2);
3002 inline bool operator!=(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
3003 {
3004  return !operator==(v1, v2);
3005 }
3006 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val);
3007 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val);
3008 
3018 struct TP_QT_EXPORT StreamCredentials
3019 {
3023  QString username;
3027  QString password;
3028 };
3029 
3030 TP_QT_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2);
3031 inline bool operator!=(const StreamCredentials& v1, const StreamCredentials& v2)
3032 {
3033  return !operator==(v1, v2);
3034 }
3035 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val);
3036 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val);
3037 
3048 struct TP_QT_EXPORT StringStringMap : public QMap<QString, QString>
3049 {
3050  StringStringMap() : QMap<QString, QString>() {}
3051  StringStringMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
3052 
3053  StringStringMap& operator=(const QMap<QString, QString>& a)
3054  {
3055  *(static_cast<QMap<QString, QString>*>(this)) = a;
3056  return *this;
3057  }
3058 };
3059 
3066 typedef QList<StringStringMap> StringStringMapList;
3067 
3078 struct TP_QT_EXPORT StringVariantMap : public QMap<QString, QDBusVariant>
3079 {
3080  StringVariantMap() : QMap<QString, QDBusVariant>() {}
3081  StringVariantMap(const QMap<QString, QDBusVariant>& a) : QMap<QString, QDBusVariant>(a) {}
3082 
3083  StringVariantMap& operator=(const QMap<QString, QDBusVariant>& a)
3084  {
3085  *(static_cast<QMap<QString, QDBusVariant>*>(this)) = a;
3086  return *this;
3087  }
3088 };
3089 
3096 typedef QList<StringVariantMap> StringVariantMapList;
3097 
3109 struct TP_QT_EXPORT SupportedSocketMap : public QMap<uint, UIntList>
3110 {
3111  SupportedSocketMap() : QMap<uint, UIntList>() {}
3112  SupportedSocketMap(const QMap<uint, UIntList>& a) : QMap<uint, UIntList>(a) {}
3113 
3114  SupportedSocketMap& operator=(const QMap<uint, UIntList>& a)
3115  {
3116  *(static_cast<QMap<uint, UIntList>*>(this)) = a;
3117  return *this;
3118  }
3119 };
3120 
3136 struct TP_QT_EXPORT TLSCertificateRejection
3137 {
3150  uint reason;
3158  QString error;
3195  QVariantMap details;
3196 };
3197 
3198 TP_QT_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2);
3200 {
3201  return !operator==(v1, v2);
3202 }
3203 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val);
3204 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val);
3205 
3212 typedef QList<TLSCertificateRejection> TLSCertificateRejectionList;
3213 
3225 struct TP_QT_EXPORT TubeInfo
3226 {
3229  uint type;
3230  QString service;
3231  QVariantMap parameters;
3232  uint state;
3233 };
3234 
3235 TP_QT_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2);
3236 inline bool operator!=(const TubeInfo& v1, const TubeInfo& v2)
3237 {
3238  return !operator==(v1, v2);
3239 }
3240 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val);
3241 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val);
3242 
3249 typedef QList<TubeInfo> TubeInfoList;
3250 
3267 struct TP_QT_EXPORT VCardFieldAddressMap : public QMap<QString, QString>
3268 {
3269  VCardFieldAddressMap() : QMap<QString, QString>() {}
3270  VCardFieldAddressMap(const QMap<QString, QString>& a) : QMap<QString, QString>(a) {}
3271 
3272  VCardFieldAddressMap& operator=(const QMap<QString, QString>& a)
3273  {
3274  *(static_cast<QMap<QString, QString>*>(this)) = a;
3275  return *this;
3276  }
3277 };
3278 
3286 struct TP_QT_EXPORT VideoResolution
3287 {
3291  uint width;
3295  uint height;
3296 };
3297 
3298 TP_QT_EXPORT bool operator==(const VideoResolution& v1, const VideoResolution& v2);
3299 inline bool operator!=(const VideoResolution& v1, const VideoResolution& v2)
3300 {
3301  return !operator==(v1, v2);
3302 }
3303 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const VideoResolution& val);
3304 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, VideoResolution& val);
3305 
3312 typedef QList<VideoResolution> VideoResolutionStruct;
3313 
3323 struct TP_QT_EXPORT CandidatePair
3324 {
3333 };
3334 
3335 TP_QT_EXPORT bool operator==(const CandidatePair& v1, const CandidatePair& v2);
3336 inline bool operator!=(const CandidatePair& v1, const CandidatePair& v2)
3337 {
3338  return !operator==(v1, v2);
3339 }
3340 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CandidatePair& val);
3341 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CandidatePair& val);
3342 
3349 typedef QList<CandidatePair> CandidatePairList;
3350 
3360 struct TP_QT_EXPORT Codec
3361 {
3374  QString name;
3386  uint channels;
3402  bool updated;
3409 };
3410 
3411 TP_QT_EXPORT bool operator==(const Codec& v1, const Codec& v2);
3412 inline bool operator!=(const Codec& v1, const Codec& v2)
3413 {
3414  return !operator==(v1, v2);
3415 }
3416 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val);
3417 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val);
3418 
3425 typedef QList<Codec> CodecList;
3426 
3437 struct TP_QT_EXPORT ContactCapabilitiesMap : public QMap<uint, RequestableChannelClassList>
3438 {
3439  ContactCapabilitiesMap() : QMap<uint, RequestableChannelClassList>() {}
3440  ContactCapabilitiesMap(const QMap<uint, RequestableChannelClassList>& a) : QMap<uint, RequestableChannelClassList>(a) {}
3441 
3442  ContactCapabilitiesMap& operator=(const QMap<uint, RequestableChannelClassList>& a)
3443  {
3444  *(static_cast<QMap<uint, RequestableChannelClassList>*>(this)) = a;
3445  return *this;
3446  }
3447 };
3448 
3455 typedef QList<ContactCapabilitiesMap> ContactCapabilitiesMapList;
3456 
3468 struct TP_QT_EXPORT ContactInfoMap : public QMap<uint, ContactInfoFieldList>
3469 {
3470  ContactInfoMap() : QMap<uint, ContactInfoFieldList>() {}
3471  ContactInfoMap(const QMap<uint, ContactInfoFieldList>& a) : QMap<uint, ContactInfoFieldList>(a) {}
3472 
3473  ContactInfoMap& operator=(const QMap<uint, ContactInfoFieldList>& a)
3474  {
3475  *(static_cast<QMap<uint, ContactInfoFieldList>*>(this)) = a;
3476  return *this;
3477  }
3478 };
3479 
3491 struct TP_QT_EXPORT ContactSearchResultMap : public QMap<QString, ContactInfoFieldList>
3492 {
3493  ContactSearchResultMap() : QMap<QString, ContactInfoFieldList>() {}
3494  ContactSearchResultMap(const QMap<QString, ContactInfoFieldList>& a) : QMap<QString, ContactInfoFieldList>(a) {}
3495 
3496  ContactSearchResultMap& operator=(const QMap<QString, ContactInfoFieldList>& a)
3497  {
3498  *(static_cast<QMap<QString, ContactInfoFieldList>*>(this)) = a;
3499  return *this;
3500  }
3501 };
3502 
3514 struct TP_QT_EXPORT ContactSubscriptionMap : public QMap<uint, ContactSubscriptions>
3515 {
3517  ContactSubscriptionMap(const QMap<uint, ContactSubscriptions>& a) : QMap<uint, ContactSubscriptions>(a) {}
3518 
3519  ContactSubscriptionMap& operator=(const QMap<uint, ContactSubscriptions>& a)
3520  {
3521  *(static_cast<QMap<uint, ContactSubscriptions>*>(this)) = a;
3522  return *this;
3523  }
3524 };
3525 
3535 struct TP_QT_EXPORT HandlerCapabilities
3536 {
3542  QString wellKnownName;
3550  StringVariantMapList channelClasses;
3559  QStringList capabilities;
3560 };
3561 
3562 TP_QT_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2);
3563 inline bool operator!=(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
3564 {
3565  return !operator==(v1, v2);
3566 }
3567 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val);
3568 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val);
3569 
3576 typedef QList<HandlerCapabilities> HandlerCapabilitiesList;
3577 
3588 struct TP_QT_EXPORT LastActivityAndStatuses
3589 {
3592 };
3593 
3594 TP_QT_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2);
3596 {
3597  return !operator==(v1, v2);
3598 }
3599 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val);
3600 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val);
3601 
3619 struct TP_QT_EXPORT MailURL
3620 {
3624  QString URL;
3628  uint method;
3633  HTTPPostDataList postData;
3634 };
3635 
3636 TP_QT_EXPORT bool operator==(const MailURL& v1, const MailURL& v2);
3637 inline bool operator!=(const MailURL& v1, const MailURL& v2)
3638 {
3639  return !operator==(v1, v2);
3640 }
3641 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val);
3642 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val);
3643 
3651 struct TP_QT_EXPORT MediaStreamHandlerCandidate
3652 {
3653  QString name;
3654  MediaStreamHandlerTransportList transports;
3655 };
3656 
3657 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCandidate& v1, const MediaStreamHandlerCandidate& v2);
3659 {
3660  return !operator==(v1, v2);
3661 }
3662 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val);
3663 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val);
3664 
3671 typedef QList<MediaStreamHandlerCandidate> MediaStreamHandlerCandidateList;
3672 
3682 struct TP_QT_EXPORT MediaStreamHandlerCodec
3683 {
3687  uint codecID;
3691  QString name;
3708 };
3709 
3710 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2);
3712 {
3713  return !operator==(v1, v2);
3714 }
3715 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val);
3716 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val);
3717 
3724 typedef QList<MediaStreamHandlerCodec> MediaStreamHandlerCodecList;
3725 
3736 struct TP_QT_EXPORT NotDelegatedMap : public QMap<QDBusObjectPath, NotDelegatedError>
3737 {
3738  NotDelegatedMap() : QMap<QDBusObjectPath, NotDelegatedError>() {}
3739  NotDelegatedMap(const QMap<QDBusObjectPath, NotDelegatedError>& a) : QMap<QDBusObjectPath, NotDelegatedError>(a) {}
3740 
3741  NotDelegatedMap& operator=(const QMap<QDBusObjectPath, NotDelegatedError>& a)
3742  {
3743  *(static_cast<QMap<QDBusObjectPath, NotDelegatedError>*>(this)) = a;
3744  return *this;
3745  }
3746 };
3747 
3756 {
3769  RTCPFeedbackMessageList messages;
3770 };
3771 
3772 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessageProperties& v1, const RTCPFeedbackMessageProperties& v2);
3774 {
3775  return !operator==(v1, v2);
3776 }
3777 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessageProperties& val);
3778 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessageProperties& val);
3779 
3794 struct TP_QT_EXPORT ServicePointInfo
3795 {
3806  QStringList serviceIDs;
3807 };
3808 
3809 TP_QT_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2);
3810 inline bool operator!=(const ServicePointInfo& v1, const ServicePointInfo& v2)
3811 {
3812  return !operator==(v1, v2);
3813 }
3814 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val);
3815 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val);
3816 
3823 typedef QList<ServicePointInfo> ServicePointInfoList;
3824 
3836 struct TP_QT_EXPORT SimpleContactPresences : public QMap<uint, SimplePresence>
3837 {
3839  SimpleContactPresences(const QMap<uint, SimplePresence>& a) : QMap<uint, SimplePresence>(a) {}
3840 
3841  SimpleContactPresences& operator=(const QMap<uint, SimplePresence>& a)
3842  {
3843  *(static_cast<QMap<uint, SimplePresence>*>(this)) = a;
3844  return *this;
3845  }
3846 };
3847 
3858 struct TP_QT_EXPORT SimpleStatusSpecMap : public QMap<QString, SimpleStatusSpec>
3859 {
3860  SimpleStatusSpecMap() : QMap<QString, SimpleStatusSpec>() {}
3861  SimpleStatusSpecMap(const QMap<QString, SimpleStatusSpec>& a) : QMap<QString, SimpleStatusSpec>(a) {}
3862 
3863  SimpleStatusSpecMap& operator=(const QMap<QString, SimpleStatusSpec>& a)
3864  {
3865  *(static_cast<QMap<QString, SimpleStatusSpec>*>(this)) = a;
3866  return *this;
3867  }
3868 };
3869 
3877 struct TP_QT_EXPORT StatusSpec
3878 {
3879  uint type;
3883 };
3884 
3885 TP_QT_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2);
3886 inline bool operator!=(const StatusSpec& v1, const StatusSpec& v2)
3887 {
3888  return !operator==(v1, v2);
3889 }
3890 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val);
3891 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val);
3892 
3903 struct TP_QT_EXPORT ContactCodecMap : public QMap<uint, CodecList>
3904 {
3905  ContactCodecMap() : QMap<uint, CodecList>() {}
3906  ContactCodecMap(const QMap<uint, CodecList>& a) : QMap<uint, CodecList>(a) {}
3907 
3908  ContactCodecMap& operator=(const QMap<uint, CodecList>& a)
3909  {
3910  *(static_cast<QMap<uint, CodecList>*>(this)) = a;
3911  return *this;
3912  }
3913 };
3914 
3926 struct TP_QT_EXPORT ContactPresences : public QMap<uint, LastActivityAndStatuses>
3927 {
3929  ContactPresences(const QMap<uint, LastActivityAndStatuses>& a) : QMap<uint, LastActivityAndStatuses>(a) {}
3930 
3931  ContactPresences& operator=(const QMap<uint, LastActivityAndStatuses>& a)
3932  {
3933  *(static_cast<QMap<uint, LastActivityAndStatuses>*>(this)) = a;
3934  return *this;
3935  }
3936 };
3937 
3948 struct TP_QT_EXPORT RTCPFeedbackMessageMap : public QMap<uint, RTCPFeedbackMessageProperties>
3949 {
3951  RTCPFeedbackMessageMap(const QMap<uint, RTCPFeedbackMessageProperties>& a) : QMap<uint, RTCPFeedbackMessageProperties>(a) {}
3952 
3953  RTCPFeedbackMessageMap& operator=(const QMap<uint, RTCPFeedbackMessageProperties>& a)
3954  {
3955  *(static_cast<QMap<uint, RTCPFeedbackMessageProperties>*>(this)) = a;
3956  return *this;
3957  }
3958 };
3959 
3968 struct TP_QT_EXPORT StatusSpecMap : public QMap<QString, StatusSpec>
3969 {
3970  StatusSpecMap() : QMap<QString, StatusSpec>() {}
3971  StatusSpecMap(const QMap<QString, StatusSpec>& a) : QMap<QString, StatusSpec>(a) {}
3972 
3973  StatusSpecMap& operator=(const QMap<QString, StatusSpec>& a)
3974  {
3975  *(static_cast<QMap<QString, StatusSpec>*>(this)) = a;
3976  return *this;
3977  }
3978 };
3979 
3980 
3981 } // namespace Tp
3982 
3983 Q_DECLARE_METATYPE(Tp::AccessControl)
3984 Q_DECLARE_METATYPE(Tp::AddressingNormalizationMap)
3985 Q_DECLARE_METATYPE(Tp::AliasMap)
3986 Q_DECLARE_METATYPE(Tp::AliasPair)
3987 Q_DECLARE_METATYPE(Tp::AliasPairList)
3988 Q_DECLARE_METATYPE(Tp::Avatar)
3989 Q_DECLARE_METATYPE(Tp::AvatarTokenMap)
3990 Q_DECLARE_METATYPE(Tp::ByteArrayList)
3991 Q_DECLARE_METATYPE(Tp::CallMemberMap)
3992 Q_DECLARE_METATYPE(Tp::CallMemberMapList)
3993 Q_DECLARE_METATYPE(Tp::CallStateReason)
3994 Q_DECLARE_METATYPE(Tp::Candidate)
3995 Q_DECLARE_METATYPE(Tp::CandidateInfo)
3996 Q_DECLARE_METATYPE(Tp::CandidateList)
3997 Q_DECLARE_METATYPE(Tp::CandidatePair)
3998 Q_DECLARE_METATYPE(Tp::CandidatePairList)
3999 Q_DECLARE_METATYPE(Tp::CapabilityChange)
4000 Q_DECLARE_METATYPE(Tp::CapabilityChangeList)
4001 Q_DECLARE_METATYPE(Tp::CapabilityPair)
4002 Q_DECLARE_METATYPE(Tp::CapabilityPairList)
4003 Q_DECLARE_METATYPE(Tp::CaptchaAnswers)
4004 Q_DECLARE_METATYPE(Tp::CaptchaInfo)
4005 Q_DECLARE_METATYPE(Tp::CaptchaInfoList)
4006 Q_DECLARE_METATYPE(Tp::ChannelCallStateMap)
4007 Q_DECLARE_METATYPE(Tp::ChannelClass)
4008 Q_DECLARE_METATYPE(Tp::ChannelClassList)
4009 Q_DECLARE_METATYPE(Tp::ChannelDetails)
4010 Q_DECLARE_METATYPE(Tp::ChannelDetailsList)
4011 Q_DECLARE_METATYPE(Tp::ChannelInfo)
4012 Q_DECLARE_METATYPE(Tp::ChannelInfoList)
4013 Q_DECLARE_METATYPE(Tp::ChannelOriginatorMap)
4014 Q_DECLARE_METATYPE(Tp::ChatStateMap)
4015 Q_DECLARE_METATYPE(Tp::Codec)
4016 Q_DECLARE_METATYPE(Tp::CodecList)
4017 Q_DECLARE_METATYPE(Tp::ComponentStateMap)
4018 Q_DECLARE_METATYPE(Tp::ContactAttributesMap)
4019 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMap)
4020 Q_DECLARE_METATYPE(Tp::ContactCapabilitiesMapList)
4021 Q_DECLARE_METATYPE(Tp::ContactCapability)
4022 Q_DECLARE_METATYPE(Tp::ContactCapabilityList)
4023 Q_DECLARE_METATYPE(Tp::ContactClientTypes)
4024 Q_DECLARE_METATYPE(Tp::ContactCodecMap)
4025 Q_DECLARE_METATYPE(Tp::ContactInfoField)
4026 Q_DECLARE_METATYPE(Tp::ContactInfoFieldList)
4027 Q_DECLARE_METATYPE(Tp::ContactInfoMap)
4028 Q_DECLARE_METATYPE(Tp::ContactLocations)
4029 Q_DECLARE_METATYPE(Tp::ContactMediaDescriptionPropertiesMap)
4030 Q_DECLARE_METATYPE(Tp::ContactPresences)
4031 Q_DECLARE_METATYPE(Tp::ContactSSRCsMap)
4032 Q_DECLARE_METATYPE(Tp::ContactSearchMap)
4033 Q_DECLARE_METATYPE(Tp::ContactSearchResultMap)
4034 Q_DECLARE_METATYPE(Tp::ContactSendingStateMap)
4035 Q_DECLARE_METATYPE(Tp::ContactSubscriptionMap)
4036 Q_DECLARE_METATYPE(Tp::ContactSubscriptions)
4037 Q_DECLARE_METATYPE(Tp::CurrencyAmount)
4038 Q_DECLARE_METATYPE(Tp::DBusTubeMember)
4039 Q_DECLARE_METATYPE(Tp::DBusTubeMemberList)
4040 Q_DECLARE_METATYPE(Tp::DBusTubeParticipants)
4041 Q_DECLARE_METATYPE(Tp::DebugMessage)
4042 Q_DECLARE_METATYPE(Tp::DebugMessageList)
4043 Q_DECLARE_METATYPE(Tp::FieldSpec)
4044 Q_DECLARE_METATYPE(Tp::FieldSpecs)
4045 Q_DECLARE_METATYPE(Tp::HTTPPostData)
4046 Q_DECLARE_METATYPE(Tp::HTTPPostDataList)
4047 Q_DECLARE_METATYPE(Tp::HandleIdentifierMap)
4048 Q_DECLARE_METATYPE(Tp::HandleOwnerMap)
4049 Q_DECLARE_METATYPE(Tp::HandlerCapabilities)
4050 Q_DECLARE_METATYPE(Tp::HandlerCapabilitiesList)
4051 Q_DECLARE_METATYPE(Tp::LastActivityAndStatuses)
4052 Q_DECLARE_METATYPE(Tp::LocalPendingInfo)
4053 Q_DECLARE_METATYPE(Tp::LocalPendingInfoList)
4054 Q_DECLARE_METATYPE(Tp::Location)
4055 Q_DECLARE_METATYPE(Tp::Mail)
4056 Q_DECLARE_METATYPE(Tp::MailAddress)
4057 Q_DECLARE_METATYPE(Tp::MailAddressList)
4058 Q_DECLARE_METATYPE(Tp::MailList)
4059 Q_DECLARE_METATYPE(Tp::MailURL)
4060 Q_DECLARE_METATYPE(Tp::MediaDescriptionOffer)
4061 Q_DECLARE_METATYPE(Tp::MediaDescriptionProperties)
4062 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfo)
4063 Q_DECLARE_METATYPE(Tp::MediaSessionHandlerInfoList)
4064 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidate)
4065 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCandidateList)
4066 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodec)
4067 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerCodecList)
4068 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransport)
4069 Q_DECLARE_METATYPE(Tp::MediaStreamHandlerTransportList)
4070 Q_DECLARE_METATYPE(Tp::MediaStreamInfo)
4071 Q_DECLARE_METATYPE(Tp::MediaStreamInfoList)
4072 Q_DECLARE_METATYPE(Tp::MessagePart)
4073 Q_DECLARE_METATYPE(Tp::MessagePartContentMap)
4074 Q_DECLARE_METATYPE(Tp::MessagePartList)
4075 Q_DECLARE_METATYPE(Tp::MessagePartListList)
4076 Q_DECLARE_METATYPE(Tp::Metadata)
4077 Q_DECLARE_METATYPE(Tp::MultipleStatusMap)
4078 Q_DECLARE_METATYPE(Tp::NotDelegatedError)
4079 Q_DECLARE_METATYPE(Tp::NotDelegatedMap)
4080 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMap)
4081 Q_DECLARE_METATYPE(Tp::ObjectImmutablePropertiesMapList)
4082 Q_DECLARE_METATYPE(Tp::ObjectPathList)
4083 Q_DECLARE_METATYPE(Tp::ParamSpec)
4084 Q_DECLARE_METATYPE(Tp::ParamSpecList)
4085 Q_DECLARE_METATYPE(Tp::PendingTextMessage)
4086 Q_DECLARE_METATYPE(Tp::PendingTextMessageList)
4087 Q_DECLARE_METATYPE(Tp::PropertyFlagsChange)
4088 Q_DECLARE_METATYPE(Tp::PropertyFlagsChangeList)
4089 Q_DECLARE_METATYPE(Tp::PropertySpec)
4090 Q_DECLARE_METATYPE(Tp::PropertySpecList)
4091 Q_DECLARE_METATYPE(Tp::PropertyValue)
4092 Q_DECLARE_METATYPE(Tp::PropertyValueList)
4093 Q_DECLARE_METATYPE(Tp::ProtocolPropertiesMap)
4094 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMap)
4095 Q_DECLARE_METATYPE(Tp::QualifiedPropertyValueMapList)
4096 Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessage)
4097 Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageList)
4098 Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageMap)
4099 Q_DECLARE_METATYPE(Tp::RTCPFeedbackMessageProperties)
4100 Q_DECLARE_METATYPE(Tp::RTPHeaderExtension)
4101 Q_DECLARE_METATYPE(Tp::RTPHeaderExtensionsList)
4102 Q_DECLARE_METATYPE(Tp::RequestableChannelClass)
4103 Q_DECLARE_METATYPE(Tp::RequestableChannelClassList)
4104 Q_DECLARE_METATYPE(Tp::RichPresenceAccessControl)
4105 Q_DECLARE_METATYPE(Tp::RoomInfo)
4106 Q_DECLARE_METATYPE(Tp::RoomInfoList)
4107 Q_DECLARE_METATYPE(Tp::ServicePoint)
4108 Q_DECLARE_METATYPE(Tp::ServicePointInfo)
4109 Q_DECLARE_METATYPE(Tp::ServicePointInfoList)
4110 Q_DECLARE_METATYPE(Tp::SimpleContactPresences)
4111 Q_DECLARE_METATYPE(Tp::SimplePresence)
4112 Q_DECLARE_METATYPE(Tp::SimpleStatusSpec)
4113 Q_DECLARE_METATYPE(Tp::SimpleStatusSpecMap)
4114 Q_DECLARE_METATYPE(Tp::SingleContactAttributesMap)
4115 Q_DECLARE_METATYPE(Tp::SocketAddressIP)
4116 Q_DECLARE_METATYPE(Tp::SocketAddressIPList)
4117 Q_DECLARE_METATYPE(Tp::SocketAddressIPv4)
4118 Q_DECLARE_METATYPE(Tp::SocketAddressIPv6)
4119 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv4)
4120 Q_DECLARE_METATYPE(Tp::SocketNetmaskIPv6)
4121 Q_DECLARE_METATYPE(Tp::StatusSpec)
4122 Q_DECLARE_METATYPE(Tp::StatusSpecMap)
4123 Q_DECLARE_METATYPE(Tp::StreamCredentials)
4124 Q_DECLARE_METATYPE(Tp::StringStringMap)
4125 Q_DECLARE_METATYPE(Tp::StringStringMapList)
4126 Q_DECLARE_METATYPE(Tp::StringVariantMap)
4127 Q_DECLARE_METATYPE(Tp::StringVariantMapList)
4128 Q_DECLARE_METATYPE(Tp::SupportedSocketMap)
4129 Q_DECLARE_METATYPE(Tp::TLSCertificateRejection)
4130 Q_DECLARE_METATYPE(Tp::TLSCertificateRejectionList)
4131 Q_DECLARE_METATYPE(Tp::TubeInfo)
4132 Q_DECLARE_METATYPE(Tp::TubeInfoList)
4133 Q_DECLARE_METATYPE(Tp::UIntList)
4134 Q_DECLARE_METATYPE(Tp::VCardFieldAddressMap)
4135 Q_DECLARE_METATYPE(Tp::VideoResolution)
4136 Q_DECLARE_METATYPE(Tp::VideoResolutionStruct)
uint port
Definition: build/TelepathyQt/_gen/types.h:401
QList< PendingTextMessage > PendingTextMessageList
Definition: build/TelepathyQt/_gen/types.h:2269
ByteArrayList & operator=(const QList< QByteArray > &a)
Definition: build/TelepathyQt/_gen/types.h:66
Metadata & operator=(const QMap< QString, QStringList > &a)
Definition: build/TelepathyQt/_gen/types.h:2097
Definition: build/TelepathyQt/_gen/types.h:1473
MediaStreamHandlerTransportList transports
Definition: build/TelepathyQt/_gen/types.h:3654
QList< RTPHeaderExtension > RTPHeaderExtensionsList
Definition: build/TelepathyQt/_gen/types.h:2515
QString address
Definition: build/TelepathyQt/_gen/types.h:2962
HandleOwnerMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:1680
QString statusMessage
Definition: build/TelepathyQt/_gen/types.h:2776
uint flags
Definition: build/TelepathyQt/_gen/types.h:2319
HandleOwnerMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:1682
SimpleContactPresences & operator=(const QMap< uint, SimplePresence > &a)
Definition: build/TelepathyQt/_gen/types.h:3841
Metadata()
Definition: build/TelepathyQt/_gen/types.h:2094
uint identifier
Definition: build/TelepathyQt/_gen/types.h:3227
Definition: build/TelepathyQt/_gen/types.h:3286
QList< MediaSessionHandlerInfo > MediaSessionHandlerInfoList
Definition: build/TelepathyQt/_gen/types.h:1942
SupportedSocketMap()
Definition: build/TelepathyQt/_gen/types.h:3111
QString key
Definition: build/TelepathyQt/_gen/types.h:1622
ChannelClass(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:734
QString IP
Definition: build/TelepathyQt/_gen/types.h:397
uint newGenericFlags
Definition: build/TelepathyQt/_gen/types.h:512
Definition: build/TelepathyQt/_gen/types.h:3514
QList< MessagePartList > MessagePartListList
Definition: build/TelepathyQt/_gen/types.h:2048
ContactClientTypes()
Definition: build/TelepathyQt/_gen/types.h:1018
ContactLocations(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:1212
uint reason
Definition: build/TelepathyQt/_gen/types.h:3150
CaptchaAnswers & operator=(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:582
Definition: build/TelepathyQt/_gen/types.h:3048
Definition: build/TelepathyQt/_gen/types.h:3437
RTCPFeedbackMessageMap(const QMap< uint, RTCPFeedbackMessageProperties > &a)
Definition: build/TelepathyQt/_gen/types.h:3951
Definition: build/TelepathyQt/_gen/types.h:1915
AvatarTokenMap & operator=(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:279
StringStringMap & operator=(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:3053
Definition: build/TelepathyQt/_gen/types.h:936
uchar prefixLength
Definition: build/TelepathyQt/_gen/types.h:2998
Definition: build/TelepathyQt/_gen/types.h:3323
ContactCapabilitiesMap()
Definition: build/TelepathyQt/_gen/types.h:3439
ContactCodecMap()
Definition: build/TelepathyQt/_gen/types.h:3905
QString domain
Definition: build/TelepathyQt/_gen/types.h:1496
QList< MediaStreamInfo > MediaStreamInfoList
Definition: build/TelepathyQt/_gen/types.h:2012
QString signature
Definition: build/TelepathyQt/_gen/types.h:2318
uint identifier
Definition: build/TelepathyQt/_gen/types.h:2351
Definition: build/TelepathyQt/_gen/types.h:3858
Definition: build/TelepathyQt/_gen/types.h:2135
Definition: build/TelepathyQt/_gen/types.h:959
RTCPFeedbackMessageList messages
Definition: build/TelepathyQt/_gen/types.h:3769
QList< PropertyValue > PropertyValueList
Definition: build/TelepathyQt/_gen/types.h:2369
uint numberOfChannels
Definition: build/TelepathyQt/_gen/types.h:3703
QList< CapabilityPair > CapabilityPairList
Definition: build/TelepathyQt/_gen/types.h:563
ContactClientTypes(const QMap< uint, QStringList > &a)
Definition: build/TelepathyQt/_gen/types.h:1019
QDBusArgument & operator<<(QDBusArgument &arg, const SUSocketAddress &val)
Definition: types.cpp:57
SingleContactAttributesMap()
Definition: build/TelepathyQt/_gen/types.h:2839
uint initiator
Definition: build/TelepathyQt/_gen/types.h:3228
uint identifier
Definition: build/TelepathyQt/_gen/types.h:1990
MediaDescriptionProperties(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1897
Definition: build/TelepathyQt/_gen/types.h:2349
ChannelOriginatorMap & operator=(const QMap< uint, QDBusObjectPath > &a)
Definition: build/TelepathyQt/_gen/types.h:899
MessagePart()
Definition: build/TelepathyQt/_gen/types.h:2024
uint type
Definition: build/TelepathyQt/_gen/types.h:1992
QDBusVariant detail
Definition: build/TelepathyQt/_gen/types.h:149
SupportedSocketMap & operator=(const QMap< uint, UIntList > &a)
Definition: build/TelepathyQt/_gen/types.h:3114
bool canHaveMessage
Definition: build/TelepathyQt/_gen/types.h:2816
QString name
Definition: build/TelepathyQt/_gen/types.h:2317
uint subscribe
Definition: build/TelepathyQt/_gen/types.h:1319
Definition: build/TelepathyQt/_gen/types.h:3136
uint typeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:987
uint clockRate
Definition: build/TelepathyQt/_gen/types.h:3699
uint actor
Definition: build/TelepathyQt/_gen/types.h:1708
Definition: build/TelepathyQt/_gen/types.h:2282
CallMemberMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:299
uint oldTypeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:513
bool exclusive
Definition: build/TelepathyQt/_gen/types.h:3881
Definition: build/TelepathyQt/_gen/types.h:507
MultipleStatusMap()
Definition: build/TelepathyQt/_gen/types.h:2118
QString address
Definition: build/TelepathyQt/_gen/types.h:1820
QString service
Definition: build/TelepathyQt/_gen/types.h:3230
uint type
Definition: build/TelepathyQt/_gen/types.h:3229
ContactInfoMap()
Definition: build/TelepathyQt/_gen/types.h:3470
QDBusVariant detail
Definition: build/TelepathyQt/_gen/types.h:2660
Definition: build/TelepathyQt/_gen/types.h:3968
QList< SocketAddressIP > SocketAddressIPList
Definition: build/TelepathyQt/_gen/types.h:2885
Definition: build/TelepathyQt/_gen/types.h:2245
Definition: build/TelepathyQt/_gen/types.h:1534
DBusTubeParticipants & operator=(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1457
ContactCodecMap & operator=(const QMap< uint, CodecList > &a)
Definition: build/TelepathyQt/_gen/types.h:3908
uint type
Definition: build/TelepathyQt/_gen/types.h:3879
double timestamp
Definition: build/TelepathyQt/_gen/types.h:1479
Definition: build/TelepathyQt/_gen/types.h:213
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:233
Definition: build/TelepathyQt/_gen/types.h:2092
uint handle
Definition: build/TelepathyQt/_gen/types.h:1418
QDBusObjectPath mediaDescription
Definition: build/TelepathyQt/_gen/types.h:1855
Definition: build/TelepathyQt/_gen/types.h:3588
ContactSearchMap(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1274
SimpleContactPresences()
Definition: build/TelepathyQt/_gen/types.h:3838
QList< ChannelInfo > ChannelInfoList
Definition: build/TelepathyQt/_gen/types.h:878
SimpleStatusSpecMap()
Definition: build/TelepathyQt/_gen/types.h:3860
QList< CallMemberMap > CallMemberMapList
Definition: build/TelepathyQt/_gen/types.h:314
QString password
Definition: build/TelepathyQt/_gen/types.h:1962
Definition: build/TelepathyQt/_gen/types.h:1655
Definition: build/TelepathyQt/_gen/types.h:601
uint level
Definition: build/TelepathyQt/_gen/types.h:1501
QList< TLSCertificateRejection > TLSCertificateRejectionList
Definition: build/TelepathyQt/_gen/types.h:3212
MessagePartContentMap & operator=(const QMap< uint, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2066
QStringList serviceIDs
Definition: build/TelepathyQt/_gen/types.h:3806
NotDelegatedMap(const QMap< QDBusObjectPath, NotDelegatedError > &a)
Definition: build/TelepathyQt/_gen/types.h:3739
QString address
Definition: build/TelepathyQt/_gen/types.h:2902
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:829
AvatarTokenMap()
Definition: build/TelepathyQt/_gen/types.h:276
Definition: build/TelepathyQt/_gen/types.h:2408
ServicePoint servicePoint
Definition: build/TelepathyQt/_gen/types.h:3799
Definition: build/TelepathyQt/_gen/types.h:1811
QList< CaptchaInfo > CaptchaInfoList
Definition: build/TelepathyQt/_gen/types.h:682
uint ID
Definition: build/TelepathyQt/_gen/types.h:610
AddressingNormalizationMap()
Definition: build/TelepathyQt/_gen/types.h:172
Definition: build/TelepathyQt/_gen/types.h:249
CaptchaAnswers(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:580
StringStringMap(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:3051
SimpleStatusSpecMap & operator=(const QMap< QString, SimpleStatusSpec > &a)
Definition: build/TelepathyQt/_gen/types.h:3863
AvatarTokenMap(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:277
UIntList & operator=(const QList< uint > &a)
Definition: build/TelepathyQt/_gen/types.h:112
bool operator!=(const AccessControl &v1, const AccessControl &v2)
Definition: build/TelepathyQt/_gen/types.h:153
QString profile
Definition: build/TelepathyQt/_gen/types.h:1958
QDBusObjectPath channel
Definition: build/TelepathyQt/_gen/types.h:847
QString label
Definition: build/TelepathyQt/_gen/types.h:652
ContactSearchMap & operator=(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1276
AliasMap()
Definition: build/TelepathyQt/_gen/types.h:194
QString name
Definition: build/TelepathyQt/_gen/types.h:1539
uint toBeAdded
Definition: build/TelepathyQt/_gen/types.h:1704
Definition: build/TelepathyQt/_gen/types.h:1452
Definition: build/TelepathyQt/_gen/types.h:694
QString mediaSessionType
Definition: build/TelepathyQt/_gen/types.h:1925
ChatStateMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:919
ChannelCallStateMap()
Definition: build/TelepathyQt/_gen/types.h:696
QString name
Definition: build/TelepathyQt/_gen/types.h:2200
Definition: build/TelepathyQt/_gen/types.h:3267
QList< ChannelClass > ChannelClassList
Definition: build/TelepathyQt/_gen/types.h:749
Definition: build/TelepathyQt/_gen/types.h:3755
ContactLocations()
Definition: build/TelepathyQt/_gen/types.h:1211
uint type
Definition: build/TelepathyQt/_gen/types.h:2747
QString URI
Definition: build/TelepathyQt/_gen/types.h:2494
QualifiedPropertyValueMap()
Definition: build/TelepathyQt/_gen/types.h:2410
Definition: build/TelepathyQt/_gen/types.h:2896
uint handleType
Definition: build/TelepathyQt/_gen/types.h:856
Definition: build/TelepathyQt/_gen/types.h:84
uint type
Definition: build/TelepathyQt/_gen/types.h:144
Definition: build/TelepathyQt/_gen/types.h:3903
AddressingNormalizationMap(const QMap< QString, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:173
Definition: build/TelepathyQt/_gen/types.h:1894
QList< PropertyFlagsChange > PropertyFlagsChangeList
Definition: build/TelepathyQt/_gen/types.h:2302
QString URL
Definition: build/TelepathyQt/_gen/types.h:3624
QualifiedPropertyValueMap & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2413
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1197
Definition: build/TelepathyQt/_gen/types.h:3794
Definition: build/TelepathyQt/_gen/types.h:2385
Mail()
Definition: build/TelepathyQt/_gen/types.h:1773
QString errorName
Definition: build/TelepathyQt/_gen/types.h:2140
QString type
Definition: build/TelepathyQt/_gen/types.h:620
QString channelType
Definition: build/TelepathyQt/_gen/types.h:510
ByteArrayList(const QList< QByteArray > &a)
Definition: build/TelepathyQt/_gen/types.h:64
QList< CandidatePair > CandidatePairList
Definition: build/TelepathyQt/_gen/types.h:3349
Definition: build/TelepathyQt/_gen/types.h:2314
ChannelOriginatorMap(const QMap< uint, QDBusObjectPath > &a)
Definition: build/TelepathyQt/_gen/types.h:897
ContactSearchResultMap()
Definition: build/TelepathyQt/_gen/types.h:3493
Definition: build/TelepathyQt/_gen/types.h:543
QString subtype
Definition: build/TelepathyQt/_gen/types.h:1957
uint reason
Definition: build/TelepathyQt/_gen/types.h:341
ObjectImmutablePropertiesMap & operator=(const QMap< QDBusObjectPath, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2170
Definition: build/TelepathyQt/_gen/types.h:3651
StringVariantMap(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:3081
QString name
Definition: build/TelepathyQt/_gen/types.h:1816
Mail(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1774
Definition: build/TelepathyQt/_gen/types.h:1271
uint handle
Definition: build/TelepathyQt/_gen/types.h:984
QString channelType
Definition: build/TelepathyQt/_gen/types.h:851
Definition: build/TelepathyQt/_gen/types.h:2987
DBusTubeParticipants(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1455
Definition: build/TelepathyQt/_gen/types.h:3468
AliasMap & operator=(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:197
QString MIMEType
Definition: build/TelepathyQt/_gen/types.h:252
uint state
Definition: build/TelepathyQt/_gen/types.h:3232
StringStringMap parameters
Definition: build/TelepathyQt/_gen/types.h:3707
VCardFieldAddressMap & operator=(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:3272
QList< Candidate > CandidateList
Definition: build/TelepathyQt/_gen/types.h:422
Definition: build/TelepathyQt/_gen/types.h:3836
QList< MediaStreamHandlerCandidate > MediaStreamHandlerCandidateList
Definition: build/TelepathyQt/_gen/types.h:3671
Definition: build/TelepathyQt/_gen/types.h:2061
HandleIdentifierMap()
Definition: build/TelepathyQt/_gen/types.h:1657
AliasMap(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:195
Mail & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1776
MessagePart & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2027
QString error
Definition: build/TelepathyQt/_gen/types.h:3158
Definition: build/TelepathyQt/_gen/types.h:2678
QList< RTCPFeedbackMessage > RTCPFeedbackMessageList
Definition: build/TelepathyQt/_gen/types.h:2470
HTTPPostDataList postData
Definition: build/TelepathyQt/_gen/types.h:3633
QList< MediaStreamHandlerCodec > MediaStreamHandlerCodecList
Definition: build/TelepathyQt/_gen/types.h:3724
uint max
Definition: build/TelepathyQt/_gen/types.h:1554
HandleIdentifierMap & operator=(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1660
QVariantMap properties
Definition: build/TelepathyQt/_gen/types.h:812
ObjectPathList()
Definition: build/TelepathyQt/_gen/types.h:86
StringStringMap parameterTypes
Definition: build/TelepathyQt/_gen/types.h:3882
ProtocolPropertiesMap(const QMap< QString, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2388
QString address
Definition: build/TelepathyQt/_gen/types.h:2932
QString address
Definition: build/TelepathyQt/_gen/types.h:2864
ContactAttributesMap & operator=(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:964
QVariantMap info
Definition: build/TelepathyQt/_gen/types.h:405
ushort port
Definition: build/TelepathyQt/_gen/types.h:2906
QString name
Definition: build/TelepathyQt/_gen/types.h:3691
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
Definition: build/TelepathyQt/_gen/types.h:1771
ComponentStateMap()
Definition: build/TelepathyQt/_gen/types.h:938
Definition: build/TelepathyQt/_gen/types.h:3360
StringStringMap parameters
Definition: build/TelepathyQt/_gen/types.h:3408
QList< TubeInfo > TubeInfoList
Definition: build/TelepathyQt/_gen/types.h:3249
Definition: build/TelepathyQt/_gen/types.h:1249
Definition: build/TelepathyQt/_gen/types.h:483
StringStringMap()
Definition: build/TelepathyQt/_gen/types.h:3050
MultipleStatusMap statuses
Definition: build/TelepathyQt/_gen/types.h:3591
ContactMediaDescriptionPropertiesMap()
Definition: build/TelepathyQt/_gen/types.h:1231
Definition: build/TelepathyQt/_gen/types.h:2796
QList< StringStringMap > StringStringMapList
Definition: build/TelepathyQt/_gen/types.h:3066
QString fieldName
Definition: build/TelepathyQt/_gen/types.h:1122
QList< ParamSpec > ParamSpecList
Definition: build/TelepathyQt/_gen/types.h:2231
Definition: build/TelepathyQt/_gen/types.h:2116
Definition: build/TelepathyQt/_gen/types.h:1746
VCardFieldAddressMap(const QMap< QString, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:3270
ContactSendingStateMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:1298
StringVariantMap()
Definition: build/TelepathyQt/_gen/types.h:3080
uint handle
Definition: build/TelepathyQt/_gen/types.h:861
ChannelClass & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:736
ushort port
Definition: build/TelepathyQt/_gen/types.h:2936
QualifiedPropertyValueMap(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2411
MessagePartContentMap()
Definition: build/TelepathyQt/_gen/types.h:2063
ContactSSRCsMap & operator=(const QMap< uint, UIntList > &a)
Definition: build/TelepathyQt/_gen/types.h:1254
uint lastActivity
Definition: build/TelepathyQt/_gen/types.h:3590
uint protocol
Definition: build/TelepathyQt/_gen/types.h:1956
ContactSendingStateMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:1296
double preferenceValue
Definition: build/TelepathyQt/_gen/types.h:1959
Definition: build/TelepathyQt/_gen/types.h:1361
QByteArray avatarData
Definition: build/TelepathyQt/_gen/types.h:251
AddressingNormalizationMap & operator=(const QMap< QString, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:175
QString uniqueName
Definition: build/TelepathyQt/_gen/types.h:1422
Definition: build/TelepathyQt/_gen/types.h:2858
Definition: build/TelepathyQt/_gen/types.h:3109
Definition: build/TelepathyQt/_gen/types.h:2165
Definition: build/TelepathyQt/_gen/types.h:1016
ContactLocations & operator=(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:1214
QString username
Definition: build/TelepathyQt/_gen/types.h:3023
QList< ContactCapability > ContactCapabilityList
Definition: build/TelepathyQt/_gen/types.h:1004
Definition: build/TelepathyQt/_gen/types.h:1209
uint width
Definition: build/TelepathyQt/_gen/types.h:3291
Definition: build/TelepathyQt/_gen/types.h:192
Definition: build/TelepathyQt/_gen/types.h:2710
ObjectImmutablePropertiesMap(const QMap< QDBusObjectPath, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2168
StatusSpecMap()
Definition: build/TelepathyQt/_gen/types.h:3970
QString DBusReason
Definition: build/TelepathyQt/_gen/types.h:362
SupportedSocketMap(const QMap< uint, UIntList > &a)
Definition: build/TelepathyQt/_gen/types.h:3112
ContactAttributesMap()
Definition: build/TelepathyQt/_gen/types.h:961
QVariantMap fixedProperties
Definition: build/TelepathyQt/_gen/types.h:2582
uint flags
Definition: build/TelepathyQt/_gen/types.h:2204
MessagePart(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2025
uint direction
Definition: build/TelepathyQt/_gen/types.h:1994
Candidate remote
Definition: build/TelepathyQt/_gen/types.h:3332
QVariantMap info
Definition: build/TelepathyQt/_gen/types.h:2682
QList< MediaStreamHandlerTransport > MediaStreamHandlerTransportList
Definition: build/TelepathyQt/_gen/types.h:1979
ContactAttributesMap(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:962
QString name
Definition: build/TelepathyQt/_gen/types.h:3374
QList< DebugMessage > DebugMessageList
Definition: build/TelepathyQt/_gen/types.h:1522
QString text
Definition: build/TelepathyQt/_gen/types.h:2252
uint flags
Definition: build/TelepathyQt/_gen/types.h:658
uint state
Definition: build/TelepathyQt/_gen/types.h:1993
bool updated
Definition: build/TelepathyQt/_gen/types.h:3402
Definition: build/TelepathyQt/_gen/types.h:2195
QString username
Definition: build/TelepathyQt/_gen/types.h:1961
ObjectPathList(const QList< QDBusObjectPath > &a)
Definition: build/TelepathyQt/_gen/types.h:87
ContactPresences(const QMap< uint, LastActivityAndStatuses > &a)
Definition: build/TelepathyQt/_gen/types.h:3929
Definition: build/TelepathyQt/_gen/types.h:894
QString subtype
Definition: build/TelepathyQt/_gen/types.h:2449
ComponentStateMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:939
CallMemberMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:301
StatusSpecMap(const QMap< QString, StatusSpec > &a)
Definition: build/TelepathyQt/_gen/types.h:3971
MultipleStatusMap & operator=(const QMap< QString, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2121
ContactInfoMap(const QMap< uint, ContactInfoFieldList > &a)
Definition: build/TelepathyQt/_gen/types.h:3471
Definition: build/TelepathyQt/_gen/types.h:329
RTCPFeedbackMessageMap()
Definition: build/TelepathyQt/_gen/types.h:3950
ChatStateMap()
Definition: build/TelepathyQt/_gen/types.h:918
ChannelOriginatorMap()
Definition: build/TelepathyQt/_gen/types.h:896
UIntList()
Definition: build/TelepathyQt/_gen/types.h:109
ComponentStateMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:941
Definition: build/TelepathyQt/_gen/types.h:1413
MediaDescriptionProperties()
Definition: build/TelepathyQt/_gen/types.h:1896
ContactMediaDescriptionPropertiesMap(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:1232
Definition: build/TelepathyQt/_gen/types.h:107
QList< Mail > MailList
Definition: build/TelepathyQt/_gen/types.h:1789
Definition: build/TelepathyQt/_gen/types.h:3948
QString password
Definition: build/TelepathyQt/_gen/types.h:3027
QList< VideoResolution > VideoResolutionStruct
Definition: build/TelepathyQt/_gen/types.h:3312
QDBusVariant defaultValue
Definition: build/TelepathyQt/_gen/types.h:2214
QString parameters
Definition: build/TelepathyQt/_gen/types.h:2453
Definition: build/TelepathyQt/_gen/types.h:3535
SingleContactAttributesMap(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2840
QList< ObjectImmutablePropertiesMap > ObjectImmutablePropertiesMapList
Definition: build/TelepathyQt/_gen/types.h:2183
QString publishRequest
Definition: build/TelepathyQt/_gen/types.h:1328
ContactPresences()
Definition: build/TelepathyQt/_gen/types.h:3928
uint RTCPMinimumInterval
Definition: build/TelepathyQt/_gen/types.h:3765
uint newFlags
Definition: build/TelepathyQt/_gen/types.h:2285
Definition: build/TelepathyQt/_gen/types.h:1848
UIntList(const QList< uint > &a)
Definition: build/TelepathyQt/_gen/types.h:110
Definition: build/TelepathyQt/_gen/types.h:388
CallMemberMap()
Definition: build/TelepathyQt/_gen/types.h:298
ContactInfoMap & operator=(const QMap< uint, ContactInfoFieldList > &a)
Definition: build/TelepathyQt/_gen/types.h:3473
DBusTubeParticipants()
Definition: build/TelepathyQt/_gen/types.h:1454
uint genericFlags
Definition: build/TelepathyQt/_gen/types.h:986
uint flags
Definition: build/TelepathyQt/_gen/types.h:1549
CandidateInfo()
Definition: build/TelepathyQt/_gen/types.h:485
uint handle
Definition: build/TelepathyQt/_gen/types.h:2680
ObjectPathList & operator=(const QList< QDBusObjectPath > &a)
Definition: build/TelepathyQt/_gen/types.h:89
SimpleStatusSpecMap(const QMap< QString, SimpleStatusSpec > &a)
Definition: build/TelepathyQt/_gen/types.h:3861
Definition: build/TelepathyQt/_gen/types.h:761
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2630
QList< ContactCapabilitiesMap > ContactCapabilitiesMapList
Definition: build/TelepathyQt/_gen/types.h:3455
QString name
Definition: build/TelepathyQt/_gen/types.h:3653
uint sender
Definition: build/TelepathyQt/_gen/types.h:2249
uint codecID
Definition: build/TelepathyQt/_gen/types.h:3687
QList< MailAddress > MailAddressList
Definition: build/TelepathyQt/_gen/types.h:1837
QList< LocalPendingInfo > LocalPendingInfoList
Definition: build/TelepathyQt/_gen/types.h:1734
NotDelegatedMap & operator=(const QMap< QDBusObjectPath, NotDelegatedError > &a)
Definition: build/TelepathyQt/_gen/types.h:3741
ChatStateMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:921
Candidate local
Definition: build/TelepathyQt/_gen/types.h:3328
uint port
Definition: build/TelepathyQt/_gen/types.h:1955
MediaDescriptionProperties & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1899
ProtocolPropertiesMap()
Definition: build/TelepathyQt/_gen/types.h:2387
uint handle
Definition: build/TelepathyQt/_gen/types.h:215
QString alias
Definition: build/TelepathyQt/_gen/types.h:216
uint oldGenericFlags
Definition: build/TelepathyQt/_gen/types.h:511
QString message
Definition: build/TelepathyQt/_gen/types.h:1505
QList< CapabilityChange > CapabilityChangeList
Definition: build/TelepathyQt/_gen/types.h:531
Definition: build/TelepathyQt/_gen/types.h:1314
uint type
Definition: build/TelepathyQt/_gen/types.h:2655
QList< StringVariantMap > StringVariantMapList
Definition: build/TelepathyQt/_gen/types.h:3096
QStringList parameters
Definition: build/TelepathyQt/_gen/types.h:1545
uint identifier
Definition: build/TelepathyQt/_gen/types.h:3368
uint mediaType
Definition: build/TelepathyQt/_gen/types.h:3695
ushort port
Definition: build/TelepathyQt/_gen/types.h:2868
uint clockrate
Definition: build/TelepathyQt/_gen/types.h:3380
QVariantMap details
Definition: build/TelepathyQt/_gen/types.h:3195
Definition: build/TelepathyQt/_gen/types.h:2956
Definition: build/TelepathyQt/_gen/types.h:3078
ChannelClass()
Definition: build/TelepathyQt/_gen/types.h:733
Definition: build/TelepathyQt/_gen/types.h:1115
QStringList availableMIMETypes
Definition: build/TelepathyQt/_gen/types.h:665
uint pendingSendFlags
Definition: build/TelepathyQt/_gen/types.h:1995
uchar prefixLength
Definition: build/TelepathyQt/_gen/types.h:2967
StringVariantMap & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:3083
QString wellKnownName
Definition: build/TelepathyQt/_gen/types.h:3542
uint typeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:546
Definition: build/TelepathyQt/_gen/types.h:170
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2699
QVariantMap parameters
Definition: build/TelepathyQt/_gen/types.h:3231
uint height
Definition: build/TelepathyQt/_gen/types.h:3295
MessagePartContentMap(const QMap< uint, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2064
bool maySetOnSelf
Definition: build/TelepathyQt/_gen/types.h:2809
Definition: build/TelepathyQt/_gen/types.h:2022
QList< DBusTubeMember > DBusTubeMemberList
Definition: build/TelepathyQt/_gen/types.h:1439
uint component
Definition: build/TelepathyQt/_gen/types.h:393
uint newTypeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:514
QString status
Definition: build/TelepathyQt/_gen/types.h:2752
uint propertyID
Definition: build/TelepathyQt/_gen/types.h:2316
ContactCodecMap(const QMap< uint, CodecList > &a)
Definition: build/TelepathyQt/_gen/types.h:3906
Definition: build/TelepathyQt/_gen/types.h:139
ChannelCallStateMap & operator=(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:699
ContactMediaDescriptionPropertiesMap & operator=(const QMap< uint, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:1234
Definition: build/TelepathyQt/_gen/types.h:2650
Definition: build/TelepathyQt/_gen/types.h:1988
QString address
Definition: build/TelepathyQt/_gen/types.h:2993
CaptchaAnswers()
Definition: build/TelepathyQt/_gen/types.h:579
ContactPresences & operator=(const QMap< uint, LastActivityAndStatuses > &a)
Definition: build/TelepathyQt/_gen/types.h:3931
Definition: build/TelepathyQt/_gen/types.h:577
Definition: abstract-adaptor.cpp:31
QStringList parameters
Definition: build/TelepathyQt/_gen/types.h:1149
HandleOwnerMap()
Definition: build/TelepathyQt/_gen/types.h:1679
NotDelegatedMap()
Definition: build/TelepathyQt/_gen/types.h:3738
ContactSSRCsMap(const QMap< uint, UIntList > &a)
Definition: build/TelepathyQt/_gen/types.h:1252
Location(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1749
QList< PropertySpec > PropertySpecList
Definition: build/TelepathyQt/_gen/types.h:2336
ContactSendingStateMap()
Definition: build/TelepathyQt/_gen/types.h:1295
QString type
Definition: build/TelepathyQt/_gen/types.h:2443
Definition: build/TelepathyQt/_gen/types.h:1293
Definition: build/TelepathyQt/_gen/types.h:61
VCardFieldAddressMap()
Definition: build/TelepathyQt/_gen/types.h:3269
uint channels
Definition: build/TelepathyQt/_gen/types.h:3386
uint actor
Definition: build/TelepathyQt/_gen/types.h:335
Definition: build/TelepathyQt/_gen/types.h:1699
QList< HandlerCapabilities > HandlerCapabilitiesList
Definition: build/TelepathyQt/_gen/types.h:3576
uint handle
Definition: build/TelepathyQt/_gen/types.h:509
Definition: build/TelepathyQt/_gen/types.h:841
Definition: build/TelepathyQt/_gen/types.h:916
Definition: build/TelepathyQt/_gen/types.h:296
QString errorMessage
Definition: build/TelepathyQt/_gen/types.h:2144
uint publish
Definition: build/TelepathyQt/_gen/types.h:1323
QString channelType
Definition: build/TelepathyQt/_gen/types.h:985
QString value
Definition: build/TelepathyQt/_gen/types.h:1626
uint method
Definition: build/TelepathyQt/_gen/types.h:3628
QString parameters
Definition: build/TelepathyQt/_gen/types.h:2498
uint messageType
Definition: build/TelepathyQt/_gen/types.h:2250
Definition: build/TelepathyQt/_gen/types.h:2742
QVariantMap properties
Definition: build/TelepathyQt/_gen/types.h:1862
uint transportType
Definition: build/TelepathyQt/_gen/types.h:1960
uint direction
Definition: build/TelepathyQt/_gen/types.h:2490
QString channelType
Definition: build/TelepathyQt/_gen/types.h:2681
Definition: build/TelepathyQt/_gen/types.h:2437
QStringList allowedProperties
Definition: build/TelepathyQt/_gen/types.h:2613
Location & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:1751
QList< HTTPPostData > HTTPPostDataList
Definition: build/TelepathyQt/_gen/types.h:1643
ContactSSRCsMap()
Definition: build/TelepathyQt/_gen/types.h:1251
RTCPFeedbackMessageMap & operator=(const QMap< uint, RTCPFeedbackMessageProperties > &a)
Definition: build/TelepathyQt/_gen/types.h:3953
Definition: build/TelepathyQt/_gen/types.h:274
Definition: build/TelepathyQt/_gen/types.h:2837
Location()
Definition: build/TelepathyQt/_gen/types.h:1748
ContactClientTypes & operator=(const QMap< uint, QStringList > &a)
Definition: build/TelepathyQt/_gen/types.h:1021
Definition: build/TelepathyQt/_gen/types.h:982
int amount
Definition: build/TelepathyQt/_gen/types.h:1372
Definition: build/TelepathyQt/_gen/types.h:3619
ContactSearchResultMap & operator=(const QMap< QString, ContactInfoFieldList > &a)
Definition: build/TelepathyQt/_gen/types.h:3496
ProtocolPropertiesMap & operator=(const QMap< QString, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2390
uint type
Definition: build/TelepathyQt/_gen/types.h:2805
ContactSubscriptionMap()
Definition: build/TelepathyQt/_gen/types.h:3516
ObjectImmutablePropertiesMap()
Definition: build/TelepathyQt/_gen/types.h:2167
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
QString service
Definition: build/TelepathyQt/_gen/types.h:2722
uint contact
Definition: build/TelepathyQt/_gen/types.h:1991
Definition: build/TelepathyQt/_gen/types.h:3736
QString IPAddress
Definition: build/TelepathyQt/_gen/types.h:1954
uint componentNumber
Definition: build/TelepathyQt/_gen/types.h:1953
QList< QualifiedPropertyValueMap > QualifiedPropertyValueMapList
Definition: build/TelepathyQt/_gen/types.h:2426
uint servicePointType
Definition: build/TelepathyQt/_gen/types.h:2715
const QDBusArgument & operator>>(const QDBusArgument &arg, SUSocketAddress &val)
Definition: types.cpp:65
Definition: build/TelepathyQt/_gen/types.h:2481
Definition: build/TelepathyQt/_gen/types.h:1617
StringVariantMapList channelClasses
Definition: build/TelepathyQt/_gen/types.h:3550
StatusSpecMap & operator=(const QMap< QString, StatusSpec > &a)
Definition: build/TelepathyQt/_gen/types.h:3973
ContactSubscriptionMap(const QMap< uint, ContactSubscriptions > &a)
Definition: build/TelepathyQt/_gen/types.h:3517
Definition: build/TelepathyQt/_gen/types.h:731
CandidateInfo & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:488
QStringList fieldValue
Definition: build/TelepathyQt/_gen/types.h:1180
QStringList capabilities
Definition: build/TelepathyQt/_gen/types.h:3559
QString message
Definition: build/TelepathyQt/_gen/types.h:368
ContactSearchMap()
Definition: build/TelepathyQt/_gen/types.h:1273
CandidateInfo(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:486
QDBusObjectPath sessionHandler
Definition: build/TelepathyQt/_gen/types.h:1921
QString message
Definition: build/TelepathyQt/_gen/types.h:1717
ChannelCallStateMap(const QMap< uint, uint > &a)
Definition: build/TelepathyQt/_gen/types.h:697
HandleIdentifierMap(const QMap< uint, QString > &a)
Definition: build/TelepathyQt/_gen/types.h:1658
QList< Codec > CodecList
Definition: build/TelepathyQt/_gen/types.h:3425
Definition: build/TelepathyQt/_gen/types.h:3926
ContactSubscriptionMap & operator=(const QMap< uint, ContactSubscriptions > &a)
Definition: build/TelepathyQt/_gen/types.h:3519
Definition: build/TelepathyQt/_gen/types.h:2926
Definition: build/TelepathyQt/_gen/types.h:3018
uint scale
Definition: build/TelepathyQt/_gen/types.h:1385
uint ID
Definition: build/TelepathyQt/_gen/types.h:2486
Definition: build/TelepathyQt/_gen/types.h:1229
uint flags
Definition: build/TelepathyQt/_gen/types.h:2251
QList< ServicePointInfo > ServicePointInfoList
Definition: build/TelepathyQt/_gen/types.h:3823
QDBusVariant value
Definition: build/TelepathyQt/_gen/types.h:2352
Definition: build/TelepathyQt/_gen/types.h:3877
QString signature
Definition: build/TelepathyQt/_gen/types.h:2208
ContactCapabilitiesMap & operator=(const QMap< uint, RequestableChannelClassList > &a)
Definition: build/TelepathyQt/_gen/types.h:3442
SimpleContactPresences(const QMap< uint, SimplePresence > &a)
Definition: build/TelepathyQt/_gen/types.h:3839
QDBusObjectPath channel
Definition: build/TelepathyQt/_gen/types.h:766
uint reason
Definition: build/TelepathyQt/_gen/types.h:1712
Definition: build/TelepathyQt/_gen/types.h:1951
ContactSearchResultMap(const QMap< QString, ContactInfoFieldList > &a)
Definition: build/TelepathyQt/_gen/types.h:3494
Definition: build/TelepathyQt/_gen/types.h:1677
bool maySetOnSelf
Definition: build/TelepathyQt/_gen/types.h:3880
MultipleStatusMap(const QMap< QString, QVariantMap > &a)
Definition: build/TelepathyQt/_gen/types.h:2119
uint unixTimestamp
Definition: build/TelepathyQt/_gen/types.h:2248
ContactCapabilitiesMap(const QMap< uint, RequestableChannelClassList > &a)
Definition: build/TelepathyQt/_gen/types.h:3440
QString channelType
Definition: build/TelepathyQt/_gen/types.h:545
Definition: build/TelepathyQt/_gen/types.h:3225
ByteArrayList()
Definition: build/TelepathyQt/_gen/types.h:63
Definition: build/TelepathyQt/_gen/types.h:2554
QString currency
Definition: build/TelepathyQt/_gen/types.h:1392
Definition: build/TelepathyQt/_gen/types.h:3682
QList< FieldSpec > FieldSpecs
Definition: build/TelepathyQt/_gen/types.h:1571
uint identifier
Definition: build/TelepathyQt/_gen/types.h:2247
Definition: build/TelepathyQt/_gen/types.h:3491
Metadata(const QMap< QString, QStringList > &a)
Definition: build/TelepathyQt/_gen/types.h:2095
uint propertyID
Definition: build/TelepathyQt/_gen/types.h:2284
SingleContactAttributesMap & operator=(const QMap< QString, QDBusVariant > &a)
Definition: build/TelepathyQt/_gen/types.h:2842


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01363.html0000644000175000017500000001024212727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceContactsAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceContactsAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
ContactAttributeInterfaces() const Tp::Service::ConnectionInterfaceContactsAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetContactAttributes(const Tp::UIntList &handles, const QStringList &interfaces, bool hold, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceContactsAdaptorslot
GetContactByID(const QString &identifier, const QStringList &interfaces, const QDBusMessage &dbusMessage, QVariantMap &attributes)Tp::Service::ConnectionInterfaceContactsAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00147.html0000644000175000017500000001722512727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::CaptchaInfo Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

uint ID
 
QString type
 
QString label
 
uint flags
 
QStringList availableMIMETypes
 

Detailed Description

Structure type generated from the specification.

A struct containing information regarding a single captcha mechanism.

Member Data Documentation

uint Tp::CaptchaInfo::ID

The ID with which to reference this captcha method when retrieving its data and answering it. They are unique within this channel instance only.

QString Tp::CaptchaInfo::type

The type of challenge as defined by XEP-0158. For instance, the commonly-used "type the letters/words you see in this image" challenge is represented by ocr

QString Tp::CaptchaInfo::label

A human-readable label for the challenge, as defined in XEP-0158.

If the server does not supply a label for a challenge of type other than qa, connection managers SHOULD set Label to an empty string instead of generating their own text. If the Label is an empty string, the Handler SHOULD replace it with a generic label in the user's locale, such as the strings suggested in XEP-0158 (for instance, Enter the text you see for ocr challenges). The Handler MAY use those generic labels in any case, as per the Internationalization Considerations section of XEP-0158.

Connection managers are not usually localized, so text generated by the connection manager would be in English, regardless of the user's locale. The Handler is better-placed to generate a generic Label in the user's locale.

For challenges of type qa, the Label is a plain-text question for the user to answer. The connection manager SHOULD NOT provide an empty Label; if it does, the Handler SHOULD treat that challenge as impossible, and SHOULD NOT attempt to display it.

uint Tp::CaptchaInfo::flags

One flag defined: Required. Most captchas will have no flags.

QStringList Tp::CaptchaInfo::availableMIMETypes

A list of MIME types the server is offering to provide for this captcha method.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01108.html0000644000175000017500000001354512727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingAccount Member List

This is the complete list of members for Tp::PendingAccount, including all inherited members.

account() const Tp::PendingAccount
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
manager() const Tp::PendingAccount
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingAccount()Tp::PendingAccount
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00962.html0000644000175000017500000001247712727270137021015 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 > Member List

This is the complete list of members for Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback4()Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >inline
Callback4(const Functor &functor)Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >
isValid() const Tp::BaseCallbackinline
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4) const Tp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback4< R, Arg1, Arg2, Arg3, Arg4 >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00565_source.html0000644000175000017500000004763112727270137022374 0ustar00kaffeinekaffeine00000000000000 call-content.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
call-content.h
1 
23 #ifndef _TelepathyQt_call_content_h_HEADER_GUARD_
24 #define _TelepathyQt_call_content_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-call-content.h>
31 
32 #include <TelepathyQt/CallStream>
33 
34 namespace Tp
35 {
36 
37 typedef QList<CallContentPtr> CallContents;
38 
39 class TP_QT_EXPORT CallContent : public StatefulDBusProxy,
40  public OptionalInterfaceFactory<CallContent>
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(CallContent)
44 
45 public:
46  ~CallContent();
47 
48  CallChannelPtr channel() const;
49 
50  QString name() const;
51  MediaStreamType type() const;
52  CallContentDisposition disposition() const;
53  CallStreams streams() const;
54 
55  PendingOperation *remove();
56 
57  bool supportsDTMF() const;
58  PendingOperation *startDTMFTone(DTMFEvent event);
59  PendingOperation *stopDTMFTone();
60 
61 Q_SIGNALS:
62  void streamAdded(const Tp::CallStreamPtr &stream);
63  void streamRemoved(const Tp::CallStreamPtr &stream, const Tp::CallStateReason &reason);
64 
65 private Q_SLOTS:
66  TP_QT_NO_EXPORT void gotMainProperties(Tp::PendingOperation *op);
67  TP_QT_NO_EXPORT void onStreamsAdded(const Tp::ObjectPathList &streamPath);
68  TP_QT_NO_EXPORT void onStreamsRemoved(const Tp::ObjectPathList &streamPath,
69  const Tp::CallStateReason &reason);
70  TP_QT_NO_EXPORT void onStreamReady(Tp::PendingOperation *op);
71 
72 private:
73  friend class CallChannel;
74  friend class PendingCallContent;
75 
76  TP_QT_NO_EXPORT static const Feature FeatureCore;
77 
78  TP_QT_NO_EXPORT CallContent(const CallChannelPtr &channel,
79  const QDBusObjectPath &contentPath);
80 
81  struct Private;
82  friend struct Private;
83  Private *mPriv;
84 };
85 
86 class TP_QT_EXPORT PendingCallContent : public PendingOperation
87 {
88  Q_OBJECT
89  Q_DISABLE_COPY(PendingCallContent)
90 
91 public:
93 
94  CallContentPtr content() const;
95 
96 private Q_SLOTS:
97  TP_QT_NO_EXPORT void gotContent(QDBusPendingCallWatcher *watcher);
98 
99  TP_QT_NO_EXPORT void onContentReady(Tp::PendingOperation *op);
100  TP_QT_NO_EXPORT void onContentRemoved(const Tp::CallContentPtr &content);
101 
102 private:
103  friend class CallChannel;
104 
105  TP_QT_NO_EXPORT PendingCallContent(const CallChannelPtr &channel,
106  const QString &contentName, MediaStreamType type, MediaStreamDirection direction);
107 
108  struct Private;
109  friend struct Private;
110  Private *mPriv;
111 };
112 
113 } // Tp
114 
115 #endif
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
DTMFEvent
Definition: build/TelepathyQt/_gen/constants.h:3121
Definition: build/TelepathyQt/_gen/types.h:84
The CallContent class provides an object representing a Telepathy Call.Content.
Definition: call-content.h:39
QList< CallContentPtr > CallContents
Definition: call-content.h:37
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
QList< CallStreamPtr > CallStreams
Definition: call-stream.h:42
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful...
Definition: dbus-proxy.h:96
The CallChannel class provides an object representing a Telepathy channel of type Call...
Definition: call-channel.h:35
Definition: build/TelepathyQt/_gen/types.h:329
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
CallContentDisposition
Definition: build/TelepathyQt/_gen/constants.h:4241
Definition: abstract-adaptor.cpp:31
Definition: call-content.h:86
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00838_source.html0000644000175000017500000131530412727270137022373 0ustar00kaffeinekaffeine00000000000000 types-body.hpp Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
types-body.hpp
1 /* Generated from Telepathy D-Bus Interface Specification, TelepathyQt copy, version 0.17.7 */
2 
3 #define IN_TP_QT_HEADER
4 #include "TelepathyQt/types.h"
5 
6 namespace Tp
7 {
8 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ByteArrayList &list)
9 {
10  int id = qMetaTypeId<QByteArray>();
11  arg.beginArray(id);
12  for (int i = 0; i < list.count(); ++i) {
13  arg << list.at(i);
14  }
15  arg.endArray();
16  return arg;
17 }
18 
19 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ByteArrayList &list)
20 {
21  arg.beginArray();
22  list.clear();
23  while (!arg.atEnd()) {
24  QByteArray item;
25  arg >> item;
26  list.append(item);
27  }
28  arg.endArray();
29  return arg;
30 }
31 
32 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ObjectPathList &list)
33 {
34  int id = qMetaTypeId<QDBusObjectPath>();
35  arg.beginArray(id);
36  for (int i = 0; i < list.count(); ++i) {
37  arg << list.at(i);
38  }
39  arg.endArray();
40  return arg;
41 }
42 
43 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ObjectPathList &list)
44 {
45  arg.beginArray();
46  list.clear();
47  while (!arg.atEnd()) {
48  QDBusObjectPath item;
49  arg >> item;
50  list.append(item);
51  }
52  arg.endArray();
53  return arg;
54 }
55 
56 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const UIntList &list)
57 {
58  int id = qMetaTypeId<uint>();
59  arg.beginArray(id);
60  for (int i = 0; i < list.count(); ++i) {
61  arg << list.at(i);
62  }
63  arg.endArray();
64  return arg;
65 }
66 
67 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, UIntList &list)
68 {
69  arg.beginArray();
70  list.clear();
71  while (!arg.atEnd()) {
72  uint item;
73  arg >> item;
74  list.append(item);
75  }
76  arg.endArray();
77  return arg;
78 }
79 
80 TP_QT_EXPORT bool operator==(const AccessControl& v1, const AccessControl& v2)
81 {
82  return ((v1.type == v2.type)
83  && (v1.detail.variant() == v2.detail.variant())
84  );
85 }
86 
87 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AccessControl& val)
88 {
89  arg.beginStructure();
90  arg << val.type << val.detail;
91  arg.endStructure();
92  return arg;
93 }
94 
95 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AccessControl& val)
96 {
97  arg.beginStructure();
98  arg >> val.type >> val.detail;
99  arg.endStructure();
100  return arg;
101 }
102 
103 TP_QT_EXPORT bool operator==(const AliasPair& v1, const AliasPair& v2)
104 {
105  return ((v1.handle == v2.handle)
106  && (v1.alias == v2.alias)
107  );
108 }
109 
110 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const AliasPair& val)
111 {
112  arg.beginStructure();
113  arg << val.handle << val.alias;
114  arg.endStructure();
115  return arg;
116 }
117 
118 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, AliasPair& val)
119 {
120  arg.beginStructure();
121  arg >> val.handle >> val.alias;
122  arg.endStructure();
123  return arg;
124 }
125 
126 TP_QT_EXPORT bool operator==(const Avatar& v1, const Avatar& v2)
127 {
128  return ((v1.avatarData == v2.avatarData)
129  && (v1.MIMEType == v2.MIMEType)
130  );
131 }
132 
133 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Avatar& val)
134 {
135  arg.beginStructure();
136  arg << val.avatarData << val.MIMEType;
137  arg.endStructure();
138  return arg;
139 }
140 
141 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Avatar& val)
142 {
143  arg.beginStructure();
144  arg >> val.avatarData >> val.MIMEType;
145  arg.endStructure();
146  return arg;
147 }
148 
149 TP_QT_EXPORT bool operator==(const CallStateReason& v1, const CallStateReason& v2)
150 {
151  return ((v1.actor == v2.actor)
152  && (v1.reason == v2.reason)
153  && (v1.DBusReason == v2.DBusReason)
154  && (v1.message == v2.message)
155  );
156 }
157 
158 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CallStateReason& val)
159 {
160  arg.beginStructure();
161  arg << val.actor << val.reason << val.DBusReason << val.message;
162  arg.endStructure();
163  return arg;
164 }
165 
166 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CallStateReason& val)
167 {
168  arg.beginStructure();
169  arg >> val.actor >> val.reason >> val.DBusReason >> val.message;
170  arg.endStructure();
171  return arg;
172 }
173 
174 TP_QT_EXPORT bool operator==(const Candidate& v1, const Candidate& v2)
175 {
176  return ((v1.component == v2.component)
177  && (v1.IP == v2.IP)
178  && (v1.port == v2.port)
179  && (v1.info == v2.info)
180  );
181 }
182 
183 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Candidate& val)
184 {
185  arg.beginStructure();
186  arg << val.component << val.IP << val.port << val.info;
187  arg.endStructure();
188  return arg;
189 }
190 
191 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Candidate& val)
192 {
193  arg.beginStructure();
194  arg >> val.component >> val.IP >> val.port >> val.info;
195  arg.endStructure();
196  return arg;
197 }
198 
199 TP_QT_EXPORT bool operator==(const CapabilityChange& v1, const CapabilityChange& v2)
200 {
201  return ((v1.handle == v2.handle)
202  && (v1.channelType == v2.channelType)
203  && (v1.oldGenericFlags == v2.oldGenericFlags)
204  && (v1.newGenericFlags == v2.newGenericFlags)
207  );
208 }
209 
210 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityChange& val)
211 {
212  arg.beginStructure();
213  arg << val.handle << val.channelType << val.oldGenericFlags << val.newGenericFlags << val.oldTypeSpecificFlags << val.newTypeSpecificFlags;
214  arg.endStructure();
215  return arg;
216 }
217 
218 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityChange& val)
219 {
220  arg.beginStructure();
221  arg >> val.handle >> val.channelType >> val.oldGenericFlags >> val.newGenericFlags >> val.oldTypeSpecificFlags >> val.newTypeSpecificFlags;
222  arg.endStructure();
223  return arg;
224 }
225 
226 TP_QT_EXPORT bool operator==(const CapabilityPair& v1, const CapabilityPair& v2)
227 {
228  return ((v1.channelType == v2.channelType)
230  );
231 }
232 
233 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CapabilityPair& val)
234 {
235  arg.beginStructure();
236  arg << val.channelType << val.typeSpecificFlags;
237  arg.endStructure();
238  return arg;
239 }
240 
241 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CapabilityPair& val)
242 {
243  arg.beginStructure();
244  arg >> val.channelType >> val.typeSpecificFlags;
245  arg.endStructure();
246  return arg;
247 }
248 
249 TP_QT_EXPORT bool operator==(const CaptchaInfo& v1, const CaptchaInfo& v2)
250 {
251  return ((v1.ID == v2.ID)
252  && (v1.type == v2.type)
253  && (v1.label == v2.label)
254  && (v1.flags == v2.flags)
256  );
257 }
258 
259 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CaptchaInfo& val)
260 {
261  arg.beginStructure();
262  arg << val.ID << val.type << val.label << val.flags << val.availableMIMETypes;
263  arg.endStructure();
264  return arg;
265 }
266 
267 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CaptchaInfo& val)
268 {
269  arg.beginStructure();
270  arg >> val.ID >> val.type >> val.label >> val.flags >> val.availableMIMETypes;
271  arg.endStructure();
272  return arg;
273 }
274 
275 TP_QT_EXPORT bool operator==(const ChannelDetails& v1, const ChannelDetails& v2)
276 {
277  return ((v1.channel == v2.channel)
278  && (v1.properties == v2.properties)
279  );
280 }
281 
282 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelDetails& val)
283 {
284  arg.beginStructure();
285  arg << val.channel << val.properties;
286  arg.endStructure();
287  return arg;
288 }
289 
290 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelDetails& val)
291 {
292  arg.beginStructure();
293  arg >> val.channel >> val.properties;
294  arg.endStructure();
295  return arg;
296 }
297 
298 TP_QT_EXPORT bool operator==(const ChannelInfo& v1, const ChannelInfo& v2)
299 {
300  return ((v1.channel == v2.channel)
301  && (v1.channelType == v2.channelType)
302  && (v1.handleType == v2.handleType)
303  && (v1.handle == v2.handle)
304  );
305 }
306 
307 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ChannelInfo& val)
308 {
309  arg.beginStructure();
310  arg << val.channel << val.channelType << val.handleType << val.handle;
311  arg.endStructure();
312  return arg;
313 }
314 
315 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ChannelInfo& val)
316 {
317  arg.beginStructure();
318  arg >> val.channel >> val.channelType >> val.handleType >> val.handle;
319  arg.endStructure();
320  return arg;
321 }
322 
323 TP_QT_EXPORT bool operator==(const ContactCapability& v1, const ContactCapability& v2)
324 {
325  return ((v1.handle == v2.handle)
326  && (v1.channelType == v2.channelType)
327  && (v1.genericFlags == v2.genericFlags)
329  );
330 }
331 
332 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactCapability& val)
333 {
334  arg.beginStructure();
335  arg << val.handle << val.channelType << val.genericFlags << val.typeSpecificFlags;
336  arg.endStructure();
337  return arg;
338 }
339 
340 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactCapability& val)
341 {
342  arg.beginStructure();
343  arg >> val.handle >> val.channelType >> val.genericFlags >> val.typeSpecificFlags;
344  arg.endStructure();
345  return arg;
346 }
347 
348 TP_QT_EXPORT bool operator==(const ContactInfoField& v1, const ContactInfoField& v2)
349 {
350  return ((v1.fieldName == v2.fieldName)
351  && (v1.parameters == v2.parameters)
352  && (v1.fieldValue == v2.fieldValue)
353  );
354 }
355 
356 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactInfoField& val)
357 {
358  arg.beginStructure();
359  arg << val.fieldName << val.parameters << val.fieldValue;
360  arg.endStructure();
361  return arg;
362 }
363 
364 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactInfoField& val)
365 {
366  arg.beginStructure();
367  arg >> val.fieldName >> val.parameters >> val.fieldValue;
368  arg.endStructure();
369  return arg;
370 }
371 
372 TP_QT_EXPORT bool operator==(const ContactSubscriptions& v1, const ContactSubscriptions& v2)
373 {
374  return ((v1.subscribe == v2.subscribe)
375  && (v1.publish == v2.publish)
376  && (v1.publishRequest == v2.publishRequest)
377  );
378 }
379 
380 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ContactSubscriptions& val)
381 {
382  arg.beginStructure();
383  arg << val.subscribe << val.publish << val.publishRequest;
384  arg.endStructure();
385  return arg;
386 }
387 
388 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ContactSubscriptions& val)
389 {
390  arg.beginStructure();
391  arg >> val.subscribe >> val.publish >> val.publishRequest;
392  arg.endStructure();
393  return arg;
394 }
395 
396 TP_QT_EXPORT bool operator==(const CurrencyAmount& v1, const CurrencyAmount& v2)
397 {
398  return ((v1.amount == v2.amount)
399  && (v1.scale == v2.scale)
400  && (v1.currency == v2.currency)
401  );
402 }
403 
404 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CurrencyAmount& val)
405 {
406  arg.beginStructure();
407  arg << val.amount << val.scale << val.currency;
408  arg.endStructure();
409  return arg;
410 }
411 
412 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CurrencyAmount& val)
413 {
414  arg.beginStructure();
415  arg >> val.amount >> val.scale >> val.currency;
416  arg.endStructure();
417  return arg;
418 }
419 
420 TP_QT_EXPORT bool operator==(const DBusTubeMember& v1, const DBusTubeMember& v2)
421 {
422  return ((v1.handle == v2.handle)
423  && (v1.uniqueName == v2.uniqueName)
424  );
425 }
426 
427 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DBusTubeMember& val)
428 {
429  arg.beginStructure();
430  arg << val.handle << val.uniqueName;
431  arg.endStructure();
432  return arg;
433 }
434 
435 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DBusTubeMember& val)
436 {
437  arg.beginStructure();
438  arg >> val.handle >> val.uniqueName;
439  arg.endStructure();
440  return arg;
441 }
442 
443 TP_QT_EXPORT bool operator==(const DebugMessage& v1, const DebugMessage& v2)
444 {
445  return ((v1.timestamp == v2.timestamp)
446  && (v1.domain == v2.domain)
447  && (v1.level == v2.level)
448  && (v1.message == v2.message)
449  );
450 }
451 
452 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const DebugMessage& val)
453 {
454  arg.beginStructure();
455  arg << val.timestamp << val.domain << val.level << val.message;
456  arg.endStructure();
457  return arg;
458 }
459 
460 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, DebugMessage& val)
461 {
462  arg.beginStructure();
463  arg >> val.timestamp >> val.domain >> val.level >> val.message;
464  arg.endStructure();
465  return arg;
466 }
467 
468 TP_QT_EXPORT bool operator==(const FieldSpec& v1, const FieldSpec& v2)
469 {
470  return ((v1.name == v2.name)
471  && (v1.parameters == v2.parameters)
472  && (v1.flags == v2.flags)
473  && (v1.max == v2.max)
474  );
475 }
476 
477 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const FieldSpec& val)
478 {
479  arg.beginStructure();
480  arg << val.name << val.parameters << val.flags << val.max;
481  arg.endStructure();
482  return arg;
483 }
484 
485 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, FieldSpec& val)
486 {
487  arg.beginStructure();
488  arg >> val.name >> val.parameters >> val.flags >> val.max;
489  arg.endStructure();
490  return arg;
491 }
492 
493 TP_QT_EXPORT bool operator==(const HTTPPostData& v1, const HTTPPostData& v2)
494 {
495  return ((v1.key == v2.key)
496  && (v1.value == v2.value)
497  );
498 }
499 
500 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HTTPPostData& val)
501 {
502  arg.beginStructure();
503  arg << val.key << val.value;
504  arg.endStructure();
505  return arg;
506 }
507 
508 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HTTPPostData& val)
509 {
510  arg.beginStructure();
511  arg >> val.key >> val.value;
512  arg.endStructure();
513  return arg;
514 }
515 
516 TP_QT_EXPORT bool operator==(const LocalPendingInfo& v1, const LocalPendingInfo& v2)
517 {
518  return ((v1.toBeAdded == v2.toBeAdded)
519  && (v1.actor == v2.actor)
520  && (v1.reason == v2.reason)
521  && (v1.message == v2.message)
522  );
523 }
524 
525 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LocalPendingInfo& val)
526 {
527  arg.beginStructure();
528  arg << val.toBeAdded << val.actor << val.reason << val.message;
529  arg.endStructure();
530  return arg;
531 }
532 
533 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LocalPendingInfo& val)
534 {
535  arg.beginStructure();
536  arg >> val.toBeAdded >> val.actor >> val.reason >> val.message;
537  arg.endStructure();
538  return arg;
539 }
540 
541 TP_QT_EXPORT bool operator==(const MailAddress& v1, const MailAddress& v2)
542 {
543  return ((v1.name == v2.name)
544  && (v1.address == v2.address)
545  );
546 }
547 
548 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailAddress& val)
549 {
550  arg.beginStructure();
551  arg << val.name << val.address;
552  arg.endStructure();
553  return arg;
554 }
555 
556 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailAddress& val)
557 {
558  arg.beginStructure();
559  arg >> val.name >> val.address;
560  arg.endStructure();
561  return arg;
562 }
563 
564 TP_QT_EXPORT bool operator==(const MediaDescriptionOffer& v1, const MediaDescriptionOffer& v2)
565 {
566  return ((v1.mediaDescription == v2.mediaDescription)
567  && (v1.properties == v2.properties)
568  );
569 }
570 
571 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaDescriptionOffer& val)
572 {
573  arg.beginStructure();
574  arg << val.mediaDescription << val.properties;
575  arg.endStructure();
576  return arg;
577 }
578 
579 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaDescriptionOffer& val)
580 {
581  arg.beginStructure();
582  arg >> val.mediaDescription >> val.properties;
583  arg.endStructure();
584  return arg;
585 }
586 
587 TP_QT_EXPORT bool operator==(const MediaSessionHandlerInfo& v1, const MediaSessionHandlerInfo& v2)
588 {
589  return ((v1.sessionHandler == v2.sessionHandler)
590  && (v1.mediaSessionType == v2.mediaSessionType)
591  );
592 }
593 
594 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaSessionHandlerInfo& val)
595 {
596  arg.beginStructure();
597  arg << val.sessionHandler << val.mediaSessionType;
598  arg.endStructure();
599  return arg;
600 }
601 
602 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaSessionHandlerInfo& val)
603 {
604  arg.beginStructure();
605  arg >> val.sessionHandler >> val.mediaSessionType;
606  arg.endStructure();
607  return arg;
608 }
609 
611 {
612  return ((v1.componentNumber == v2.componentNumber)
613  && (v1.IPAddress == v2.IPAddress)
614  && (v1.port == v2.port)
615  && (v1.protocol == v2.protocol)
616  && (v1.subtype == v2.subtype)
617  && (v1.profile == v2.profile)
618  && (v1.preferenceValue == v2.preferenceValue)
619  && (v1.transportType == v2.transportType)
620  && (v1.username == v2.username)
621  && (v1.password == v2.password)
622  );
623 }
624 
625 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerTransport& val)
626 {
627  arg.beginStructure();
628  arg << val.componentNumber << val.IPAddress << val.port << val.protocol << val.subtype << val.profile << val.preferenceValue << val.transportType << val.username << val.password;
629  arg.endStructure();
630  return arg;
631 }
632 
633 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerTransport& val)
634 {
635  arg.beginStructure();
636  arg >> val.componentNumber >> val.IPAddress >> val.port >> val.protocol >> val.subtype >> val.profile >> val.preferenceValue >> val.transportType >> val.username >> val.password;
637  arg.endStructure();
638  return arg;
639 }
640 
641 TP_QT_EXPORT bool operator==(const MediaStreamInfo& v1, const MediaStreamInfo& v2)
642 {
643  return ((v1.identifier == v2.identifier)
644  && (v1.contact == v2.contact)
645  && (v1.type == v2.type)
646  && (v1.state == v2.state)
647  && (v1.direction == v2.direction)
648  && (v1.pendingSendFlags == v2.pendingSendFlags)
649  );
650 }
651 
652 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamInfo& val)
653 {
654  arg.beginStructure();
655  arg << val.identifier << val.contact << val.type << val.state << val.direction << val.pendingSendFlags;
656  arg.endStructure();
657  return arg;
658 }
659 
660 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamInfo& val)
661 {
662  arg.beginStructure();
663  arg >> val.identifier >> val.contact >> val.type >> val.state >> val.direction >> val.pendingSendFlags;
664  arg.endStructure();
665  return arg;
666 }
667 
668 TP_QT_EXPORT bool operator==(const NotDelegatedError& v1, const NotDelegatedError& v2)
669 {
670  return ((v1.errorName == v2.errorName)
671  && (v1.errorMessage == v2.errorMessage)
672  );
673 }
674 
675 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const NotDelegatedError& val)
676 {
677  arg.beginStructure();
678  arg << val.errorName << val.errorMessage;
679  arg.endStructure();
680  return arg;
681 }
682 
683 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, NotDelegatedError& val)
684 {
685  arg.beginStructure();
686  arg >> val.errorName >> val.errorMessage;
687  arg.endStructure();
688  return arg;
689 }
690 
691 TP_QT_EXPORT bool operator==(const ParamSpec& v1, const ParamSpec& v2)
692 {
693  return ((v1.name == v2.name)
694  && (v1.flags == v2.flags)
695  && (v1.signature == v2.signature)
696  && (v1.defaultValue.variant() == v2.defaultValue.variant())
697  );
698 }
699 
700 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ParamSpec& val)
701 {
702  arg.beginStructure();
703  arg << val.name << val.flags << val.signature << val.defaultValue;
704  arg.endStructure();
705  return arg;
706 }
707 
708 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ParamSpec& val)
709 {
710  arg.beginStructure();
711  arg >> val.name >> val.flags >> val.signature >> val.defaultValue;
712  arg.endStructure();
713  return arg;
714 }
715 
716 TP_QT_EXPORT bool operator==(const PendingTextMessage& v1, const PendingTextMessage& v2)
717 {
718  return ((v1.identifier == v2.identifier)
719  && (v1.unixTimestamp == v2.unixTimestamp)
720  && (v1.sender == v2.sender)
721  && (v1.messageType == v2.messageType)
722  && (v1.flags == v2.flags)
723  && (v1.text == v2.text)
724  );
725 }
726 
727 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PendingTextMessage& val)
728 {
729  arg.beginStructure();
730  arg << val.identifier << val.unixTimestamp << val.sender << val.messageType << val.flags << val.text;
731  arg.endStructure();
732  return arg;
733 }
734 
735 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PendingTextMessage& val)
736 {
737  arg.beginStructure();
738  arg >> val.identifier >> val.unixTimestamp >> val.sender >> val.messageType >> val.flags >> val.text;
739  arg.endStructure();
740  return arg;
741 }
742 
743 TP_QT_EXPORT bool operator==(const PropertyFlagsChange& v1, const PropertyFlagsChange& v2)
744 {
745  return ((v1.propertyID == v2.propertyID)
746  && (v1.newFlags == v2.newFlags)
747  );
748 }
749 
750 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyFlagsChange& val)
751 {
752  arg.beginStructure();
753  arg << val.propertyID << val.newFlags;
754  arg.endStructure();
755  return arg;
756 }
757 
758 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyFlagsChange& val)
759 {
760  arg.beginStructure();
761  arg >> val.propertyID >> val.newFlags;
762  arg.endStructure();
763  return arg;
764 }
765 
766 TP_QT_EXPORT bool operator==(const PropertySpec& v1, const PropertySpec& v2)
767 {
768  return ((v1.propertyID == v2.propertyID)
769  && (v1.name == v2.name)
770  && (v1.signature == v2.signature)
771  && (v1.flags == v2.flags)
772  );
773 }
774 
775 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertySpec& val)
776 {
777  arg.beginStructure();
778  arg << val.propertyID << val.name << val.signature << val.flags;
779  arg.endStructure();
780  return arg;
781 }
782 
783 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertySpec& val)
784 {
785  arg.beginStructure();
786  arg >> val.propertyID >> val.name >> val.signature >> val.flags;
787  arg.endStructure();
788  return arg;
789 }
790 
791 TP_QT_EXPORT bool operator==(const PropertyValue& v1, const PropertyValue& v2)
792 {
793  return ((v1.identifier == v2.identifier)
794  && (v1.value.variant() == v2.value.variant())
795  );
796 }
797 
798 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const PropertyValue& val)
799 {
800  arg.beginStructure();
801  arg << val.identifier << val.value;
802  arg.endStructure();
803  return arg;
804 }
805 
806 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, PropertyValue& val)
807 {
808  arg.beginStructure();
809  arg >> val.identifier >> val.value;
810  arg.endStructure();
811  return arg;
812 }
813 
814 TP_QT_EXPORT bool operator==(const RTCPFeedbackMessage& v1, const RTCPFeedbackMessage& v2)
815 {
816  return ((v1.type == v2.type)
817  && (v1.subtype == v2.subtype)
818  && (v1.parameters == v2.parameters)
819  );
820 }
821 
822 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessage& val)
823 {
824  arg.beginStructure();
825  arg << val.type << val.subtype << val.parameters;
826  arg.endStructure();
827  return arg;
828 }
829 
830 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessage& val)
831 {
832  arg.beginStructure();
833  arg >> val.type >> val.subtype >> val.parameters;
834  arg.endStructure();
835  return arg;
836 }
837 
838 TP_QT_EXPORT bool operator==(const RTPHeaderExtension& v1, const RTPHeaderExtension& v2)
839 {
840  return ((v1.ID == v2.ID)
841  && (v1.direction == v2.direction)
842  && (v1.URI == v2.URI)
843  && (v1.parameters == v2.parameters)
844  );
845 }
846 
847 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTPHeaderExtension& val)
848 {
849  arg.beginStructure();
850  arg << val.ID << val.direction << val.URI << val.parameters;
851  arg.endStructure();
852  return arg;
853 }
854 
855 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTPHeaderExtension& val)
856 {
857  arg.beginStructure();
858  arg >> val.ID >> val.direction >> val.URI >> val.parameters;
859  arg.endStructure();
860  return arg;
861 }
862 
863 TP_QT_EXPORT bool operator==(const RequestableChannelClass& v1, const RequestableChannelClass& v2)
864 {
865  return ((v1.fixedProperties == v2.fixedProperties)
867  );
868 }
869 
870 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RequestableChannelClass& val)
871 {
872  arg.beginStructure();
873  arg << val.fixedProperties << val.allowedProperties;
874  arg.endStructure();
875  return arg;
876 }
877 
878 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RequestableChannelClass& val)
879 {
880  arg.beginStructure();
881  arg >> val.fixedProperties >> val.allowedProperties;
882  arg.endStructure();
883  return arg;
884 }
885 
886 TP_QT_EXPORT bool operator==(const RichPresenceAccessControl& v1, const RichPresenceAccessControl& v2)
887 {
888  return ((v1.type == v2.type)
889  && (v1.detail.variant() == v2.detail.variant())
890  );
891 }
892 
893 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RichPresenceAccessControl& val)
894 {
895  arg.beginStructure();
896  arg << val.type << val.detail;
897  arg.endStructure();
898  return arg;
899 }
900 
901 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RichPresenceAccessControl& val)
902 {
903  arg.beginStructure();
904  arg >> val.type >> val.detail;
905  arg.endStructure();
906  return arg;
907 }
908 
909 TP_QT_EXPORT bool operator==(const RoomInfo& v1, const RoomInfo& v2)
910 {
911  return ((v1.handle == v2.handle)
912  && (v1.channelType == v2.channelType)
913  && (v1.info == v2.info)
914  );
915 }
916 
917 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RoomInfo& val)
918 {
919  arg.beginStructure();
920  arg << val.handle << val.channelType << val.info;
921  arg.endStructure();
922  return arg;
923 }
924 
925 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RoomInfo& val)
926 {
927  arg.beginStructure();
928  arg >> val.handle >> val.channelType >> val.info;
929  arg.endStructure();
930  return arg;
931 }
932 
933 TP_QT_EXPORT bool operator==(const ServicePoint& v1, const ServicePoint& v2)
934 {
935  return ((v1.servicePointType == v2.servicePointType)
936  && (v1.service == v2.service)
937  );
938 }
939 
940 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePoint& val)
941 {
942  arg.beginStructure();
943  arg << val.servicePointType << val.service;
944  arg.endStructure();
945  return arg;
946 }
947 
948 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePoint& val)
949 {
950  arg.beginStructure();
951  arg >> val.servicePointType >> val.service;
952  arg.endStructure();
953  return arg;
954 }
955 
956 TP_QT_EXPORT bool operator==(const SimplePresence& v1, const SimplePresence& v2)
957 {
958  return ((v1.type == v2.type)
959  && (v1.status == v2.status)
960  && (v1.statusMessage == v2.statusMessage)
961  );
962 }
963 
964 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimplePresence& val)
965 {
966  arg.beginStructure();
967  arg << val.type << val.status << val.statusMessage;
968  arg.endStructure();
969  return arg;
970 }
971 
972 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimplePresence& val)
973 {
974  arg.beginStructure();
975  arg >> val.type >> val.status >> val.statusMessage;
976  arg.endStructure();
977  return arg;
978 }
979 
980 TP_QT_EXPORT bool operator==(const SimpleStatusSpec& v1, const SimpleStatusSpec& v2)
981 {
982  return ((v1.type == v2.type)
983  && (v1.maySetOnSelf == v2.maySetOnSelf)
984  && (v1.canHaveMessage == v2.canHaveMessage)
985  );
986 }
987 
988 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SimpleStatusSpec& val)
989 {
990  arg.beginStructure();
991  arg << val.type << val.maySetOnSelf << val.canHaveMessage;
992  arg.endStructure();
993  return arg;
994 }
995 
996 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SimpleStatusSpec& val)
997 {
998  arg.beginStructure();
999  arg >> val.type >> val.maySetOnSelf >> val.canHaveMessage;
1000  arg.endStructure();
1001  return arg;
1002 }
1003 
1004 TP_QT_EXPORT bool operator==(const SocketAddressIP& v1, const SocketAddressIP& v2)
1005 {
1006  return ((v1.address == v2.address)
1007  && (v1.port == v2.port)
1008  );
1009 }
1010 
1011 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIP& val)
1012 {
1013  arg.beginStructure();
1014  arg << val.address << val.port;
1015  arg.endStructure();
1016  return arg;
1017 }
1018 
1019 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIP& val)
1020 {
1021  arg.beginStructure();
1022  arg >> val.address >> val.port;
1023  arg.endStructure();
1024  return arg;
1025 }
1026 
1027 TP_QT_EXPORT bool operator==(const SocketAddressIPv4& v1, const SocketAddressIPv4& v2)
1028 {
1029  return ((v1.address == v2.address)
1030  && (v1.port == v2.port)
1031  );
1032 }
1033 
1034 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv4& val)
1035 {
1036  arg.beginStructure();
1037  arg << val.address << val.port;
1038  arg.endStructure();
1039  return arg;
1040 }
1041 
1042 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv4& val)
1043 {
1044  arg.beginStructure();
1045  arg >> val.address >> val.port;
1046  arg.endStructure();
1047  return arg;
1048 }
1049 
1050 TP_QT_EXPORT bool operator==(const SocketAddressIPv6& v1, const SocketAddressIPv6& v2)
1051 {
1052  return ((v1.address == v2.address)
1053  && (v1.port == v2.port)
1054  );
1055 }
1056 
1057 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketAddressIPv6& val)
1058 {
1059  arg.beginStructure();
1060  arg << val.address << val.port;
1061  arg.endStructure();
1062  return arg;
1063 }
1064 
1065 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketAddressIPv6& val)
1066 {
1067  arg.beginStructure();
1068  arg >> val.address >> val.port;
1069  arg.endStructure();
1070  return arg;
1071 }
1072 
1073 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv4& v1, const SocketNetmaskIPv4& v2)
1074 {
1075  return ((v1.address == v2.address)
1076  && (v1.prefixLength == v2.prefixLength)
1077  );
1078 }
1079 
1080 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv4& val)
1081 {
1082  arg.beginStructure();
1083  arg << val.address << val.prefixLength;
1084  arg.endStructure();
1085  return arg;
1086 }
1087 
1088 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv4& val)
1089 {
1090  arg.beginStructure();
1091  arg >> val.address >> val.prefixLength;
1092  arg.endStructure();
1093  return arg;
1094 }
1095 
1096 TP_QT_EXPORT bool operator==(const SocketNetmaskIPv6& v1, const SocketNetmaskIPv6& v2)
1097 {
1098  return ((v1.address == v2.address)
1099  && (v1.prefixLength == v2.prefixLength)
1100  );
1101 }
1102 
1103 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const SocketNetmaskIPv6& val)
1104 {
1105  arg.beginStructure();
1106  arg << val.address << val.prefixLength;
1107  arg.endStructure();
1108  return arg;
1109 }
1110 
1111 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, SocketNetmaskIPv6& val)
1112 {
1113  arg.beginStructure();
1114  arg >> val.address >> val.prefixLength;
1115  arg.endStructure();
1116  return arg;
1117 }
1118 
1119 TP_QT_EXPORT bool operator==(const StreamCredentials& v1, const StreamCredentials& v2)
1120 {
1121  return ((v1.username == v2.username)
1122  && (v1.password == v2.password)
1123  );
1124 }
1125 
1126 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StreamCredentials& val)
1127 {
1128  arg.beginStructure();
1129  arg << val.username << val.password;
1130  arg.endStructure();
1131  return arg;
1132 }
1133 
1134 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StreamCredentials& val)
1135 {
1136  arg.beginStructure();
1137  arg >> val.username >> val.password;
1138  arg.endStructure();
1139  return arg;
1140 }
1141 
1142 TP_QT_EXPORT bool operator==(const TLSCertificateRejection& v1, const TLSCertificateRejection& v2)
1143 {
1144  return ((v1.reason == v2.reason)
1145  && (v1.error == v2.error)
1146  && (v1.details == v2.details)
1147  );
1148 }
1149 
1150 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TLSCertificateRejection& val)
1151 {
1152  arg.beginStructure();
1153  arg << val.reason << val.error << val.details;
1154  arg.endStructure();
1155  return arg;
1156 }
1157 
1158 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TLSCertificateRejection& val)
1159 {
1160  arg.beginStructure();
1161  arg >> val.reason >> val.error >> val.details;
1162  arg.endStructure();
1163  return arg;
1164 }
1165 
1166 TP_QT_EXPORT bool operator==(const TubeInfo& v1, const TubeInfo& v2)
1167 {
1168  return ((v1.identifier == v2.identifier)
1169  && (v1.initiator == v2.initiator)
1170  && (v1.type == v2.type)
1171  && (v1.service == v2.service)
1172  && (v1.parameters == v2.parameters)
1173  && (v1.state == v2.state)
1174  );
1175 }
1176 
1177 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const TubeInfo& val)
1178 {
1179  arg.beginStructure();
1180  arg << val.identifier << val.initiator << val.type << val.service << val.parameters << val.state;
1181  arg.endStructure();
1182  return arg;
1183 }
1184 
1185 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, TubeInfo& val)
1186 {
1187  arg.beginStructure();
1188  arg >> val.identifier >> val.initiator >> val.type >> val.service >> val.parameters >> val.state;
1189  arg.endStructure();
1190  return arg;
1191 }
1192 
1193 TP_QT_EXPORT bool operator==(const VideoResolution& v1, const VideoResolution& v2)
1194 {
1195  return ((v1.width == v2.width)
1196  && (v1.height == v2.height)
1197  );
1198 }
1199 
1200 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const VideoResolution& val)
1201 {
1202  arg.beginStructure();
1203  arg << val.width << val.height;
1204  arg.endStructure();
1205  return arg;
1206 }
1207 
1208 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, VideoResolution& val)
1209 {
1210  arg.beginStructure();
1211  arg >> val.width >> val.height;
1212  arg.endStructure();
1213  return arg;
1214 }
1215 
1216 TP_QT_EXPORT bool operator==(const CandidatePair& v1, const CandidatePair& v2)
1217 {
1218  return ((v1.local == v2.local)
1219  && (v1.remote == v2.remote)
1220  );
1221 }
1222 
1223 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const CandidatePair& val)
1224 {
1225  arg.beginStructure();
1226  arg << val.local << val.remote;
1227  arg.endStructure();
1228  return arg;
1229 }
1230 
1231 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, CandidatePair& val)
1232 {
1233  arg.beginStructure();
1234  arg >> val.local >> val.remote;
1235  arg.endStructure();
1236  return arg;
1237 }
1238 
1239 TP_QT_EXPORT bool operator==(const Codec& v1, const Codec& v2)
1240 {
1241  return ((v1.identifier == v2.identifier)
1242  && (v1.name == v2.name)
1243  && (v1.clockrate == v2.clockrate)
1244  && (v1.channels == v2.channels)
1245  && (v1.updated == v2.updated)
1246  && (v1.parameters == v2.parameters)
1247  );
1248 }
1249 
1250 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const Codec& val)
1251 {
1252  arg.beginStructure();
1253  arg << val.identifier << val.name << val.clockrate << val.channels << val.updated << val.parameters;
1254  arg.endStructure();
1255  return arg;
1256 }
1257 
1258 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, Codec& val)
1259 {
1260  arg.beginStructure();
1261  arg >> val.identifier >> val.name >> val.clockrate >> val.channels >> val.updated >> val.parameters;
1262  arg.endStructure();
1263  return arg;
1264 }
1265 
1266 TP_QT_EXPORT bool operator==(const HandlerCapabilities& v1, const HandlerCapabilities& v2)
1267 {
1268  return ((v1.wellKnownName == v2.wellKnownName)
1269  && (v1.channelClasses == v2.channelClasses)
1270  && (v1.capabilities == v2.capabilities)
1271  );
1272 }
1273 
1274 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const HandlerCapabilities& val)
1275 {
1276  arg.beginStructure();
1277  arg << val.wellKnownName << val.channelClasses << val.capabilities;
1278  arg.endStructure();
1279  return arg;
1280 }
1281 
1282 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, HandlerCapabilities& val)
1283 {
1284  arg.beginStructure();
1285  arg >> val.wellKnownName >> val.channelClasses >> val.capabilities;
1286  arg.endStructure();
1287  return arg;
1288 }
1289 
1290 TP_QT_EXPORT bool operator==(const LastActivityAndStatuses& v1, const LastActivityAndStatuses& v2)
1291 {
1292  return ((v1.lastActivity == v2.lastActivity)
1293  && (v1.statuses == v2.statuses)
1294  );
1295 }
1296 
1297 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const LastActivityAndStatuses& val)
1298 {
1299  arg.beginStructure();
1300  arg << val.lastActivity << val.statuses;
1301  arg.endStructure();
1302  return arg;
1303 }
1304 
1305 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, LastActivityAndStatuses& val)
1306 {
1307  arg.beginStructure();
1308  arg >> val.lastActivity >> val.statuses;
1309  arg.endStructure();
1310  return arg;
1311 }
1312 
1313 TP_QT_EXPORT bool operator==(const MailURL& v1, const MailURL& v2)
1314 {
1315  return ((v1.URL == v2.URL)
1316  && (v1.method == v2.method)
1317  && (v1.postData == v2.postData)
1318  );
1319 }
1320 
1321 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MailURL& val)
1322 {
1323  arg.beginStructure();
1324  arg << val.URL << val.method << val.postData;
1325  arg.endStructure();
1326  return arg;
1327 }
1328 
1329 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MailURL& val)
1330 {
1331  arg.beginStructure();
1332  arg >> val.URL >> val.method >> val.postData;
1333  arg.endStructure();
1334  return arg;
1335 }
1336 
1338 {
1339  return ((v1.name == v2.name)
1340  && (v1.transports == v2.transports)
1341  );
1342 }
1343 
1344 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCandidate& val)
1345 {
1346  arg.beginStructure();
1347  arg << val.name << val.transports;
1348  arg.endStructure();
1349  return arg;
1350 }
1351 
1352 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCandidate& val)
1353 {
1354  arg.beginStructure();
1355  arg >> val.name >> val.transports;
1356  arg.endStructure();
1357  return arg;
1358 }
1359 
1360 TP_QT_EXPORT bool operator==(const MediaStreamHandlerCodec& v1, const MediaStreamHandlerCodec& v2)
1361 {
1362  return ((v1.codecID == v2.codecID)
1363  && (v1.name == v2.name)
1364  && (v1.mediaType == v2.mediaType)
1365  && (v1.clockRate == v2.clockRate)
1366  && (v1.numberOfChannels == v2.numberOfChannels)
1367  && (v1.parameters == v2.parameters)
1368  );
1369 }
1370 
1371 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const MediaStreamHandlerCodec& val)
1372 {
1373  arg.beginStructure();
1374  arg << val.codecID << val.name << val.mediaType << val.clockRate << val.numberOfChannels << val.parameters;
1375  arg.endStructure();
1376  return arg;
1377 }
1378 
1379 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, MediaStreamHandlerCodec& val)
1380 {
1381  arg.beginStructure();
1382  arg >> val.codecID >> val.name >> val.mediaType >> val.clockRate >> val.numberOfChannels >> val.parameters;
1383  arg.endStructure();
1384  return arg;
1385 }
1386 
1388 {
1389  return ((v1.RTCPMinimumInterval == v2.RTCPMinimumInterval)
1390  && (v1.messages == v2.messages)
1391  );
1392 }
1393 
1394 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const RTCPFeedbackMessageProperties& val)
1395 {
1396  arg.beginStructure();
1397  arg << val.RTCPMinimumInterval << val.messages;
1398  arg.endStructure();
1399  return arg;
1400 }
1401 
1402 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, RTCPFeedbackMessageProperties& val)
1403 {
1404  arg.beginStructure();
1405  arg >> val.RTCPMinimumInterval >> val.messages;
1406  arg.endStructure();
1407  return arg;
1408 }
1409 
1410 TP_QT_EXPORT bool operator==(const ServicePointInfo& v1, const ServicePointInfo& v2)
1411 {
1412  return ((v1.servicePoint == v2.servicePoint)
1413  && (v1.serviceIDs == v2.serviceIDs)
1414  );
1415 }
1416 
1417 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const ServicePointInfo& val)
1418 {
1419  arg.beginStructure();
1420  arg << val.servicePoint << val.serviceIDs;
1421  arg.endStructure();
1422  return arg;
1423 }
1424 
1425 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, ServicePointInfo& val)
1426 {
1427  arg.beginStructure();
1428  arg >> val.servicePoint >> val.serviceIDs;
1429  arg.endStructure();
1430  return arg;
1431 }
1432 
1433 TP_QT_EXPORT bool operator==(const StatusSpec& v1, const StatusSpec& v2)
1434 {
1435  return ((v1.type == v2.type)
1436  && (v1.maySetOnSelf == v2.maySetOnSelf)
1437  && (v1.exclusive == v2.exclusive)
1438  && (v1.parameterTypes == v2.parameterTypes)
1439  );
1440 }
1441 
1442 TP_QT_EXPORT QDBusArgument& operator<<(QDBusArgument& arg, const StatusSpec& val)
1443 {
1444  arg.beginStructure();
1445  arg << val.type << val.maySetOnSelf << val.exclusive << val.parameterTypes;
1446  arg.endStructure();
1447  return arg;
1448 }
1449 
1450 TP_QT_EXPORT const QDBusArgument& operator>>(const QDBusArgument& arg, StatusSpec& val)
1451 {
1452  arg.beginStructure();
1453  arg >> val.type >> val.maySetOnSelf >> val.exclusive >> val.parameterTypes;
1454  arg.endStructure();
1455  return arg;
1456 }
1457 
1458 TP_QT_NO_EXPORT void _registerTypes()
1459 {
1460  static bool registered = false;
1461  if (registered)
1462  return;
1463  registered = true;
1464 
1465  qDBusRegisterMetaType<Tp::AccessControl>();
1466  qDBusRegisterMetaType<Tp::AddressingNormalizationMap>();
1467  qDBusRegisterMetaType<Tp::AliasMap>();
1468  qDBusRegisterMetaType<Tp::AliasPair>();
1469  qDBusRegisterMetaType<Tp::AliasPairList>();
1470  qDBusRegisterMetaType<Tp::Avatar>();
1471  qDBusRegisterMetaType<Tp::AvatarTokenMap>();
1472  qDBusRegisterMetaType<Tp::ByteArrayList>();
1473  qDBusRegisterMetaType<Tp::CallMemberMap>();
1474  qDBusRegisterMetaType<Tp::CallMemberMapList>();
1475  qDBusRegisterMetaType<Tp::CallStateReason>();
1476  qDBusRegisterMetaType<Tp::Candidate>();
1477  qDBusRegisterMetaType<Tp::CandidateInfo>();
1478  qDBusRegisterMetaType<Tp::CandidateList>();
1479  qDBusRegisterMetaType<Tp::CandidatePair>();
1480  qDBusRegisterMetaType<Tp::CandidatePairList>();
1481  qDBusRegisterMetaType<Tp::CapabilityChange>();
1482  qDBusRegisterMetaType<Tp::CapabilityChangeList>();
1483  qDBusRegisterMetaType<Tp::CapabilityPair>();
1484  qDBusRegisterMetaType<Tp::CapabilityPairList>();
1485  qDBusRegisterMetaType<Tp::CaptchaAnswers>();
1486  qDBusRegisterMetaType<Tp::CaptchaInfo>();
1487  qDBusRegisterMetaType<Tp::CaptchaInfoList>();
1488  qDBusRegisterMetaType<Tp::ChannelCallStateMap>();
1489  qDBusRegisterMetaType<Tp::ChannelClass>();
1490  qDBusRegisterMetaType<Tp::ChannelClassList>();
1491  qDBusRegisterMetaType<Tp::ChannelDetails>();
1492  qDBusRegisterMetaType<Tp::ChannelDetailsList>();
1493  qDBusRegisterMetaType<Tp::ChannelInfo>();
1494  qDBusRegisterMetaType<Tp::ChannelInfoList>();
1495  qDBusRegisterMetaType<Tp::ChannelOriginatorMap>();
1496  qDBusRegisterMetaType<Tp::ChatStateMap>();
1497  qDBusRegisterMetaType<Tp::Codec>();
1498  qDBusRegisterMetaType<Tp::CodecList>();
1499  qDBusRegisterMetaType<Tp::ComponentStateMap>();
1500  qDBusRegisterMetaType<Tp::ContactAttributesMap>();
1501  qDBusRegisterMetaType<Tp::ContactCapabilitiesMap>();
1502  qDBusRegisterMetaType<Tp::ContactCapabilitiesMapList>();
1503  qDBusRegisterMetaType<Tp::ContactCapability>();
1504  qDBusRegisterMetaType<Tp::ContactCapabilityList>();
1505  qDBusRegisterMetaType<Tp::ContactClientTypes>();
1506  qDBusRegisterMetaType<Tp::ContactCodecMap>();
1507  qDBusRegisterMetaType<Tp::ContactInfoField>();
1508  qDBusRegisterMetaType<Tp::ContactInfoFieldList>();
1509  qDBusRegisterMetaType<Tp::ContactInfoMap>();
1510  qDBusRegisterMetaType<Tp::ContactLocations>();
1511  qDBusRegisterMetaType<Tp::ContactMediaDescriptionPropertiesMap>();
1512  qDBusRegisterMetaType<Tp::ContactPresences>();
1513  qDBusRegisterMetaType<Tp::ContactSSRCsMap>();
1514  qDBusRegisterMetaType<Tp::ContactSearchMap>();
1515  qDBusRegisterMetaType<Tp::ContactSearchResultMap>();
1516  qDBusRegisterMetaType<Tp::ContactSendingStateMap>();
1517  qDBusRegisterMetaType<Tp::ContactSubscriptionMap>();
1518  qDBusRegisterMetaType<Tp::ContactSubscriptions>();
1519  qDBusRegisterMetaType<Tp::CurrencyAmount>();
1520  qDBusRegisterMetaType<Tp::DBusTubeMember>();
1521  qDBusRegisterMetaType<Tp::DBusTubeMemberList>();
1522  qDBusRegisterMetaType<Tp::DBusTubeParticipants>();
1523  qDBusRegisterMetaType<Tp::DebugMessage>();
1524  qDBusRegisterMetaType<Tp::DebugMessageList>();
1525  qDBusRegisterMetaType<Tp::FieldSpec>();
1526  qDBusRegisterMetaType<Tp::FieldSpecs>();
1527  qDBusRegisterMetaType<Tp::HTTPPostData>();
1528  qDBusRegisterMetaType<Tp::HTTPPostDataList>();
1529  qDBusRegisterMetaType<Tp::HandleIdentifierMap>();
1530  qDBusRegisterMetaType<Tp::HandleOwnerMap>();
1531  qDBusRegisterMetaType<Tp::HandlerCapabilities>();
1532  qDBusRegisterMetaType<Tp::HandlerCapabilitiesList>();
1533  qDBusRegisterMetaType<Tp::LastActivityAndStatuses>();
1534  qDBusRegisterMetaType<Tp::LocalPendingInfo>();
1535  qDBusRegisterMetaType<Tp::LocalPendingInfoList>();
1536  qDBusRegisterMetaType<Tp::Location>();
1537  qDBusRegisterMetaType<Tp::Mail>();
1538  qDBusRegisterMetaType<Tp::MailAddress>();
1539  qDBusRegisterMetaType<Tp::MailAddressList>();
1540  qDBusRegisterMetaType<Tp::MailList>();
1541  qDBusRegisterMetaType<Tp::MailURL>();
1542  qDBusRegisterMetaType<Tp::MediaDescriptionOffer>();
1543  qDBusRegisterMetaType<Tp::MediaDescriptionProperties>();
1544  qDBusRegisterMetaType<Tp::MediaSessionHandlerInfo>();
1545  qDBusRegisterMetaType<Tp::MediaSessionHandlerInfoList>();
1546  qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidate>();
1547  qDBusRegisterMetaType<Tp::MediaStreamHandlerCandidateList>();
1548  qDBusRegisterMetaType<Tp::MediaStreamHandlerCodec>();
1549  qDBusRegisterMetaType<Tp::MediaStreamHandlerCodecList>();
1550  qDBusRegisterMetaType<Tp::MediaStreamHandlerTransport>();
1551  qDBusRegisterMetaType<Tp::MediaStreamHandlerTransportList>();
1552  qDBusRegisterMetaType<Tp::MediaStreamInfo>();
1553  qDBusRegisterMetaType<Tp::MediaStreamInfoList>();
1554  qDBusRegisterMetaType<Tp::MessagePart>();
1555  qDBusRegisterMetaType<Tp::MessagePartContentMap>();
1556  qDBusRegisterMetaType<Tp::MessagePartList>();
1557  qDBusRegisterMetaType<Tp::MessagePartListList>();
1558  qDBusRegisterMetaType<Tp::Metadata>();
1559  qDBusRegisterMetaType<Tp::MultipleStatusMap>();
1560  qDBusRegisterMetaType<Tp::NotDelegatedError>();
1561  qDBusRegisterMetaType<Tp::NotDelegatedMap>();
1562  qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMap>();
1563  qDBusRegisterMetaType<Tp::ObjectImmutablePropertiesMapList>();
1564  qDBusRegisterMetaType<Tp::ObjectPathList>();
1565  qDBusRegisterMetaType<Tp::ParamSpec>();
1566  qDBusRegisterMetaType<Tp::ParamSpecList>();
1567  qDBusRegisterMetaType<Tp::PendingTextMessage>();
1568  qDBusRegisterMetaType<Tp::PendingTextMessageList>();
1569  qDBusRegisterMetaType<Tp::PropertyFlagsChange>();
1570  qDBusRegisterMetaType<Tp::PropertyFlagsChangeList>();
1571  qDBusRegisterMetaType<Tp::PropertySpec>();
1572  qDBusRegisterMetaType<Tp::PropertySpecList>();
1573  qDBusRegisterMetaType<Tp::PropertyValue>();
1574  qDBusRegisterMetaType<Tp::PropertyValueList>();
1575  qDBusRegisterMetaType<Tp::ProtocolPropertiesMap>();
1576  qDBusRegisterMetaType<Tp::QualifiedPropertyValueMap>();
1577  qDBusRegisterMetaType<Tp::QualifiedPropertyValueMapList>();
1578  qDBusRegisterMetaType<Tp::RTCPFeedbackMessage>();
1579  qDBusRegisterMetaType<Tp::RTCPFeedbackMessageList>();
1580  qDBusRegisterMetaType<Tp::RTCPFeedbackMessageMap>();
1581  qDBusRegisterMetaType<Tp::RTCPFeedbackMessageProperties>();
1582  qDBusRegisterMetaType<Tp::RTPHeaderExtension>();
1583  qDBusRegisterMetaType<Tp::RTPHeaderExtensionsList>();
1584  qDBusRegisterMetaType<Tp::RequestableChannelClass>();
1585  qDBusRegisterMetaType<Tp::RequestableChannelClassList>();
1586  qDBusRegisterMetaType<Tp::RichPresenceAccessControl>();
1587  qDBusRegisterMetaType<Tp::RoomInfo>();
1588  qDBusRegisterMetaType<Tp::RoomInfoList>();
1589  qDBusRegisterMetaType<Tp::ServicePoint>();
1590  qDBusRegisterMetaType<Tp::ServicePointInfo>();
1591  qDBusRegisterMetaType<Tp::ServicePointInfoList>();
1592  qDBusRegisterMetaType<Tp::SimpleContactPresences>();
1593  qDBusRegisterMetaType<Tp::SimplePresence>();
1594  qDBusRegisterMetaType<Tp::SimpleStatusSpec>();
1595  qDBusRegisterMetaType<Tp::SimpleStatusSpecMap>();
1596  qDBusRegisterMetaType<Tp::SingleContactAttributesMap>();
1597  qDBusRegisterMetaType<Tp::SocketAddressIP>();
1598  qDBusRegisterMetaType<Tp::SocketAddressIPList>();
1599  qDBusRegisterMetaType<Tp::SocketAddressIPv4>();
1600  qDBusRegisterMetaType<Tp::SocketAddressIPv6>();
1601  qDBusRegisterMetaType<Tp::SocketNetmaskIPv4>();
1602  qDBusRegisterMetaType<Tp::SocketNetmaskIPv6>();
1603  qDBusRegisterMetaType<Tp::StatusSpec>();
1604  qDBusRegisterMetaType<Tp::StatusSpecMap>();
1605  qDBusRegisterMetaType<Tp::StreamCredentials>();
1606  qDBusRegisterMetaType<Tp::StringStringMap>();
1607  qDBusRegisterMetaType<Tp::StringStringMapList>();
1608  qDBusRegisterMetaType<Tp::StringVariantMap>();
1609  qDBusRegisterMetaType<Tp::StringVariantMapList>();
1610  qDBusRegisterMetaType<Tp::SupportedSocketMap>();
1611  qDBusRegisterMetaType<Tp::TLSCertificateRejection>();
1612  qDBusRegisterMetaType<Tp::TLSCertificateRejectionList>();
1613  qDBusRegisterMetaType<Tp::TubeInfo>();
1614  qDBusRegisterMetaType<Tp::TubeInfoList>();
1615  qDBusRegisterMetaType<Tp::UIntList>();
1616  qDBusRegisterMetaType<Tp::VCardFieldAddressMap>();
1617  qDBusRegisterMetaType<Tp::VideoResolution>();
1618  qDBusRegisterMetaType<Tp::VideoResolutionStruct>();
1619 }
1620 
1621 } // namespace Tp
uint port
Definition: build/TelepathyQt/_gen/types.h:401
Definition: build/TelepathyQt/_gen/types.h:1473
MediaStreamHandlerTransportList transports
Definition: build/TelepathyQt/_gen/types.h:3654
QString address
Definition: build/TelepathyQt/_gen/types.h:2962
QString statusMessage
Definition: build/TelepathyQt/_gen/types.h:2776
uint flags
Definition: build/TelepathyQt/_gen/types.h:2319
uint identifier
Definition: build/TelepathyQt/_gen/types.h:3227
Definition: build/TelepathyQt/_gen/types.h:3286
QString key
Definition: build/TelepathyQt/_gen/types.h:1622
QString IP
Definition: build/TelepathyQt/_gen/types.h:397
uint newGenericFlags
Definition: build/TelepathyQt/_gen/types.h:512
uint reason
Definition: build/TelepathyQt/_gen/types.h:3150
Definition: build/TelepathyQt/_gen/types.h:1915
uchar prefixLength
Definition: build/TelepathyQt/_gen/types.h:2998
Definition: build/TelepathyQt/_gen/types.h:3323
QString domain
Definition: build/TelepathyQt/_gen/types.h:1496
QString signature
Definition: build/TelepathyQt/_gen/types.h:2318
uint identifier
Definition: build/TelepathyQt/_gen/types.h:2351
Definition: build/TelepathyQt/_gen/types.h:2135
RTCPFeedbackMessageList messages
Definition: build/TelepathyQt/_gen/types.h:3769
uint numberOfChannels
Definition: build/TelepathyQt/_gen/types.h:3703
QDBusArgument & operator<<(QDBusArgument &arg, const SUSocketAddress &val)
Definition: types.cpp:57
uint initiator
Definition: build/TelepathyQt/_gen/types.h:3228
uint identifier
Definition: build/TelepathyQt/_gen/types.h:1990
Definition: build/TelepathyQt/_gen/types.h:2349
uint type
Definition: build/TelepathyQt/_gen/types.h:1992
QDBusVariant detail
Definition: build/TelepathyQt/_gen/types.h:149
bool canHaveMessage
Definition: build/TelepathyQt/_gen/types.h:2816
QString name
Definition: build/TelepathyQt/_gen/types.h:2317
uint subscribe
Definition: build/TelepathyQt/_gen/types.h:1319
Definition: build/TelepathyQt/_gen/types.h:3136
uint typeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:987
uint clockRate
Definition: build/TelepathyQt/_gen/types.h:3699
uint actor
Definition: build/TelepathyQt/_gen/types.h:1708
Definition: build/TelepathyQt/_gen/types.h:2282
uint oldTypeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:513
bool exclusive
Definition: build/TelepathyQt/_gen/types.h:3881
Definition: build/TelepathyQt/_gen/types.h:507
QString address
Definition: build/TelepathyQt/_gen/types.h:1820
QString service
Definition: build/TelepathyQt/_gen/types.h:3230
uint type
Definition: build/TelepathyQt/_gen/types.h:3229
QDBusVariant detail
Definition: build/TelepathyQt/_gen/types.h:2660
Definition: build/TelepathyQt/_gen/types.h:2245
Definition: build/TelepathyQt/_gen/types.h:1534
uint type
Definition: build/TelepathyQt/_gen/types.h:3879
double timestamp
Definition: build/TelepathyQt/_gen/types.h:1479
Definition: build/TelepathyQt/_gen/types.h:213
uint handle
Definition: build/TelepathyQt/_gen/types.h:1418
QDBusObjectPath mediaDescription
Definition: build/TelepathyQt/_gen/types.h:1855
Definition: build/TelepathyQt/_gen/types.h:3588
QString password
Definition: build/TelepathyQt/_gen/types.h:1962
Definition: build/TelepathyQt/_gen/types.h:601
uint level
Definition: build/TelepathyQt/_gen/types.h:1501
QStringList serviceIDs
Definition: build/TelepathyQt/_gen/types.h:3806
QString address
Definition: build/TelepathyQt/_gen/types.h:2902
ServicePoint servicePoint
Definition: build/TelepathyQt/_gen/types.h:3799
Definition: build/TelepathyQt/_gen/types.h:1811
uint ID
Definition: build/TelepathyQt/_gen/types.h:610
Definition: build/TelepathyQt/_gen/types.h:249
QString profile
Definition: build/TelepathyQt/_gen/types.h:1958
QDBusObjectPath channel
Definition: build/TelepathyQt/_gen/types.h:847
QString label
Definition: build/TelepathyQt/_gen/types.h:652
QString name
Definition: build/TelepathyQt/_gen/types.h:1539
uint toBeAdded
Definition: build/TelepathyQt/_gen/types.h:1704
QString mediaSessionType
Definition: build/TelepathyQt/_gen/types.h:1925
QString name
Definition: build/TelepathyQt/_gen/types.h:2200
Definition: build/TelepathyQt/_gen/types.h:3755
uint type
Definition: build/TelepathyQt/_gen/types.h:2747
QString URI
Definition: build/TelepathyQt/_gen/types.h:2494
Definition: build/TelepathyQt/_gen/types.h:2896
uint handleType
Definition: build/TelepathyQt/_gen/types.h:856
Definition: build/TelepathyQt/_gen/types.h:84
uint type
Definition: build/TelepathyQt/_gen/types.h:144
QString URL
Definition: build/TelepathyQt/_gen/types.h:3624
Definition: build/TelepathyQt/_gen/types.h:3794
QString errorName
Definition: build/TelepathyQt/_gen/types.h:2140
QString type
Definition: build/TelepathyQt/_gen/types.h:620
QString channelType
Definition: build/TelepathyQt/_gen/types.h:510
Definition: build/TelepathyQt/_gen/types.h:2314
Definition: build/TelepathyQt/_gen/types.h:543
QString subtype
Definition: build/TelepathyQt/_gen/types.h:1957
uint reason
Definition: build/TelepathyQt/_gen/types.h:341
Definition: build/TelepathyQt/_gen/types.h:3651
QString name
Definition: build/TelepathyQt/_gen/types.h:1816
uint handle
Definition: build/TelepathyQt/_gen/types.h:984
QString channelType
Definition: build/TelepathyQt/_gen/types.h:851
Definition: build/TelepathyQt/_gen/types.h:2987
QString MIMEType
Definition: build/TelepathyQt/_gen/types.h:252
uint state
Definition: build/TelepathyQt/_gen/types.h:3232
StringStringMap parameters
Definition: build/TelepathyQt/_gen/types.h:3707
QString error
Definition: build/TelepathyQt/_gen/types.h:3158
Definition: build/TelepathyQt/_gen/types.h:2678
HTTPPostDataList postData
Definition: build/TelepathyQt/_gen/types.h:3633
uint max
Definition: build/TelepathyQt/_gen/types.h:1554
QVariantMap properties
Definition: build/TelepathyQt/_gen/types.h:812
StringStringMap parameterTypes
Definition: build/TelepathyQt/_gen/types.h:3882
QString address
Definition: build/TelepathyQt/_gen/types.h:2932
QString address
Definition: build/TelepathyQt/_gen/types.h:2864
QVariantMap info
Definition: build/TelepathyQt/_gen/types.h:405
ushort port
Definition: build/TelepathyQt/_gen/types.h:2906
QString name
Definition: build/TelepathyQt/_gen/types.h:3691
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
Definition: build/TelepathyQt/_gen/types.h:3360
StringStringMap parameters
Definition: build/TelepathyQt/_gen/types.h:3408
MultipleStatusMap statuses
Definition: build/TelepathyQt/_gen/types.h:3591
Definition: build/TelepathyQt/_gen/types.h:2796
QString fieldName
Definition: build/TelepathyQt/_gen/types.h:1122
uint handle
Definition: build/TelepathyQt/_gen/types.h:861
ushort port
Definition: build/TelepathyQt/_gen/types.h:2936
uint lastActivity
Definition: build/TelepathyQt/_gen/types.h:3590
uint protocol
Definition: build/TelepathyQt/_gen/types.h:1956
double preferenceValue
Definition: build/TelepathyQt/_gen/types.h:1959
Definition: build/TelepathyQt/_gen/types.h:1361
QByteArray avatarData
Definition: build/TelepathyQt/_gen/types.h:251
QString uniqueName
Definition: build/TelepathyQt/_gen/types.h:1422
Definition: build/TelepathyQt/_gen/types.h:2858
QString username
Definition: build/TelepathyQt/_gen/types.h:3023
uint width
Definition: build/TelepathyQt/_gen/types.h:3291
void _registerTypes()
Definition: types-body.hpp:1458
Definition: build/TelepathyQt/_gen/types.h:2710
QString DBusReason
Definition: build/TelepathyQt/_gen/types.h:362
QVariantMap fixedProperties
Definition: build/TelepathyQt/_gen/types.h:2582
uint flags
Definition: build/TelepathyQt/_gen/types.h:2204
uint direction
Definition: build/TelepathyQt/_gen/types.h:1994
Candidate remote
Definition: build/TelepathyQt/_gen/types.h:3332
QVariantMap info
Definition: build/TelepathyQt/_gen/types.h:2682
QString name
Definition: build/TelepathyQt/_gen/types.h:3374
QString text
Definition: build/TelepathyQt/_gen/types.h:2252
uint flags
Definition: build/TelepathyQt/_gen/types.h:658
uint state
Definition: build/TelepathyQt/_gen/types.h:1993
bool updated
Definition: build/TelepathyQt/_gen/types.h:3402
Definition: build/TelepathyQt/_gen/types.h:2195
QString username
Definition: build/TelepathyQt/_gen/types.h:1961
QString subtype
Definition: build/TelepathyQt/_gen/types.h:2449
Definition: build/TelepathyQt/_gen/types.h:329
Definition: build/TelepathyQt/_gen/types.h:1413
Definition: build/TelepathyQt/_gen/types.h:107
QString password
Definition: build/TelepathyQt/_gen/types.h:3027
QDBusVariant defaultValue
Definition: build/TelepathyQt/_gen/types.h:2214
QString parameters
Definition: build/TelepathyQt/_gen/types.h:2453
Definition: build/TelepathyQt/_gen/types.h:3535
QString publishRequest
Definition: build/TelepathyQt/_gen/types.h:1328
uint RTCPMinimumInterval
Definition: build/TelepathyQt/_gen/types.h:3765
uint newFlags
Definition: build/TelepathyQt/_gen/types.h:2285
Definition: build/TelepathyQt/_gen/types.h:1848
Definition: build/TelepathyQt/_gen/types.h:388
uint genericFlags
Definition: build/TelepathyQt/_gen/types.h:986
uint flags
Definition: build/TelepathyQt/_gen/types.h:1549
uint handle
Definition: build/TelepathyQt/_gen/types.h:2680
Definition: build/TelepathyQt/_gen/types.h:761
QString name
Definition: build/TelepathyQt/_gen/types.h:3653
uint sender
Definition: build/TelepathyQt/_gen/types.h:2249
uint codecID
Definition: build/TelepathyQt/_gen/types.h:3687
Candidate local
Definition: build/TelepathyQt/_gen/types.h:3328
uint port
Definition: build/TelepathyQt/_gen/types.h:1955
uint handle
Definition: build/TelepathyQt/_gen/types.h:215
QString alias
Definition: build/TelepathyQt/_gen/types.h:216
uint oldGenericFlags
Definition: build/TelepathyQt/_gen/types.h:511
QString message
Definition: build/TelepathyQt/_gen/types.h:1505
Definition: build/TelepathyQt/_gen/types.h:1314
uint type
Definition: build/TelepathyQt/_gen/types.h:2655
QStringList parameters
Definition: build/TelepathyQt/_gen/types.h:1545
uint identifier
Definition: build/TelepathyQt/_gen/types.h:3368
uint mediaType
Definition: build/TelepathyQt/_gen/types.h:3695
ushort port
Definition: build/TelepathyQt/_gen/types.h:2868
uint clockrate
Definition: build/TelepathyQt/_gen/types.h:3380
QVariantMap details
Definition: build/TelepathyQt/_gen/types.h:3195
Definition: build/TelepathyQt/_gen/types.h:2956
Definition: build/TelepathyQt/_gen/types.h:1115
QStringList availableMIMETypes
Definition: build/TelepathyQt/_gen/types.h:665
uint pendingSendFlags
Definition: build/TelepathyQt/_gen/types.h:1995
uchar prefixLength
Definition: build/TelepathyQt/_gen/types.h:2967
QString wellKnownName
Definition: build/TelepathyQt/_gen/types.h:3542
uint typeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:546
QVariantMap parameters
Definition: build/TelepathyQt/_gen/types.h:3231
uint height
Definition: build/TelepathyQt/_gen/types.h:3295
bool maySetOnSelf
Definition: build/TelepathyQt/_gen/types.h:2809
uint component
Definition: build/TelepathyQt/_gen/types.h:393
uint newTypeSpecificFlags
Definition: build/TelepathyQt/_gen/types.h:514
QString status
Definition: build/TelepathyQt/_gen/types.h:2752
uint propertyID
Definition: build/TelepathyQt/_gen/types.h:2316
Definition: build/TelepathyQt/_gen/types.h:139
Definition: build/TelepathyQt/_gen/types.h:2650
Definition: build/TelepathyQt/_gen/types.h:1988
QString address
Definition: build/TelepathyQt/_gen/types.h:2993
Definition: abstract-adaptor.cpp:31
QStringList parameters
Definition: build/TelepathyQt/_gen/types.h:1149
QString type
Definition: build/TelepathyQt/_gen/types.h:2443
Definition: build/TelepathyQt/_gen/types.h:61
uint channels
Definition: build/TelepathyQt/_gen/types.h:3386
uint actor
Definition: build/TelepathyQt/_gen/types.h:335
Definition: build/TelepathyQt/_gen/types.h:1699
uint handle
Definition: build/TelepathyQt/_gen/types.h:509
Definition: build/TelepathyQt/_gen/types.h:841
QString errorMessage
Definition: build/TelepathyQt/_gen/types.h:2144
uint publish
Definition: build/TelepathyQt/_gen/types.h:1323
QString channelType
Definition: build/TelepathyQt/_gen/types.h:985
QString value
Definition: build/TelepathyQt/_gen/types.h:1626
uint method
Definition: build/TelepathyQt/_gen/types.h:3628
QString parameters
Definition: build/TelepathyQt/_gen/types.h:2498
uint messageType
Definition: build/TelepathyQt/_gen/types.h:2250
Definition: build/TelepathyQt/_gen/types.h:2742
QVariantMap properties
Definition: build/TelepathyQt/_gen/types.h:1862
uint transportType
Definition: build/TelepathyQt/_gen/types.h:1960
uint direction
Definition: build/TelepathyQt/_gen/types.h:2490
QString channelType
Definition: build/TelepathyQt/_gen/types.h:2681
Definition: build/TelepathyQt/_gen/types.h:2437
QStringList allowedProperties
Definition: build/TelepathyQt/_gen/types.h:2613
Definition: build/TelepathyQt/_gen/types.h:982
int amount
Definition: build/TelepathyQt/_gen/types.h:1372
Definition: build/TelepathyQt/_gen/types.h:3619
uint type
Definition: build/TelepathyQt/_gen/types.h:2805
QString service
Definition: build/TelepathyQt/_gen/types.h:2722
uint contact
Definition: build/TelepathyQt/_gen/types.h:1991
QString IPAddress
Definition: build/TelepathyQt/_gen/types.h:1954
uint componentNumber
Definition: build/TelepathyQt/_gen/types.h:1953
uint servicePointType
Definition: build/TelepathyQt/_gen/types.h:2715
const QDBusArgument & operator>>(const QDBusArgument &arg, SUSocketAddress &val)
Definition: types.cpp:65
Definition: build/TelepathyQt/_gen/types.h:2481
Definition: build/TelepathyQt/_gen/types.h:1617
StringVariantMapList channelClasses
Definition: build/TelepathyQt/_gen/types.h:3550
QStringList fieldValue
Definition: build/TelepathyQt/_gen/types.h:1180
QStringList capabilities
Definition: build/TelepathyQt/_gen/types.h:3559
QString message
Definition: build/TelepathyQt/_gen/types.h:368
QDBusObjectPath sessionHandler
Definition: build/TelepathyQt/_gen/types.h:1921
QString message
Definition: build/TelepathyQt/_gen/types.h:1717
Definition: build/TelepathyQt/_gen/types.h:2926
Definition: build/TelepathyQt/_gen/types.h:3018
uint scale
Definition: build/TelepathyQt/_gen/types.h:1385
uint ID
Definition: build/TelepathyQt/_gen/types.h:2486
uint flags
Definition: build/TelepathyQt/_gen/types.h:2251
QDBusVariant value
Definition: build/TelepathyQt/_gen/types.h:2352
Definition: build/TelepathyQt/_gen/types.h:3877
QString signature
Definition: build/TelepathyQt/_gen/types.h:2208
QDBusObjectPath channel
Definition: build/TelepathyQt/_gen/types.h:766
uint reason
Definition: build/TelepathyQt/_gen/types.h:1712
Definition: build/TelepathyQt/_gen/types.h:1951
bool maySetOnSelf
Definition: build/TelepathyQt/_gen/types.h:3880
uint unixTimestamp
Definition: build/TelepathyQt/_gen/types.h:2248
QString channelType
Definition: build/TelepathyQt/_gen/types.h:545
Definition: build/TelepathyQt/_gen/types.h:3225
Definition: build/TelepathyQt/_gen/types.h:2554
QString currency
Definition: build/TelepathyQt/_gen/types.h:1392
Definition: build/TelepathyQt/_gen/types.h:3682
uint identifier
Definition: build/TelepathyQt/_gen/types.h:2247
uint propertyID
Definition: build/TelepathyQt/_gen/types.h:2284


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00461.html0000644000175000017500000002265212727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor5 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
typedef R(* Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5)
template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
typedef R Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >::PtrFunctor5 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
ResultType Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
FunctionType Tp::PtrFunctor5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00206.html0000644000175000017500000017317012727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelRequest Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ChannelRequest class represents a Telepathy channel request. More...

#include <TelepathyQt/ChannelRequest>

Inherits Tp::StatefulDBusProxy, and Tp::OptionalInterfaceFactory< ChannelRequest >.

Signals

void failed (const QString &errorName, const QString &errorMessage)
 
void succeeded (const Tp::ChannelPtr &channel)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~ChannelRequest ()
 
AccountPtr account () const
 
QDateTime userActionTime () const
 
QString preferredHandler () const
 
QualifiedPropertyValueMapList requests () const
 
ChannelRequestHints hints () const
 
QVariantMap immutableProperties () const
 
PendingOperationcancel ()
 
ChannelPtr channel () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< ChannelRequest >
 OptionalInterfaceFactory (ChannelRequest *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static ChannelRequestPtr create (const QDBusConnection &bus, const QString &objectPath, const QVariantMap &immutableProperties, const AccountFactoryConstPtr &accountFactory, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory)
 
static ChannelRequestPtr create (const AccountPtr &account, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 

Protected Member Functions

 ChannelRequest (const QDBusConnection &bus, const QString &objectPath, const QVariantMap &immutableProperties, const AccountFactoryConstPtr &accountFactory, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory)
 
 ChannelRequest (const AccountPtr &account, const QString &objectPath, const QVariantMap &immutableProperties)
 
Client::ChannelRequestInterfacebaseInterface () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< ChannelRequest >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< ChannelRequest >
enum  InterfaceSupportedChecking
 

Detailed Description

The ChannelRequest class represents a Telepathy channel request.

A channel request is an object in the channel dispatcher representing an ongoing request for some channels to be created or found. There can be any number of channel request objects at the same time.

A channel request can be cancelled by any client (not just the one that requested it). This means that the channel dispatcher will close the resulting channel, or refrain from requesting it at all, rather than dispatching it to a handler.

See Asynchronous Object Model

Constructor & Destructor Documentation

Tp::ChannelRequest::~ChannelRequest ( )
virtual

Class destructor.

Tp::ChannelRequest::ChannelRequest ( const QDBusConnection &  bus,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const AccountFactoryConstPtr &  accountFactory,
const ConnectionFactoryConstPtr &  connectionFactory,
const ChannelFactoryConstPtr &  channelFactory,
const ContactFactoryConstPtr &  contactFactory 
)
protected

Construct a new channel request object using the given bus and the given factories.

Parameters
busQDBusConnection to use.
objectPathThe channel request object path.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
immutablePropertiesThe immutable properties of the channel request.
Returns
A ChannelRequestPtr object pointing to the newly created ChannelRequest.
Tp::ChannelRequest::ChannelRequest ( const AccountPtr &  account,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
protected

Construct a new channel request object using the given account.

The constructed instance will use the factories from the account.

Parameters
accountAccount to use.
objectPathThe channel request object path.
immutablePropertiesThe immutable properties of the channel request.
Returns
A ChannelRequestPtr object pointing to the newly created ChannelRequest.

Member Function Documentation

ChannelRequestPtr Tp::ChannelRequest::create ( const QDBusConnection &  bus,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const AccountFactoryConstPtr &  accountFactory,
const ConnectionFactoryConstPtr &  connectionFactory,
const ChannelFactoryConstPtr &  channelFactory,
const ContactFactoryConstPtr &  contactFactory 
)
static

Create a new channel request object using the given bus and the given factories.

Parameters
busQDBusConnection to use.
objectPathThe channel request object path.
immutablePropertiesThe channel request immutable properties.
accountFactoryThe account factory to use.
connectionFactoryThe connection factory to use.
channelFactoryThe channel factory to use.
contactFactoryThe contact factory to use.
Returns
A ChannelRequestPtr object pointing to the newly created ChannelRequest object.
ChannelRequestPtr Tp::ChannelRequest::create ( const AccountPtr &  account,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new channel request object for the given account.

The returned instance will use factories from the account.

Parameters
accountThe account that the request was made through.
objectPathThe channel request object path.
immutablePropertiesThe channel request immutable properties.
Returns
A ChannelRequestPtr object pointing to the newly created ChannelRequest object.
AccountPtr Tp::ChannelRequest::account ( ) const

Return the account on which this request was made.

This method can be used even before the ChannelRequest is ready, in which case the account object corresponding to the immutable properties is returned. In this case, the Account object is not necessarily ready either. This is useful for eg. matching ChannelRequests from ClientHandlerInterface::addRequest() with existing accounts in the application: either by object path, or if account factories are in use, even by object identity.

If the account is not provided in the immutable properties, this will only return a non-NULL AccountPtr once ChannelRequest::FeatureCore is ready on this object.

Returns
A pointer to the Account object.
QDateTime Tp::ChannelRequest::userActionTime ( ) const

Return the time at which the user action occurred, or 0 if this channel request is for some reason not involving user action.

Unix developers: this corresponds to the _NET_WM_USER_TIME property in EWMH.

This property is set when the channel request is created, and can never change.

This method can be used even before the ChannelRequest is ready: in this case, the user action time from the immutable properties, if any, is returned.

Returns
The time at which the user action occurred as QDateTime.
QString Tp::ChannelRequest::preferredHandler ( ) const

Return either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable.

This property is set when the channel request is created, and can never change.

This method can be used even before the ChannelRequest is ready: in this case, the preferred handler from the immutable properties, if any, is returned.

Returns
The preferred handler, or an empty string if any handler would be acceptable.
QualifiedPropertyValueMapList Tp::ChannelRequest::requests ( ) const

Return the desirable properties for the channel or channels to be created, as specified when placing the request in the first place.

This property is set when the channel request is created, and can never change.

This method can be used even before the ChannelRequest is ready: in this case, the requested channel properties from the immutable properties, if any, are returned. This is useful for e.g. matching ChannelRequests from ClientHandlerInterface::addRequest() with existing requests in the application (by the target ID or handle, most likely).

Returns
The requested desirable channel properties as a list of QualifiedPropertyValueMap objects.
ChannelRequestHints Tp::ChannelRequest::hints ( ) const

Return the dictionary of metadata provided by the channel requester when requesting the channel.

This property is set when the channel request is created, and can never change.

This method can be used even before the ChannelRequest is ready: in this case, the requested channel properties from the immutable properties, if any, are returned. This is useful for e.g. matching ChannelRequests from ClientHandlerInterface::addRequest() with existing requests in the application (by the target ID or handle, most likely).

See also
Account::supportsRequestHints()
Returns
The hints in the request as a ChannelRequestHints object, if any.
QVariantMap Tp::ChannelRequest::immutableProperties ( ) const

Return all of the immutable properties passed to this object when created.

This is useful for e.g. getting to domain-specific properties of channel requests.

Returns
The immutable properties as QVariantMap.
PendingOperation * Tp::ChannelRequest::cancel ( )

Cancel the channel request.

If failed() is emitted in response to this method, the error will be TP_QT_ERROR_CANCELLED.

If the channel has already been dispatched to a handler, then it's too late to call this method, and the channel request will no longer exist.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
ChannelPtr Tp::ChannelRequest::channel ( ) const

Return the Channel which this request succeeded with, if any.

This will only ever be populated if Account::requestsSucceedWithChannel() is true, and succeeded() has already been emitted on this ChannelRequest. Note that a PendingChannelRequest being successfully finished already implies succeeded() has been emitted.

Returns
A pointer to the Channel object, or a null ChannelPtr if there isn't any.
void Tp::ChannelRequest::failed ( const QString &  errorName,
const QString &  errorMessage 
)
signal

Emitted when the channel request has failed. No further methods must not be called on it.

Parameters
errorNameThe name of a D-Bus error.
errorMessageThe error message.
See also
succeeded()
void Tp::ChannelRequest::succeeded ( const Tp::ChannelPtr &  channel)
signal

Emitted when the channel request has succeeded. No further methods must not be called on it.

The channel parameter can be used to observe the channel resulting from the request (e.g. for it getting closed). The pointer may be NULL if the Channel Dispatcher implementation is too old. Whether a non-NULL channel can be expected can be checked with Account::requestsSucceedWithChannel().

If there is a channel, it will be of the subclass determined by and made ready (or not) according to the settings of the ChannelFactory on the Account the request was made through.

Parameters
channelPointer to a proxy for the resulting channel, if the Channel Dispatcher reported it.
See also
failed()
Client::ChannelRequestInterface * Tp::ChannelRequest::baseInterface ( ) const
protected

Return the ChannelRequestInterface for this ChannelRequest class. This method is protected since the convenience methods provided by this class should always be used instead of the interface by users of the class.

Returns
A pointer to the existing Client::ChannelRequestInterface object for this ChannelRequest object.

Member Data Documentation

const Feature Tp::ChannelRequest::FeatureCore
static

Feature representing the core that needs to become ready to make the ChannelRequest object usable.

Note that this feature must be enabled in order to use most ChannelRequest methods.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01177.html0000644000175000017500000001656312727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleCallObserver Member List

This is the complete list of members for Tp::SimpleCallObserver, including all inherited members.

account() const Tp::SimpleCallObserver
CallDirection enum nameTp::SimpleCallObserver
CallDirectionBoth enum valueTp::SimpleCallObserver
CallDirectionIncoming enum valueTp::SimpleCallObserver
CallDirectionOutgoing enum valueTp::SimpleCallObserver
callEnded(const Tp::CallChannelPtr &channel, const QString &errorName, const QString &errorMessage)Tp::SimpleCallObserversignal
calls() const Tp::SimpleCallObserver
callStarted(const Tp::CallChannelPtr &channel)Tp::SimpleCallObserversignal
contactIdentifier() const Tp::SimpleCallObserver
create(const AccountPtr &account, CallDirection direction=CallDirectionBoth)Tp::SimpleCallObserverstatic
create(const AccountPtr &account, const ContactPtr &contact, CallDirection direction=CallDirectionBoth)Tp::SimpleCallObserverstatic
create(const AccountPtr &account, const QString &contactIdentifier, CallDirection direction=CallDirectionBoth)Tp::SimpleCallObserverstatic
direction() const Tp::SimpleCallObserver
RefCounted()Tp::RefCountedinline
streamedMediaCallEnded(const Tp::StreamedMediaChannelPtr &channel, const QString &errorName, const QString &errorMessage)Tp::SimpleCallObserversignal
streamedMediaCalls() const Tp::SimpleCallObserver
streamedMediaCallStarted(const Tp::StreamedMediaChannelPtr &channel)Tp::SimpleCallObserversignal
~RefCounted()Tp::RefCountedinlinevirtual
~SimpleCallObserver()Tp::SimpleCallObservervirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00561_source.html0000644000175000017500000007525012727270137022366 0ustar00kaffeinekaffeine00000000000000 call-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
call-channel.h
1 
22 #ifndef _TelepathyQt_call_channel_h_HEADER_GUARD_
23 #define _TelepathyQt_call_channel_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_HEADER
26 #error IN_TP_QT_HEADER
27 #endif
28 
29 #include <TelepathyQt/Channel>
30 #include <TelepathyQt/CallContent>
31 
32 namespace Tp
33 {
34 
35 class TP_QT_EXPORT CallChannel : public Channel
36 {
37  Q_OBJECT
38  Q_DISABLE_COPY(CallChannel)
39 
40 public:
41  static const Feature FeatureCore;
42  static const Feature FeatureCallState;
44  static const Feature FeatureContents;
46 
47  static CallChannelPtr create(const ConnectionPtr &connection,
48  const QString &objectPath, const QVariantMap &immutableProperties);
49 
50  virtual ~CallChannel();
51 
52  bool handlerStreamingRequired() const;
53  StreamTransportType initialTransportType() const;
54  bool hasInitialAudio() const;
55  bool hasInitialVideo() const;
56  QString initialAudioName() const;
57  QString initialVideoName() const;
58  bool hasMutableContents() const;
59 
60  PendingOperation *setRinging();
61  PendingOperation *setQueued();
62  PendingOperation *accept();
64  const QString &detailedReason = QString(), const QString &message = QString());
65 
66  // FeatureCallState
67  CallState callState() const;
68  CallFlags callFlags() const;
69  CallStateReason callStateReason() const;
70  QVariantMap callStateDetails() const;
71 
72  // FeatureCallMembers
73  Contacts remoteMembers() const;
74  CallMemberFlags remoteMemberFlags(const ContactPtr &member) const;
75 
76  // FeatureContents
77  CallContents contents() const;
78  CallContents contentsForType(MediaStreamType type) const;
79  CallContentPtr contentByName(const QString &contentName) const;
80  PendingCallContent *requestContent(const QString &name,
81  MediaStreamType type, MediaStreamDirection direction);
82 
83  // FeatureLocalHoldState
84  LocalHoldState localHoldState() const;
85  LocalHoldStateReason localHoldStateReason() const;
86  PendingOperation *requestHold(bool hold);
87 
88 Q_SIGNALS:
89  // FeatureCallState
90  void callStateChanged(Tp::CallState state);
91  void callFlagsChanged(Tp::CallFlags flags);
92 
93  // FeatureCallMembers
94  void remoteMemberFlagsChanged(
95  const QHash<Tp::ContactPtr, Tp::CallMemberFlags> &remoteMemberFlags,
96  const Tp::CallStateReason &reason);
97  void remoteMembersRemoved(const Tp::Contacts &remoteMembers,
98  const Tp::CallStateReason &reason);
99 
100  // FeatureContents
101  void contentAdded(const Tp::CallContentPtr &content);
102  void contentRemoved(const Tp::CallContentPtr &content, const Tp::CallStateReason &reason);
103 
104  // FeatureLocalHoldState
105  void localHoldStateChanged(Tp::LocalHoldState state, Tp::LocalHoldStateReason reason);
106 
107 protected:
108  CallChannel(const ConnectionPtr &connection,
109  const QString &objectPath, const QVariantMap &immutableProperties,
110  const Feature &coreFeature = CallChannel::FeatureCore);
111 
112 private Q_SLOTS:
113  TP_QT_NO_EXPORT void gotMainProperties(Tp::PendingOperation *op);
114 
115  TP_QT_NO_EXPORT void gotCallState(Tp::PendingOperation *op);
116  TP_QT_NO_EXPORT void onCallStateChanged(uint state, uint flags,
117  const Tp::CallStateReason &stateReason, const QVariantMap &stateDetails);
118 
119  TP_QT_NO_EXPORT void gotCallMembers(Tp::PendingOperation *op);
120  TP_QT_NO_EXPORT void gotCallMembersContacts(Tp::PendingOperation *op);
121  TP_QT_NO_EXPORT void onCallMembersChanged(const Tp::CallMemberMap &updates,
122  const Tp::HandleIdentifierMap &identifiers,
123  const Tp::UIntList &removed,
124  const Tp::CallStateReason &reason);
125 
126  TP_QT_NO_EXPORT void gotContents(Tp::PendingOperation *op);
127  TP_QT_NO_EXPORT void onContentAdded(const QDBusObjectPath &contentPath);
128  TP_QT_NO_EXPORT void onContentRemoved(const QDBusObjectPath &contentPath,
129  const Tp::CallStateReason &reason);
130  TP_QT_NO_EXPORT void onContentReady(Tp::PendingOperation *op);
131 
132  TP_QT_NO_EXPORT void gotLocalHoldState(QDBusPendingCallWatcher *);
133  TP_QT_NO_EXPORT void onLocalHoldStateChanged(uint, uint);
134 
135 private:
136  friend class PendingCallContent;
137 
138  TP_QT_NO_EXPORT CallContentPtr addContent(const QDBusObjectPath &contentPath);
139  TP_QT_NO_EXPORT CallContentPtr lookupContent(const QDBusObjectPath &contentPath) const;
140 
141  struct Private;
142  friend struct Private;
143  Private *mPriv;
144 };
145 
146 } // Tp
147 
148 #endif
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
static const Feature FeatureCallMembers
Definition: call-channel.h:43
Definition: build/TelepathyQt/_gen/constants.h:2394
static const Feature FeatureCallState
Definition: call-channel.h:42
static const Feature FeatureLocalHoldState
Definition: call-channel.h:45
Definition: build/TelepathyQt/_gen/types.h:1655
static const Feature FeatureCore
Definition: call-channel.h:41
QFlags< CallFlag > CallFlags
Definition: build/TelepathyQt/_gen/constants.h:574
static const Feature FeatureContents
Definition: call-channel.h:44
QList< CallContentPtr > CallContents
Definition: call-content.h:37
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
CallStateChangeReason
Definition: build/TelepathyQt/_gen/constants.h:2365
The CallChannel class provides an object representing a Telepathy channel of type Call...
Definition: call-channel.h:35
Definition: build/TelepathyQt/_gen/types.h:329
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Definition: build/TelepathyQt/_gen/types.h:107
QFlags< CallMemberFlag > CallMemberFlags
Definition: build/TelepathyQt/_gen/constants.h:650
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
Definition: abstract-adaptor.cpp:31
Definition: call-content.h:86
Definition: build/TelepathyQt/_gen/types.h:296
StreamTransportType
Definition: build/TelepathyQt/_gen/constants.h:4463
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00520.html0000644000175000017500000001335512727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::UIntList Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Inherits QList< uint >.

Public Member Functions

 UIntList ()
 
 UIntList (const QList< uint > &a)
 
UIntListoperator= (const QList< uint > &a)
 

Detailed Description

Generic list type with uint elements. Convertible with QList<uint>, but needed to have a discrete type in the Qt type system.

Constructor & Destructor Documentation

Tp::UIntList::UIntList ( )
inline
Tp::UIntList::UIntList ( const QList< uint > &  a)
inline

Member Function Documentation

UIntList& Tp::UIntList::operator= ( const QList< uint > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00275.html0000644000175000017500000012531012727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceMailNotificationInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< Tp::MailURLRequestInboxURL (int timeout=-1)
 
QDBusPendingReply< Tp::MailURLRequestMailURL (const QString &ID, const QDBusVariant &URLData, int timeout=-1)
 

Signals

void MailsReceived (const Tp::MailList &mails)
 
void UnreadMailsChanged (uint count, const Tp::MailList &mailsAdded, const QStringList &mailsRemoved)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceMailNotificationInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceMailNotificationInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceMailNotificationInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceMailNotificationInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceMailNotificationInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyMailNotificationFlags () const
 
Tp::PendingVariantrequestPropertyUnreadMailCount () const
 
Tp::PendingVariantrequestPropertyUnreadMails () const
 
Tp::PendingVariantrequestPropertyMailAddress () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.MailNotification".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceMailNotificationInterface::ConnectionInterfaceMailNotificationInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceMailNotificationInterface 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.
Tp::Client::ConnectionInterfaceMailNotificationInterface::ConnectionInterfaceMailNotificationInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceMailNotificationInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceMailNotificationInterface::ConnectionInterfaceMailNotificationInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceMailNotificationInterface 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.
Tp::Client::ConnectionInterfaceMailNotificationInterface::ConnectionInterfaceMailNotificationInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceMailNotificationInterface 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 Tp::Client::ConnectionInterfaceMailNotificationInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.MailNotification", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceMailNotificationInterface::requestPropertyMailNotificationFlags ( ) const
inline

Asynchronous getter for the remote object property MailNotificationFlags of type uint.

Integer representing the bitwise-OR of supported features for e-mails notification on this server. This property MUST NOT change after the Connection becomes CONNECTED. This property indicates the behavior and availability of the other properties and signals within this interface. A connection manager that cannot at least set one of the flags in the Mail_Notification_Flags SHOULD NOT provide this interface.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceMailNotificationInterface::requestPropertyUnreadMailCount ( ) const
inline

Asynchronous getter for the remote object property UnreadMailCount of type uint.

The number of unread messages in the Inbox. Change notification is via UnreadMailsChanged() .

This property is only useful if Supports_Unread_Mail_Count is set in the MailNotificationFlags ; otherwise, it MUST be zero.

If Thread_Based appears in the MailNotificationFlags , this property counts the number of threads, not the number of mails.

Note that this count MAY be bigger than the number of items in UnreadMails . See UnreadMails for more details.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceMailNotificationInterface::requestPropertyUnreadMails ( ) const
inline

Asynchronous getter for the remote object property UnreadMails of type Tp::MailList.

An array of unread Mails. Change notification is via UnreadMailsChanged. This property is only useful if Supports_Unread_Mails is set in MailNotificationFlags; otherwise, it MUST be an empty list. The array size MAY be shorter than UnreadMailCount. Some servers may limits the amount of detailed e-mails sent. This can significantly reduce the network traffic for large inbox. For this reason, it is normal that UnreadMailCount be bigger or equal to the size of this array.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceMailNotificationInterface::requestPropertyMailAddress ( ) const
inline

Asynchronous getter for the remote object property MailAddress of type QString.

A string representing the e-mail address of the account. The CMs MUST provide this information. In close integration of MailNotification with other e-mail services, the e-mail address can be used has a unique identifier for the account. Possible integration could be between Telepathy and Evolution where the e-mail address is the common information in both interfaces.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceMailNotificationInterface::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<Tp::MailURL> Tp::Client::ConnectionInterfaceMailNotificationInterface::RequestInboxURL ( int  timeout = -1)
inlineslot

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

This method creates and returns a URL and an optional POST data that allow opening the Inbox folder of a webmail account. This URL MAY contain tokens with a short lifetime, so clients SHOULD request a new URL for each visit to the webmail interface. This method is implemented only if the Supports_Request_Inbox_URL flag is set in MailNotificationFlags. We are not using properties here because the tokens are unsuitable for sharing between clients, and network round-trips may be required to obtain the information that leads to authentication free webmail access.

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.
Returns
A struture containing a URL and optional additional data to open a 
webmail client, without re-authentication if possible.
QDBusPendingReply<Tp::MailURL> Tp::Client::ConnectionInterfaceMailNotificationInterface::RequestMailURL ( const QString &  ID,
const QDBusVariant &  URLData,
int  timeout = -1 
)
inlineslot

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

This method creates and returns a URL and optional POST data that allow opening a specific mail in a webmail interface. This method is implemented only if Supports_Request_Mail_URL flag is set in MailNotificationFlags. See RequestInboxURL for design rationale.

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

Parameters
ID
The mail&apos;s id as found in the Mail structure, or the empty 
string if no id key was provided.
URLData
Whatever url-data was found in the Mail structure, or the boolean 
value False (D-Bus type &apos;b&apos;) if no url-data was provided 
in the Mail.
timeoutThe timeout in milliseconds.
Returns
A struture that contains a URL and optional additional data to open 
a webmail client, without re-authentication if possible.
void Tp::Client::ConnectionInterfaceMailNotificationInterface::MailsReceived ( const Tp::MailList mails)
signal

Represents the signal MailsReceived on the remote object.

Emitted when new e-mails messages arrive to the inbox associated with this connection. This signal is used for protocols that are not able to maintain the UnreadMails list, but do provide real-time notification about newly arrived e-mails. It MUST NOT be emitted unless Emits_Mails_Received is set in MailNotificationFlags.

Parameters
mails

An array of Mails. Those e-mail MUST NOT have the "id" key.

On connections that emit this signal, it's impossible to tell when a mail has been removed, and hence when "id" has become invalid.

void Tp::Client::ConnectionInterfaceMailNotificationInterface::UnreadMailsChanged ( uint  count,
const Tp::MailList mailsAdded,
const QStringList &  mailsRemoved 
)
signal

Represents the signal UnreadMailsChanged on the remote object.

Emitted when UnreadMails or UnreadMailCount have changed. It MUST NOT be emited if Supports_Unread_Mail_Count flag is not set in MailNotificationFlags .

Mails_Added and Mails_Removed MUST be empty if the Supports_Unread_Mails flag is not set.

Parameters
count
Number of unread messages in the inbox (the new value of 
UnreadMailCount).
mailsAdded

A list of Mail that are being added or updated in UnreadMails .

Mails may be updated when the URL information (URL and POST data) have changed, or senders were added or removed from an e-mail thread.

If the Supports_Unread_Mails flag is not set, this list MUST be empty, even if Count has increased.

mailsRemoved
A list of e-mail IDs that are being removed from UnreadMails. If 
the Supports_Unread_Mails flag is not set, this list MUST be empty, 
even if Count has decreased.
void Tp::Client::ConnectionInterfaceMailNotificationInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01236.html0000644000175000017500000002157112727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelDispatcherInterfaceMessages1Interface Member List

This is the complete list of members for Tp::Client::ChannelDispatcherInterfaceMessages1Interface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelDispatcherInterfaceMessages1Interface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatcherInterfaceMessages1Interface
ChannelDispatcherInterfaceMessages1Interface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatcherInterfaceMessages1Interface
ChannelDispatcherInterfaceMessages1Interface(Tp::DBusProxy *proxy)Tp::Client::ChannelDispatcherInterfaceMessages1Interface
ChannelDispatcherInterfaceMessages1Interface(const Tp::Client::ChannelDispatcherInterface &mainInterface)Tp::Client::ChannelDispatcherInterfaceMessages1Interfaceexplicit
ChannelDispatcherInterfaceMessages1Interface(const Tp::Client::ChannelDispatcherInterface &mainInterface, QObject *parent)Tp::Client::ChannelDispatcherInterfaceMessages1Interface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelDispatcherInterfaceMessages1Interfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelDispatcherInterfaceMessages1Interfaceinline
SendMessage(const QDBusObjectPath &account, const QString &targetID, const Tp::MessagePartList &message, uint flags, int timeout=-1)Tp::Client::ChannelDispatcherInterfaceMessages1Interfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelDispatcherInterfaceMessages1Interfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_n.html0000644000175000017500000002775112727270137022522 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- n -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00334.html0000644000175000017500000004110012727270137020767 0ustar00kaffeinekaffeine00000000000000 Tp::FixedFeatureFactory Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The FixedFeatureFactory class is a base class for all D-Bus proxy factories which want the same set of features for all constructed proxies. More...

#include <TelepathyQt/FixedFeatureFactory>

Inherits Tp::DBusProxyFactory.

Inherited by Tp::AccountFactory, and Tp::ConnectionFactory.

Public Member Functions

virtual ~FixedFeatureFactory ()
 
Features features () const
 
void addFeature (const Feature &feature)
 
void addFeatures (const Features &features)
 
- Public Member Functions inherited from Tp::DBusProxyFactory
virtual ~DBusProxyFactory ()
 
const QDBusConnection & dbusConnection () const
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Member Functions

 FixedFeatureFactory (const QDBusConnection &bus)
 
virtual Features featuresFor (const DBusProxyPtr &proxy) const
 
- Protected Member Functions inherited from Tp::DBusProxyFactory
 DBusProxyFactory (const QDBusConnection &bus)
 
DBusProxyPtr cachedProxy (const QString &busName, const QString &objectPath) const
 
PendingReadynowHaveProxy (const DBusProxyPtr &proxy) const
 
virtual QString finalBusNameFrom (const QString &uniqueOrWellKnown) const =0
 
virtual PendingOperationinitialPrepare (const DBusProxyPtr &proxy) const
 
virtual PendingOperationreadyPrepare (const DBusProxyPtr &proxy) const
 

Detailed Description

The FixedFeatureFactory class is a base class for all D-Bus proxy factories which want the same set of features for all constructed proxies.

Constructor & Destructor Documentation

Tp::FixedFeatureFactory::~FixedFeatureFactory ( )
virtual

Class destructor.

Tp::FixedFeatureFactory::FixedFeatureFactory ( const QDBusConnection &  bus)
protected

Class constructor.

The intention for storing the bus here is that it generally doesn't make sense to construct proxies for multiple buses in the same context. Allowing that would lead to more complex keying needs in the cache, as well.

Parameters
busThe D-Bus bus connection for the objects constructed using this factory.

Member Function Documentation

Features Tp::FixedFeatureFactory::features ( ) const

Gets the features this factory will make ready on constructed proxies.

Returns
The set of features.
void Tp::FixedFeatureFactory::addFeature ( const Feature feature)

Adds a single feature this factory will make ready on further constructed proxies.

No feature removal is provided, to guard against uncooperative modules removing features other modules have set and depend on.

Parameters
featureThe feature to add.
void Tp::FixedFeatureFactory::addFeatures ( const Features features)

Adds a set of features this factory will make ready on further constructed proxies.

No feature removal is provided, to guard against uncooperative modules removing features other modules have set and depend on.

Parameters
featuresThe features to add.
Features Tp::FixedFeatureFactory::featuresFor ( const DBusProxyPtr &  proxy) const
protectedvirtual

Fixed implementation of the per-proxy feature getter.

Returns
features(), irrespective of the actual proxy.

Implements Tp::DBusProxyFactory.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00089.html0000644000175000017500000017454512727270137021022 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnection Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for Connection implementations. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::DBusService.

Public Types

typedef Callback2< BaseChannelPtr, const QVariantMap &, DBusError * > CreateChannelCallback
 
typedef Callback1< void, DBusError * > ConnectCallback
 
typedef Callback3< QStringList, uint, const Tp::UIntList &, DBusError * > InspectHandlesCallback
 
typedef Callback3< Tp::UIntList, uint, const QStringList &, DBusError * > RequestHandlesCallback
 

Signals

void disconnected ()
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseConnection ()
 
QString cmName () const
 
QString protocolName () const
 
QVariantMap parameters () const
 
QVariantMap immutableProperties () const
 
uint selfHandle () const
 
void setSelfHandle (uint selfHandle)
 
QString selfID () const
 
void setSelfID (const QString &selfID)
 
void setSelfContact (uint selfHandle, const QString &selfID)
 
uint status () const
 
void setStatus (uint newStatus, uint reason)
 
void setCreateChannelCallback (const CreateChannelCallback &cb)
 
BaseChannelPtr createChannel (const QVariantMap &request, bool suppressHandler, DBusError *error)
 
void setConnectCallback (const ConnectCallback &cb)
 
void setInspectHandlesCallback (const InspectHandlesCallback &cb)
 
QStringList inspectHandles (uint handleType, const Tp::UIntList &handles, DBusError *error)
 
void setRequestHandlesCallback (const RequestHandlesCallback &cb)
 
Tp::UIntList requestHandles (uint handleType, const QStringList &identifiers, DBusError *error)
 
Tp::ChannelInfoList channelsInfo ()
 
Tp::ChannelDetailsList channelsDetails ()
 
BaseChannelPtr ensureChannel (const QVariantMap &request, bool &yours, bool suppressHandler, DBusError *error)
 
void addChannel (BaseChannelPtr channel, bool suppressHandler=false)
 
QList< AbstractConnectionInterfacePtr > interfaces () const
 
AbstractConnectionInterfacePtr interface (const QString &interfaceName) const
 
bool plugInterface (const AbstractConnectionInterfacePtr &interface)
 
bool registerObject (DBusError *error=NULL)
 
virtual QString uniqueName () const
 
- Public Member Functions inherited from Tp::DBusService
 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionPtr create (const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())
 
template<typename BaseConnectionSubclass >
static SharedPtr< BaseConnectionSubclass > create (const QString &cmName, const QString &protocolName, const QVariantMap &parameters, const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())
 

Protected Member Functions

 BaseConnection (const QDBusConnection &dbusConnection, const QString &cmName, const QString &protocolName, const QVariantMap &parameters)
 
virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
virtual bool matchChannel (const Tp::BaseChannelPtr &channel, const QVariantMap &request, Tp::DBusError *error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for Connection implementations.

Member Typedef Documentation

typedef Callback2<BaseChannelPtr, const QVariantMap &, DBusError*> Tp::BaseConnection::CreateChannelCallback

Constructor & Destructor Documentation

Tp::BaseConnection::~BaseConnection ( )
virtual

Class destructor.

Tp::BaseConnection::BaseConnection ( const QDBusConnection &  dbusConnection,
const QString &  cmName,
const QString &  protocolName,
const QVariantMap &  parameters 
)
protected

Construct a BaseConnection.

Parameters
dbusConnectionThe D-Bus connection that will be used by this object.
cmNameThe name of the connection manager associated with this connection.
protocolNameThe name of the protocol associated with this connection.
parametersThe parameters of this connection.

Member Function Documentation

static BaseConnectionPtr Tp::BaseConnection::create ( const QString &  cmName,
const QString &  protocolName,
const QVariantMap &  parameters,
const QDBusConnection &  dbusConnection = QDBusConnection::sessionBus() 
)
inlinestatic
template<typename BaseConnectionSubclass >
static SharedPtr<BaseConnectionSubclass> Tp::BaseConnection::create ( const QString &  cmName,
const QString &  protocolName,
const QVariantMap &  parameters,
const QDBusConnection &  dbusConnection = QDBusConnection::sessionBus() 
)
inlinestatic
QString Tp::BaseConnection::cmName ( ) const

Return the name of the connection manager associated with this connection.

Returns
The name of the connection manager associated with this connection.
QString Tp::BaseConnection::protocolName ( ) const

Return the name of the protocol associated with this connection.

Returns
The name of the protocol associated with this connection.
QVariantMap Tp::BaseConnection::parameters ( ) const

Return the parameters of this connection.

Returns
The parameters of this connection.
QVariantMap Tp::BaseConnection::immutableProperties ( ) const
virtual

Return the immutable properties of this connection object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns
The immutable properties of this connection object.

Implements Tp::DBusService.

uint Tp::BaseConnection::selfHandle ( ) const
void Tp::BaseConnection::setSelfHandle ( uint  selfHandle)
QString Tp::BaseConnection::selfID ( ) const
void Tp::BaseConnection::setSelfID ( const QString &  selfID)
void Tp::BaseConnection::setSelfContact ( uint  selfHandle,
const QString &  selfID 
)
uint Tp::BaseConnection::status ( ) const
void Tp::BaseConnection::setStatus ( uint  newStatus,
uint  reason 
)
void Tp::BaseConnection::setCreateChannelCallback ( const CreateChannelCallback cb)
Tp::BaseChannelPtr Tp::BaseConnection::createChannel ( const QVariantMap &  request,
bool  suppressHandler,
DBusError error 
)
void Tp::BaseConnection::setConnectCallback ( const ConnectCallback cb)
void Tp::BaseConnection::setInspectHandlesCallback ( const InspectHandlesCallback cb)
QStringList Tp::BaseConnection::inspectHandles ( uint  handleType,
const Tp::UIntList handles,
DBusError error 
)
void Tp::BaseConnection::setRequestHandlesCallback ( const RequestHandlesCallback cb)
Tp::UIntList Tp::BaseConnection::requestHandles ( uint  handleType,
const QStringList &  identifiers,
DBusError error 
)
Tp::ChannelInfoList Tp::BaseConnection::channelsInfo ( )
Tp::ChannelDetailsList Tp::BaseConnection::channelsDetails ( )
Tp::BaseChannelPtr Tp::BaseConnection::ensureChannel ( const QVariantMap &  request,
bool &  yours,
bool  suppressHandler,
DBusError error 
)

Return a new or exists channel, satisfying the given request.

This method iterate over exist channels to find the one satisfying the request. If there is no suitable channel, then new channel with given request details will be created. This method uses the matchChannel() method to check whether there exists a channel which confirms with the request.

If error is passed, any error that may occur will be stored there.

Parameters
requestA dictionary containing the desirable properties.
yoursA returning argument. true if returned channel is a new one and false otherwise.
suppressHandlerAn option to suppress handler in case of a new channel creation.
errorA pointer to an empty DBusError where any possible error will be stored.
Returns
A pointer to a channel, satisfying the given request.
See also
matchChannel()
void Tp::BaseConnection::addChannel ( BaseChannelPtr  channel,
bool  suppressHandler = false 
)
QList< AbstractConnectionInterfacePtr > Tp::BaseConnection::interfaces ( ) const

Return a list of interfaces that have been plugged into this Protocol D-Bus object with plugInterface().

This property is immutable and cannot change after this Protocol object has been registered on the bus with registerObject().

Returns
A list containing all the Protocol interface implementation objects.
See also
plugInterface(), interface()
AbstractConnectionInterfacePtr Tp::BaseConnection::interface ( const QString &  interfaceName) const

Return a pointer to the interface with the given name.

Parameters
interfaceNameThe D-Bus name of the interface, ex. TP_QT_IFACE_CONNECTION_INTERFACE_ADDRESSING.
Returns
A pointer to the AbstractConnectionInterface object that implements the D-Bus interface with the given name, or a null pointer if such an interface has not been plugged into this object.
See also
plugInterface(), interfaces()
bool Tp::BaseConnection::plugInterface ( const AbstractConnectionInterfacePtr &  interface)

Plug a new interface into this Connection D-Bus object.

This property is immutable and cannot change after this Protocol object has been registered on the bus with registerObject().

Parameters
interfaceAn AbstractConnectionInterface instance that implements the interface that is to be plugged.
Returns
true on success or false otherwise
See also
interfaces(), interface()
bool Tp::BaseConnection::registerObject ( DBusError error = NULL)

Register this connection object on the bus.

If error is passed, any D-Bus error that may occur will be stored there.

Parameters
errorA pointer to an empty DBusError where any possible D-Bus error will be stored.
Returns
true on success and false if there was an error or this connection object is already registered.
See also
isRegistered()
QString Tp::BaseConnection::uniqueName ( ) const
virtual

Return a unique name for this connection.

Returns
A unique name for this connection.
void Tp::BaseConnection::disconnected ( )
signal

Emitted when this connection has been disconnected.

bool Tp::BaseConnection::registerObject ( const QString &  busName,
const QString &  objectPath,
DBusError error 
)
protectedvirtual

Reimplemented from DBusService.

Reimplemented from Tp::DBusService.

bool Tp::BaseConnection::matchChannel ( const Tp::BaseChannelPtr &  channel,
const QVariantMap &  request,
Tp::DBusError error 
)
protectedvirtual

Check channel on conformity with request.

This virtual method is used to check if a channel satisfying the given request. It is warranted, that the type of the channel meets the requested type.

The default implementation compares TargetHandleType and TargetHandle/TargetID. If error is passed, any error that may occur will be stored there.

Parameters
channelA pointer to a channel to be checked.
requestA dictionary containing the desirable properties.
errorA pointer to an empty DBusError where any possible error will be stored.
Returns
true if channel match the request and false otherwise.
See also
ensureChannel()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00827_source.html0000644000175000017500000072407512727270137022401 0ustar00kaffeinekaffeine00000000000000 svc-connection.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
svc-connection.h
1 /*
2  * This file contains D-Bus adaptor classes generated by qt-svc-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #include <TelepathyQt/AbstractAdaptor>
9 #include <TelepathyQt/Global>
10 #include <TelepathyQt/Types>
11 
12 #include <QObject>
13 #include <QtDBus>
14 
15 namespace Tp
16 {
17 namespace Service
18 {
19 
27 class TP_QT_EXPORT ConnectionAdaptor : public Tp::AbstractAdaptor
28 {
29  Q_OBJECT
30  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection")
31  Q_CLASSINFO("D-Bus Introspection", ""
32 " <interface name=\"org.freedesktop.Telepathy.Connection\">\n"
33 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
34 " <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
35 " <property access=\"read\" type=\"s\" name=\"SelfID\"/>\n"
36 " <property access=\"read\" type=\"u\" name=\"Status\"/>\n"
37 " <property access=\"read\" type=\"b\" name=\"HasImmortalHandles\"/>\n"
38 " <method name=\"Connect\"/>\n"
39 " <method name=\"Disconnect\"/>\n"
40 " <method name=\"GetInterfaces\">\n"
41 " <arg direction=\"out\" type=\"as\" name=\"interfaces\"/>\n"
42 " </method>\n"
43 " <method name=\"GetProtocol\">\n"
44 " <arg direction=\"out\" type=\"s\" name=\"protocol\"/>\n"
45 " </method>\n"
46 " <method name=\"GetSelfHandle\">\n"
47 " <arg direction=\"out\" type=\"u\" name=\"selfHandle\"/>\n"
48 " </method>\n"
49 " <method name=\"GetStatus\">\n"
50 " <arg direction=\"out\" type=\"u\" name=\"status\"/>\n"
51 " </method>\n"
52 " <method name=\"HoldHandles\">\n"
53 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
54 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
55 " </method>\n"
56 " <method name=\"InspectHandles\">\n"
57 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
58 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
59 " <arg direction=\"out\" type=\"as\" name=\"identifiers\"/>\n"
60 " </method>\n"
61 " <method name=\"ListChannels\">\n"
62 " <arg direction=\"out\" type=\"a(osuu)\" name=\"channelInfo\">\n"
63 " <annotation value=\"Tp::ChannelInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
64 " </arg>\n"
65 " </method>\n"
66 " <method name=\"ReleaseHandles\">\n"
67 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
68 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
69 " </method>\n"
70 " <method name=\"RequestChannel\">\n"
71 " <arg direction=\"in\" type=\"s\" name=\"type\"/>\n"
72 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
73 " <arg direction=\"in\" type=\"u\" name=\"handle\"/>\n"
74 " <arg direction=\"in\" type=\"b\" name=\"suppressHandler\"/>\n"
75 " <arg direction=\"out\" type=\"o\" name=\"objectPath\"/>\n"
76 " </method>\n"
77 " <method name=\"RequestHandles\">\n"
78 " <arg direction=\"in\" type=\"u\" name=\"handleType\"/>\n"
79 " <arg direction=\"in\" type=\"as\" name=\"identifiers\"/>\n"
80 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
81 " </method>\n"
82 " <method name=\"AddClientInterest\">\n"
83 " <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
84 " </method>\n"
85 " <method name=\"RemoveClientInterest\">\n"
86 " <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
87 " </method>\n"
88 " <signal name=\"SelfHandleChanged\">\n"
89 " <arg type=\"u\" name=\"selfHandle\"/>\n"
90 " </signal>\n"
91 " <signal name=\"SelfContactChanged\">\n"
92 " <arg type=\"u\" name=\"selfHandle\"/>\n"
93 " <arg type=\"s\" name=\"selfID\"/>\n"
94 " </signal>\n"
95 " <signal name=\"NewChannel\">\n"
96 " <arg type=\"o\" name=\"objectPath\"/>\n"
97 " <arg type=\"s\" name=\"channelType\"/>\n"
98 " <arg type=\"u\" name=\"handleType\"/>\n"
99 " <arg type=\"u\" name=\"handle\"/>\n"
100 " <arg type=\"b\" name=\"suppressHandler\"/>\n"
101 " </signal>\n"
102 " <signal name=\"ConnectionError\">\n"
103 " <arg type=\"s\" name=\"error\"/>\n"
104 " <arg type=\"a{sv}\" name=\"details\"/>\n"
105 " </signal>\n"
106 " <signal name=\"StatusChanged\">\n"
107 " <arg type=\"u\" name=\"status\"/>\n"
108 " <arg type=\"u\" name=\"reason\"/>\n"
109 " </signal>\n"
110 " </interface>\n"
111 "")
112  Q_PROPERTY(QStringList Interfaces READ Interfaces )
113  Q_PROPERTY(uint SelfHandle READ SelfHandle )
114  Q_PROPERTY(QString SelfID READ SelfID )
115  Q_PROPERTY(uint Status READ Status )
116  Q_PROPERTY(bool HasImmortalHandles READ HasImmortalHandles )
117 
118 public:
119  ConnectionAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
120  virtual ~ConnectionAdaptor();
121 
122  typedef Tp::MethodInvocationContextPtr< > ConnectContextPtr;
123  typedef Tp::MethodInvocationContextPtr< > DisconnectContextPtr;
124  typedef Tp::MethodInvocationContextPtr< QStringList > GetInterfacesContextPtr;
125  typedef Tp::MethodInvocationContextPtr< QString > GetProtocolContextPtr;
126  typedef Tp::MethodInvocationContextPtr< uint > GetSelfHandleContextPtr;
127  typedef Tp::MethodInvocationContextPtr< uint > GetStatusContextPtr;
128  typedef Tp::MethodInvocationContextPtr< > HoldHandlesContextPtr;
129  typedef Tp::MethodInvocationContextPtr< QStringList > InspectHandlesContextPtr;
130  typedef Tp::MethodInvocationContextPtr< Tp::ChannelInfoList > ListChannelsContextPtr;
131  typedef Tp::MethodInvocationContextPtr< > ReleaseHandlesContextPtr;
132  typedef Tp::MethodInvocationContextPtr< QDBusObjectPath > RequestChannelContextPtr;
133  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > RequestHandlesContextPtr;
134  typedef Tp::MethodInvocationContextPtr< > AddClientInterestContextPtr;
135  typedef Tp::MethodInvocationContextPtr< > RemoveClientInterestContextPtr;
136 
137 public: // PROPERTIES
171  QStringList Interfaces() const;
187  uint SelfHandle() const;
203  QString SelfID() const;
224  uint Status() const;
241  bool HasImmortalHandles() const;
242 
243 public Q_SLOTS: // METHODS
264  void Connect(const QDBusMessage& dbusMessage);
280  void Disconnect(const QDBusMessage& dbusMessage);
301  QStringList GetInterfaces(const QDBusMessage& dbusMessage);
318  QString GetProtocol(const QDBusMessage& dbusMessage);
336  uint GetSelfHandle(const QDBusMessage& dbusMessage);
353  uint GetStatus(const QDBusMessage& dbusMessage);
397  void HoldHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
421  QStringList InspectHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
438  Tp::ChannelInfoList ListChannels(const QDBusMessage& dbusMessage);
465  void ReleaseHandles(uint handleType, const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
543  QDBusObjectPath RequestChannel(const QString& type, uint handleType, uint handle, bool suppressHandler, const QDBusMessage& dbusMessage);
584  Tp::UIntList RequestHandles(uint handleType, const QStringList& identifiers, const QDBusMessage& dbusMessage);
680  void AddClientInterest(const QStringList& tokens, const QDBusMessage& dbusMessage);
714  void RemoveClientInterest(const QStringList& tokens, const QDBusMessage& dbusMessage);
715 
716 Q_SIGNALS: // SIGNALS
729  void SelfHandleChanged(uint selfHandle);
745  void SelfContactChanged(uint selfHandle, const QString& selfID);
787  void NewChannel(const QDBusObjectPath& objectPath, const QString& channelType, uint handleType, uint handle, bool suppressHandler);
830  void ConnectionError(const QString& error, const QVariantMap& details);
847  void StatusChanged(uint status, uint reason);
848 };
849 
858 {
859  Q_OBJECT
860  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Addressing1")
861  Q_CLASSINFO("D-Bus Introspection", ""
862 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Addressing1\">\n"
863 " <method name=\"GetContactsByVCardField\">\n"
864 " <arg direction=\"in\" type=\"s\" name=\"field\"/>\n"
865 " <arg direction=\"in\" type=\"as\" name=\"addresses\"/>\n"
866 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
867 " <arg direction=\"out\" type=\"a{su}\" name=\"requested\">\n"
868 " <annotation value=\"Tp::AddressingNormalizationMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
869 " </arg>\n"
870 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
871 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
872 " </arg>\n"
873 " </method>\n"
874 " <method name=\"GetContactsByURI\">\n"
875 " <arg direction=\"in\" type=\"as\" name=\"URIs\"/>\n"
876 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
877 " <arg direction=\"out\" type=\"a{su}\" name=\"requested\">\n"
878 " <annotation value=\"Tp::AddressingNormalizationMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
879 " </arg>\n"
880 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
881 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
882 " </arg>\n"
883 " </method>\n"
884 " </interface>\n"
885 "")
886 
887 public:
888  ConnectionInterfaceAddressingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
890 
891  typedef Tp::MethodInvocationContextPtr< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByVCardFieldContextPtr;
892  typedef Tp::MethodInvocationContextPtr< Tp::AddressingNormalizationMap, Tp::ContactAttributesMap > GetContactsByURIContextPtr;
893 
894 public Q_SLOTS: // METHODS
982  Tp::AddressingNormalizationMap GetContactsByVCardField(const QString& field, const QStringList& addresses, const QStringList& interfaces, const QDBusMessage& dbusMessage, Tp::ContactAttributesMap& attributes);
1052  Tp::AddressingNormalizationMap GetContactsByURI(const QStringList& URIs, const QStringList& interfaces, const QDBusMessage& dbusMessage, Tp::ContactAttributesMap& attributes);
1053 };
1054 
1063 {
1064  Q_OBJECT
1065  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Aliasing")
1066  Q_CLASSINFO("D-Bus Introspection", ""
1067 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Aliasing\">\n"
1068 " <method name=\"GetAliasFlags\">\n"
1069 " <arg direction=\"out\" type=\"u\" name=\"aliasFlags\"/>\n"
1070 " </method>\n"
1071 " <method name=\"RequestAliases\">\n"
1072 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1073 " <arg direction=\"out\" type=\"as\" name=\"aliases\"/>\n"
1074 " </method>\n"
1075 " <method name=\"GetAliases\">\n"
1076 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1077 " <arg direction=\"out\" type=\"a{us}\" name=\"aliases\">\n"
1078 " <annotation value=\"Tp::AliasMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1079 " </arg>\n"
1080 " </method>\n"
1081 " <method name=\"SetAliases\">\n"
1082 " <arg direction=\"in\" type=\"a{us}\" name=\"aliases\">\n"
1083 " <annotation value=\"Tp::AliasMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1084 " </arg>\n"
1085 " </method>\n"
1086 " <signal name=\"AliasesChanged\">\n"
1087 " <arg type=\"a(us)\" name=\"aliases\">\n"
1088 " <annotation value=\"Tp::AliasPairList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1089 " </arg>\n"
1090 " </signal>\n"
1091 " </interface>\n"
1092 "")
1093 
1094 public:
1095  ConnectionInterfaceAliasingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1097 
1098  typedef Tp::MethodInvocationContextPtr< uint > GetAliasFlagsContextPtr;
1099  typedef Tp::MethodInvocationContextPtr< QStringList > RequestAliasesContextPtr;
1100  typedef Tp::MethodInvocationContextPtr< Tp::AliasMap > GetAliasesContextPtr;
1101  typedef Tp::MethodInvocationContextPtr< > SetAliasesContextPtr;
1102 
1103 public Q_SLOTS: // METHODS
1121  uint GetAliasFlags(const QDBusMessage& dbusMessage);
1141  QStringList RequestAliases(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1165  Tp::AliasMap GetAliases(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1187  void SetAliases(const Tp::AliasMap& aliases, const QDBusMessage& dbusMessage);
1188 
1189 Q_SIGNALS: // SIGNALS
1208  void AliasesChanged(const Tp::AliasPairList& aliases);
1209 };
1210 
1219 {
1220  Q_OBJECT
1221  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Anonymity")
1222  Q_CLASSINFO("D-Bus Introspection", ""
1223 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Anonymity\">\n"
1224 " <property access=\"read\" type=\"u\" name=\"SupportedAnonymityModes\"/>\n"
1225 " <property access=\"readwrite\" type=\"b\" name=\"AnonymityMandatory\"/>\n"
1226 " <property access=\"readwrite\" type=\"u\" name=\"AnonymityModes\"/>\n"
1227 " <signal name=\"AnonymityModesChanged\">\n"
1228 " <arg type=\"u\" name=\"modes\"/>\n"
1229 " </signal>\n"
1230 " </interface>\n"
1231 "")
1232  Q_PROPERTY(uint SupportedAnonymityModes READ SupportedAnonymityModes )
1233  Q_PROPERTY(bool AnonymityMandatory READ AnonymityMandatory WRITE SetAnonymityMandatory)
1234  Q_PROPERTY(uint AnonymityModes READ AnonymityModes WRITE SetAnonymityModes)
1235 
1236 public:
1237  ConnectionInterfaceAnonymityAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1239 
1240 
1241 public: // PROPERTIES
1254  uint SupportedAnonymityModes() const;
1272  bool AnonymityMandatory() const;
1288  void SetAnonymityMandatory(const bool &newValue);
1303  uint AnonymityModes() const;
1316  void SetAnonymityModes(const uint &newValue);
1317 
1318 Q_SIGNALS: // SIGNALS
1331  void AnonymityModesChanged(uint modes);
1332 };
1333 
1342 {
1343  Q_OBJECT
1344  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Avatars")
1345  Q_CLASSINFO("D-Bus Introspection", ""
1346 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Avatars\">\n"
1347 " <property access=\"read\" type=\"as\" name=\"SupportedAvatarMIMETypes\"/>\n"
1348 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarHeight\"/>\n"
1349 " <property access=\"read\" type=\"u\" name=\"MinimumAvatarWidth\"/>\n"
1350 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarHeight\"/>\n"
1351 " <property access=\"read\" type=\"u\" name=\"RecommendedAvatarWidth\"/>\n"
1352 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarHeight\"/>\n"
1353 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarWidth\"/>\n"
1354 " <property access=\"read\" type=\"u\" name=\"MaximumAvatarBytes\"/>\n"
1355 " <method name=\"GetAvatarRequirements\">\n"
1356 " <arg direction=\"out\" type=\"as\" name=\"MIMETypes\"/>\n"
1357 " <arg direction=\"out\" type=\"q\" name=\"minWidth\"/>\n"
1358 " <arg direction=\"out\" type=\"q\" name=\"minHeight\"/>\n"
1359 " <arg direction=\"out\" type=\"q\" name=\"maxWidth\"/>\n"
1360 " <arg direction=\"out\" type=\"q\" name=\"maxHeight\"/>\n"
1361 " <arg direction=\"out\" type=\"u\" name=\"maxBytes\"/>\n"
1362 " </method>\n"
1363 " <method name=\"GetAvatarTokens\">\n"
1364 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1365 " <arg direction=\"out\" type=\"as\" name=\"tokens\"/>\n"
1366 " </method>\n"
1367 " <method name=\"GetKnownAvatarTokens\">\n"
1368 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1369 " <arg direction=\"out\" type=\"a{us}\" name=\"tokens\">\n"
1370 " <annotation value=\"Tp::AvatarTokenMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1371 " </arg>\n"
1372 " </method>\n"
1373 " <method name=\"RequestAvatar\">\n"
1374 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
1375 " <arg direction=\"out\" type=\"ay\" name=\"data\"/>\n"
1376 " <arg direction=\"out\" type=\"s\" name=\"MIMEType\"/>\n"
1377 " </method>\n"
1378 " <method name=\"RequestAvatars\">\n"
1379 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1380 " </method>\n"
1381 " <method name=\"SetAvatar\">\n"
1382 " <arg direction=\"in\" type=\"ay\" name=\"avatar\"/>\n"
1383 " <arg direction=\"in\" type=\"s\" name=\"MIMEType\"/>\n"
1384 " <arg direction=\"out\" type=\"s\" name=\"token\"/>\n"
1385 " </method>\n"
1386 " <method name=\"ClearAvatar\"/>\n"
1387 " <signal name=\"AvatarUpdated\">\n"
1388 " <arg type=\"u\" name=\"contact\"/>\n"
1389 " <arg type=\"s\" name=\"newAvatarToken\"/>\n"
1390 " </signal>\n"
1391 " <signal name=\"AvatarRetrieved\">\n"
1392 " <arg type=\"u\" name=\"contact\"/>\n"
1393 " <arg type=\"s\" name=\"token\"/>\n"
1394 " <arg type=\"ay\" name=\"avatar\"/>\n"
1395 " <arg type=\"s\" name=\"type\"/>\n"
1396 " </signal>\n"
1397 " </interface>\n"
1398 "")
1399  Q_PROPERTY(QStringList SupportedAvatarMIMETypes READ SupportedAvatarMIMETypes )
1400  Q_PROPERTY(uint MinimumAvatarHeight READ MinimumAvatarHeight )
1401  Q_PROPERTY(uint MinimumAvatarWidth READ MinimumAvatarWidth )
1402  Q_PROPERTY(uint RecommendedAvatarHeight READ RecommendedAvatarHeight )
1403  Q_PROPERTY(uint RecommendedAvatarWidth READ RecommendedAvatarWidth )
1404  Q_PROPERTY(uint MaximumAvatarHeight READ MaximumAvatarHeight )
1405  Q_PROPERTY(uint MaximumAvatarWidth READ MaximumAvatarWidth )
1406  Q_PROPERTY(uint MaximumAvatarBytes READ MaximumAvatarBytes )
1407 
1408 public:
1409  ConnectionInterfaceAvatarsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1411 
1412  typedef Tp::MethodInvocationContextPtr< QStringList, ushort, ushort, ushort, ushort, uint > GetAvatarRequirementsContextPtr;
1413  typedef Tp::MethodInvocationContextPtr< QStringList > GetAvatarTokensContextPtr;
1414  typedef Tp::MethodInvocationContextPtr< Tp::AvatarTokenMap > GetKnownAvatarTokensContextPtr;
1415  typedef Tp::MethodInvocationContextPtr< QByteArray, QString > RequestAvatarContextPtr;
1416  typedef Tp::MethodInvocationContextPtr< > RequestAvatarsContextPtr;
1417  typedef Tp::MethodInvocationContextPtr< QString > SetAvatarContextPtr;
1418  typedef Tp::MethodInvocationContextPtr< > ClearAvatarContextPtr;
1419 
1420 public: // PROPERTIES
1434  QStringList SupportedAvatarMIMETypes() const;
1448  uint MinimumAvatarHeight() const;
1462  uint MinimumAvatarWidth() const;
1479  uint RecommendedAvatarHeight() const;
1494  uint RecommendedAvatarWidth() const;
1508  uint MaximumAvatarHeight() const;
1522  uint MaximumAvatarWidth() const;
1536  uint MaximumAvatarBytes() const;
1537 
1538 public Q_SLOTS: // METHODS
1570  QStringList GetAvatarRequirements(const QDBusMessage& dbusMessage, ushort& minWidth, ushort& minHeight, ushort& maxWidth, ushort& maxHeight, uint& maxBytes);
1593  QStringList GetAvatarTokens(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1622  Tp::AvatarTokenMap GetKnownAvatarTokens(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1647  QByteArray RequestAvatar(uint contact, const QDBusMessage& dbusMessage, QString& MIMEType);
1668  void RequestAvatars(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
1692  QString SetAvatar(const QByteArray& avatar, const QString& MIMEType, const QDBusMessage& dbusMessage);
1706  void ClearAvatar(const QDBusMessage& dbusMessage);
1707 
1708 Q_SIGNALS: // SIGNALS
1724  void AvatarUpdated(uint contact, const QString& newAvatarToken);
1747  void AvatarRetrieved(uint contact, const QString& token, const QByteArray& avatar, const QString& type);
1748 };
1749 
1758 {
1759  Q_OBJECT
1760  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Balance")
1761  Q_CLASSINFO("D-Bus Introspection", ""
1762 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Balance\">\n"
1763 " <property access=\"read\" type=\"(ius)\" name=\"AccountBalance\">\n"
1764 " <annotation value=\"Tp::CurrencyAmount\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1765 " </property>\n"
1766 " <property access=\"read\" type=\"s\" name=\"ManageCreditURI\"/>\n"
1767 " <signal name=\"BalanceChanged\">\n"
1768 " <arg type=\"(ius)\" name=\"balance\">\n"
1769 " <annotation value=\"Tp::CurrencyAmount\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1770 " </arg>\n"
1771 " </signal>\n"
1772 " </interface>\n"
1773 "")
1774  Q_PROPERTY(Tp::CurrencyAmount AccountBalance READ AccountBalance )
1775  Q_PROPERTY(QString ManageCreditURI READ ManageCreditURI )
1776 
1777 public:
1778  ConnectionInterfaceBalanceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1780 
1781 
1782 public: // PROPERTIES
1803  Tp::CurrencyAmount AccountBalance() const;
1823  QString ManageCreditURI() const;
1824 
1825 Q_SIGNALS: // SIGNALS
1841  void BalanceChanged(const Tp::CurrencyAmount& balance);
1842 };
1843 
1852 {
1853  Q_OBJECT
1854  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Cellular")
1855  Q_CLASSINFO("D-Bus Introspection", ""
1856 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Cellular\">\n"
1857 " <property access=\"readwrite\" type=\"u\" name=\"MessageValidityPeriod\"/>\n"
1858 " <property access=\"readwrite\" type=\"b\" name=\"OverrideMessageServiceCentre\"/>\n"
1859 " <property access=\"readwrite\" type=\"s\" name=\"MessageServiceCentre\"/>\n"
1860 " <property access=\"read\" type=\"s\" name=\"IMSI\"/>\n"
1861 " <property access=\"readwrite\" type=\"b\" name=\"MessageReducedCharacterSet\"/>\n"
1862 " <property access=\"readwrite\" type=\"s\" name=\"MessageNationalCharacterSet\"/>\n"
1863 " <signal name=\"IMSIChanged\">\n"
1864 " <arg type=\"s\" name=\"IMSI\"/>\n"
1865 " </signal>\n"
1866 " </interface>\n"
1867 "")
1868  Q_PROPERTY(uint MessageValidityPeriod READ MessageValidityPeriod WRITE SetMessageValidityPeriod)
1869  Q_PROPERTY(bool OverrideMessageServiceCentre READ OverrideMessageServiceCentre WRITE SetOverrideMessageServiceCentre)
1870  Q_PROPERTY(QString MessageServiceCentre READ MessageServiceCentre WRITE SetMessageServiceCentre)
1871  Q_PROPERTY(QString IMSI READ IMSI )
1872  Q_PROPERTY(bool MessageReducedCharacterSet READ MessageReducedCharacterSet WRITE SetMessageReducedCharacterSet)
1873  Q_PROPERTY(QString MessageNationalCharacterSet READ MessageNationalCharacterSet WRITE SetMessageNationalCharacterSet)
1874 
1875 public:
1876  ConnectionInterfaceCellularAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1878 
1879 
1880 public: // PROPERTIES
1901  uint MessageValidityPeriod() const;
1920  void SetMessageValidityPeriod(const uint &newValue);
1945  bool OverrideMessageServiceCentre() const;
1968  void SetOverrideMessageServiceCentre(const bool &newValue);
1987  QString MessageServiceCentre() const;
2004  void SetMessageServiceCentre(const QString &newValue);
2020  QString IMSI() const;
2041  bool MessageReducedCharacterSet() const;
2060  void SetMessageReducedCharacterSet(const bool &newValue);
2088  QString MessageNationalCharacterSet() const;
2114  void SetMessageNationalCharacterSet(const QString &newValue);
2115 
2116 Q_SIGNALS: // SIGNALS
2130  void IMSIChanged(const QString& IMSI);
2131 };
2132 
2141 {
2142  Q_OBJECT
2143  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ClientTypes")
2144  Q_CLASSINFO("D-Bus Introspection", ""
2145 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ClientTypes\">\n"
2146 " <method name=\"GetClientTypes\">\n"
2147 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2148 " <arg direction=\"out\" type=\"a{uas}\" name=\"clientTypes\">\n"
2149 " <annotation value=\"Tp::ContactClientTypes\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2150 " </arg>\n"
2151 " </method>\n"
2152 " <method name=\"RequestClientTypes\">\n"
2153 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
2154 " <arg direction=\"out\" type=\"as\" name=\"clientTypes\"/>\n"
2155 " </method>\n"
2156 " <signal name=\"ClientTypesUpdated\">\n"
2157 " <arg type=\"u\" name=\"contact\"/>\n"
2158 " <arg type=\"as\" name=\"clientTypes\"/>\n"
2159 " </signal>\n"
2160 " </interface>\n"
2161 "")
2162 
2163 public:
2164  ConnectionInterfaceClientTypesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2166 
2167  typedef Tp::MethodInvocationContextPtr< Tp::ContactClientTypes > GetClientTypesContextPtr;
2168  typedef Tp::MethodInvocationContextPtr< QStringList > RequestClientTypesContextPtr;
2169 
2170 public Q_SLOTS: // METHODS
2200  Tp::ContactClientTypes GetClientTypes(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
2226  QStringList RequestClientTypes(uint contact, const QDBusMessage& dbusMessage);
2227 
2228 Q_SIGNALS: // SIGNALS
2245  void ClientTypesUpdated(uint contact, const QStringList& clientTypes);
2246 };
2247 
2256 {
2257  Q_OBJECT
2258  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking")
2259  Q_CLASSINFO("D-Bus Introspection", ""
2260 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactBlocking\">\n"
2261 " <property access=\"read\" type=\"u\" name=\"ContactBlockingCapabilities\"/>\n"
2262 " <method name=\"BlockContacts\">\n"
2263 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2264 " <arg direction=\"in\" type=\"b\" name=\"reportAbusive\"/>\n"
2265 " </method>\n"
2266 " <method name=\"UnblockContacts\">\n"
2267 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
2268 " </method>\n"
2269 " <method name=\"RequestBlockedContacts\">\n"
2270 " <arg direction=\"out\" type=\"a{us}\" name=\"contacts\">\n"
2271 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2272 " </arg>\n"
2273 " </method>\n"
2274 " <signal name=\"BlockedContactsChanged\">\n"
2275 " <arg type=\"a{us}\" name=\"blockedContacts\">\n"
2276 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2277 " </arg>\n"
2278 " <arg type=\"a{us}\" name=\"unblockedContacts\">\n"
2279 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
2280 " </arg>\n"
2281 " </signal>\n"
2282 " </interface>\n"
2283 "")
2285 
2286 public:
2287  ConnectionInterfaceContactBlockingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2289 
2290  typedef Tp::MethodInvocationContextPtr< > BlockContactsContextPtr;
2291  typedef Tp::MethodInvocationContextPtr< > UnblockContactsContextPtr;
2292  typedef Tp::MethodInvocationContextPtr< Tp::HandleIdentifierMap > RequestBlockedContactsContextPtr;
2293 
2294 public: // PROPERTIES
2313  uint ContactBlockingCapabilities() const;
2314 
2315 public Q_SLOTS: // METHODS
2376  void BlockContacts(const Tp::UIntList& contacts, bool reportAbusive, const QDBusMessage& dbusMessage);
2397  void UnblockContacts(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
2420  Tp::HandleIdentifierMap RequestBlockedContacts(const QDBusMessage& dbusMessage);
2421 
2422 Q_SIGNALS: // SIGNALS
2438  void BlockedContactsChanged(const Tp::HandleIdentifierMap& blockedContacts, const Tp::HandleIdentifierMap& unblockedContacts);
2439 };
2440 
2449 {
2450  Q_OBJECT
2451  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities")
2452  Q_CLASSINFO("D-Bus Introspection", ""
2453 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactCapabilities\">\n"
2454 " <method name=\"UpdateCapabilities\">\n"
2455 " <arg direction=\"in\" type=\"a(saa{sv}as)\" name=\"handlerCapabilities\">\n"
2456 " <annotation value=\"Tp::HandlerCapabilitiesList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2457 " </arg>\n"
2458 " </method>\n"
2459 " <method name=\"GetContactCapabilities\">\n"
2460 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
2461 " <arg direction=\"out\" type=\"a{ua(a{sv}as)}\" name=\"contactCapabilities\">\n"
2462 " <annotation value=\"Tp::ContactCapabilitiesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2463 " </arg>\n"
2464 " </method>\n"
2465 " <signal name=\"ContactCapabilitiesChanged\">\n"
2466 " <arg type=\"a{ua(a{sv}as)}\" name=\"caps\">\n"
2467 " <annotation value=\"Tp::ContactCapabilitiesMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2468 " </arg>\n"
2469 " </signal>\n"
2470 " </interface>\n"
2471 "")
2472 
2473 public:
2474  ConnectionInterfaceContactCapabilitiesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2476 
2477  typedef Tp::MethodInvocationContextPtr< > UpdateCapabilitiesContextPtr;
2478  typedef Tp::MethodInvocationContextPtr< Tp::ContactCapabilitiesMap > GetContactCapabilitiesContextPtr;
2479 
2480 public Q_SLOTS: // METHODS
2545  void UpdateCapabilities(const Tp::HandlerCapabilitiesList& handlerCapabilities, const QDBusMessage& dbusMessage);
2582  Tp::ContactCapabilitiesMap GetContactCapabilities(const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
2583 
2584 Q_SIGNALS: // SIGNALS
2599  void ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap& caps);
2600 };
2601 
2610 {
2611  Q_OBJECT
2612  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactGroups")
2613  Q_CLASSINFO("D-Bus Introspection", ""
2614 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactGroups\">\n"
2615 " <property access=\"read\" type=\"b\" name=\"DisjointGroups\"/>\n"
2616 " <property access=\"read\" type=\"u\" name=\"GroupStorage\"/>\n"
2617 " <property access=\"read\" type=\"as\" name=\"Groups\"/>\n"
2618 " <method name=\"SetContactGroups\">\n"
2619 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
2620 " <arg direction=\"in\" type=\"as\" name=\"groups\"/>\n"
2621 " </method>\n"
2622 " <method name=\"SetGroupMembers\">\n"
2623 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2624 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2625 " </method>\n"
2626 " <method name=\"AddToGroup\">\n"
2627 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2628 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2629 " </method>\n"
2630 " <method name=\"RemoveFromGroup\">\n"
2631 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2632 " <arg direction=\"in\" type=\"au\" name=\"members\"/>\n"
2633 " </method>\n"
2634 " <method name=\"RemoveGroup\">\n"
2635 " <arg direction=\"in\" type=\"s\" name=\"group\"/>\n"
2636 " </method>\n"
2637 " <method name=\"RenameGroup\">\n"
2638 " <arg direction=\"in\" type=\"s\" name=\"oldName\"/>\n"
2639 " <arg direction=\"in\" type=\"s\" name=\"newName\"/>\n"
2640 " </method>\n"
2641 " <signal name=\"GroupsChanged\">\n"
2642 " <arg type=\"au\" name=\"contact\"/>\n"
2643 " <arg type=\"as\" name=\"added\"/>\n"
2644 " <arg type=\"as\" name=\"removed\"/>\n"
2645 " </signal>\n"
2646 " <signal name=\"GroupsCreated\">\n"
2647 " <arg type=\"as\" name=\"names\"/>\n"
2648 " </signal>\n"
2649 " <signal name=\"GroupRenamed\">\n"
2650 " <arg type=\"s\" name=\"oldName\"/>\n"
2651 " <arg type=\"s\" name=\"newName\"/>\n"
2652 " </signal>\n"
2653 " <signal name=\"GroupsRemoved\">\n"
2654 " <arg type=\"as\" name=\"names\"/>\n"
2655 " </signal>\n"
2656 " </interface>\n"
2657 "")
2658  Q_PROPERTY(bool DisjointGroups READ DisjointGroups )
2659  Q_PROPERTY(uint GroupStorage READ GroupStorage )
2660  Q_PROPERTY(QStringList Groups READ Groups )
2661 
2662 public:
2663  ConnectionInterfaceContactGroupsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2665 
2666  typedef Tp::MethodInvocationContextPtr< > SetContactGroupsContextPtr;
2667  typedef Tp::MethodInvocationContextPtr< > SetGroupMembersContextPtr;
2668  typedef Tp::MethodInvocationContextPtr< > AddToGroupContextPtr;
2669  typedef Tp::MethodInvocationContextPtr< > RemoveFromGroupContextPtr;
2670  typedef Tp::MethodInvocationContextPtr< > RemoveGroupContextPtr;
2671  typedef Tp::MethodInvocationContextPtr< > RenameGroupContextPtr;
2672 
2673 public: // PROPERTIES
2692  bool DisjointGroups() const;
2707  uint GroupStorage() const;
2733  QStringList Groups() const;
2734 
2735 public Q_SLOTS: // METHODS
2785  void SetContactGroups(uint contact, const QStringList& groups, const QDBusMessage& dbusMessage);
2834  void SetGroupMembers(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2876  void AddToGroup(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2917  void RemoveFromGroup(const QString& group, const Tp::UIntList& members, const QDBusMessage& dbusMessage);
2948  void RemoveGroup(const QString& group, const QDBusMessage& dbusMessage);
2989  void RenameGroup(const QString& oldName, const QString& newName, const QDBusMessage& dbusMessage);
2990 
2991 Q_SIGNALS: // SIGNALS
3010  void GroupsChanged(const Tp::UIntList& contact, const QStringList& added, const QStringList& removed);
3023  void GroupsCreated(const QStringList& names);
3039  void GroupRenamed(const QString& oldName, const QString& newName);
3052  void GroupsRemoved(const QStringList& names);
3053 };
3054 
3063 {
3064  Q_OBJECT
3065  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactInfo")
3066  Q_CLASSINFO("D-Bus Introspection", ""
3067 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactInfo\">\n"
3068 " <property access=\"read\" type=\"u\" name=\"ContactInfoFlags\"/>\n"
3069 " <property access=\"read\" type=\"a(sasuu)\" name=\"SupportedFields\">\n"
3070 " <annotation value=\"Tp::FieldSpecs\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
3071 " </property>\n"
3072 " <method name=\"GetContactInfo\">\n"
3073 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3074 " <arg direction=\"out\" type=\"a{ua(sasas)}\" name=\"contactInfo\">\n"
3075 " <annotation value=\"Tp::ContactInfoMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3076 " </arg>\n"
3077 " </method>\n"
3078 " <method name=\"RefreshContactInfo\">\n"
3079 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3080 " </method>\n"
3081 " <method name=\"RequestContactInfo\">\n"
3082 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
3083 " <arg direction=\"out\" type=\"a(sasas)\" name=\"contactInfo\">\n"
3084 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3085 " </arg>\n"
3086 " </method>\n"
3087 " <method name=\"SetContactInfo\">\n"
3088 " <arg direction=\"in\" type=\"a(sasas)\" name=\"contactInfo\">\n"
3089 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3090 " </arg>\n"
3091 " </method>\n"
3092 " <signal name=\"ContactInfoChanged\">\n"
3093 " <arg type=\"u\" name=\"contact\"/>\n"
3094 " <arg type=\"a(sasas)\" name=\"contactInfo\">\n"
3095 " <annotation value=\"Tp::ContactInfoFieldList\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
3096 " </arg>\n"
3097 " </signal>\n"
3098 " </interface>\n"
3099 "")
3100  Q_PROPERTY(uint ContactInfoFlags READ ContactInfoFlags )
3101  Q_PROPERTY(Tp::FieldSpecs SupportedFields READ SupportedFields )
3102 
3103 public:
3104  ConnectionInterfaceContactInfoAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3106 
3107  typedef Tp::MethodInvocationContextPtr< Tp::ContactInfoMap > GetContactInfoContextPtr;
3108  typedef Tp::MethodInvocationContextPtr< > RefreshContactInfoContextPtr;
3109  typedef Tp::MethodInvocationContextPtr< Tp::ContactInfoFieldList > RequestContactInfoContextPtr;
3110  typedef Tp::MethodInvocationContextPtr< > SetContactInfoContextPtr;
3111 
3112 public: // PROPERTIES
3138  uint ContactInfoFlags() const;
3198  Tp::FieldSpecs SupportedFields() const;
3199 
3200 public Q_SLOTS: // METHODS
3224  Tp::ContactInfoMap GetContactInfo(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3246  void RefreshContactInfo(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3269  Tp::ContactInfoFieldList RequestContactInfo(uint contact, const QDBusMessage& dbusMessage);
3289  void SetContactInfo(const Tp::ContactInfoFieldList& contactInfo, const QDBusMessage& dbusMessage);
3290 
3291 Q_SIGNALS: // SIGNALS
3309  void ContactInfoChanged(uint contact, const Tp::ContactInfoFieldList& contactInfo);
3310 };
3311 
3320 {
3321  Q_OBJECT
3322  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ContactList")
3323  Q_CLASSINFO("D-Bus Introspection", ""
3324 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ContactList\">\n"
3325 " <property access=\"read\" type=\"u\" name=\"ContactListState\"/>\n"
3326 " <property access=\"read\" type=\"b\" name=\"ContactListPersists\"/>\n"
3327 " <property access=\"read\" type=\"b\" name=\"CanChangeContactList\"/>\n"
3328 " <property access=\"read\" type=\"b\" name=\"RequestUsesMessage\"/>\n"
3329 " <property access=\"read\" type=\"b\" name=\"DownloadAtConnection\"/>\n"
3330 " <method name=\"GetContactListAttributes\">\n"
3331 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
3332 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
3333 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
3334 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
3335 " </arg>\n"
3336 " </method>\n"
3337 " <method name=\"RequestSubscription\">\n"
3338 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3339 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
3340 " </method>\n"
3341 " <method name=\"AuthorizePublication\">\n"
3342 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3343 " </method>\n"
3344 " <method name=\"RemoveContacts\">\n"
3345 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3346 " </method>\n"
3347 " <method name=\"Unsubscribe\">\n"
3348 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3349 " </method>\n"
3350 " <method name=\"Unpublish\">\n"
3351 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
3352 " </method>\n"
3353 " <method name=\"Download\"/>\n"
3354 " <signal name=\"ContactListStateChanged\">\n"
3355 " <arg type=\"u\" name=\"contactListState\"/>\n"
3356 " </signal>\n"
3357 " <signal name=\"ContactsChangedWithID\">\n"
3358 " <arg type=\"a{u(uus)}\" name=\"changes\">\n"
3359 " <annotation value=\"Tp::ContactSubscriptionMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3360 " </arg>\n"
3361 " <arg type=\"a{us}\" name=\"identifiers\">\n"
3362 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
3363 " </arg>\n"
3364 " <arg type=\"a{us}\" name=\"removals\">\n"
3365 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
3366 " </arg>\n"
3367 " </signal>\n"
3368 " <signal name=\"ContactsChanged\">\n"
3369 " <arg type=\"a{u(uus)}\" name=\"changes\">\n"
3370 " <annotation value=\"Tp::ContactSubscriptionMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3371 " </arg>\n"
3372 " <arg type=\"au\" name=\"removals\"/>\n"
3373 " </signal>\n"
3374 " </interface>\n"
3375 "")
3376  Q_PROPERTY(uint ContactListState READ ContactListState )
3377  Q_PROPERTY(bool ContactListPersists READ ContactListPersists )
3378  Q_PROPERTY(bool CanChangeContactList READ CanChangeContactList )
3379  Q_PROPERTY(bool RequestUsesMessage READ RequestUsesMessage )
3380  Q_PROPERTY(bool DownloadAtConnection READ DownloadAtConnection )
3381 
3382 public:
3383  ConnectionInterfaceContactListAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3385 
3386  typedef Tp::MethodInvocationContextPtr< Tp::ContactAttributesMap > GetContactListAttributesContextPtr;
3387  typedef Tp::MethodInvocationContextPtr< > RequestSubscriptionContextPtr;
3388  typedef Tp::MethodInvocationContextPtr< > AuthorizePublicationContextPtr;
3389  typedef Tp::MethodInvocationContextPtr< > RemoveContactsContextPtr;
3390  typedef Tp::MethodInvocationContextPtr< > UnsubscribeContextPtr;
3391  typedef Tp::MethodInvocationContextPtr< > UnpublishContextPtr;
3392  typedef Tp::MethodInvocationContextPtr< > DownloadContextPtr;
3393 
3394 public: // PROPERTIES
3407  uint ContactListState() const;
3469  bool ContactListPersists() const;
3500  bool CanChangeContactList() const;
3531  bool RequestUsesMessage() const;
3565  bool DownloadAtConnection() const;
3566 
3567 public Q_SLOTS: // METHODS
3639  Tp::ContactAttributesMap GetContactListAttributes(const QStringList& interfaces, bool hold, const QDBusMessage& dbusMessage);
3751  void RequestSubscription(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
3825  void AuthorizePublication(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3877  void RemoveContacts(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3916  void Unsubscribe(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3955  void Unpublish(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
3973  void Download(const QDBusMessage& dbusMessage);
3974 
3975 Q_SIGNALS: // SIGNALS
3988  void ContactListStateChanged(uint contactListState);
4017  void ContactsChangedWithID(const Tp::ContactSubscriptionMap& changes, const Tp::HandleIdentifierMap& identifiers, const Tp::HandleIdentifierMap& removals);
4034  void ContactsChanged(const Tp::ContactSubscriptionMap& changes, const Tp::UIntList& removals);
4035 };
4036 
4045 {
4046  Q_OBJECT
4047  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Contacts")
4048  Q_CLASSINFO("D-Bus Introspection", ""
4049 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Contacts\">\n"
4050 " <property access=\"read\" type=\"as\" name=\"ContactAttributeInterfaces\"/>\n"
4051 " <method name=\"GetContactAttributes\">\n"
4052 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
4053 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
4054 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
4055 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"attributes\">\n"
4056 " <annotation value=\"Tp::ContactAttributesMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4057 " </arg>\n"
4058 " </method>\n"
4059 " <method name=\"GetContactByID\">\n"
4060 " <arg direction=\"in\" type=\"s\" name=\"identifier\"/>\n"
4061 " <arg direction=\"in\" type=\"as\" name=\"interfaces\"/>\n"
4062 " <arg direction=\"out\" type=\"u\" name=\"handle\"/>\n"
4063 " <arg direction=\"out\" type=\"a{sv}\" name=\"attributes\">\n"
4064 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
4065 " </arg>\n"
4066 " </method>\n"
4067 " </interface>\n"
4068 "")
4069  Q_PROPERTY(QStringList ContactAttributeInterfaces READ ContactAttributeInterfaces )
4070 
4071 public:
4072  ConnectionInterfaceContactsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4074 
4075  typedef Tp::MethodInvocationContextPtr< Tp::ContactAttributesMap > GetContactAttributesContextPtr;
4076  typedef Tp::MethodInvocationContextPtr< uint, QVariantMap > GetContactByIDContextPtr;
4077 
4078 public: // PROPERTIES
4091  QStringList ContactAttributeInterfaces() const;
4092 
4093 public Q_SLOTS: // METHODS
4175  Tp::ContactAttributesMap GetContactAttributes(const Tp::UIntList& handles, const QStringList& interfaces, bool hold, const QDBusMessage& dbusMessage);
4223  uint GetContactByID(const QString& identifier, const QStringList& interfaces, const QDBusMessage& dbusMessage, QVariantMap& attributes);
4224 };
4225 
4234 {
4235  Q_OBJECT
4236  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Location")
4237  Q_CLASSINFO("D-Bus Introspection", ""
4238 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Location\">\n"
4239 " <property access=\"read\" type=\"au\" name=\"LocationAccessControlTypes\"/>\n"
4240 " <property access=\"readwrite\" type=\"(uv)\" name=\"LocationAccessControl\">\n"
4241 " <annotation value=\"Tp::RichPresenceAccessControl\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4242 " </property>\n"
4243 " <property access=\"read\" type=\"u\" name=\"SupportedLocationFeatures\"/>\n"
4244 " <method name=\"GetLocations\">\n"
4245 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
4246 " <arg direction=\"out\" type=\"a{ua{sv}}\" name=\"locations\">\n"
4247 " <annotation value=\"Tp::ContactLocations\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4248 " </arg>\n"
4249 " </method>\n"
4250 " <method name=\"RequestLocation\">\n"
4251 " <arg direction=\"in\" type=\"u\" name=\"contact\"/>\n"
4252 " <arg direction=\"out\" type=\"a{sv}\" name=\"location\">\n"
4253 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4254 " </arg>\n"
4255 " </method>\n"
4256 " <method name=\"SetLocation\">\n"
4257 " <arg direction=\"in\" type=\"a{sv}\" name=\"location\">\n"
4258 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4259 " </arg>\n"
4260 " </method>\n"
4261 " <signal name=\"LocationUpdated\">\n"
4262 " <arg type=\"u\" name=\"contact\"/>\n"
4263 " <arg type=\"a{sv}\" name=\"location\"/>\n"
4264 " </signal>\n"
4265 " </interface>\n"
4266 "")
4267  Q_PROPERTY(Tp::UIntList LocationAccessControlTypes READ LocationAccessControlTypes )
4268  Q_PROPERTY(Tp::RichPresenceAccessControl LocationAccessControl READ LocationAccessControl WRITE SetLocationAccessControl)
4269  Q_PROPERTY(uint SupportedLocationFeatures READ SupportedLocationFeatures )
4270 
4271 public:
4272  ConnectionInterfaceLocationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4274 
4275  typedef Tp::MethodInvocationContextPtr< Tp::ContactLocations > GetLocationsContextPtr;
4276  typedef Tp::MethodInvocationContextPtr< QVariantMap > RequestLocationContextPtr;
4277  typedef Tp::MethodInvocationContextPtr< > SetLocationContextPtr;
4278 
4279 public: // PROPERTIES
4291  Tp::UIntList LocationAccessControlTypes() const;
4306  Tp::RichPresenceAccessControl LocationAccessControl() const;
4319  void SetLocationAccessControl(const Tp::RichPresenceAccessControl &newValue);
4335  uint SupportedLocationFeatures() const;
4336 
4337 public Q_SLOTS: // METHODS
4379  Tp::ContactLocations GetLocations(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
4405  QVariantMap RequestLocation(uint contact, const QDBusMessage& dbusMessage);
4429  void SetLocation(const QVariantMap& location, const QDBusMessage& dbusMessage);
4430 
4431 Q_SIGNALS: // SIGNALS
4448  void LocationUpdated(uint contact, const QVariantMap& location);
4449 };
4450 
4459 {
4460  Q_OBJECT
4461  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.MailNotification")
4462  Q_CLASSINFO("D-Bus Introspection", ""
4463 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.MailNotification\">\n"
4464 " <property access=\"read\" type=\"u\" name=\"MailNotificationFlags\"/>\n"
4465 " <property access=\"read\" type=\"u\" name=\"UnreadMailCount\"/>\n"
4466 " <property access=\"read\" type=\"aa{sv}\" name=\"UnreadMails\">\n"
4467 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4468 " </property>\n"
4469 " <property access=\"read\" type=\"s\" name=\"MailAddress\"/>\n"
4470 " <method name=\"RequestInboxURL\">\n"
4471 " <arg direction=\"out\" type=\"(sua(ss))\" name=\"URL\">\n"
4472 " <annotation value=\"Tp::MailURL\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4473 " </arg>\n"
4474 " </method>\n"
4475 " <method name=\"RequestMailURL\">\n"
4476 " <arg direction=\"in\" type=\"s\" name=\"ID\"/>\n"
4477 " <arg direction=\"in\" type=\"v\" name=\"URLData\"/>\n"
4478 " <arg direction=\"out\" type=\"(sua(ss))\" name=\"URL\">\n"
4479 " <annotation value=\"Tp::MailURL\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
4480 " </arg>\n"
4481 " </method>\n"
4482 " <signal name=\"MailsReceived\">\n"
4483 " <arg type=\"aa{sv}\" name=\"mails\">\n"
4484 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4485 " </arg>\n"
4486 " </signal>\n"
4487 " <signal name=\"UnreadMailsChanged\">\n"
4488 " <arg type=\"u\" name=\"count\"/>\n"
4489 " <arg type=\"aa{sv}\" name=\"mailsAdded\">\n"
4490 " <annotation value=\"Tp::MailList\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
4491 " </arg>\n"
4492 " <arg type=\"as\" name=\"mailsRemoved\"/>\n"
4493 " </signal>\n"
4494 " </interface>\n"
4495 "")
4496  Q_PROPERTY(uint MailNotificationFlags READ MailNotificationFlags )
4497  Q_PROPERTY(uint UnreadMailCount READ UnreadMailCount )
4498  Q_PROPERTY(Tp::MailList UnreadMails READ UnreadMails )
4499  Q_PROPERTY(QString MailAddress READ MailAddress )
4500 
4501 public:
4502  ConnectionInterfaceMailNotificationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4504 
4505  typedef Tp::MethodInvocationContextPtr< Tp::MailURL > RequestInboxURLContextPtr;
4506  typedef Tp::MethodInvocationContextPtr< Tp::MailURL > RequestMailURLContextPtr;
4507 
4508 public: // PROPERTIES
4525  uint MailNotificationFlags() const;
4552  uint UnreadMailCount() const;
4571  Tp::MailList UnreadMails() const;
4588  QString MailAddress() const;
4589 
4590 public Q_SLOTS: // METHODS
4616  Tp::MailURL RequestInboxURL(const QDBusMessage& dbusMessage);
4646  Tp::MailURL RequestMailURL(const QString& ID, const QDBusVariant& URLData, const QDBusMessage& dbusMessage);
4647 
4648 Q_SIGNALS: // SIGNALS
4670  void MailsReceived(const Tp::MailList& mails);
4704  void UnreadMailsChanged(uint count, const Tp::MailList& mailsAdded, const QStringList& mailsRemoved);
4705 };
4706 
4715 {
4716  Q_OBJECT
4717  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.PowerSaving")
4718  Q_CLASSINFO("D-Bus Introspection", ""
4719 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.PowerSaving\">\n"
4720 " <property access=\"read\" type=\"b\" name=\"PowerSavingActive\"/>\n"
4721 " <method name=\"SetPowerSaving\">\n"
4722 " <arg direction=\"in\" type=\"b\" name=\"activate\"/>\n"
4723 " </method>\n"
4724 " <signal name=\"PowerSavingChanged\">\n"
4725 " <arg type=\"b\" name=\"active\"/>\n"
4726 " </signal>\n"
4727 " </interface>\n"
4728 "")
4729  Q_PROPERTY(bool PowerSavingActive READ PowerSavingActive )
4730 
4731 public:
4732  ConnectionInterfacePowerSavingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4734 
4735  typedef Tp::MethodInvocationContextPtr< > SetPowerSavingContextPtr;
4736 
4737 public: // PROPERTIES
4755  bool PowerSavingActive() const;
4756 
4757 public Q_SLOTS: // METHODS
4793  void SetPowerSaving(bool activate, const QDBusMessage& dbusMessage);
4794 
4795 Q_SIGNALS: // SIGNALS
4808  void PowerSavingChanged(bool active);
4809 };
4810 
4819 {
4820  Q_OBJECT
4821  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
4822  Q_CLASSINFO("D-Bus Introspection", ""
4823 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
4824 " <property access=\"read\" type=\"a(oa{sv})\" name=\"Channels\">\n"
4825 " <annotation value=\"Tp::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4826 " </property>\n"
4827 " <property access=\"read\" type=\"a(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
4828 " <annotation value=\"Tp::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4829 " </property>\n"
4830 " <method name=\"CreateChannel\">\n"
4831 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\">\n"
4832 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4833 " </arg>\n"
4834 " <arg direction=\"out\" type=\"o\" name=\"channel\"/>\n"
4835 " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\">\n"
4836 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
4837 " </arg>\n"
4838 " </method>\n"
4839 " <method name=\"EnsureChannel\">\n"
4840 " <arg direction=\"in\" type=\"a{sv}\" name=\"request\">\n"
4841 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4842 " </arg>\n"
4843 " <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
4844 " <arg direction=\"out\" type=\"o\" name=\"channel\"/>\n"
4845 " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\">\n"
4846 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
4847 " </arg>\n"
4848 " </method>\n"
4849 " <signal name=\"NewChannels\">\n"
4850 " <arg type=\"a(oa{sv})\" name=\"channels\">\n"
4851 " <annotation value=\"Tp::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4852 " </arg>\n"
4853 " </signal>\n"
4854 " <signal name=\"ChannelClosed\">\n"
4855 " <arg type=\"o\" name=\"removed\"/>\n"
4856 " </signal>\n"
4857 " </interface>\n"
4858 "")
4859  Q_PROPERTY(Tp::ChannelDetailsList Channels READ Channels )
4860  Q_PROPERTY(Tp::RequestableChannelClassList RequestableChannelClasses READ RequestableChannelClasses )
4861 
4862 public:
4863  ConnectionInterfaceRequestsAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4865 
4866  typedef Tp::MethodInvocationContextPtr< QDBusObjectPath, QVariantMap > CreateChannelContextPtr;
4867  typedef Tp::MethodInvocationContextPtr< bool, QDBusObjectPath, QVariantMap > EnsureChannelContextPtr;
4868 
4869 public: // PROPERTIES
4882  Tp::ChannelDetailsList Channels() const;
4914  Tp::RequestableChannelClassList RequestableChannelClasses() const;
4915 
4916 public Q_SLOTS: // METHODS
4998  QDBusObjectPath CreateChannel(const QVariantMap& request, const QDBusMessage& dbusMessage, QVariantMap& properties);
5062  bool EnsureChannel(const QVariantMap& request, const QDBusMessage& dbusMessage, QDBusObjectPath& channel, QVariantMap& properties);
5063 
5064 Q_SIGNALS: // SIGNALS
5079  void NewChannels(const Tp::ChannelDetailsList& channels);
5092  void ChannelClosed(const QDBusObjectPath& removed);
5093 };
5094 
5103 {
5104  Q_OBJECT
5105  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.ServicePoint")
5106  Q_CLASSINFO("D-Bus Introspection", ""
5107 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.ServicePoint\">\n"
5108 " <property access=\"read\" type=\"a((us)as)\" name=\"KnownServicePoints\">\n"
5109 " <annotation value=\"Tp::ServicePointInfoList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5110 " </property>\n"
5111 " <signal name=\"ServicePointsChanged\">\n"
5112 " <arg type=\"a((us)as)\" name=\"servicePoints\">\n"
5113 " <annotation value=\"Tp::ServicePointInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5114 " </arg>\n"
5115 " </signal>\n"
5116 " </interface>\n"
5117 "")
5118  Q_PROPERTY(Tp::ServicePointInfoList KnownServicePoints READ KnownServicePoints )
5119 
5120 public:
5121  ConnectionInterfaceServicePointAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5123 
5124 
5125 public: // PROPERTIES
5139  Tp::ServicePointInfoList KnownServicePoints() const;
5140 
5141 Q_SIGNALS: // SIGNALS
5157  void ServicePointsChanged(const Tp::ServicePointInfoList& servicePoints);
5158 };
5159 
5168 {
5169  Q_OBJECT
5170  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.SimplePresence")
5171  Q_CLASSINFO("D-Bus Introspection", ""
5172 " <interface name=\"org.freedesktop.Telepathy.Connection.Interface.SimplePresence\">\n"
5173 " <property access=\"read\" type=\"a{s(ubb)}\" name=\"Statuses\">\n"
5174 " <annotation value=\"Tp::SimpleStatusSpecMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5175 " </property>\n"
5176 " <property access=\"read\" type=\"u\" name=\"MaximumStatusMessageLength\"/>\n"
5177 " <method name=\"SetPresence\">\n"
5178 " <arg direction=\"in\" type=\"s\" name=\"status\"/>\n"
5179 " <arg direction=\"in\" type=\"s\" name=\"statusMessage\"/>\n"
5180 " </method>\n"
5181 " <method name=\"GetPresences\">\n"
5182 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
5183 " <arg direction=\"out\" type=\"a{u(uss)}\" name=\"presence\">\n"
5184 " <annotation value=\"Tp::SimpleContactPresences\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
5185 " </arg>\n"
5186 " </method>\n"
5187 " <signal name=\"PresencesChanged\">\n"
5188 " <arg type=\"a{u(uss)}\" name=\"presence\">\n"
5189 " <annotation value=\"Tp::SimpleContactPresences\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5190 " </arg>\n"
5191 " </signal>\n"
5192 " </interface>\n"
5193 "")
5194  Q_PROPERTY(Tp::SimpleStatusSpecMap Statuses READ Statuses )
5195  Q_PROPERTY(uint MaximumStatusMessageLength READ MaximumStatusMessageLength )
5196 
5197 public:
5198  ConnectionInterfaceSimplePresenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5200 
5201  typedef Tp::MethodInvocationContextPtr< > SetPresenceContextPtr;
5202  typedef Tp::MethodInvocationContextPtr< Tp::SimpleContactPresences > GetPresencesContextPtr;
5203 
5204 public: // PROPERTIES
5248  Tp::SimpleStatusSpecMap Statuses() const;
5295  uint MaximumStatusMessageLength() const;
5296 
5297 public Q_SLOTS: // METHODS
5362  void SetPresence(const QString& status, const QString& statusMessage, const QDBusMessage& dbusMessage);
5395  Tp::SimpleContactPresences GetPresences(const Tp::UIntList& contacts, const QDBusMessage& dbusMessage);
5396 
5397 Q_SIGNALS: // SIGNALS
5411  void PresencesChanged(const Tp::SimpleContactPresences& presence);
5412 };
5413 
5414 }
5415 }
Definition: build/TelepathyQt/_gen/types.h:3514
Definition: build/TelepathyQt/_gen/types.h:3437
Definition: build/TelepathyQt/_gen/types.h:3858
Definition: build/TelepathyQt/_gen/types.h:959
Definition: svc-connection.h:1851
QFlags< ContactBlockingCapability > ContactBlockingCapabilities
Definition: build/TelepathyQt/_gen/constants.h:288
QList< AliasPair > AliasPairList
Definition: build/TelepathyQt/_gen/types.h:233
QList< ChannelInfo > ChannelInfoList
Definition: build/TelepathyQt/_gen/types.h:878
Definition: build/TelepathyQt/_gen/types.h:1655
Definition: svc-connection.h:1062
QList< ChannelDetails > ChannelDetailsList
Definition: build/TelepathyQt/_gen/types.h:829
Definition: build/TelepathyQt/_gen/types.h:1811
Definition: svc-connection.h:4818
QList< ContactInfoField > ContactInfoFieldList
Definition: build/TelepathyQt/_gen/types.h:1197
Definition: svc-connection.h:4044
QFlags< ContactInfoFlag > ContactInfoFlags
Definition: build/TelepathyQt/_gen/constants.h:324
Definition: svc-connection.h:27
Definition: build/TelepathyQt/_gen/types.h:3468
Definition: build/TelepathyQt/_gen/types.h:3836
Definition: build/TelepathyQt/_gen/types.h:1361
Definition: build/TelepathyQt/_gen/types.h:1016
Definition: build/TelepathyQt/_gen/types.h:1209
Definition: build/TelepathyQt/_gen/types.h:192
Definition: build/TelepathyQt/_gen/types.h:107
QList< Mail > MailList
Definition: build/TelepathyQt/_gen/types.h:1789
QFlags< MailNotificationFlag > MailNotificationFlags
Definition: build/TelepathyQt/_gen/constants.h:505
Definition: svc-connection.h:1218
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2630
Definition: build/TelepathyQt/_gen/types.h:170
Definition: build/TelepathyQt/_gen/types.h:2650
Definition: abstract-adaptor.cpp:31
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40
Definition: svc-connection.h:4233
QList< HandlerCapabilities > HandlerCapabilitiesList
Definition: build/TelepathyQt/_gen/types.h:3576
Definition: build/TelepathyQt/_gen/types.h:274
Definition: build/TelepathyQt/_gen/types.h:3619
Definition: svc-connection.h:1757
ContactListState
Definition: build/TelepathyQt/_gen/constants.h:1732
Definition: svc-connection.h:1341
QList< ServicePointInfo > ServicePointInfoList
Definition: build/TelepathyQt/_gen/types.h:3823
QList< FieldSpec > FieldSpecs
Definition: build/TelepathyQt/_gen/types.h:1571


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01364.html0000644000175000017500000001305712727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceLocationAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceLocationAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetLocations(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceLocationAdaptorslot
LocationAccessControl() const Tp::Service::ConnectionInterfaceLocationAdaptor
LocationAccessControlTypes() const Tp::Service::ConnectionInterfaceLocationAdaptor
LocationUpdated(uint contact, const QVariantMap &location)Tp::Service::ConnectionInterfaceLocationAdaptorsignal
RequestLocation(uint contact, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceLocationAdaptorslot
SetLocation(const QVariantMap &location, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceLocationAdaptorslot
SetLocationAccessControl(const Tp::RichPresenceAccessControl &newValue)Tp::Service::ConnectionInterfaceLocationAdaptor
SupportedLocationFeatures() const Tp::Service::ConnectionInterfaceLocationAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00148.html0000644000175000017500000043725312727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::Channel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The Channel class represents a Telepathy channel. More...

#include <TelepathyQt/Channel>

Inherits Tp::StatefulDBusProxy, and Tp::OptionalInterfaceFactory< Channel >.

Inherited by Tp::CallChannel, Tp::ContactSearchChannel, Tp::FileTransferChannel, Tp::RoomListChannel, Tp::ServerAuthenticationChannel, Tp::StreamedMediaChannel, Tp::TextChannel, and Tp::TubeChannel.

Classes

class  GroupMemberChangeDetails
 The Channel::GroupMemberChangeDetails class represents the details of a group membership change. More...
 

Signals

void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Group interface

Cached access to state of the group interface on the associated remote object, if the interface is present.

Some methods can be used when targetHandleType() == HandleTypeContact, such as groupFlags(), groupCanAddContacts(), groupCanRemoveContacts(), groupSelfContact() and groupContacts().

As the group interface state can change freely during the lifetime of the channel due to events like new contacts joining the group, the cached state is automatically kept in sync with the remote object's state by hooking to the change notification signals present in the D-Bus interface.

As the cached value changes, change notification signals are emitted.

Signals such as groupMembersChanged(), groupSelfContactChanged(), etc., are emitted to indicate that properties have changed.

Check the individual signals' descriptions for details.

ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
bool groupSelfHandleIsLocalPending () const
 
PendingOperationgroupAddSelfHandle ()
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 

Detailed Description

The Channel class represents a Telepathy channel.

All communication in the Telepathy framework is carried out via channel objects. Specialized classes for some specific channel types such as StreamedMediaChannel, TextChannel, FileTransferChannel are provided.

The remote object accessor functions on this object (channelType(), targetHandleType(), and so on) don't make any D-Bus calls; instead, they return/use values cached from a previous introspection run. The introspection process populates their values in the most efficient way possible based on what the service implements.

To avoid unnecessary D-Bus traffic, some accessors only return valid information after specific features have been enabled. For instance, to retrieve the initial invitee contacts in a conference channel, it is necessary to enable the feature Channel::FeatureConferenceInitialInviteeContacts. See the individual methods descriptions for more details.

Channel features can be enabled by constructing a ChannelFactory and enabling the desired features, and passing it to AccountManager, Account or ClientRegistrar when creating them as appropriate. However, if a particular feature is only ever used in a specific circumstance, such as an user opening some settings dialog separate from the general view of the application, features can be later enabled as needed by calling becomeReady() with the additional features, and waiting for the resulting PendingOperation to finish.

Each channel is owned by a connection. If the Connection object becomes invalidated the Channel object will also get invalidated.

Usage

Creating a channel object

Channel objects can be created in various ways, but the preferred way is trough Account channel creation methods such as Account::ensureTextChat(), Account::createFileTransfer(), which uses the channel dispatcher.

If you already know the object path, you can just call create(). For example:

ChannelPtr chan = Channel::create(connection, objectPath,

Making channel ready to use

A Channel object needs to become ready before usage, meaning that the introspection process finished and the object accessors can be used.

To make the object ready, use becomeReady() and wait for the PendingOperation::finished() signal to be emitted.

class MyClass : public QObject
{
QOBJECT
public:
MyClass(QObject *parent = 0);
~MyClass() { }
private Q_SLOTS:
void onChannelReady(Tp::PendingOperation*);
private:
ChannelPtr chan;
};
MyClass::MyClass(const ConnectionPtr &connection,
const QString &objectPath, const QVariantMap &immutableProperties)
: QObject(parent)
chan(Channel::create(connection, objectPath, immutableProperties))
{
connect(chan->becomeReady(),
SIGNAL(finished(Tp::PendingOperation*)),
SLOT(onChannelReady(Tp::PendingOperation*)));
}
void MyClass::onChannelReady(Tp::PendingOperation *op)
{
if (op->isError()) {
qWarning() << "Channel cannot become ready:" <<
op->errorName() << "-" << op->errorMessage();
return;
}
// Channel is now ready
}

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::Channel::~Channel ( )
virtual

Class destructor.

Tp::Channel::Channel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature 
)
protected

Construct a new Channel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type. The corresponding introspectable should depend on Channel::FeatureCore.

Member Function Documentation

ChannelPtr Tp::Channel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new Channel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
A ChannelPtr object pointing to the newly created Channel object.
Todo:
immutableProperties should be used to populate the corresponding accessors (such as channelType()) already on construction, not only when making FeatureCore ready (fd.o #41654)
ConnectionPtr Tp::Channel::connection ( ) const

Return the connection owning this channel.

Returns
A pointer to the Connection object.
QVariantMap Tp::Channel::immutableProperties ( ) const

Return the immutable properties of the channel.

If the channel is ready (isReady(Channel::FeatureCore) returns true), the following keys are guaranteed to be present: org.freedesktop.Telepathy.Channel.ChannelType, org.freedesktop.Telepathy.Channel.TargetHandleType, org.freedesktop.Telepathy.Channel.TargetHandle and org.freedesktop.Telepathy.Channel.Requested.

The keys and values in this map are defined by the Telepathy specification, or by third-party extensions to that specification. These are the properties that cannot change over the lifetime of the channel; they're announced in the result of the request, for efficiency.

Returns
The immutable properties as QVariantMap.
QString Tp::Channel::channelType ( ) const

Return the D-Bus interface name for the type of this channel.

This method requires Channel::FeatureCore to be ready.

Returns
The D-Bus interface name for the type of the channel.
HandleType Tp::Channel::targetHandleType ( ) const

Return the type of the handle returned by targetHandle() as specified in HandleType.

This method requires Channel::FeatureCore to be ready.

Returns
The target handle type as HandleType.
See also
targetHandle(), targetId()
uint Tp::Channel::targetHandle ( ) const

Return the handle of the remote party with which this channel communicates.

This method requires Channel::FeatureCore to be ready.

Returns
An integer representing the target handle, which is of the type targetHandleType() indicates.
See also
targetHandleType(), targetId()
QString Tp::Channel::targetId ( ) const

Return the persistent unique ID of the remote party with which this channel communicates.

If targetHandleType() is HandleTypeContact, this will be the ID of the remote contact, and similarly the unique ID of the room when targetHandleType() is HandleTypeRoom.

This is not necessarily the best identifier to display to the user, though. In particular, for contacts, their alias should be displayed instead. It can be used for matching channels and UI elements for them across reconnects, though, at which point the old channels and contacts are invalidated.

This method requires Channel::FeatureCore to be ready.

Returns
The target identifier.
See also
targetHandle(), targetContact()
ContactPtr Tp::Channel::targetContact ( ) const

Return the contact with which this channel communicates for its lifetime, if applicable.

This method requires Channel::FeatureCore to be ready.

Returns
A pointer to the Contact object, or a null ContactPtr if targetHandleType() is not HandleTypeContact.
See also
targetHandle(), targetId()
bool Tp::Channel::isRequested ( ) const

Return whether this channel was created in response to a local request.

This method requires Channel::FeatureCore to be ready.

Returns
true if the channel was created in response to a local request, false otherwise.
ContactPtr Tp::Channel::initiatorContact ( ) const

Return the contact who initiated this channel.

This method requires Channel::FeatureCore to be ready.

Returns
A pointer to the Contact object representing the contact who initiated the channel, or a null ContactPtr if it can't be retrieved.
PendingOperation * Tp::Channel::requestClose ( )

Start an asynchronous request that this channel be closed.

The returned PendingOperation object will signal the success or failure of this request; under normal circumstances, it can be expected to succeed.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
requestLeave()
PendingOperation * Tp::Channel::requestLeave ( const QString &  message = QString(),
ChannelGroupChangeReason  reason = ChannelGroupChangeReasonNone 
)

Start an asynchronous request to leave this channel as gracefully as possible.

If leaving any more gracefully is not possible, this will revert to the same as requestClose(). In particular, this will be the case for channels with no group interface (TP_QT_IFACE_CHANNEL_INTERFACE_GROUP not in the list returned by interfaces()).

The returned PendingOperation object will signal the success or failure of this request; under normal circumstances, it can be expected to succeed.

A message and a reason may be provided along with the request, which will be sent to the server if supported, which is indicated by ChannelGroupFlagMessageDepart and/or ChannelGroupFlagMessageReject.

Attempting to leave again when we have already left, either by our request or forcibly, will be a no-op, with the returned PendingOperation immediately finishing successfully.

Parameters
messageThe message, which can be blank if desired.
reasonA reason for leaving.
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
ChannelGroupFlags Tp::Channel::groupFlags ( ) const

Return a set of flags indicating the capabilities and behaviour of the group on this channel.

Change notification is via the groupFlagsChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
The bitfield combination of flags as ChannelGroupFlags.
See also
groupFlagsChanged()
bool Tp::Channel::groupCanAddContacts ( ) const

Return whether contacts can be added or invited to this channel.

Change notification is via the groupCanAddContactsChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
true if contacts can be added or invited to the channel, false otherwise.
See also
groupFlags(), groupAddContacts()
bool Tp::Channel::groupCanAddContactsWithMessage ( ) const

Return whether a message is expected when adding/inviting contacts, who are not already members, to this channel.

This method requires Channel::FeatureCore to be ready.

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupAddContacts()
bool Tp::Channel::groupCanAcceptContactsWithMessage ( ) const

Return whether a message is expected when accepting contacts' requests to join this channel.

This method requires Channel::FeatureCore to be ready.

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupAddContacts()
PendingOperation * Tp::Channel::groupAddContacts ( const QList< ContactPtr > &  contacts,
const QString &  message = QString() 
)

Add contacts to this channel.

Contacts on the local pending list (those waiting for permission to join the channel) can always be added. If groupCanAcceptContactsWithMessage() returns true, an optional message is expected when doing this; if not, the message parameter is likely to be ignored (so the user should not be asked for a message, and the message parameter should be left empty).

Other contacts can only be added if groupCanAddContacts() returns true. If groupCanAddContactsWithMessage() returns true, an optional message is expected when doing this, and if not, the message parameter is likely to be ignored.

This method requires Channel::FeatureCore to be ready.

Parameters
contactsContacts to be added.
messageA string message, which can be blank if desired.
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
groupCanAddContacts(), groupCanAddContactsWithMessage(), groupCanAcceptContactsWithMessage()
bool Tp::Channel::groupCanRescindContacts ( ) const

Return whether contacts in groupRemotePendingContacts() can be removed from this channel (i.e. whether an invitation can be rescinded).

Change notification is via the groupCanRescindContactsChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
true if contacts can be removed, false otherwise.
See also
groupFlags(), groupRemoveContacts()
bool Tp::Channel::groupCanRescindContactsWithMessage ( ) const

Return whether a message is expected when removing contacts who are in groupRemotePendingContacts() from this channel (i.e. rescinding an invitation).

This method requires Channel::FeatureCore to be ready.

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupRemoveContacts()
bool Tp::Channel::groupCanRemoveContacts ( ) const

Return if contacts in groupContacts() can be removed from this channel.

Note that contacts in local pending lists, and the groupSelfContact(), can always be removed from the channel.

Change notification is via the groupCanRemoveContactsChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
true if contacts can be removed, false otherwise.
See also
groupFlags(), groupRemoveContacts()
bool Tp::Channel::groupCanRemoveContactsWithMessage ( ) const

Return whether a message is expected when removing contacts who are in groupContacts() from this channel.

This method requires Channel::FeatureCore to be ready.

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupRemoveContacts()
bool Tp::Channel::groupCanRejectContactsWithMessage ( ) const

Return whether a message is expected when removing contacts who are in groupLocalPendingContacts() from this channel (i.e. rejecting a request to join).

This method requires Channel::FeatureCore to be ready.

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupRemoveContacts()
bool Tp::Channel::groupCanDepartWithMessage ( ) const

Return whether a message is expected when removing the groupSelfContact() from this channel (i.e. departing from the channel).

Returns
true if a message is expected, false otherwise.
See also
groupFlags(), groupRemoveContacts()
PendingOperation * Tp::Channel::groupRemoveContacts ( const QList< ContactPtr > &  contacts,
const QString &  message = QString(),
ChannelGroupChangeReason  reason = ChannelGroupChangeReasonNone 
)

Remove contacts from this channel.

Contacts on the local pending list (those waiting for permission to join the channel) can always be removed. If groupCanRejectContactsWithMessage() returns true, an optional message is expected when doing this; if not, the message parameter is likely to be ignored (so the user should not be asked for a message, and the message parameter should be left empty).

The groupSelfContact() can also always be removed, as a way to leave the group with an optional departure message and/or departure reason indication. If groupCanDepartWithMessage() returns true, an optional message is expected when doing this, and if not, the message parameter is likely to be ignored.

Contacts in the group can only be removed (e.g. kicked) if groupCanRemoveContacts() returns true. If groupCanRemoveContactsWithMessage() returns true, an optional message is expected when doing this, and if not, the message parameter is likely to be ignored.

Contacts in the remote pending list (those who have been invited to the channel) can only be removed (have their invitations rescinded) if groupCanRescindContacts() returns true. If groupCanRescindContactsWithMessage() returns true, an optional message is expected when doing this, and if not, the message parameter is likely to be ignored.

This method requires Channel::FeatureCore to be ready.

Parameters
contactsContacts to be removed.
messageA string message, which can be blank if desired.
reasonReason of the change, as specified in ChannelGroupChangeReason
Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
groupCanRemoveContacts(), groupCanRemoveContactsWithMessage(), groupCanRejectContactsWithMessage(), groupCanRescindContacts(), groupCanRescindContacts(), groupCanRescindContactsWithMessage(), groupCanDepartWithMessage()
Contacts Tp::Channel::groupContacts ( bool  includeSelfContact = true) const

Return the current contacts of the group.

It is possible to omit the contact representing the local user, even if the contact is in the set, by passing false as the parameter includeSelfContact.

Change notification is via the groupMembersChanged() signal.

This method requires Channel::FeatureCore to be ready.

Parameters
includeSelfContactWhether to include the self contact in the returned set.
Returns
A set of pointers to the Contact objects.
See also
groupLocalPendingContacts(), groupRemotePendingContacts()
Contacts Tp::Channel::groupLocalPendingContacts ( bool  includeSelfContact = true) const

Return the contacts currently waiting for local approval to join the group.

It is possible to omit the contact representing the local user, even if the contact is in the set, by passing false as the parameter includeSelfContact.

Change notification is via the groupMembersChanged() signal.

This method requires Channel::FeatureCore to be ready.

Parameters
includeSelfContactWhether to include the self contact in the returned set.
Returns
A set of pointers to the Contact objects.
See also
groupContacts(), groupRemotePendingContacts()
Contacts Tp::Channel::groupRemotePendingContacts ( bool  includeSelfContact = true) const

Return the contacts currently waiting for remote approval to join the group.

It is possible to omit the contact representing the local user, even if the contact is in the set, by passing false as the parameter includeSelfContact.

Change notification is via the groupMembersChanged() signal.

This method requires Channel::FeatureCore to be ready.

Parameters
includeSelfContactWhether to include the self contact in the returned set.
Returns
A set of pointers to the Contact objects.
See also
groupContacts(), groupLocalPendingContacts()
Channel::GroupMemberChangeDetails Tp::Channel::groupLocalPendingContactChangeInfo ( const ContactPtr &  contact) const

Return information of a local pending contact change. If no information is available, an object for which GroupMemberChangeDetails::isValid() returns false is returned.

This method requires Channel::FeatureCore to be ready.

Parameters
contactA Contact object that is on the local pending contacts list.
Returns
The change info as a GroupMemberChangeDetails object.
Channel::GroupMemberChangeDetails Tp::Channel::groupSelfContactRemoveInfo ( ) const

Return information on the removal of the local user from the group. If the user hasn't been removed from the group, an object for which GroupMemberChangeDetails::isValid() returns false is returned.

This method should be called only after you've left the channel. This is useful for getting the remove information after missing the corresponding groupMembersChanged() signal, as the local user being removed usually causes the channel to be closed.

The returned information is not guaranteed to be correct if groupIsSelfHandleTracked() returns false and a self handle change has occurred on the remote object.

This method requires Channel::FeatureCore to be ready.

Returns
The remove info as a GroupMemberChangeDetails object.
bool Tp::Channel::groupAreHandleOwnersAvailable ( ) const

Return whether globally valid handles can be looked up using the channel-specific handle on this channel using this object.

Handle owner lookup is only available if:

If this function returns false, the return value of groupHandleOwners() is undefined and groupHandleOwnersChanged() will never be emitted.

The value returned by this function will stay fixed for the entire time the object is ready, so no change notification is provided.

This method requires Channel::FeatureCore to be ready.

Returns
true if handle owner lookup functionality is available, false otherwise.
HandleOwnerMap Tp::Channel::groupHandleOwners ( ) const

Return a mapping of handles specific to this channel to globally valid handles.

The mapping includes at least all of the channel-specific handles in this channel's members, local-pending and remote-pending sets as keys. Any handle not in the keys of this mapping is not channel-specific in this channel. Handles which are channel-specific, but for which the owner is unknown, appear in this mapping with 0 as owner.

Change notification is via the groupHandleOwnersChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
A mapping from group-specific handles to globally valid handles.
bool Tp::Channel::groupIsSelfContactTracked ( ) const

Return whether the value returned by groupSelfContact() is guaranteed to accurately represent the local user even after nickname changes, etc.

This should always be true for new services implementing the group interface.

Older services not providing group properties don't necessarily emit the SelfHandleChanged signal either, so self contact changes can't be reliably tracked.

This method requires Channel::FeatureCore to be ready.

Returns
true if changes to the self contact are tracked, false otherwise.
ContactPtr Tp::Channel::groupSelfContact ( ) const

Return a Contact object representing the user in the group if at all possible, otherwise a Contact object representing the user globally.

Change notification is via the groupSelfContactChanged() signal.

This method requires Channel::FeatureCore to be ready.

Returns
A pointer to the Contact object.
bool Tp::Channel::isConference ( ) const

Return whether this channel implements the conference interface (TP_QT_IFACE_CHANNEL_INTERFACE_CONFERENCE is in the list returned by interfaces()).

This method requires Channel::FeatureCore to be ready.

Returns
true if the conference interface is supported, false otherwise.
Contacts Tp::Channel::conferenceInitialInviteeContacts ( ) const

Return a list of contacts invited to this conference when it was created.

This method requires Channel::FeatureConferenceInitialInviteeContacts to be ready.

Returns
A set of pointers to the Contact objects.
QList< ChannelPtr > Tp::Channel::conferenceChannels ( ) const

Return the individual channels that are part of this conference.

Change notification is via the conferenceChannelMerged() and conferenceChannelRemoved() signals.

Note that the returned channels are not guaranteed to be ready. Calling Channel::becomeReady() may be needed.

This method requires Channel::FeatureCore to be ready.

Returns
A list of pointers to Channel objects containing all channels in the conference.
See also
conferenceInitialChannels(), conferenceOriginalChannels()
QList< ChannelPtr > Tp::Channel::conferenceInitialChannels ( ) const

Return the initial value of conferenceChannels().

Note that the returned channels are not guaranteed to be ready. Calling Channel::becomeReady() may be needed.

This method requires Channel::FeatureCore to be ready.

Returns
A list of pointers to Channel objects containing all channels that were initially part of the conference.
See also
conferenceChannels(), conferenceOriginalChannels()
QHash< uint, ChannelPtr > Tp::Channel::conferenceOriginalChannels ( ) const

Return a map between channel specific handles and the corresponding channels of this conference.

This method is only relevant on GSM conference calls where it is possible to have the same phone number in a conference twice; for instance, it could be the number of a corporate switchboard. This is represented using channel-specific handles; whether or not a channel uses channel-specific handles is reported in groupFlags(). The groupHandleOwners() specifies the mapping from opaque channel-specific handles to actual numbers; this property specifies the original 1-1 channel corresponding to each channel-specific handle in the conference.

In protocols where this situation cannot arise, such as XMPP, this method will return an empty hash.

Example, consider this situation:

  1. Place a call (with path /call/to/simon) to the contact +441234567890 (which is assigned the handle h, say), and ask to be put through to Simon McVittie;
  2. Put that call on hold;
  3. Place another call (with path /call/to/jonny) to +441234567890, and ask to be put through to Jonny Lamb;
  4. Request a new conference channel with initial channels: ['/call/to/simon', '/call/to/jonny'].

The new channel will have the following properties, for some handles s and j:

{ groupFlags(): ChannelGroupFlagChannelSpecificHandles | (other flags), groupMembers(): [self handle, s, j], groupHandleOwners(): { s: h, j: h }, conferenceInitialChannels(): ['/call/to/simon', '/call/to/jonny'], conferenceChannels(): ['/call/to/simon', '/call/to/jonny'], conferenceOriginalChannels(): { s: '/call/to/simon', j: '/call/to/jonny' },

...

}

Note that the returned channels are not guaranteed to be ready. Calling Channel::becomeReady() may be needed.

This method requires Channel::FeatureCore to be ready.

Returns
A map of channel specific handles to pointers to Channel objects.
See also
conferenceChannels(), conferenceInitialChannels()
bool Tp::Channel::supportsConferenceMerging ( ) const

Return whether this channel supports conference merging using conferenceMergeChannel().

This method requires Channel::FeatureCore to be ready.

Returns
true if the interface is supported, false otherwise.
See also
conferenceMergeChannel()
PendingOperation * Tp::Channel::conferenceMergeChannel ( const ChannelPtr &  channel)

Request that the given channel be incorporated into this channel.

This method requires Channel::FeatureCore to be ready.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
supportsConferenceMerging()
bool Tp::Channel::supportsConferenceSplitting ( ) const

Return whether this channel supports splitting using conferenceSplitChannel().

This method requires Channel::FeatureCore to be ready.

Returns
true if the interface is supported, false otherwise.
See also
conferenceSplitChannel()
PendingOperation * Tp::Channel::conferenceSplitChannel ( )

Request that this channel is removed from any conference of which it is a part.

This method requires Channel::FeatureCore to be ready.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.
See also
supportsConferenceSplitting()
void Tp::Channel::groupFlagsChanged ( Tp::ChannelGroupFlags  flags,
Tp::ChannelGroupFlags  added,
Tp::ChannelGroupFlags  removed 
)
signal

Emitted when the value of groupFlags() changes.

Parameters
flagsThe value which would now be returned by groupFlags().
addedFlags added compared to the previous value.
removedFlags removed compared to the previous value.
void Tp::Channel::groupCanAddContactsChanged ( bool  canAddContacts)
signal

Emitted when the value of groupCanAddContacts() changes.

Parameters
canAddContactsWhether a contact can be added to this channel.
See also
groupCanAddContacts()
void Tp::Channel::groupCanRemoveContactsChanged ( bool  canRemoveContacts)
signal

Emitted when the value of groupCanRemoveContacts() changes.

Parameters
canRemoveContactsWhether a contact can be removed from this channel.
See also
groupCanRemoveContacts()
void Tp::Channel::groupCanRescindContactsChanged ( bool  canRescindContacts)
signal

Emitted when the value of groupCanRescindContacts() changes.

Parameters
canRescindContactsWhether contact invitations can be rescinded.
See also
groupCanRescindContacts()
void Tp::Channel::groupMembersChanged ( const Tp::Contacts &  groupMembersAdded,
const Tp::Contacts &  groupLocalPendingMembersAdded,
const Tp::Contacts &  groupRemotePendingMembersAdded,
const Tp::Contacts &  groupMembersRemoved,
const Tp::Channel::GroupMemberChangeDetails details 
)
signal

Emitted when the value returned by groupContacts(), groupLocalPendingContacts() or groupRemotePendingContacts() changes.

Parameters
groupMembersAddedThe contacts that were added to this channel.
groupLocalPendingMembersAddedThe local pending contacts that were added to this channel.
groupRemotePendingMembersAddedThe remote pending contacts that were added to this channel.
groupMembersRemovedThe contacts removed from this channel.
detailsAdditional details such as the contact requesting or causing the change.
void Tp::Channel::groupHandleOwnersChanged ( const Tp::HandleOwnerMap owners,
const Tp::UIntList added,
const Tp::UIntList removed 
)
signal

Emitted when the value returned by groupHandleOwners() changes.

Parameters
ownersThe value which would now be returned by groupHandleOwners().
addedHandles which have been added to the mapping as keys, or existing handle keys for which the mapped-to value has changed.
removedHandles which have been removed from the mapping.
void Tp::Channel::groupSelfContactChanged ( )
signal

Emitted when the value returned by groupSelfContact() changes.

void Tp::Channel::conferenceChannelMerged ( const Tp::ChannelPtr &  channel)
signal

Emitted when a new channel is added to the value of conferenceChannels().

Parameters
channelThe channel that was added to conferenceChannels().
void Tp::Channel::conferenceChannelRemoved ( const Tp::ChannelPtr &  channel,
const Tp::Channel::GroupMemberChangeDetails details 
)
signal

Emitted when a new channel is removed from the value of conferenceChannels().

Parameters
channelThe channel that was removed from conferenceChannels().
detailsThe change details.
Client::ChannelInterface * Tp::Channel::baseInterface ( ) const
protected

Return the Client::ChannelInterface interface proxy object for this channel. This method is protected since the convenience methods provided by this class should generally be used instead of calling D-Bus methods directly.

Returns
A pointer to the existing Client::ChannelInterface object for this Channel object.
bool Tp::Channel::groupSelfHandleIsLocalPending ( ) const
protected

Return whether the local user is in the "local pending" state. This indicates that the local user needs to take action to accept an invitation, an incoming call, etc.

This method requires Channel::FeatureCore to be ready.

Returns
true if local user is in the channel's local-pending set, false otherwise.
PendingOperation * Tp::Channel::groupAddSelfHandle ( )
protectedslot

Attempt to add the local user to this channel. In some channel types, such as Text and StreamedMedia, this is used to accept an invitation or an incoming call.

This method requires Channel::FeatureCore to be ready.

Returns
A PendingOperation which will emit PendingOperation::finished when the call has finished.

Member Data Documentation

const Feature Tp::Channel::FeatureCore
static

Feature representing the core that needs to become ready to make the Channel object usable.

Note that this feature must be enabled in order to use most Channel methods. See specific methods documentation for more details.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.

const Feature Tp::Channel::FeatureConferenceInitialInviteeContacts
static

Feature used in order to access the conference initial invitee contacts info.

See also
conferenceInitialInviteeContacts()


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01109.html0000644000175000017500000001322112727270137020773 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingCallContent Member List

This is the complete list of members for Tp::PendingCallContent, including all inherited members.

content() const Tp::PendingCallContent
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingCallContent()Tp::PendingCallContent
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00823_source.html0000644000175000017500000121315012727270137022361 0ustar00kaffeinekaffeine00000000000000 svc-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
svc-channel.h
1 /*
2  * This file contains D-Bus adaptor classes generated by qt-svc-gen.py.
3  *
4  * This file can be distributed under the same terms as the specification from
5  * which it was generated.
6  */
7 
8 #include <TelepathyQt/AbstractAdaptor>
9 #include <TelepathyQt/Global>
10 #include <TelepathyQt/Types>
11 
12 #include <QObject>
13 #include <QtDBus>
14 
15 namespace Tp
16 {
17 namespace Service
18 {
19 
27 class TP_QT_EXPORT ChannelAdaptor : public Tp::AbstractAdaptor
28 {
29  Q_OBJECT
30  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel")
31  Q_CLASSINFO("D-Bus Introspection", ""
32 " <interface name=\"org.freedesktop.Telepathy.Channel\">\n"
33 " <property access=\"read\" type=\"s\" name=\"ChannelType\"/>\n"
34 " <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
35 " <property access=\"read\" type=\"u\" name=\"TargetHandle\"/>\n"
36 " <property access=\"read\" type=\"s\" name=\"TargetID\"/>\n"
37 " <property access=\"read\" type=\"u\" name=\"TargetHandleType\"/>\n"
38 " <property access=\"read\" type=\"b\" name=\"Requested\"/>\n"
39 " <property access=\"read\" type=\"u\" name=\"InitiatorHandle\"/>\n"
40 " <property access=\"read\" type=\"s\" name=\"InitiatorID\"/>\n"
41 " <method name=\"Close\"/>\n"
42 " <method name=\"GetChannelType\">\n"
43 " <arg direction=\"out\" type=\"s\" name=\"channelType\"/>\n"
44 " </method>\n"
45 " <method name=\"GetHandle\">\n"
46 " <arg direction=\"out\" type=\"u\" name=\"targetHandleType\"/>\n"
47 " <arg direction=\"out\" type=\"u\" name=\"targetHandle\"/>\n"
48 " </method>\n"
49 " <method name=\"GetInterfaces\">\n"
50 " <arg direction=\"out\" type=\"as\" name=\"interfaces\"/>\n"
51 " </method>\n"
52 " <signal name=\"Closed\"/>\n"
53 " </interface>\n"
54 "")
55  Q_PROPERTY(QString ChannelType READ ChannelType )
56  Q_PROPERTY(QStringList Interfaces READ Interfaces )
57  Q_PROPERTY(uint TargetHandle READ TargetHandle )
58  Q_PROPERTY(QString TargetID READ TargetID )
59  Q_PROPERTY(uint TargetHandleType READ TargetHandleType )
60  Q_PROPERTY(bool Requested READ Requested )
61  Q_PROPERTY(uint InitiatorHandle READ InitiatorHandle )
62  Q_PROPERTY(QString InitiatorID READ InitiatorID )
63 
64 public:
65  ChannelAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
66  virtual ~ChannelAdaptor();
67 
68  typedef Tp::MethodInvocationContextPtr< > CloseContextPtr;
69  typedef Tp::MethodInvocationContextPtr< QString > GetChannelTypeContextPtr;
70  typedef Tp::MethodInvocationContextPtr< uint, uint > GetHandleContextPtr;
71  typedef Tp::MethodInvocationContextPtr< QStringList > GetInterfacesContextPtr;
72 
73 public: // PROPERTIES
106  QString ChannelType() const;
142  QStringList Interfaces() const;
189  uint TargetHandle() const;
245  QString TargetID() const;
267  uint TargetHandleType() const;
338  bool Requested() const;
402  uint InitiatorHandle() const;
439  QString InitiatorID() const;
440 
441 public Q_SLOTS: // METHODS
459  void Close(const QDBusMessage& dbusMessage);
479  QString GetChannelType(const QDBusMessage& dbusMessage);
504  uint GetHandle(const QDBusMessage& dbusMessage, uint& targetHandle);
524  QStringList GetInterfaces(const QDBusMessage& dbusMessage);
525 
526 Q_SIGNALS: // SIGNALS
536  void Closed();
537 };
538 
547 {
548  Q_OBJECT
549  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Anonymity")
550  Q_CLASSINFO("D-Bus Introspection", ""
551 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Anonymity\">\n"
552 " <property access=\"read\" type=\"u\" name=\"AnonymityModes\"/>\n"
553 " <property access=\"read\" type=\"b\" name=\"AnonymityMandatory\"/>\n"
554 " <property access=\"read\" type=\"s\" name=\"AnonymousID\"/>\n"
555 " </interface>\n"
556 "")
557  Q_PROPERTY(uint AnonymityModes READ AnonymityModes )
558  Q_PROPERTY(bool AnonymityMandatory READ AnonymityMandatory )
559  Q_PROPERTY(QString AnonymousID READ AnonymousID )
560 
561 public:
562  ChannelInterfaceAnonymityAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
564 
565 
566 public: // PROPERTIES
581  uint AnonymityModes() const;
594  bool AnonymityMandatory() const;
618  QString AnonymousID() const;
619 };
620 
629 {
630  Q_OBJECT
631  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CallState")
632  Q_CLASSINFO("D-Bus Introspection", ""
633 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CallState\">\n"
634 " <method name=\"GetCallStates\">\n"
635 " <arg direction=\"out\" type=\"a{uu}\" name=\"states\">\n"
636 " <annotation value=\"Tp::ChannelCallStateMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
637 " </arg>\n"
638 " </method>\n"
639 " <signal name=\"CallStateChanged\">\n"
640 " <arg type=\"u\" name=\"contact\"/>\n"
641 " <arg type=\"u\" name=\"state\"/>\n"
642 " </signal>\n"
643 " </interface>\n"
644 "")
645 
646 public:
647  ChannelInterfaceCallStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
649 
650  typedef Tp::MethodInvocationContextPtr< Tp::ChannelCallStateMap > GetCallStatesContextPtr;
651 
652 public Q_SLOTS: // METHODS
670  Tp::ChannelCallStateMap GetCallStates(const QDBusMessage& dbusMessage);
671 
672 Q_SIGNALS: // SIGNALS
688  void CallStateChanged(uint contact, uint state);
689 };
690 
699 {
700  Q_OBJECT
701  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1")
702  Q_CLASSINFO("D-Bus Introspection", ""
703 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.CaptchaAuthentication1\">\n"
704 " <property access=\"read\" type=\"b\" name=\"CanRetryCaptcha\"/>\n"
705 " <property access=\"read\" type=\"u\" name=\"CaptchaStatus\"/>\n"
706 " <property access=\"read\" type=\"s\" name=\"CaptchaError\"/>\n"
707 " <property access=\"read\" type=\"a{sv}\" name=\"CaptchaErrorDetails\"/>\n"
708 " <method name=\"GetCaptchas\">\n"
709 " <arg direction=\"out\" type=\"a(ussuas)\" name=\"captchaInfo\">\n"
710 " <annotation value=\"Tp::CaptchaInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
711 " </arg>\n"
712 " <arg direction=\"out\" type=\"u\" name=\"numberRequired\"/>\n"
713 " <arg direction=\"out\" type=\"s\" name=\"language\"/>\n"
714 " </method>\n"
715 " <method name=\"GetCaptchaData\">\n"
716 " <arg direction=\"in\" type=\"u\" name=\"ID\"/>\n"
717 " <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
718 " <arg direction=\"out\" type=\"ay\" name=\"captchaData\"/>\n"
719 " </method>\n"
720 " <method name=\"AnswerCaptchas\">\n"
721 " <arg direction=\"in\" type=\"a{us}\" name=\"answers\">\n"
722 " <annotation value=\"Tp::CaptchaAnswers\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
723 " </arg>\n"
724 " </method>\n"
725 " <method name=\"CancelCaptcha\">\n"
726 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
727 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
728 " </method>\n"
729 " </interface>\n"
730 "")
731  Q_PROPERTY(bool CanRetryCaptcha READ CanRetryCaptcha )
732  Q_PROPERTY(uint CaptchaStatus READ CaptchaStatus )
733  Q_PROPERTY(QString CaptchaError READ CaptchaError )
734  Q_PROPERTY(QVariantMap CaptchaErrorDetails READ CaptchaErrorDetails )
735 
736 public:
737  ChannelInterfaceCaptchaAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
739 
740  typedef Tp::MethodInvocationContextPtr< Tp::CaptchaInfoList, uint, QString > GetCaptchasContextPtr;
741  typedef Tp::MethodInvocationContextPtr< QByteArray > GetCaptchaDataContextPtr;
742  typedef Tp::MethodInvocationContextPtr< > AnswerCaptchasContextPtr;
743  typedef Tp::MethodInvocationContextPtr< > CancelCaptchaContextPtr;
744 
745 public: // PROPERTIES
769  bool CanRetryCaptcha() const;
797  uint CaptchaStatus() const;
833  QString CaptchaError() const;
857  QVariantMap CaptchaErrorDetails() const;
858 
859 public Q_SLOTS: // METHODS
913  Tp::CaptchaInfoList GetCaptchas(const QDBusMessage& dbusMessage, uint& numberRequired, QString& language);
951  QByteArray GetCaptchaData(uint ID, const QString& mimeType, const QDBusMessage& dbusMessage);
972  void AnswerCaptchas(const Tp::CaptchaAnswers& answers, const QDBusMessage& dbusMessage);
1001  void CancelCaptcha(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
1002 };
1003 
1012 {
1013  Q_OBJECT
1014  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ChatState")
1015  Q_CLASSINFO("D-Bus Introspection", ""
1016 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ChatState\">\n"
1017 " <property access=\"read\" type=\"a{uu}\" name=\"ChatStates\">\n"
1018 " <annotation value=\"Tp::ChatStateMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1019 " </property>\n"
1020 " <method name=\"SetChatState\">\n"
1021 " <arg direction=\"in\" type=\"u\" name=\"state\"/>\n"
1022 " </method>\n"
1023 " <signal name=\"ChatStateChanged\">\n"
1024 " <arg type=\"u\" name=\"contact\"/>\n"
1025 " <arg type=\"u\" name=\"state\"/>\n"
1026 " </signal>\n"
1027 " </interface>\n"
1028 "")
1029  Q_PROPERTY(Tp::ChatStateMap ChatStates READ ChatStates )
1030 
1031 public:
1032  ChannelInterfaceChatStateAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1034 
1035  typedef Tp::MethodInvocationContextPtr< > SetChatStateContextPtr;
1036 
1037 public: // PROPERTIES
1075  Tp::ChatStateMap ChatStates() const;
1076 
1077 public Q_SLOTS: // METHODS
1095  void SetChatState(uint state, const QDBusMessage& dbusMessage);
1096 
1097 Q_SIGNALS: // SIGNALS
1113  void ChatStateChanged(uint contact, uint state);
1114 };
1115 
1124 {
1125  Q_OBJECT
1126  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Conference")
1127  Q_CLASSINFO("D-Bus Introspection", ""
1128 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Conference\">\n"
1129 " <property access=\"read\" type=\"ao\" name=\"Channels\"/>\n"
1130 " <property access=\"read\" type=\"ao\" name=\"InitialChannels\"/>\n"
1131 " <property access=\"read\" type=\"au\" name=\"InitialInviteeHandles\"/>\n"
1132 " <property access=\"read\" type=\"as\" name=\"InitialInviteeIDs\"/>\n"
1133 " <property access=\"read\" type=\"s\" name=\"InvitationMessage\"/>\n"
1134 " <property access=\"read\" type=\"a{uo}\" name=\"OriginalChannels\">\n"
1135 " <annotation value=\"Tp::ChannelOriginatorMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1136 " </property>\n"
1137 " <signal name=\"ChannelMerged\">\n"
1138 " <arg type=\"o\" name=\"channel\"/>\n"
1139 " <arg type=\"u\" name=\"channelSpecificHandle\"/>\n"
1140 " <arg type=\"a{sv}\" name=\"properties\"/>\n"
1141 " </signal>\n"
1142 " <signal name=\"ChannelRemoved\">\n"
1143 " <arg type=\"o\" name=\"channel\"/>\n"
1144 " <arg type=\"a{sv}\" name=\"details\"/>\n"
1145 " </signal>\n"
1146 " </interface>\n"
1147 "")
1148  Q_PROPERTY(Tp::ObjectPathList Channels READ Channels )
1149  Q_PROPERTY(Tp::ObjectPathList InitialChannels READ InitialChannels )
1150  Q_PROPERTY(Tp::UIntList InitialInviteeHandles READ InitialInviteeHandles )
1151  Q_PROPERTY(QStringList InitialInviteeIDs READ InitialInviteeIDs )
1152  Q_PROPERTY(QString InvitationMessage READ InvitationMessage )
1153  Q_PROPERTY(Tp::ChannelOriginatorMap OriginalChannels READ OriginalChannels )
1154 
1155 public:
1156  ChannelInterfaceConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1158 
1159 
1160 public: // PROPERTIES
1191  Tp::ObjectPathList Channels() const;
1255  Tp::ObjectPathList InitialChannels() const;
1331  Tp::UIntList InitialInviteeHandles() const;
1358  QStringList InitialInviteeIDs() const;
1388  QString InvitationMessage() const;
1456  Tp::ChannelOriginatorMap OriginalChannels() const;
1457 
1458 Q_SIGNALS: // SIGNALS
1480  void ChannelMerged(const QDBusObjectPath& channel, uint channelSpecificHandle, const QVariantMap& properties);
1500  void ChannelRemoved(const QDBusObjectPath& channel, const QVariantMap& details);
1501 };
1502 
1511 {
1512  Q_OBJECT
1513  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.DTMF")
1514  Q_CLASSINFO("D-Bus Introspection", ""
1515 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.DTMF\">\n"
1516 " <property access=\"read\" type=\"b\" name=\"CurrentlySendingTones\"/>\n"
1517 " <property access=\"read\" type=\"s\" name=\"InitialTones\"/>\n"
1518 " <property access=\"read\" type=\"s\" name=\"DeferredTones\"/>\n"
1519 " <method name=\"StartTone\">\n"
1520 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
1521 " <arg direction=\"in\" type=\"y\" name=\"event\"/>\n"
1522 " </method>\n"
1523 " <method name=\"StopTone\">\n"
1524 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
1525 " </method>\n"
1526 " <method name=\"MultipleTones\">\n"
1527 " <arg direction=\"in\" type=\"s\" name=\"tones\"/>\n"
1528 " </method>\n"
1529 " <signal name=\"TonesDeferred\">\n"
1530 " <arg type=\"s\" name=\"tones\"/>\n"
1531 " </signal>\n"
1532 " <signal name=\"SendingTones\">\n"
1533 " <arg type=\"s\" name=\"tones\"/>\n"
1534 " </signal>\n"
1535 " <signal name=\"StoppedTones\">\n"
1536 " <arg type=\"b\" name=\"cancelled\"/>\n"
1537 " </signal>\n"
1538 " </interface>\n"
1539 "")
1540  Q_PROPERTY(bool CurrentlySendingTones READ CurrentlySendingTones )
1541  Q_PROPERTY(QString InitialTones READ InitialTones )
1542  Q_PROPERTY(QString DeferredTones READ DeferredTones )
1543 
1544 public:
1545  ChannelInterfaceDTMFAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1546  virtual ~ChannelInterfaceDTMFAdaptor();
1547 
1548  typedef Tp::MethodInvocationContextPtr< > StartToneContextPtr;
1549  typedef Tp::MethodInvocationContextPtr< > StopToneContextPtr;
1550  typedef Tp::MethodInvocationContextPtr< > MultipleTonesContextPtr;
1551 
1552 public: // PROPERTIES
1566  bool CurrentlySendingTones() const;
1582  QString InitialTones() const;
1602  QString DeferredTones() const;
1603 
1604 public Q_SLOTS: // METHODS
1636  void StartTone(uint streamID, uchar event, const QDBusMessage& dbusMessage);
1661  void StopTone(uint streamID, const QDBusMessage& dbusMessage);
1709  void MultipleTones(const QString& tones, const QDBusMessage& dbusMessage);
1710 
1711 Q_SIGNALS: // SIGNALS
1724  void TonesDeferred(const QString& tones);
1737  void SendingTones(const QString& tones);
1750  void StoppedTones(bool cancelled);
1751 };
1752 
1761 {
1762  Q_OBJECT
1763  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Destroyable")
1764  Q_CLASSINFO("D-Bus Introspection", ""
1765 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Destroyable\">\n"
1766 " <method name=\"Destroy\"/>\n"
1767 " </interface>\n"
1768 "")
1769 
1770 public:
1771  ChannelInterfaceDestroyableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1773 
1774  typedef Tp::MethodInvocationContextPtr< > DestroyContextPtr;
1775 
1776 public Q_SLOTS: // METHODS
1824  void Destroy(const QDBusMessage& dbusMessage);
1825 };
1826 
1835 {
1836  Q_OBJECT
1837  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata")
1838  Q_CLASSINFO("D-Bus Introspection", ""
1839 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.FileTransfer.Metadata\">\n"
1840 " <property access=\"readwrite\" type=\"s\" name=\"ServiceName\"/>\n"
1841 " <property access=\"readwrite\" type=\"a{sas}\" name=\"Metadata\">\n"
1842 " <annotation value=\"Tp::Metadata\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1843 " </property>\n"
1844 " </interface>\n"
1845 "")
1846  Q_PROPERTY(QString ServiceName READ ServiceName WRITE SetServiceName)
1847  Q_PROPERTY(Tp::Metadata Metadata READ Metadata WRITE SetMetadata)
1848 
1849 public:
1850  ChannelInterfaceFileTransferMetadataAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
1852 
1853 
1854 public: // PROPERTIES
1873  QString ServiceName() const;
1890  void SetServiceName(const QString &newValue);
1906  Tp::Metadata Metadata() const;
1920  void SetMetadata(const Tp::Metadata &newValue);
1921 };
1922 
1931 {
1932  Q_OBJECT
1933  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Group")
1934  Q_CLASSINFO("D-Bus Introspection", ""
1935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Group\">\n"
1936 " <property access=\"read\" type=\"u\" name=\"GroupFlags\"/>\n"
1937 " <property access=\"read\" type=\"a{uu}\" name=\"HandleOwners\">\n"
1938 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1939 " </property>\n"
1940 " <property access=\"read\" type=\"a(uuus)\" name=\"LocalPendingMembers\">\n"
1941 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1942 " </property>\n"
1943 " <property access=\"read\" type=\"au\" name=\"Members\"/>\n"
1944 " <property access=\"read\" type=\"au\" name=\"RemotePendingMembers\"/>\n"
1945 " <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
1946 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
1947 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
1948 " </property>\n"
1949 " <method name=\"AddMembers\">\n"
1950 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1951 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1952 " </method>\n"
1953 " <method name=\"GetAllMembers\">\n"
1954 " <arg direction=\"out\" type=\"au\" name=\"members\"/>\n"
1955 " <arg direction=\"out\" type=\"au\" name=\"localPending\"/>\n"
1956 " <arg direction=\"out\" type=\"au\" name=\"remotePending\"/>\n"
1957 " </method>\n"
1958 " <method name=\"GetGroupFlags\">\n"
1959 " <arg direction=\"out\" type=\"u\" name=\"groupFlags\"/>\n"
1960 " </method>\n"
1961 " <method name=\"GetHandleOwners\">\n"
1962 " <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
1963 " <arg direction=\"out\" type=\"au\" name=\"owners\"/>\n"
1964 " </method>\n"
1965 " <method name=\"GetLocalPendingMembers\">\n"
1966 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1967 " </method>\n"
1968 " <method name=\"GetLocalPendingMembersWithInfo\">\n"
1969 " <arg direction=\"out\" type=\"a(uuus)\" name=\"info\">\n"
1970 " <annotation value=\"Tp::LocalPendingInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
1971 " </arg>\n"
1972 " </method>\n"
1973 " <method name=\"GetMembers\">\n"
1974 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1975 " </method>\n"
1976 " <method name=\"GetRemotePendingMembers\">\n"
1977 " <arg direction=\"out\" type=\"au\" name=\"handles\"/>\n"
1978 " </method>\n"
1979 " <method name=\"GetSelfHandle\">\n"
1980 " <arg direction=\"out\" type=\"u\" name=\"selfHandle\"/>\n"
1981 " </method>\n"
1982 " <method name=\"RemoveMembers\">\n"
1983 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1984 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1985 " </method>\n"
1986 " <method name=\"RemoveMembersWithReason\">\n"
1987 " <arg direction=\"in\" type=\"au\" name=\"contacts\"/>\n"
1988 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
1989 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
1990 " </method>\n"
1991 " <signal name=\"HandleOwnersChanged\">\n"
1992 " <arg type=\"a{uu}\" name=\"added\">\n"
1993 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
1994 " </arg>\n"
1995 " <arg type=\"au\" name=\"removed\"/>\n"
1996 " </signal>\n"
1997 " <signal name=\"HandleOwnersChangedDetailed\">\n"
1998 " <arg type=\"a{uu}\" name=\"added\">\n"
1999 " <annotation value=\"Tp::HandleOwnerMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2000 " </arg>\n"
2001 " <arg type=\"au\" name=\"removed\"/>\n"
2002 " <arg type=\"a{us}\" name=\"identifiers\">\n"
2003 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
2004 " </arg>\n"
2005 " </signal>\n"
2006 " <signal name=\"SelfHandleChanged\">\n"
2007 " <arg type=\"u\" name=\"selfHandle\"/>\n"
2008 " </signal>\n"
2009 " <signal name=\"SelfContactChanged\">\n"
2010 " <arg type=\"u\" name=\"selfHandle\"/>\n"
2011 " <arg type=\"s\" name=\"selfID\"/>\n"
2012 " </signal>\n"
2013 " <signal name=\"GroupFlagsChanged\">\n"
2014 " <arg type=\"u\" name=\"added\"/>\n"
2015 " <arg type=\"u\" name=\"removed\"/>\n"
2016 " </signal>\n"
2017 " <signal name=\"MembersChanged\">\n"
2018 " <arg type=\"s\" name=\"message\"/>\n"
2019 " <arg type=\"au\" name=\"added\"/>\n"
2020 " <arg type=\"au\" name=\"removed\"/>\n"
2021 " <arg type=\"au\" name=\"localPending\"/>\n"
2022 " <arg type=\"au\" name=\"remotePending\"/>\n"
2023 " <arg type=\"u\" name=\"actor\"/>\n"
2024 " <arg type=\"u\" name=\"reason\"/>\n"
2025 " </signal>\n"
2026 " <signal name=\"MembersChangedDetailed\">\n"
2027 " <arg type=\"au\" name=\"added\"/>\n"
2028 " <arg type=\"au\" name=\"removed\"/>\n"
2029 " <arg type=\"au\" name=\"localPending\"/>\n"
2030 " <arg type=\"au\" name=\"remotePending\"/>\n"
2031 " <arg type=\"a{sv}\" name=\"details\"/>\n"
2032 " </signal>\n"
2033 " </interface>\n"
2034 "")
2035  Q_PROPERTY(uint GroupFlags READ GroupFlags )
2036  Q_PROPERTY(Tp::HandleOwnerMap HandleOwners READ HandleOwners )
2037  Q_PROPERTY(Tp::LocalPendingInfoList LocalPendingMembers READ LocalPendingMembers )
2038  Q_PROPERTY(Tp::UIntList Members READ Members )
2039  Q_PROPERTY(Tp::UIntList RemotePendingMembers READ RemotePendingMembers )
2040  Q_PROPERTY(uint SelfHandle READ SelfHandle )
2041  Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
2042 
2043 public:
2044  ChannelInterfaceGroupAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2045  virtual ~ChannelInterfaceGroupAdaptor();
2046 
2047  typedef Tp::MethodInvocationContextPtr< > AddMembersContextPtr;
2048  typedef Tp::MethodInvocationContextPtr< Tp::UIntList, Tp::UIntList, Tp::UIntList > GetAllMembersContextPtr;
2049  typedef Tp::MethodInvocationContextPtr< uint > GetGroupFlagsContextPtr;
2050  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetHandleOwnersContextPtr;
2051  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetLocalPendingMembersContextPtr;
2052  typedef Tp::MethodInvocationContextPtr< Tp::LocalPendingInfoList > GetLocalPendingMembersWithInfoContextPtr;
2053  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMembersContextPtr;
2054  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetRemotePendingMembersContextPtr;
2055  typedef Tp::MethodInvocationContextPtr< uint > GetSelfHandleContextPtr;
2056  typedef Tp::MethodInvocationContextPtr< > RemoveMembersContextPtr;
2057  typedef Tp::MethodInvocationContextPtr< > RemoveMembersWithReasonContextPtr;
2058 
2059 public: // PROPERTIES
2074  uint GroupFlags() const;
2092  Tp::HandleOwnerMap HandleOwners() const;
2105  Tp::LocalPendingInfoList LocalPendingMembers() const;
2117  Tp::UIntList Members() const;
2130  Tp::UIntList RemotePendingMembers() const;
2147  uint SelfHandle() const;
2163  Tp::HandleIdentifierMap MemberIdentifiers() const;
2164 
2165 public Q_SLOTS: // METHODS
2197  void AddMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
2220  Tp::UIntList GetAllMembers(const QDBusMessage& dbusMessage, Tp::UIntList& localPending, Tp::UIntList& remotePending);
2237  uint GetGroupFlags(const QDBusMessage& dbusMessage);
2264  Tp::UIntList GetHandleOwners(const Tp::UIntList& handles, const QDBusMessage& dbusMessage);
2280  Tp::UIntList GetLocalPendingMembers(const QDBusMessage& dbusMessage);
2301  Tp::LocalPendingInfoList GetLocalPendingMembersWithInfo(const QDBusMessage& dbusMessage);
2316  Tp::UIntList GetMembers(const QDBusMessage& dbusMessage);
2332  Tp::UIntList GetRemotePendingMembers(const QDBusMessage& dbusMessage);
2347  uint GetSelfHandle(const QDBusMessage& dbusMessage);
2404  void RemoveMembers(const Tp::UIntList& contacts, const QString& message, const QDBusMessage& dbusMessage);
2429  void RemoveMembersWithReason(const Tp::UIntList& contacts, const QString& message, uint reason, const QDBusMessage& dbusMessage);
2430 
2431 Q_SIGNALS: // SIGNALS
2452  void HandleOwnersChanged(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed);
2480  void HandleOwnersChangedDetailed(const Tp::HandleOwnerMap& added, const Tp::UIntList& removed, const Tp::HandleIdentifierMap& identifiers);
2493  void SelfHandleChanged(uint selfHandle);
2509  void SelfContactChanged(uint selfHandle, const QString& selfID);
2525  void GroupFlagsChanged(uint added, uint removed);
2557  void MembersChanged(const QString& message, const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, uint actor, uint reason);
2643  void MembersChangedDetailed(const Tp::UIntList& added, const Tp::UIntList& removed, const Tp::UIntList& localPending, const Tp::UIntList& remotePending, const QVariantMap& details);
2644 };
2645 
2654 {
2655  Q_OBJECT
2656  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Hold")
2657  Q_CLASSINFO("D-Bus Introspection", ""
2658 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Hold\">\n"
2659 " <method name=\"GetHoldState\">\n"
2660 " <arg direction=\"out\" type=\"u\" name=\"holdState\"/>\n"
2661 " <arg direction=\"out\" type=\"u\" name=\"reason\"/>\n"
2662 " </method>\n"
2663 " <method name=\"RequestHold\">\n"
2664 " <arg direction=\"in\" type=\"b\" name=\"hold\"/>\n"
2665 " </method>\n"
2666 " <signal name=\"HoldStateChanged\">\n"
2667 " <arg type=\"u\" name=\"holdState\"/>\n"
2668 " <arg type=\"u\" name=\"reason\"/>\n"
2669 " </signal>\n"
2670 " </interface>\n"
2671 "")
2672 
2673 public:
2674  ChannelInterfaceHoldAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2675  virtual ~ChannelInterfaceHoldAdaptor();
2676 
2677  typedef Tp::MethodInvocationContextPtr< uint, uint > GetHoldStateContextPtr;
2678  typedef Tp::MethodInvocationContextPtr< > RequestHoldContextPtr;
2679 
2680 public Q_SLOTS: // METHODS
2700  uint GetHoldState(const QDBusMessage& dbusMessage, uint& reason);
2766  void RequestHold(bool hold, const QDBusMessage& dbusMessage);
2767 
2768 Q_SIGNALS: // SIGNALS
2784  void HoldStateChanged(uint holdState, uint reason);
2785 };
2786 
2795 {
2796  Q_OBJECT
2797  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling")
2798  Q_CLASSINFO("D-Bus Introspection", ""
2799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MediaSignalling\">\n"
2800 " <method name=\"GetSessionHandlers\">\n"
2801 " <arg direction=\"out\" type=\"a(os)\" name=\"sessionHandlers\">\n"
2802 " <annotation value=\"Tp::MediaSessionHandlerInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2803 " </arg>\n"
2804 " </method>\n"
2805 " <signal name=\"NewSessionHandler\">\n"
2806 " <arg type=\"o\" name=\"sessionHandler\"/>\n"
2807 " <arg type=\"s\" name=\"sessionType\"/>\n"
2808 " </signal>\n"
2809 " </interface>\n"
2810 "")
2811 
2812 public:
2813  ChannelInterfaceMediaSignallingAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2815 
2816  typedef Tp::MethodInvocationContextPtr< Tp::MediaSessionHandlerInfoList > GetSessionHandlersContextPtr;
2817 
2818 public Q_SLOTS: // METHODS
2834  Tp::MediaSessionHandlerInfoList GetSessionHandlers(const QDBusMessage& dbusMessage);
2835 
2836 Q_SIGNALS: // SIGNALS
2852  void NewSessionHandler(const QDBusObjectPath& sessionHandler, const QString& sessionType);
2853 };
2854 
2863 {
2864  Q_OBJECT
2865  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT")
2866  Q_CLASSINFO("D-Bus Introspection", ""
2867 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.MergeableConference.DRAFT\">\n"
2868 " <method name=\"Merge\">\n"
2869 " <arg direction=\"in\" type=\"o\" name=\"channel\"/>\n"
2870 " </method>\n"
2871 " </interface>\n"
2872 "")
2873 
2874 public:
2875  ChannelInterfaceMergeableConferenceAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2877 
2878  typedef Tp::MethodInvocationContextPtr< > MergeContextPtr;
2879 
2880 public Q_SLOTS: // METHODS
2920  void Merge(const QDBusObjectPath& channel, const QDBusMessage& dbusMessage);
2921 };
2922 
2931 {
2932  Q_OBJECT
2933  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Messages")
2934  Q_CLASSINFO("D-Bus Introspection", ""
2935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Messages\">\n"
2936 " <property access=\"read\" type=\"as\" name=\"SupportedContentTypes\"/>\n"
2937 " <property access=\"read\" type=\"au\" name=\"MessageTypes\"/>\n"
2938 " <property access=\"read\" type=\"u\" name=\"MessagePartSupportFlags\"/>\n"
2939 " <property access=\"read\" type=\"aaa{sv}\" name=\"PendingMessages\">\n"
2940 " <annotation value=\"Tp::MessagePartListList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
2941 " </property>\n"
2942 " <property access=\"read\" type=\"u\" name=\"DeliveryReportingSupport\"/>\n"
2943 " <method name=\"SendMessage\">\n"
2944 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
2945 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2946 " </arg>\n"
2947 " <arg direction=\"in\" type=\"u\" name=\"flags\"/>\n"
2948 " <arg direction=\"out\" type=\"s\" name=\"token\"/>\n"
2949 " </method>\n"
2950 " <method name=\"GetPendingMessageContent\">\n"
2951 " <arg direction=\"in\" type=\"u\" name=\"messageID\"/>\n"
2952 " <arg direction=\"in\" type=\"au\" name=\"parts\"/>\n"
2953 " <arg direction=\"out\" type=\"a{uv}\" name=\"content\">\n"
2954 " <annotation value=\"Tp::MessagePartContentMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
2955 " </arg>\n"
2956 " </method>\n"
2957 " <signal name=\"MessageSent\">\n"
2958 " <arg type=\"aa{sv}\" name=\"content\">\n"
2959 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2960 " </arg>\n"
2961 " <arg type=\"u\" name=\"flags\"/>\n"
2962 " <arg type=\"s\" name=\"messageToken\"/>\n"
2963 " </signal>\n"
2964 " <signal name=\"PendingMessagesRemoved\">\n"
2965 " <arg type=\"au\" name=\"messageIDs\"/>\n"
2966 " </signal>\n"
2967 " <signal name=\"MessageReceived\">\n"
2968 " <arg type=\"aa{sv}\" name=\"message\">\n"
2969 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
2970 " </arg>\n"
2971 " </signal>\n"
2972 " </interface>\n"
2973 "")
2974  Q_PROPERTY(QStringList SupportedContentTypes READ SupportedContentTypes )
2975  Q_PROPERTY(Tp::UIntList MessageTypes READ MessageTypes )
2976  Q_PROPERTY(uint MessagePartSupportFlags READ MessagePartSupportFlags )
2977  Q_PROPERTY(Tp::MessagePartListList PendingMessages READ PendingMessages )
2978  Q_PROPERTY(uint DeliveryReportingSupport READ DeliveryReportingSupport )
2979 
2980 public:
2981  ChannelInterfaceMessagesAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
2983 
2984  typedef Tp::MethodInvocationContextPtr< QString > SendMessageContextPtr;
2985  typedef Tp::MethodInvocationContextPtr< Tp::MessagePartContentMap > GetPendingMessageContentContextPtr;
2986 
2987 public: // PROPERTIES
3043  QStringList SupportedContentTypes() const;
3057  Tp::UIntList MessageTypes() const;
3069  uint MessagePartSupportFlags() const;
3092  Tp::MessagePartListList PendingMessages() const;
3104  uint DeliveryReportingSupport() const;
3105 
3106 public Q_SLOTS: // METHODS
3169  QString SendMessage(const Tp::MessagePartList& message, uint flags, const QDBusMessage& dbusMessage);
3210  Tp::MessagePartContentMap GetPendingMessageContent(uint messageID, const Tp::UIntList& parts, const QDBusMessage& dbusMessage);
3211 
3212 Q_SIGNALS: // SIGNALS
3258  void MessageSent(const Tp::MessagePartList& content, uint flags, const QString& messageToken);
3271  void PendingMessagesRemoved(const Tp::UIntList& messageIDs);
3291  void MessageReceived(const Tp::MessagePartList& message);
3292 };
3293 
3302 {
3303  Q_OBJECT
3304  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Password")
3305  Q_CLASSINFO("D-Bus Introspection", ""
3306 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Password\">\n"
3307 " <method name=\"GetPasswordFlags\">\n"
3308 " <arg direction=\"out\" type=\"u\" name=\"passwordFlags\"/>\n"
3309 " </method>\n"
3310 " <method name=\"ProvidePassword\">\n"
3311 " <arg direction=\"in\" type=\"s\" name=\"password\"/>\n"
3312 " <arg direction=\"out\" type=\"b\" name=\"correct\"/>\n"
3313 " </method>\n"
3314 " <signal name=\"PasswordFlagsChanged\">\n"
3315 " <arg type=\"u\" name=\"added\"/>\n"
3316 " <arg type=\"u\" name=\"removed\"/>\n"
3317 " </signal>\n"
3318 " </interface>\n"
3319 "")
3320 
3321 public:
3322  ChannelInterfacePasswordAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3324 
3325  typedef Tp::MethodInvocationContextPtr< uint > GetPasswordFlagsContextPtr;
3326  typedef Tp::MethodInvocationContextPtr< bool > ProvidePasswordContextPtr;
3327 
3328 public Q_SLOTS: // METHODS
3348  uint GetPasswordFlags(const QDBusMessage& dbusMessage);
3370  bool ProvidePassword(const QString& password, const QDBusMessage& dbusMessage);
3371 
3372 Q_SIGNALS: // SIGNALS
3388  void PasswordFlagsChanged(uint added, uint removed);
3389 };
3390 
3399 {
3400  Q_OBJECT
3401  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Room2")
3402  Q_CLASSINFO("D-Bus Introspection", ""
3403 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Room2\">\n"
3404 " <property access=\"read\" type=\"s\" name=\"RoomName\"/>\n"
3405 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
3406 " <property access=\"read\" type=\"s\" name=\"Creator\"/>\n"
3407 " <property access=\"read\" type=\"u\" name=\"CreatorHandle\"/>\n"
3408 " <property access=\"read\" type=\"x\" name=\"CreationTimestamp\"/>\n"
3409 " </interface>\n"
3410 "")
3411  Q_PROPERTY(QString RoomName READ RoomName )
3412  Q_PROPERTY(QString Server READ Server )
3413  Q_PROPERTY(QString Creator READ Creator )
3414  Q_PROPERTY(uint CreatorHandle READ CreatorHandle )
3415  Q_PROPERTY(qlonglong CreationTimestamp READ CreationTimestamp )
3416 
3417 public:
3418  ChannelInterfaceRoomAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3419  virtual ~ChannelInterfaceRoomAdaptor();
3420 
3421 
3422 public: // PROPERTIES
3450  QString RoomName() const;
3473  QString Server() const;
3488  QString Creator() const;
3503  uint CreatorHandle() const;
3518  qlonglong CreationTimestamp() const;
3519 };
3520 
3529 {
3530  Q_OBJECT
3531  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.RoomConfig1")
3532  Q_CLASSINFO("D-Bus Introspection", ""
3533 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.RoomConfig1\">\n"
3534 " <property access=\"read\" type=\"b\" name=\"Anonymous\"/>\n"
3535 " <property access=\"read\" type=\"b\" name=\"InviteOnly\"/>\n"
3536 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
3537 " <property access=\"read\" type=\"b\" name=\"Moderated\"/>\n"
3538 " <property access=\"read\" type=\"s\" name=\"Title\"/>\n"
3539 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
3540 " <property access=\"read\" type=\"b\" name=\"Persistent\"/>\n"
3541 " <property access=\"read\" type=\"b\" name=\"Private\"/>\n"
3542 " <property access=\"read\" type=\"b\" name=\"PasswordProtected\"/>\n"
3543 " <property access=\"read\" type=\"s\" name=\"Password\"/>\n"
3544 " <property access=\"read\" type=\"s\" name=\"PasswordHint\"/>\n"
3545 " <property access=\"read\" type=\"b\" name=\"CanUpdateConfiguration\"/>\n"
3546 " <property access=\"read\" type=\"as\" name=\"MutableProperties\"/>\n"
3547 " <property access=\"read\" type=\"b\" name=\"ConfigurationRetrieved\"/>\n"
3548 " <method name=\"UpdateConfiguration\">\n"
3549 " <arg direction=\"in\" type=\"a{sv}\" name=\"properties\">\n"
3550 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
3551 " </arg>\n"
3552 " </method>\n"
3553 " </interface>\n"
3554 "")
3555  Q_PROPERTY(bool Anonymous READ Anonymous )
3556  Q_PROPERTY(bool InviteOnly READ InviteOnly )
3557  Q_PROPERTY(uint Limit READ Limit )
3558  Q_PROPERTY(bool Moderated READ Moderated )
3559  Q_PROPERTY(QString Title READ Title )
3560  Q_PROPERTY(QString Description READ Description )
3561  Q_PROPERTY(bool Persistent READ Persistent )
3562  Q_PROPERTY(bool Private READ Private )
3563  Q_PROPERTY(bool PasswordProtected READ PasswordProtected )
3564  Q_PROPERTY(QString Password READ Password )
3565  Q_PROPERTY(QString PasswordHint READ PasswordHint )
3566  Q_PROPERTY(bool CanUpdateConfiguration READ CanUpdateConfiguration )
3567  Q_PROPERTY(QStringList MutableProperties READ MutableProperties )
3568  Q_PROPERTY(bool ConfigurationRetrieved READ ConfigurationRetrieved )
3569 
3570 public:
3571  ChannelInterfaceRoomConfigAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3573 
3574  typedef Tp::MethodInvocationContextPtr< > UpdateConfigurationContextPtr;
3575 
3576 public: // PROPERTIES
3589  bool Anonymous() const;
3601  bool InviteOnly() const;
3613  uint Limit() const;
3625  bool Moderated() const;
3657  QString Title() const;
3670  QString Description() const;
3685  bool Persistent() const;
3699  bool Private() const;
3717  bool PasswordProtected() const;
3741  QString Password() const;
3766  QString PasswordHint() const;
3783  bool CanUpdateConfiguration() const;
3808  QStringList MutableProperties() const;
3835  bool ConfigurationRetrieved() const;
3836 
3837 public Q_SLOTS: // METHODS
3882  void UpdateConfiguration(const QVariantMap& properties, const QDBusMessage& dbusMessage);
3883 };
3884 
3893 {
3894  Q_OBJECT
3895  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication")
3896  Q_CLASSINFO("D-Bus Introspection", ""
3897 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication\">\n"
3898 " <property access=\"read\" type=\"as\" name=\"AvailableMechanisms\"/>\n"
3899 " <property access=\"read\" type=\"b\" name=\"HasInitialData\"/>\n"
3900 " <property access=\"read\" type=\"b\" name=\"CanTryAgain\"/>\n"
3901 " <property access=\"read\" type=\"u\" name=\"SASLStatus\"/>\n"
3902 " <property access=\"read\" type=\"s\" name=\"SASLError\"/>\n"
3903 " <property access=\"read\" type=\"a{sv}\" name=\"SASLErrorDetails\"/>\n"
3904 " <property access=\"read\" type=\"s\" name=\"AuthorizationIdentity\"/>\n"
3905 " <property access=\"read\" type=\"s\" name=\"DefaultUsername\"/>\n"
3906 " <property access=\"read\" type=\"s\" name=\"DefaultRealm\"/>\n"
3907 " <property access=\"read\" type=\"b\" name=\"MaySaveResponse\"/>\n"
3908 " <method name=\"StartMechanism\">\n"
3909 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
3910 " </method>\n"
3911 " <method name=\"StartMechanismWithData\">\n"
3912 " <arg direction=\"in\" type=\"s\" name=\"mechanism\"/>\n"
3913 " <arg direction=\"in\" type=\"ay\" name=\"initialData\"/>\n"
3914 " </method>\n"
3915 " <method name=\"Respond\">\n"
3916 " <arg direction=\"in\" type=\"ay\" name=\"responseData\"/>\n"
3917 " </method>\n"
3918 " <method name=\"AcceptSASL\"/>\n"
3919 " <method name=\"AbortSASL\">\n"
3920 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
3921 " <arg direction=\"in\" type=\"s\" name=\"debugMessage\"/>\n"
3922 " </method>\n"
3923 " <signal name=\"SASLStatusChanged\">\n"
3924 " <arg type=\"u\" name=\"status\"/>\n"
3925 " <arg type=\"s\" name=\"reason\"/>\n"
3926 " <arg type=\"a{sv}\" name=\"details\"/>\n"
3927 " </signal>\n"
3928 " <signal name=\"NewChallenge\">\n"
3929 " <arg type=\"ay\" name=\"challengeData\"/>\n"
3930 " </signal>\n"
3931 " </interface>\n"
3932 "")
3933  Q_PROPERTY(QStringList AvailableMechanisms READ AvailableMechanisms )
3934  Q_PROPERTY(bool HasInitialData READ HasInitialData )
3935  Q_PROPERTY(bool CanTryAgain READ CanTryAgain )
3936  Q_PROPERTY(uint SASLStatus READ SASLStatus )
3937  Q_PROPERTY(QString SASLError READ SASLError )
3938  Q_PROPERTY(QVariantMap SASLErrorDetails READ SASLErrorDetails )
3939  Q_PROPERTY(QString AuthorizationIdentity READ AuthorizationIdentity )
3940  Q_PROPERTY(QString DefaultUsername READ DefaultUsername )
3941  Q_PROPERTY(QString DefaultRealm READ DefaultRealm )
3942  Q_PROPERTY(bool MaySaveResponse READ MaySaveResponse )
3943 
3944 public:
3945  ChannelInterfaceSASLAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
3947 
3948  typedef Tp::MethodInvocationContextPtr< > StartMechanismContextPtr;
3949  typedef Tp::MethodInvocationContextPtr< > StartMechanismWithDataContextPtr;
3950  typedef Tp::MethodInvocationContextPtr< > RespondContextPtr;
3951  typedef Tp::MethodInvocationContextPtr< > AcceptSASLContextPtr;
3952  typedef Tp::MethodInvocationContextPtr< > AbortSASLContextPtr;
3953 
3954 public: // PROPERTIES
3979  QStringList AvailableMechanisms() const;
4003  bool HasInitialData() const;
4026  bool CanTryAgain() const;
4042  uint SASLStatus() const;
4073  QString SASLError() const;
4097  QVariantMap SASLErrorDetails() const;
4164  QString AuthorizationIdentity() const;
4228  QString DefaultUsername() const;
4258  QString DefaultRealm() const;
4282  bool MaySaveResponse() const;
4283 
4284 public Q_SLOTS: // METHODS
4313  void StartMechanism(const QString& mechanism, const QDBusMessage& dbusMessage);
4369  void StartMechanismWithData(const QString& mechanism, const QByteArray& initialData, const QDBusMessage& dbusMessage);
4389  void Respond(const QByteArray& responseData, const QDBusMessage& dbusMessage);
4421  void AcceptSASL(const QDBusMessage& dbusMessage);
4451  void AbortSASL(uint reason, const QString& debugMessage, const QDBusMessage& dbusMessage);
4452 
4453 Q_SIGNALS: // SIGNALS
4472  void SASLStatusChanged(uint status, const QString& reason, const QVariantMap& details);
4485  void NewChallenge(const QByteArray& challengeData);
4486 };
4487 
4496 {
4497  Q_OBJECT
4498  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.SMS")
4499  Q_CLASSINFO("D-Bus Introspection", ""
4500 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.SMS\">\n"
4501 " <property access=\"read\" type=\"b\" name=\"Flash\"/>\n"
4502 " <property access=\"read\" type=\"b\" name=\"SMSChannel\"/>\n"
4503 " <method name=\"GetSMSLength\">\n"
4504 " <arg direction=\"in\" type=\"aa{sv}\" name=\"message\">\n"
4505 " <annotation value=\"Tp::MessagePartList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4506 " </arg>\n"
4507 " <arg direction=\"out\" type=\"u\" name=\"chunksRequired\"/>\n"
4508 " <arg direction=\"out\" type=\"i\" name=\"remainingCharacters\"/>\n"
4509 " <arg direction=\"out\" type=\"i\" name=\"estimatedCost\"/>\n"
4510 " </method>\n"
4511 " <signal name=\"SMSChannelChanged\">\n"
4512 " <arg type=\"b\" name=\"SMSChannel\"/>\n"
4513 " </signal>\n"
4514 " </interface>\n"
4515 "")
4516  Q_PROPERTY(bool Flash READ Flash )
4517  Q_PROPERTY(bool SMSChannel READ SMSChannel )
4518 
4519 public:
4520  ChannelInterfaceSMSAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4521  virtual ~ChannelInterfaceSMSAdaptor();
4522 
4523  typedef Tp::MethodInvocationContextPtr< uint, int, int > GetSMSLengthContextPtr;
4524 
4525 public: // PROPERTIES
4567  bool Flash() const;
4632  bool SMSChannel() const;
4633 
4634 public Q_SLOTS: // METHODS
4698  uint GetSMSLength(const Tp::MessagePartList& message, const QDBusMessage& dbusMessage, int& remainingCharacters, int& estimatedCost);
4699 
4700 Q_SIGNALS: // SIGNALS
4713  void SMSChannelChanged(bool SMSChannel);
4714 };
4715 
4724 {
4725  Q_OBJECT
4726  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Securable")
4727  Q_CLASSINFO("D-Bus Introspection", ""
4728 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Securable\">\n"
4729 " <property access=\"read\" type=\"b\" name=\"Encrypted\"/>\n"
4730 " <property access=\"read\" type=\"b\" name=\"Verified\"/>\n"
4731 " </interface>\n"
4732 "")
4733  Q_PROPERTY(bool Encrypted READ Encrypted )
4734  Q_PROPERTY(bool Verified READ Verified )
4735 
4736 public:
4737  ChannelInterfaceSecurableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4739 
4740 
4741 public: // PROPERTIES
4765  bool Encrypted() const;
4784  bool Verified() const;
4785 };
4786 
4795 {
4796  Q_OBJECT
4797  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.ServicePoint")
4798  Q_CLASSINFO("D-Bus Introspection", ""
4799 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.ServicePoint\">\n"
4800 " <property access=\"read\" type=\"(us)\" name=\"InitialServicePoint\">\n"
4801 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4802 " </property>\n"
4803 " <property access=\"read\" type=\"(us)\" name=\"CurrentServicePoint\">\n"
4804 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
4805 " </property>\n"
4806 " <signal name=\"ServicePointChanged\">\n"
4807 " <arg type=\"(us)\" name=\"servicePoint\">\n"
4808 " <annotation value=\"Tp::ServicePoint\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
4809 " </arg>\n"
4810 " </signal>\n"
4811 " </interface>\n"
4812 "")
4813  Q_PROPERTY(Tp::ServicePoint InitialServicePoint READ InitialServicePoint )
4814  Q_PROPERTY(Tp::ServicePoint CurrentServicePoint READ CurrentServicePoint )
4815 
4816 public:
4817  ChannelInterfaceServicePointAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4819 
4820 
4821 public: // PROPERTIES
4843  Tp::ServicePoint InitialServicePoint() const;
4858  Tp::ServicePoint CurrentServicePoint() const;
4859 
4860 Q_SIGNALS: // SIGNALS
4873  void ServicePointChanged(const Tp::ServicePoint& servicePoint);
4874 };
4875 
4884 {
4885  Q_OBJECT
4886  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT")
4887  Q_CLASSINFO("D-Bus Introspection", ""
4888 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Splittable.DRAFT\">\n"
4889 " <method name=\"Split\"/>\n"
4890 " </interface>\n"
4891 "")
4892 
4893 public:
4894  ChannelInterfaceSplittableAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4896 
4897  typedef Tp::MethodInvocationContextPtr< > SplitContextPtr;
4898 
4899 public Q_SLOTS: // METHODS
4920  void Split(const QDBusMessage& dbusMessage);
4921 };
4922 
4931 {
4932  Q_OBJECT
4933  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Interface.Subject2")
4934  Q_CLASSINFO("D-Bus Introspection", ""
4935 " <interface name=\"org.freedesktop.Telepathy.Channel.Interface.Subject2\">\n"
4936 " <property access=\"read\" type=\"s\" name=\"Subject\"/>\n"
4937 " <property access=\"read\" type=\"s\" name=\"Actor\"/>\n"
4938 " <property access=\"read\" type=\"u\" name=\"ActorHandle\"/>\n"
4939 " <property access=\"read\" type=\"x\" name=\"Timestamp\"/>\n"
4940 " <property access=\"read\" type=\"b\" name=\"CanSet\"/>\n"
4941 " <method name=\"SetSubject\">\n"
4942 " <arg direction=\"in\" type=\"s\" name=\"subject\"/>\n"
4943 " </method>\n"
4944 " </interface>\n"
4945 "")
4946  Q_PROPERTY(QString Subject READ Subject )
4947  Q_PROPERTY(QString Actor READ Actor )
4948  Q_PROPERTY(uint ActorHandle READ ActorHandle )
4949  Q_PROPERTY(qlonglong Timestamp READ Timestamp )
4950  Q_PROPERTY(bool CanSet READ CanSet )
4951 
4952 public:
4953  ChannelInterfaceSubjectAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
4954  virtual ~ChannelInterfaceSubjectAdaptor();
4955 
4956  typedef Tp::MethodInvocationContextPtr< > SetSubjectContextPtr;
4957 
4958 public: // PROPERTIES
4980  QString Subject() const;
4999  QString Actor() const;
5014  uint ActorHandle() const;
5033  qlonglong Timestamp() const;
5060  bool CanSet() const;
5061 
5062 public Q_SLOTS: // METHODS
5088  void SetSubject(const QString& subject, const QDBusMessage& dbusMessage);
5089 };
5090 
5098 class TP_QT_EXPORT ChannelTypeCallAdaptor : public Tp::AbstractAdaptor
5099 {
5100  Q_OBJECT
5101  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Call1")
5102  Q_CLASSINFO("D-Bus Introspection", ""
5103 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Call1\">\n"
5104 " <property access=\"read\" type=\"ao\" name=\"Contents\"/>\n"
5105 " <property access=\"read\" type=\"a{sv}\" name=\"CallStateDetails\"/>\n"
5106 " <property access=\"read\" type=\"u\" name=\"CallState\"/>\n"
5107 " <property access=\"read\" type=\"u\" name=\"CallFlags\"/>\n"
5108 " <property access=\"read\" type=\"(uuss)\" name=\"CallStateReason\">\n"
5109 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5110 " </property>\n"
5111 " <property access=\"read\" type=\"b\" name=\"HardwareStreaming\"/>\n"
5112 " <property access=\"read\" type=\"a{uu}\" name=\"CallMembers\">\n"
5113 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5114 " </property>\n"
5115 " <property access=\"read\" type=\"a{us}\" name=\"MemberIdentifiers\">\n"
5116 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
5117 " </property>\n"
5118 " <property access=\"read\" type=\"u\" name=\"InitialTransport\"/>\n"
5119 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
5120 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
5121 " <property access=\"read\" type=\"s\" name=\"InitialAudioName\"/>\n"
5122 " <property access=\"read\" type=\"s\" name=\"InitialVideoName\"/>\n"
5123 " <property access=\"read\" type=\"b\" name=\"MutableContents\"/>\n"
5124 " <method name=\"SetRinging\"/>\n"
5125 " <method name=\"SetQueued\"/>\n"
5126 " <method name=\"Accept\"/>\n"
5127 " <method name=\"Hangup\">\n"
5128 " <arg direction=\"in\" type=\"u\" name=\"reason\"/>\n"
5129 " <arg direction=\"in\" type=\"s\" name=\"detailedHangupReason\"/>\n"
5130 " <arg direction=\"in\" type=\"s\" name=\"message\"/>\n"
5131 " </method>\n"
5132 " <method name=\"AddContent\">\n"
5133 " <arg direction=\"in\" type=\"s\" name=\"contentName\"/>\n"
5134 " <arg direction=\"in\" type=\"u\" name=\"contentType\"/>\n"
5135 " <arg direction=\"in\" type=\"u\" name=\"initialDirection\"/>\n"
5136 " <arg direction=\"out\" type=\"o\" name=\"content\"/>\n"
5137 " </method>\n"
5138 " <signal name=\"ContentAdded\">\n"
5139 " <arg type=\"o\" name=\"content\"/>\n"
5140 " </signal>\n"
5141 " <signal name=\"ContentRemoved\">\n"
5142 " <arg type=\"o\" name=\"content\"/>\n"
5143 " <arg type=\"(uuss)\" name=\"reason\">\n"
5144 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
5145 " </arg>\n"
5146 " </signal>\n"
5147 " <signal name=\"CallStateChanged\">\n"
5148 " <arg type=\"u\" name=\"callState\"/>\n"
5149 " <arg type=\"u\" name=\"callFlags\"/>\n"
5150 " <arg type=\"(uuss)\" name=\"callStateReason\">\n"
5151 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In2\"/>\n"
5152 " </arg>\n"
5153 " <arg type=\"a{sv}\" name=\"callStateDetails\"/>\n"
5154 " </signal>\n"
5155 " <signal name=\"CallMembersChanged\">\n"
5156 " <arg type=\"a{uu}\" name=\"flagsChanged\">\n"
5157 " <annotation value=\"Tp::CallMemberMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5158 " </arg>\n"
5159 " <arg type=\"a{us}\" name=\"identifiers\">\n"
5160 " <annotation value=\"Tp::HandleIdentifierMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
5161 " </arg>\n"
5162 " <arg type=\"au\" name=\"removed\"/>\n"
5163 " <arg type=\"(uuss)\" name=\"reason\">\n"
5164 " <annotation value=\"Tp::CallStateReason\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
5165 " </arg>\n"
5166 " </signal>\n"
5167 " </interface>\n"
5168 "")
5169  Q_PROPERTY(Tp::ObjectPathList Contents READ Contents )
5170  Q_PROPERTY(QVariantMap CallStateDetails READ CallStateDetails )
5171  Q_PROPERTY(uint CallState READ CallState )
5172  Q_PROPERTY(uint CallFlags READ CallFlags )
5174  Q_PROPERTY(bool HardwareStreaming READ HardwareStreaming )
5175  Q_PROPERTY(Tp::CallMemberMap CallMembers READ CallMembers )
5176  Q_PROPERTY(Tp::HandleIdentifierMap MemberIdentifiers READ MemberIdentifiers )
5177  Q_PROPERTY(uint InitialTransport READ InitialTransport )
5178  Q_PROPERTY(bool InitialAudio READ InitialAudio )
5179  Q_PROPERTY(bool InitialVideo READ InitialVideo )
5180  Q_PROPERTY(QString InitialAudioName READ InitialAudioName )
5181  Q_PROPERTY(QString InitialVideoName READ InitialVideoName )
5182  Q_PROPERTY(bool MutableContents READ MutableContents )
5183 
5184 public:
5185  ChannelTypeCallAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5186  virtual ~ChannelTypeCallAdaptor();
5187 
5188  typedef Tp::MethodInvocationContextPtr< > SetRingingContextPtr;
5189  typedef Tp::MethodInvocationContextPtr< > SetQueuedContextPtr;
5190  typedef Tp::MethodInvocationContextPtr< > AcceptContextPtr;
5191  typedef Tp::MethodInvocationContextPtr< > HangupContextPtr;
5192  typedef Tp::MethodInvocationContextPtr< QDBusObjectPath > AddContentContextPtr;
5193 
5194 public: // PROPERTIES
5212  Tp::ObjectPathList Contents() const;
5278  QVariantMap CallStateDetails() const;
5305  uint CallState() const;
5327  uint CallFlags() const;
5345  Tp::CallStateReason CallStateReason() const;
5381  bool HardwareStreaming() const;
5409  Tp::CallMemberMap CallMembers() const;
5423  Tp::HandleIdentifierMap MemberIdentifiers() const;
5447  uint InitialTransport() const;
5519  bool InitialAudio() const;
5542  bool InitialVideo() const;
5572  QString InitialAudioName() const;
5590  QString InitialVideoName() const;
5624  bool MutableContents() const;
5625 
5626 public Q_SLOTS: // METHODS
5658  void SetRinging(const QDBusMessage& dbusMessage);
5692  void SetQueued(const QDBusMessage& dbusMessage);
5730  void Accept(const QDBusMessage& dbusMessage);
5756  void Hangup(uint reason, const QString& detailedHangupReason, const QString& message, const QDBusMessage& dbusMessage);
5794  QDBusObjectPath AddContent(const QString& contentName, uint contentType, uint initialDirection, const QDBusMessage& dbusMessage);
5795 
5796 Q_SIGNALS: // SIGNALS
5809  void ContentAdded(const QDBusObjectPath& content);
5825  void ContentRemoved(const QDBusObjectPath& content, const Tp::CallStateReason& reason);
5847  void CallStateChanged(uint callState, uint callFlags, const Tp::CallStateReason& callStateReason, const QVariantMap& callStateDetails);
5874  void CallMembersChanged(const Tp::CallMemberMap& flagsChanged, const Tp::HandleIdentifierMap& identifiers, const Tp::UIntList& removed, const Tp::CallStateReason& reason);
5875 };
5876 
5885 {
5886  Q_OBJECT
5887  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ContactSearch")
5888  Q_CLASSINFO("D-Bus Introspection", ""
5889 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ContactSearch\">\n"
5890 " <property access=\"read\" type=\"u\" name=\"SearchState\"/>\n"
5891 " <property access=\"read\" type=\"u\" name=\"Limit\"/>\n"
5892 " <property access=\"read\" type=\"as\" name=\"AvailableSearchKeys\"/>\n"
5893 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
5894 " <method name=\"Search\">\n"
5895 " <arg direction=\"in\" type=\"a{ss}\" name=\"terms\">\n"
5896 " <annotation value=\"Tp::ContactSearchMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5897 " </arg>\n"
5898 " </method>\n"
5899 " <method name=\"More\"/>\n"
5900 " <method name=\"Stop\"/>\n"
5901 " <signal name=\"SearchStateChanged\">\n"
5902 " <arg type=\"u\" name=\"state\"/>\n"
5903 " <arg type=\"s\" name=\"error\"/>\n"
5904 " <arg type=\"a{sv}\" name=\"details\"/>\n"
5905 " </signal>\n"
5906 " <signal name=\"SearchResultReceived\">\n"
5907 " <arg type=\"a{sa(sasas)}\" name=\"result\">\n"
5908 " <annotation value=\"Tp::ContactSearchResultMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
5909 " </arg>\n"
5910 " </signal>\n"
5911 " </interface>\n"
5912 "")
5913  Q_PROPERTY(uint SearchState READ SearchState )
5914  Q_PROPERTY(uint Limit READ Limit )
5915  Q_PROPERTY(QStringList AvailableSearchKeys READ AvailableSearchKeys )
5916  Q_PROPERTY(QString Server READ Server )
5917 
5918 public:
5919  ChannelTypeContactSearchAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
5921 
5922  typedef Tp::MethodInvocationContextPtr< > SearchContextPtr;
5923  typedef Tp::MethodInvocationContextPtr< > MoreContextPtr;
5924  typedef Tp::MethodInvocationContextPtr< > StopContextPtr;
5925 
5926 public: // PROPERTIES
5939  uint SearchState() const;
5967  uint Limit() const;
5984  QStringList AvailableSearchKeys() const;
6007  QString Server() const;
6008 
6009 public Q_SLOTS: // METHODS
6029  void Search(const Tp::ContactSearchMap& terms, const QDBusMessage& dbusMessage);
6047  void More(const QDBusMessage& dbusMessage);
6083  void Stop(const QDBusMessage& dbusMessage);
6084 
6085 Q_SIGNALS: // SIGNALS
6124  void SearchStateChanged(uint state, const QString& error, const QVariantMap& details);
6138  void SearchResultReceived(const Tp::ContactSearchResultMap& result);
6139 };
6140 
6149 {
6150  Q_OBJECT
6151  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.DBusTube")
6152  Q_CLASSINFO("D-Bus Introspection", ""
6153 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.DBusTube\">\n"
6154 " <property access=\"read\" type=\"s\" name=\"ServiceName\"/>\n"
6155 " <property access=\"read\" type=\"a{us}\" name=\"DBusNames\">\n"
6156 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
6157 " </property>\n"
6158 " <property access=\"read\" type=\"au\" name=\"SupportedAccessControls\"/>\n"
6159 " <method name=\"Offer\">\n"
6160 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
6161 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6162 " </arg>\n"
6163 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
6164 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
6165 " </method>\n"
6166 " <method name=\"Accept\">\n"
6167 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
6168 " <arg direction=\"out\" type=\"s\" name=\"address\"/>\n"
6169 " </method>\n"
6170 " <signal name=\"DBusNamesChanged\">\n"
6171 " <arg type=\"a{us}\" name=\"added\">\n"
6172 " <annotation value=\"Tp::DBusTubeParticipants\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6173 " </arg>\n"
6174 " <arg type=\"au\" name=\"removed\"/>\n"
6175 " </signal>\n"
6176 " </interface>\n"
6177 "")
6178  Q_PROPERTY(QString ServiceName READ ServiceName )
6179  Q_PROPERTY(Tp::DBusTubeParticipants DBusNames READ DBusNames )
6180  Q_PROPERTY(Tp::UIntList SupportedAccessControls READ SupportedAccessControls )
6181 
6182 public:
6183  ChannelTypeDBusTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6184  virtual ~ChannelTypeDBusTubeAdaptor();
6185 
6186  typedef Tp::MethodInvocationContextPtr< QString > OfferContextPtr;
6187  typedef Tp::MethodInvocationContextPtr< QString > AcceptContextPtr;
6188 
6189 public: // PROPERTIES
6210  QString ServiceName() const;
6225  Tp::DBusTubeParticipants DBusNames() const;
6255  Tp::UIntList SupportedAccessControls() const;
6256 
6257 public Q_SLOTS: // METHODS
6282  QString Offer(const QVariantMap& parameters, uint accesscontrol, const QDBusMessage& dbusMessage);
6307  QString Accept(uint accesscontrol, const QDBusMessage& dbusMessage);
6308 
6309 Q_SIGNALS: // SIGNALS
6325  void DBusNamesChanged(const Tp::DBusTubeParticipants& added, const Tp::UIntList& removed);
6326 };
6327 
6336 {
6337  Q_OBJECT
6338  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.FileTransfer")
6339  Q_CLASSINFO("D-Bus Introspection", ""
6340 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.FileTransfer\">\n"
6341 " <property access=\"read\" type=\"u\" name=\"State\"/>\n"
6342 " <property access=\"read\" type=\"s\" name=\"ContentType\"/>\n"
6343 " <property access=\"read\" type=\"s\" name=\"Filename\"/>\n"
6344 " <property access=\"read\" type=\"t\" name=\"Size\"/>\n"
6345 " <property access=\"read\" type=\"u\" name=\"ContentHashType\"/>\n"
6346 " <property access=\"read\" type=\"s\" name=\"ContentHash\"/>\n"
6347 " <property access=\"read\" type=\"s\" name=\"Description\"/>\n"
6348 " <property access=\"read\" type=\"x\" name=\"Date\"/>\n"
6349 " <property access=\"read\" type=\"a{uau}\" name=\"AvailableSocketTypes\">\n"
6350 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
6351 " </property>\n"
6352 " <property access=\"read\" type=\"t\" name=\"TransferredBytes\"/>\n"
6353 " <property access=\"read\" type=\"t\" name=\"InitialOffset\"/>\n"
6354 " <property access=\"readwrite\" type=\"s\" name=\"URI\"/>\n"
6355 " <property access=\"read\" type=\"s\" name=\"FileCollection\"/>\n"
6356 " <method name=\"AcceptFile\">\n"
6357 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
6358 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
6359 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
6360 " <arg direction=\"in\" type=\"t\" name=\"offset\"/>\n"
6361 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
6362 " </method>\n"
6363 " <method name=\"ProvideFile\">\n"
6364 " <arg direction=\"in\" type=\"u\" name=\"addressType\"/>\n"
6365 " <arg direction=\"in\" type=\"u\" name=\"accessControl\"/>\n"
6366 " <arg direction=\"in\" type=\"v\" name=\"accessControlParam\"/>\n"
6367 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
6368 " </method>\n"
6369 " <signal name=\"FileTransferStateChanged\">\n"
6370 " <arg type=\"u\" name=\"state\"/>\n"
6371 " <arg type=\"u\" name=\"reason\"/>\n"
6372 " </signal>\n"
6373 " <signal name=\"TransferredBytesChanged\">\n"
6374 " <arg type=\"t\" name=\"count\"/>\n"
6375 " </signal>\n"
6376 " <signal name=\"InitialOffsetDefined\">\n"
6377 " <arg type=\"t\" name=\"initialOffset\"/>\n"
6378 " </signal>\n"
6379 " <signal name=\"URIDefined\">\n"
6380 " <arg type=\"s\" name=\"URI\"/>\n"
6381 " </signal>\n"
6382 " </interface>\n"
6383 "")
6384  Q_PROPERTY(uint State READ State )
6385  Q_PROPERTY(QString ContentType READ ContentType )
6386  Q_PROPERTY(QString Filename READ Filename )
6387  Q_PROPERTY(qulonglong Size READ Size )
6388  Q_PROPERTY(uint ContentHashType READ ContentHashType )
6389  Q_PROPERTY(QString ContentHash READ ContentHash )
6390  Q_PROPERTY(QString Description READ Description )
6391  Q_PROPERTY(qlonglong Date READ Date )
6392  Q_PROPERTY(Tp::SupportedSocketMap AvailableSocketTypes READ AvailableSocketTypes )
6393  Q_PROPERTY(qulonglong TransferredBytes READ TransferredBytes )
6394  Q_PROPERTY(qulonglong InitialOffset READ InitialOffset )
6395  Q_PROPERTY(QString URI READ URI WRITE SetURI)
6396  Q_PROPERTY(QString FileCollection READ FileCollection )
6397 
6398 public:
6399  ChannelTypeFileTransferAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6400  virtual ~ChannelTypeFileTransferAdaptor();
6401 
6402  typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptFileContextPtr;
6403  typedef Tp::MethodInvocationContextPtr< QDBusVariant > ProvideFileContextPtr;
6404 
6405 public: // PROPERTIES
6422  uint State() const;
6442  QString ContentType() const;
6466  QString Filename() const;
6492  qulonglong Size() const;
6521  uint ContentHashType() const;
6544  QString ContentHash() const;
6564  QString Description() const;
6583  qlonglong Date() const;
6614  Tp::SupportedSocketMap AvailableSocketTypes() const;
6630  qulonglong TransferredBytes() const;
6655  qulonglong InitialOffset() const;
6693  QString URI() const;
6729  void SetURI(const QString &newValue);
6764  QString FileCollection() const;
6765 
6766 public Q_SLOTS: // METHODS
6809  QDBusVariant AcceptFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, qulonglong offset, const QDBusMessage& dbusMessage);
6842  QDBusVariant ProvideFile(uint addressType, uint accessControl, const QDBusVariant& accessControlParam, const QDBusMessage& dbusMessage);
6843 
6844 Q_SIGNALS: // SIGNALS
6864  void FileTransferStateChanged(uint state, uint reason);
6877  void TransferredBytesChanged(qulonglong count);
6890  void InitialOffsetDefined(qulonglong initialOffset);
6903  void URIDefined(const QString& URI);
6904 };
6905 
6914 {
6915  Q_OBJECT
6916  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.RoomList")
6917  Q_CLASSINFO("D-Bus Introspection", ""
6918 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.RoomList\">\n"
6919 " <property access=\"read\" type=\"s\" name=\"Server\"/>\n"
6920 " <method name=\"GetListingRooms\">\n"
6921 " <arg direction=\"out\" type=\"b\" name=\"inProgress\"/>\n"
6922 " </method>\n"
6923 " <method name=\"ListRooms\"/>\n"
6924 " <method name=\"StopListing\"/>\n"
6925 " <signal name=\"GotRooms\">\n"
6926 " <arg type=\"a(usa{sv})\" name=\"rooms\">\n"
6927 " <annotation value=\"Tp::RoomInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
6928 " </arg>\n"
6929 " </signal>\n"
6930 " <signal name=\"ListingRooms\">\n"
6931 " <arg type=\"b\" name=\"listing\"/>\n"
6932 " </signal>\n"
6933 " </interface>\n"
6934 "")
6935  Q_PROPERTY(QString Server READ Server )
6936 
6937 public:
6938  ChannelTypeRoomListAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
6939  virtual ~ChannelTypeRoomListAdaptor();
6940 
6941  typedef Tp::MethodInvocationContextPtr< bool > GetListingRoomsContextPtr;
6942  typedef Tp::MethodInvocationContextPtr< > ListRoomsContextPtr;
6943  typedef Tp::MethodInvocationContextPtr< > StopListingContextPtr;
6944 
6945 public: // PROPERTIES
6961  QString Server() const;
6962 
6963 public Q_SLOTS: // METHODS
6981  bool GetListingRooms(const QDBusMessage& dbusMessage);
6998  void ListRooms(const QDBusMessage& dbusMessage);
7014  void StopListing(const QDBusMessage& dbusMessage);
7015 
7016 Q_SIGNALS: // SIGNALS
7036  void GotRooms(const Tp::RoomInfoList& rooms);
7049  void ListingRooms(bool listing);
7050 };
7051 
7060 {
7061  Q_OBJECT
7062  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerAuthentication")
7063  Q_CLASSINFO("D-Bus Introspection", ""
7064 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerAuthentication\">\n"
7065 " <property access=\"read\" type=\"s\" name=\"AuthenticationMethod\"/>\n"
7066 " </interface>\n"
7067 "")
7068  Q_PROPERTY(QString AuthenticationMethod READ AuthenticationMethod )
7069 
7070 public:
7071  ChannelTypeServerAuthenticationAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7073 
7074 
7075 public: // PROPERTIES
7094  QString AuthenticationMethod() const;
7095 };
7096 
7105 {
7106  Q_OBJECT
7107  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection")
7108  Q_CLASSINFO("D-Bus Introspection", ""
7109 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection\">\n"
7110 " <property access=\"read\" type=\"o\" name=\"ServerCertificate\"/>\n"
7111 " <property access=\"read\" type=\"s\" name=\"Hostname\"/>\n"
7112 " <property access=\"read\" type=\"as\" name=\"ReferenceIdentities\"/>\n"
7113 " </interface>\n"
7114 "")
7115  Q_PROPERTY(QDBusObjectPath ServerCertificate READ ServerCertificate )
7116  Q_PROPERTY(QString Hostname READ Hostname )
7117  Q_PROPERTY(QStringList ReferenceIdentities READ ReferenceIdentities )
7118 
7119 public:
7120  ChannelTypeServerTLSConnectionAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7122 
7123 
7124 public: // PROPERTIES
7137  QDBusObjectPath ServerCertificate() const;
7153  QString Hostname() const;
7182  QStringList ReferenceIdentities() const;
7183 };
7184 
7193 {
7194  Q_OBJECT
7195  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamTube")
7196  Q_CLASSINFO("D-Bus Introspection", ""
7197 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamTube\">\n"
7198 " <property access=\"read\" type=\"s\" name=\"Service\"/>\n"
7199 " <property access=\"read\" type=\"a{uau}\" name=\"SupportedSocketTypes\">\n"
7200 " <annotation value=\"Tp::SupportedSocketMap\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
7201 " </property>\n"
7202 " <method name=\"Offer\">\n"
7203 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
7204 " <arg direction=\"in\" type=\"v\" name=\"address\"/>\n"
7205 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
7206 " <arg direction=\"in\" type=\"a{sv}\" name=\"parameters\">\n"
7207 " <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In3\"/>\n"
7208 " </arg>\n"
7209 " </method>\n"
7210 " <method name=\"Accept\">\n"
7211 " <arg direction=\"in\" type=\"u\" name=\"addresstype\"/>\n"
7212 " <arg direction=\"in\" type=\"u\" name=\"accesscontrol\"/>\n"
7213 " <arg direction=\"in\" type=\"v\" name=\"accesscontrolparam\"/>\n"
7214 " <arg direction=\"out\" type=\"v\" name=\"address\"/>\n"
7215 " </method>\n"
7216 " <signal name=\"NewRemoteConnection\">\n"
7217 " <arg type=\"u\" name=\"handle\"/>\n"
7218 " <arg type=\"v\" name=\"connectionParam\"/>\n"
7219 " <arg type=\"u\" name=\"connectionID\"/>\n"
7220 " </signal>\n"
7221 " <signal name=\"NewLocalConnection\">\n"
7222 " <arg type=\"u\" name=\"connectionID\"/>\n"
7223 " </signal>\n"
7224 " <signal name=\"ConnectionClosed\">\n"
7225 " <arg type=\"u\" name=\"connectionID\"/>\n"
7226 " <arg type=\"s\" name=\"error\"/>\n"
7227 " <arg type=\"s\" name=\"message\"/>\n"
7228 " </signal>\n"
7229 " </interface>\n"
7230 "")
7231  Q_PROPERTY(QString Service READ Service )
7232  Q_PROPERTY(Tp::SupportedSocketMap SupportedSocketTypes READ SupportedSocketTypes )
7233 
7234 public:
7235  ChannelTypeStreamTubeAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7236  virtual ~ChannelTypeStreamTubeAdaptor();
7237 
7238  typedef Tp::MethodInvocationContextPtr< > OfferContextPtr;
7239  typedef Tp::MethodInvocationContextPtr< QDBusVariant > AcceptContextPtr;
7240 
7241 public: // PROPERTIES
7266  QString Service() const;
7303  Tp::SupportedSocketMap SupportedSocketTypes() const;
7304 
7305 public Q_SLOTS: // METHODS
7335  void Offer(uint addresstype, const QDBusVariant& address, uint accesscontrol, const QVariantMap& parameters, const QDBusMessage& dbusMessage);
7375  QDBusVariant Accept(uint addresstype, uint accesscontrol, const QDBusVariant& accesscontrolparam, const QDBusMessage& dbusMessage);
7376 
7377 Q_SIGNALS: // SIGNALS
7414  void NewRemoteConnection(uint handle, const QDBusVariant& connectionParam, uint connectionID);
7429  void NewLocalConnection(uint connectionID);
7460  void ConnectionClosed(uint connectionID, const QString& error, const QString& message);
7461 };
7462 
7471 {
7472  Q_OBJECT
7473  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.StreamedMedia")
7474  Q_CLASSINFO("D-Bus Introspection", ""
7475 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.StreamedMedia\">\n"
7476 " <property access=\"read\" type=\"b\" name=\"InitialAudio\"/>\n"
7477 " <property access=\"read\" type=\"b\" name=\"InitialVideo\"/>\n"
7478 " <property access=\"read\" type=\"b\" name=\"ImmutableStreams\"/>\n"
7479 " <method name=\"ListStreams\">\n"
7480 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
7481 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7482 " </arg>\n"
7483 " </method>\n"
7484 " <method name=\"RemoveStreams\">\n"
7485 " <arg direction=\"in\" type=\"au\" name=\"streams\"/>\n"
7486 " </method>\n"
7487 " <method name=\"RequestStreamDirection\">\n"
7488 " <arg direction=\"in\" type=\"u\" name=\"streamID\"/>\n"
7489 " <arg direction=\"in\" type=\"u\" name=\"streamDirection\"/>\n"
7490 " </method>\n"
7491 " <method name=\"RequestStreams\">\n"
7492 " <arg direction=\"in\" type=\"u\" name=\"contactHandle\"/>\n"
7493 " <arg direction=\"in\" type=\"au\" name=\"types\"/>\n"
7494 " <arg direction=\"out\" type=\"a(uuuuuu)\" name=\"streams\">\n"
7495 " <annotation value=\"Tp::MediaStreamInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7496 " </arg>\n"
7497 " </method>\n"
7498 " <signal name=\"StreamAdded\">\n"
7499 " <arg type=\"u\" name=\"streamID\"/>\n"
7500 " <arg type=\"u\" name=\"contactHandle\"/>\n"
7501 " <arg type=\"u\" name=\"streamType\"/>\n"
7502 " </signal>\n"
7503 " <signal name=\"StreamDirectionChanged\">\n"
7504 " <arg type=\"u\" name=\"streamID\"/>\n"
7505 " <arg type=\"u\" name=\"streamDirection\"/>\n"
7506 " <arg type=\"u\" name=\"pendingFlags\"/>\n"
7507 " </signal>\n"
7508 " <signal name=\"StreamError\">\n"
7509 " <arg type=\"u\" name=\"streamID\"/>\n"
7510 " <arg type=\"u\" name=\"errorCode\"/>\n"
7511 " <arg type=\"s\" name=\"message\"/>\n"
7512 " </signal>\n"
7513 " <signal name=\"StreamRemoved\">\n"
7514 " <arg type=\"u\" name=\"streamID\"/>\n"
7515 " </signal>\n"
7516 " <signal name=\"StreamStateChanged\">\n"
7517 " <arg type=\"u\" name=\"streamID\"/>\n"
7518 " <arg type=\"u\" name=\"streamState\"/>\n"
7519 " </signal>\n"
7520 " </interface>\n"
7521 "")
7522  Q_PROPERTY(bool InitialAudio READ InitialAudio )
7523  Q_PROPERTY(bool InitialVideo READ InitialVideo )
7524  Q_PROPERTY(bool ImmutableStreams READ ImmutableStreams )
7525 
7526 public:
7527  ChannelTypeStreamedMediaAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7529 
7530  typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > ListStreamsContextPtr;
7531  typedef Tp::MethodInvocationContextPtr< > RemoveStreamsContextPtr;
7532  typedef Tp::MethodInvocationContextPtr< > RequestStreamDirectionContextPtr;
7533  typedef Tp::MethodInvocationContextPtr< Tp::MediaStreamInfoList > RequestStreamsContextPtr;
7534 
7535 public: // PROPERTIES
7626  bool InitialAudio() const;
7649  bool InitialVideo() const;
7694  bool ImmutableStreams() const;
7695 
7696 public Q_SLOTS: // METHODS
7726  Tp::MediaStreamInfoList ListStreams(const QDBusMessage& dbusMessage);
7755  void RemoveStreams(const Tp::UIntList& streams, const QDBusMessage& dbusMessage);
7793  void RequestStreamDirection(uint streamID, uint streamDirection, const QDBusMessage& dbusMessage);
7846  Tp::MediaStreamInfoList RequestStreams(uint contactHandle, const Tp::UIntList& types, const QDBusMessage& dbusMessage);
7847 
7848 Q_SIGNALS: // SIGNALS
7868  void StreamAdded(uint streamID, uint contactHandle, uint streamType);
7887  void StreamDirectionChanged(uint streamID, uint streamDirection, uint pendingFlags);
7906  void StreamError(uint streamID, uint errorCode, const QString& message);
7919  void StreamRemoved(uint streamID);
7935  void StreamStateChanged(uint streamID, uint streamState);
7936 };
7937 
7945 class TP_QT_EXPORT ChannelTypeTextAdaptor : public Tp::AbstractAdaptor
7946 {
7947  Q_OBJECT
7948  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Text")
7949  Q_CLASSINFO("D-Bus Introspection", ""
7950 " <interface name=\"org.freedesktop.Telepathy.Channel.Type.Text\">\n"
7951 " <method name=\"AcknowledgePendingMessages\">\n"
7952 " <arg direction=\"in\" type=\"au\" name=\"IDs\"/>\n"
7953 " </method>\n"
7954 " <method name=\"GetMessageTypes\">\n"
7955 " <arg direction=\"out\" type=\"au\" name=\"availableTypes\"/>\n"
7956 " </method>\n"
7957 " <method name=\"ListPendingMessages\">\n"
7958 " <arg direction=\"in\" type=\"b\" name=\"clear\"/>\n"
7959 " <arg direction=\"out\" type=\"a(uuuuus)\" name=\"pendingMessages\">\n"
7960 " <annotation value=\"Tp::PendingTextMessageList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
7961 " </arg>\n"
7962 " </method>\n"
7963 " <method name=\"Send\">\n"
7964 " <arg direction=\"in\" type=\"u\" name=\"type\"/>\n"
7965 " <arg direction=\"in\" type=\"s\" name=\"text\"/>\n"
7966 " </method>\n"
7967 " <signal name=\"LostMessage\"/>\n"
7968 " <signal name=\"Received\">\n"
7969 " <arg type=\"u\" name=\"ID\"/>\n"
7970 " <arg type=\"u\" name=\"timestamp\"/>\n"
7971 " <arg type=\"u\" name=\"sender\"/>\n"
7972 " <arg type=\"u\" name=\"type\"/>\n"
7973 " <arg type=\"u\" name=\"flags\"/>\n"
7974 " <arg type=\"s\" name=\"text\"/>\n"
7975 " </signal>\n"
7976 " <signal name=\"SendError\">\n"
7977 " <arg type=\"u\" name=\"error\"/>\n"
7978 " <arg type=\"u\" name=\"timestamp\"/>\n"
7979 " <arg type=\"u\" name=\"type\"/>\n"
7980 " <arg type=\"s\" name=\"text\"/>\n"
7981 " </signal>\n"
7982 " <signal name=\"Sent\">\n"
7983 " <arg type=\"u\" name=\"timestamp\"/>\n"
7984 " <arg type=\"u\" name=\"type\"/>\n"
7985 " <arg type=\"s\" name=\"text\"/>\n"
7986 " </signal>\n"
7987 " </interface>\n"
7988 "")
7989 
7990 public:
7991  ChannelTypeTextAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
7992  virtual ~ChannelTypeTextAdaptor();
7993 
7994  typedef Tp::MethodInvocationContextPtr< > AcknowledgePendingMessagesContextPtr;
7995  typedef Tp::MethodInvocationContextPtr< Tp::UIntList > GetMessageTypesContextPtr;
7996  typedef Tp::MethodInvocationContextPtr< Tp::PendingTextMessageList > ListPendingMessagesContextPtr;
7997  typedef Tp::MethodInvocationContextPtr< > SendContextPtr;
7998 
7999 public Q_SLOTS: // METHODS
8017  void AcknowledgePendingMessages(const Tp::UIntList& IDs, const QDBusMessage& dbusMessage);
8035  Tp::UIntList GetMessageTypes(const QDBusMessage& dbusMessage);
8067  Tp::PendingTextMessageList ListPendingMessages(bool clear, const QDBusMessage& dbusMessage);
8101  void Send(uint type, const QString& text, const QDBusMessage& dbusMessage);
8102 
8103 Q_SIGNALS: // SIGNALS
8113  void LostMessage();
8141  void Received(uint ID, uint timestamp, uint sender, uint type, uint flags, const QString& text);
8163  void SendError(uint error, uint timestamp, uint type, const QString& text);
8186  void Sent(uint timestamp, uint type, const QString& text);
8187 };
8188 
8189 }
8190 }
QList< PendingTextMessage > PendingTextMessageList
Definition: build/TelepathyQt/_gen/types.h:2269
Definition: svc-channel.h:7470
QList< MediaSessionHandlerInfo > MediaSessionHandlerInfoList
Definition: build/TelepathyQt/_gen/types.h:1942
QList< MessagePartList > MessagePartListList
Definition: build/TelepathyQt/_gen/types.h:2048
Definition: svc-channel.h:1011
QList< MediaStreamInfo > MediaStreamInfoList
Definition: build/TelepathyQt/_gen/types.h:2012
Definition: build/TelepathyQt/_gen/types.h:2092
Definition: build/TelepathyQt/_gen/types.h:1655
QList< CaptchaInfo > CaptchaInfoList
Definition: build/TelepathyQt/_gen/types.h:682
CaptchaStatus
Definition: build/TelepathyQt/_gen/constants.h:3025
Definition: build/TelepathyQt/_gen/types.h:1452
Definition: build/TelepathyQt/_gen/types.h:694
Definition: build/TelepathyQt/_gen/types.h:84
Definition: svc-channel.h:6913
QFlags< CallFlag > CallFlags
Definition: build/TelepathyQt/_gen/constants.h:574
Definition: build/TelepathyQt/_gen/types.h:1271
Definition: svc-channel.h:4495
Definition: build/TelepathyQt/_gen/types.h:2061
Definition: svc-channel.h:3301
Definition: svc-channel.h:5098
Definition: svc-channel.h:7192
Definition: svc-channel.h:6148
Definition: svc-channel.h:5884
Definition: build/TelepathyQt/_gen/types.h:3109
Definition: svc-channel.h:4723
Definition: build/TelepathyQt/_gen/types.h:2710
Definition: build/TelepathyQt/_gen/types.h:894
Definition: build/TelepathyQt/_gen/types.h:329
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Definition: build/TelepathyQt/_gen/types.h:107
QFlags< MessagePartSupportFlag > MessagePartSupportFlags
Definition: build/TelepathyQt/_gen/constants.h:1106
Definition: svc-channel.h:1930
Definition: svc-channel.h:27
QList< LocalPendingInfo > LocalPendingInfoList
Definition: build/TelepathyQt/_gen/types.h:1734
QList< RoomInfo > RoomInfoList
Definition: build/TelepathyQt/_gen/types.h:2699
Definition: svc-channel.h:1510
Definition: build/TelepathyQt/_gen/types.h:577
Definition: abstract-adaptor.cpp:31
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40
Definition: build/TelepathyQt/_gen/types.h:916
Definition: build/TelepathyQt/_gen/types.h:296
Definition: svc-channel.h:3398
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2040
SASLStatus
Definition: build/TelepathyQt/_gen/constants.h:3660
Definition: svc-channel.h:7945
Definition: svc-channel.h:2653
Definition: svc-channel.h:6335
Definition: svc-channel.h:4930
Definition: svc-channel.h:2930
Definition: build/TelepathyQt/_gen/types.h:1677
Definition: build/TelepathyQt/_gen/types.h:3491


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00963.html0000644000175000017500000001256212727270137021011 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 > Member List

This is the complete list of members for Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >, including all inherited members.

BaseCallback()Tp::BaseCallbackinline
BaseCallback(AbstractFunctorCaller *caller)Tp::BaseCallbackinline
BaseCallback(const BaseCallback &other)Tp::BaseCallbackinline
Callback5()Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >inline
Callback5(const Functor &functor)Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >inline
callerTp::BaseCallbackprotected
FunctionType typedefTp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >
isValid() const Tp::BaseCallbackinline
operator()(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5) const Tp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >inline
operator=(const BaseCallback &other)Tp::BaseCallbackinline
ResultType typedefTp::Callback5< R, Arg1, Arg2, Arg3, Arg4, Arg5 >
~BaseCallback()Tp::BaseCallbackinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00462.html0000644000175000017500000002334112727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor6 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
typedef R(* Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
typedef R Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::PtrFunctor6 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
ResultType Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
FunctionType Tp::PtrFunctor6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00547_source.html0000644000175000017500000003211612727270137022364 0ustar00kaffeinekaffeine00000000000000 avatar.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
avatar.h
1 
23 #ifndef _TelepathyQt_avatar_h_HEADER_GUARD_
24 #define _TelepathyQt_avatar_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 #include <QSharedDataPointer>
33 #include <QString>
34 #include <QStringList>
35 #include <QMetaType>
36 
37 namespace Tp
38 {
39 
40 struct TP_QT_EXPORT AvatarData
41 {
42 public:
43  inline AvatarData(const QString &fileName, const QString &mimeType)
44  : fileName(fileName), mimeType(mimeType) {}
45  inline AvatarData() {}
46 
47  QString fileName;
48  QString mimeType;
49 };
50 
51 class TP_QT_EXPORT AvatarSpec
52 {
53 public:
54  AvatarSpec();
55  AvatarSpec(const QStringList &supportedMimeTypes,
56  uint minHeight, uint maxHeight, uint recommendedHeight,
57  uint minWidth, uint maxWidth, uint recommendedWidth,
58  uint maxBytes);
59  AvatarSpec(const AvatarSpec &other);
60  ~AvatarSpec();
61 
62  bool isValid() const { return mPriv.constData() != 0; }
63 
64  AvatarSpec &operator=(const AvatarSpec &other);
65 
66  QStringList supportedMimeTypes() const;
67  uint minimumHeight() const;
68  uint maximumHeight() const;
69  uint recommendedHeight() const;
70  uint minimumWidth() const;
71  uint maximumWidth() const;
72  uint recommendedWidth() const;
73  uint maximumBytes() const;
74 
75 private:
76  struct Private;
77  friend struct Private;
78  QSharedDataPointer<Private> mPriv;
79 };
80 
81 } // Tp
82 
83 Q_DECLARE_METATYPE(Tp::AvatarData);
84 Q_DECLARE_METATYPE(Tp::AvatarSpec);
85 
86 #endif
QString mimeType
Definition: avatar.h:48
bool isValid() const
Definition: avatar.h:62
QString fileName
Definition: avatar.h:47
The AvatarSpec class represents a Telepathy avatar information supported by a protocol.
Definition: avatar.h:51
The AvatarData class represents a Telepathy avatar.
Definition: avatar.h:40
AvatarData()
Definition: avatar.h:45
Definition: abstract-adaptor.cpp:31
AvatarData(const QString &fileName, const QString &mimeType)
Definition: avatar.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00207.html0000644000175000017500000003134112727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelRequestHints Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester when requesting a channel. More...

#include <TelepathyQt/ChannelRequestHints>

Public Member Functions

 ChannelRequestHints ()
 
 ChannelRequestHints (const QVariantMap &hints)
 
 ChannelRequestHints (const ChannelRequestHints &other)
 
 ~ChannelRequestHints ()
 
ChannelRequestHintsoperator= (const ChannelRequestHints &other)
 
bool isValid () const
 
bool hasHint (const QString &reversedDomain, const QString &localName) const
 
QVariant hint (const QString &reversedDomain, const QString &localName) const
 
void setHint (const QString &reversedDomain, const QString &localName, const QVariant &value)
 
QVariantMap allHints () const
 

Detailed Description

The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester when requesting a channel.

Constructor & Destructor Documentation

Tp::ChannelRequestHints::ChannelRequestHints ( )
Tp::ChannelRequestHints::ChannelRequestHints ( const QVariantMap &  hints)
Tp::ChannelRequestHints::ChannelRequestHints ( const ChannelRequestHints other)
Tp::ChannelRequestHints::~ChannelRequestHints ( )

Member Function Documentation

ChannelRequestHints & Tp::ChannelRequestHints::operator= ( const ChannelRequestHints other)
bool Tp::ChannelRequestHints::isValid ( ) const
bool Tp::ChannelRequestHints::hasHint ( const QString &  reversedDomain,
const QString &  localName 
) const
QVariant Tp::ChannelRequestHints::hint ( const QString &  reversedDomain,
const QString &  localName 
) const
void Tp::ChannelRequestHints::setHint ( const QString &  reversedDomain,
const QString &  localName,
const QVariant &  value 
)
QVariantMap Tp::ChannelRequestHints::allHints ( ) const


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01178.html0000644000175000017500000000557612727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleContactPresences Member List

This is the complete list of members for Tp::SimpleContactPresences, including all inherited members.

operator=(const QMap< uint, SimplePresence > &a)Tp::SimpleContactPresencesinline
SimpleContactPresences()Tp::SimpleContactPresencesinline
SimpleContactPresences(const QMap< uint, SimplePresence > &a)Tp::SimpleContactPresencesinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00521.html0000644000175000017500000001433112727270137020773 0ustar00kaffeinekaffeine00000000000000 Tp::VCardFieldAddressMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::VCardFieldAddressMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QString >.

Public Member Functions

 VCardFieldAddressMap ()
 
 VCardFieldAddressMap (const QMap< QString, QString > &a)
 
VCardFieldAddressMapoperator= (const QMap< QString, QString > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QString>, but needed to have a discrete type in the Qt type system.

A mapping of vCard fields and addresses equivalent to a particular contact's protocol identifier. For instance, on XMPP this would contain x-jabber for all contacts, and x-facebook-id for contacts on Facebook's server.

Constructor & Destructor Documentation

Tp::VCardFieldAddressMap::VCardFieldAddressMap ( )
inline
Tp::VCardFieldAddressMap::VCardFieldAddressMap ( const QMap< QString, QString > &  a)
inline

Member Function Documentation

VCardFieldAddressMap& Tp::VCardFieldAddressMap::operator= ( const QMap< QString, QString > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00276.html0000644000175000017500000002632312727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfacePowerSavingAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfacePowerSavingAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void SetPowerSaving (bool activate, const QDBusMessage &dbusMessage)
 

Signals

void PowerSavingChanged (bool active)
 

Public Member Functions

bool PowerSavingActive () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

bool Tp::Service::ConnectionInterfacePowerSavingAdaptor::PowerSavingActive ( ) const

Return the value of the exported D-Bus object property PowerSavingActive of type bool.

Adaptees should export this property as a Qt property named 'powerSavingActive' with type bool.

True if protocol-level power saving features are currently activated. This property can be changed using the SetPowerSaving() method; change notifications is via the PowerSavingChanged() signal.

Returns
The value of exported property PowerSavingActive.
void Tp::Service::ConnectionInterfacePowerSavingAdaptor::SetPowerSaving ( bool  activate,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setPowerSaving(bool activate, const Tp::Service::ConnectionInterfacePowerSavingAdaptor::SetPowerSavingContextPtr &context);

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

Turn power saving mode on or off.

Depending on the device's activity level, the connection can have its power saving mode turned on or off.

Errors raised by this method indicate that power saving could not be enabled, which SHOULD NOT generally be treated as fatal.

If the CM cannot switch modes, either because of the protocol (NotImplemented), or because of the service (NotAvailable), Mission Control (or whoever manages this) should be made aware. The error could be ignored or, in the extreme, be fascist and disconnect the account.

Parameters
activate
True if protocol-level power saving features should be activated; 
False if they should be de-activated.
void Tp::Service::ConnectionInterfacePowerSavingAdaptor::PowerSavingChanged ( bool  active)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void powerSavingChanged(bool active);

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

Parameters
active
The new state of the power saving feature.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01237.html0000644000175000017500000002535512727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelDispatchOperationInterface Member List

This is the complete list of members for Tp::Client::ChannelDispatchOperationInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelDispatchOperationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatchOperationInterface
ChannelDispatchOperationInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelDispatchOperationInterface
ChannelDispatchOperationInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelDispatchOperationInterface
ChannelLost(const QDBusObjectPath &channel, const QString &error, const QString &message)Tp::Client::ChannelDispatchOperationInterfacesignal
Claim(int timeout=-1)Tp::Client::ChannelDispatchOperationInterfaceinlineslot
Finished()Tp::Client::ChannelDispatchOperationInterfacesignal
HandleWith(const QString &handler, int timeout=-1)Tp::Client::ChannelDispatchOperationInterfaceinlineslot
HandleWithTime(const QString &handler, qlonglong userActionTime, int timeout=-1)Tp::Client::ChannelDispatchOperationInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelDispatchOperationInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelDispatchOperationInterfaceinline
requestPropertyAccount() const Tp::Client::ChannelDispatchOperationInterfaceinline
requestPropertyChannels() const Tp::Client::ChannelDispatchOperationInterfaceinline
requestPropertyConnection() const Tp::Client::ChannelDispatchOperationInterfaceinline
requestPropertyInterfaces() const Tp::Client::ChannelDispatchOperationInterfaceinline
requestPropertyPossibleHandlers() const Tp::Client::ChannelDispatchOperationInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelDispatchOperationInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00020.html0000644000175000017500000000412612727270137020766 0ustar00kaffeinekaffeine00000000000000 Roster Example
   Home · All Classes · All Namespaces · Modules · Functions · Files
Roster Example


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_o.html0000644000175000017500000005407112727270137022516 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- o -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00335.html0000644000175000017500000003160112727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller0< Functor, R > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller0< Functor, R > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller0< Functor, R >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller0 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller0< Functor, R >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller0< Functor, R >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R >
typedef R Tp::FunctorCaller0< Functor, R >::ResultType
template<class Functor , class R >
typedef R(* Tp::FunctorCaller0< Functor, R >::InvokeType) (AbstractFunctorCaller *)

Constructor & Destructor Documentation

template<class Functor , class R >
Tp::FunctorCaller0< Functor, R >::FunctorCaller0 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R >
static ResultType Tp::FunctorCaller0< Functor, R >::invoke ( AbstractFunctorCaller call)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_b.html0000644000175000017500000002614112727270137023511 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- b -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01050.html0000644000175000017500000001341212727270137020770 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00536_source.html0000644000175000017500000006441712727270137022373 0ustar00kaffeinekaffeine00000000000000 account-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
account-manager.h
1 
23 #ifndef _TelepathyQt_account_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_account_manager_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/_gen/cli-account-manager.h>
31 
32 #include <TelepathyQt/Account>
33 #include <TelepathyQt/AccountFactory>
34 #include <TelepathyQt/ChannelFactory>
35 #include <TelepathyQt/ConnectionFactory>
36 #include <TelepathyQt/ContactFactory>
37 #include <TelepathyQt/StatelessDBusProxy>
38 #include <TelepathyQt/Filter>
39 #include <TelepathyQt/OptionalInterfaceFactory>
40 #include <TelepathyQt/SharedPtr>
41 #include <TelepathyQt/Types>
42 
43 #include <QDBusObjectPath>
44 #include <QSet>
45 #include <QString>
46 #include <QVariantMap>
47 
48 namespace Tp
49 {
50 
51 class PendingAccount;
52 
53 class TP_QT_EXPORT AccountManager : public StatelessDBusProxy,
54  public OptionalInterfaceFactory<AccountManager>
55 {
56  Q_OBJECT
57  Q_DISABLE_COPY(AccountManager)
58 
59 public:
60  static const Feature FeatureCore;
61 
62  static AccountManagerPtr create(const QDBusConnection &bus);
63  static AccountManagerPtr create(
64  const AccountFactoryConstPtr &accountFactory =
65  AccountFactory::create(QDBusConnection::sessionBus(), Account::FeatureCore),
66  const ConnectionFactoryConstPtr &connectionFactory =
67  ConnectionFactory::create(QDBusConnection::sessionBus()),
68  const ChannelFactoryConstPtr &channelFactory =
69  ChannelFactory::create(QDBusConnection::sessionBus()),
70  const ContactFactoryConstPtr &contactFactory =
72  static AccountManagerPtr create(const QDBusConnection &bus,
73  const AccountFactoryConstPtr &accountFactory,
74  const ConnectionFactoryConstPtr &connectionFactory,
75  const ChannelFactoryConstPtr &channelFactory,
76  const ContactFactoryConstPtr &contactFactory =
78 
79  virtual ~AccountManager();
80 
81  AccountFactoryConstPtr accountFactory() const;
82  ConnectionFactoryConstPtr connectionFactory() const;
83  ChannelFactoryConstPtr channelFactory() const;
84  ContactFactoryConstPtr contactFactory() const;
85 
86  QList<AccountPtr> allAccounts() const;
87 
88  AccountSetPtr validAccounts() const;
89  AccountSetPtr invalidAccounts() const;
90 
91  AccountSetPtr enabledAccounts() const;
92  AccountSetPtr disabledAccounts() const;
93 
94  AccountSetPtr onlineAccounts() const;
95  AccountSetPtr offlineAccounts() const;
96 
97  AccountSetPtr textChatAccounts() const;
98  AccountSetPtr textChatroomAccounts() const;
99 
100  AccountSetPtr audioCallAccounts() const;
101  AccountSetPtr videoCallAccounts() const;
102 
103  TP_QT_DEPRECATED AccountSetPtr streamedMediaCallAccounts() const;
104  TP_QT_DEPRECATED AccountSetPtr streamedMediaAudioCallAccounts() const;
105  TP_QT_DEPRECATED AccountSetPtr streamedMediaVideoCallAccounts() const;
106  TP_QT_DEPRECATED AccountSetPtr streamedMediaVideoCallWithAudioAccounts() const;
107 
108  AccountSetPtr fileTransferAccounts() const;
109 
110  AccountSetPtr accountsByProtocol(const QString &protocolName) const;
111 
112  AccountSetPtr filterAccounts(const AccountFilterConstPtr &filter) const;
113  AccountSetPtr filterAccounts(const QVariantMap &filter) const;
114 
115  AccountPtr accountForObjectPath(const QString &path) const;
116  TP_QT_DEPRECATED AccountPtr accountForPath(const QString &path) const;
117  QList<AccountPtr> accountsForObjectPaths(const QStringList &paths) const;
118  TP_QT_DEPRECATED QList<AccountPtr> accountsForPaths(const QStringList &paths) const;
119 
120  QStringList supportedAccountProperties() const;
121  PendingAccount *createAccount(const QString &connectionManager,
122  const QString &protocol, const QString &displayName,
123  const QVariantMap &parameters,
124  const QVariantMap &properties = QVariantMap());
125 
126 Q_SIGNALS:
127  void newAccount(const Tp::AccountPtr &account);
128 
129 protected:
130  AccountManager(const QDBusConnection &bus,
131  const AccountFactoryConstPtr &accountFactory,
132  const ConnectionFactoryConstPtr &connectionFactory,
133  const ChannelFactoryConstPtr &channelFactory,
134  const ContactFactoryConstPtr &contactFactory,
135  const Feature &coreFeature);
136 
137  Client::AccountManagerInterface *baseInterface() const;
138 
139 private Q_SLOTS:
140  TP_QT_NO_EXPORT void introspectMain();
141  TP_QT_NO_EXPORT void gotMainProperties(QDBusPendingCallWatcher *watcher);
142  TP_QT_NO_EXPORT void onAccountReady(Tp::PendingOperation *op);
143  TP_QT_NO_EXPORT void onAccountValidityChanged(const QDBusObjectPath &objectPath,
144  bool valid);
145  TP_QT_NO_EXPORT void onAccountRemoved(const QDBusObjectPath &objectPath);
146 
147 private:
148  friend class PendingAccount;
149 
150  struct Private;
151  friend struct Private;
152  Private *mPriv;
153 };
154 
155 } // Tp
156 
157 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
static ConnectionFactoryPtr create(const QDBusConnection &bus, const Features &features=Features())
Definition: connection-factory.cpp:57
static AccountFactoryPtr create(const QDBusConnection &bus, const Features &features=Features())
Definition: account-factory.cpp:58
static ChannelFactoryPtr create(const QDBusConnection &bus)
Definition: channel-factory.cpp:86
static ContactFactoryPtr create(const Features &features=Features())
Definition: contact-factory.cpp:48
Definition: cli-account-manager.h:44
The OptionalInterfaceFactory class is a helper class for high-level D-Bus proxy classes willing to of...
Definition: optional-interface-factory.h:65
static const Feature FeatureCore
Definition: account-manager.h:60
Definition: abstract-adaptor.cpp:31
The AccountManager class represents a Telepathy account manager.
Definition: account-manager.h:53
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
static const Feature FeatureCore
Definition: account.h:103
The PendingAccount class represents the parameters of and the reply to an asynchronous account reques...
Definition: pending-account.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01365.html0000644000175000017500000001310712727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceMailNotificationAdaptor Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00809_source.html0000644000175000017500000004475112727270137022375 0ustar00kaffeinekaffeine00000000000000 simple-stream-tube-handler.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
simple-stream-tube-handler.h
1 
23 #ifndef _TelepathyQt_simple_stream_tube_handler_h_HEADER_GUARD_
24 #define _TelepathyQt_simple_stream_tube_handler_h_HEADER_GUARD_
25 
26 #include <TelepathyQt/AbstractClientHandler>
27 #include <TelepathyQt/ChannelRequestHints>
28 #include <TelepathyQt/RefCounted>
29 #include <TelepathyQt/Types>
30 
31 #include <QDateTime>
32 #include <QLinkedList>
33 #include <QHash>
34 #include <QQueue>
35 #include <QSet>
36 
37 namespace Tp
38 {
39 
40 class PendingOperation;
41 
42 class TP_QT_NO_EXPORT SimpleStreamTubeHandler : public QObject,
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(SimpleStreamTubeHandler)
47 
48 public:
50  const QStringList &p2pServices,
51  const QStringList &roomServices,
52  bool requested,
53  bool monitorConnections,
54  bool bypassApproval = false);
56 
57  bool monitorsConnections() const
58  {
59  return mMonitorConnections;
60  }
61 
62  bool bypassApproval() const
63  {
64  return mBypassApproval;
65  }
66 
67  void handleChannels(const MethodInvocationContextPtr<> &context,
68  const AccountPtr &account,
69  const ConnectionPtr &connection,
70  const QList<ChannelPtr> &channels,
71  const QList<ChannelRequestPtr> &requestsSatisfied,
72  const QDateTime &userActionTime,
73  const HandlerInfo &handlerInfo);
74 
75 Q_SIGNALS:
76  void invokedForTube(
77  const Tp::AccountPtr &account,
78  const Tp::StreamTubeChannelPtr &tube,
79  const QDateTime &userActionTime,
80  const Tp::ChannelRequestHints &requestHints);
81  void tubeInvalidated(
82  const Tp::AccountPtr &account,
83  const Tp::StreamTubeChannelPtr &tube,
84  const QString &errorName,
85  const QString &errorMessage);
86 
87 private Q_SLOTS:
88  void onReadyOpFinished(Tp::PendingOperation *);
89  void onTubeInvalidated(Tp::DBusProxy *, const QString &, const QString &);
90 
91 private:
93  const QStringList &p2pServices,
94  const QStringList &roomServices,
95  bool requested,
96  bool monitorConnections,
97  bool bypassApproval);
98 
99  bool mMonitorConnections;
100 
101  struct InvocationData : RefCounted {
102  InvocationData() : readyOp(0) {}
103 
104  PendingOperation *readyOp;
105  QString error, message;
106 
107  MethodInvocationContextPtr<> ctx;
108  AccountPtr acc;
109  QList<StreamTubeChannelPtr> tubes;
110  QDateTime time;
111  ChannelRequestHints hints;
112  };
113  QLinkedList<SharedPtr<InvocationData> > mInvocations;
114  QHash<StreamTubeChannelPtr, AccountPtr> mTubes;
115  bool mBypassApproval;
116 };
117 
118 } // Tp
119 
120 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42
bool monitorsConnections() const
Definition: simple-stream-tube-handler.h:57
The AbstractClientHandler::HandlerInfo class provides a wrapper around the additional info about the ...
Definition: abstract-client.h:273
The AbstractClientHandler class represents a Telepathy handler.
Definition: abstract-client.h:140
bool bypassApproval() const
Definition: simple-stream-tube-handler.h:62
Definition: abstract-adaptor.cpp:31
Definition: simple-stream-tube-handler.h:42
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester w...
Definition: channel-request.h:121


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00149.html0000644000175000017500000010457612727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

void Close (const QDBusMessage &dbusMessage)
 
QString GetChannelType (const QDBusMessage &dbusMessage)
 
uint GetHandle (const QDBusMessage &dbusMessage, uint &targetHandle)
 
QStringList GetInterfaces (const QDBusMessage &dbusMessage)
 

Signals

void Closed ()
 

Public Member Functions

QString ChannelType () const
 
QStringList Interfaces () const
 
uint TargetHandle () const
 
QString TargetID () const
 
uint TargetHandleType () const
 
bool Requested () const
 
uint InitiatorHandle () const
 
QString InitiatorID () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QString Tp::Service::ChannelAdaptor::ChannelType ( ) const

Return the value of the exported D-Bus object property ChannelType of type QString.

Adaptees should export this property as a Qt property named 'channelType' with type QString.

The channel's type. This cannot change once the channel has been created.

For compatibility between older connection managers and newer clients, if this is unavailable or is an empty string, clients MUST use the result of calling GetChannelType() .

The GetAll method lets clients retrieve all properties in one round-trip, which is desirable.

When requesting a channel, the request MUST specify a channel type, and the request MUST fail if the specified channel type cannot be supplied.

Common sense.

Returns
The value of exported property ChannelType.
QStringList Tp::Service::ChannelAdaptor::Interfaces ( ) const

Return the value of the exported D-Bus object property Interfaces of type QStringList.

Adaptees should export this property as a Qt property named 'interfaces' with type QStringList.

Extra interfaces provided by this channel. This SHOULD NOT include the channel type and the Channel interface itself, and cannot change once the channel has been created.

For compatibility between older connection managers and newer clients, if this is unavailable, or if this is an empty list and ChannelType is an empty string, clients MUST use the result of calling GetInterfaces() instead. If this is an empty list but ChannelType is non-empty, clients SHOULD NOT call GetInterfaces; this implies that connection managers that implement the ChannelType property MUST also implement the Interfaces property correctly.

The GetAll method lets clients retrieve all properties in one round-trip, which is desirable.

When requesting a channel with a particular value for this property, the request must fail without side-effects unless the connection manager expects to be able to provide a channel whose interfaces include at least the interfaces requested.

Returns
The value of exported property Interfaces.
uint Tp::Service::ChannelAdaptor::TargetHandle ( ) const

Return the value of the exported D-Bus object property TargetHandle of type uint.

Adaptees should export this property as a Qt property named 'targetHandle' with type uint.

The handle (a representation for the identifier) of the contact, chatroom, etc. with which this handle communicates. Its type is given by the TargetHandleType property.

This is fixed for the lifetime of the channel, so channels which could potentially be used to communicate with multiple contacts, and do not have an identity of their own (such as a Handle_Type_Room handle), must have TargetHandleType set to Handle_Type_None and TargetHandle set to 0.

Unlike in the telepathy-spec 0.16 API, there is no particular uniqueness guarantee - there can be many channels with the same (channel type, handle type, handle) tuple. This is necessary to support conversation threads in XMPP and SIP, for example.

If this is present in a channel request, it must be nonzero, TargetHandleType MUST be present and not Handle_Type_None, and TargetID MUST NOT be present. Properties from org.freedesktop.Telepathy.Channel.Interface.Addressing1 MUST NOT be present.

The channel that satisfies the request MUST either:

  • have the specified TargetHandle property; or
  • have TargetHandleType = Handle_Type_None, TargetHandle = 0, and be configured such that it could communicate with the specified handle in some other way (e.g. have the requested contact handle in its Group interface)

Returns
The value of exported property TargetHandle.
QString Tp::Service::ChannelAdaptor::TargetID ( ) const

Return the value of the exported D-Bus object property TargetID of type QString.

Adaptees should export this property as a Qt property named 'targetID' with type QString.

The string that would result from inspecting the TargetHandle property (i.e. the identifier in the IM protocol of the contact, room, etc. with which this channel communicates), or the empty string if the TargetHandle is 0.

The presence of this property avoids the following race condition:

  • New channel C is signalled with target handle T
  • Client calls ConnectionInterface::InspectHandles() (CONTACT, [T])
  • Channel C closes, removing the last reference to handle T
  • ConnectionInterface::InspectHandles() (CONTACT, [T]) returns an error

If this is present in a channel request, TargetHandleType MUST be present and not Handle_Type_None, and TargetHandle MUST NOT be present. Properties from org.freedesktop.Telepathy.Channel.Interface.Addressing1 MUST NOT be present.The request MUST fail with error InvalidHandle, without side-effects, if the requested TargetID would not be accepted by ConnectionInterface::RequestHandles() .

The returned channel must be related to the handle corresponding to the given identifier, in the same way as if TargetHandle had been part of the request instead.

Requesting channels with a string identifier saves a round-trip (the call to RequestHandles). It also allows the channel dispatcher to accept a channel request for an account that is not yet connected (and thus has no valid handles), bring the account online, and pass on the same parameters to the new connection's CreateChannel method.

Returns
The value of exported property TargetID.
uint Tp::Service::ChannelAdaptor::TargetHandleType ( ) const

Return the value of the exported D-Bus object property TargetHandleType of type uint.

Adaptees should export this property as a Qt property named 'targetHandleType' with type uint.

The type of TargetHandle .

If this is omitted from a channel request, connection managers SHOULD treat this as equivalent to Handle_Type_None.

If this is omitted or is Handle_Type_None, TargetHandle and TargetID MUST be omitted from the request.

Returns
The value of exported property TargetHandleType.
bool Tp::Service::ChannelAdaptor::Requested ( ) const

Return the value of the exported D-Bus object property Requested of type bool.

Adaptees should export this property as a Qt property named 'requested' with type bool.

True if this channel was created in response to a local request, such as a call to ConnectionInterface::RequestChannel() or ConnectionInterfaceRequestsInterface::CreateChannel() .

The idea of this property is to distinguish between "incoming" and "outgoing" channels, in a way that doesn't break down when considering special cases like contact lists that are automatically created on connection to the server, or chatrooms that an IRC proxy/bouncer like irssi-proxy or bip was already in.

The reason we want to make that distinction is that UIs for things that the user explicitly requested should start up automatically, whereas for incoming messages and VoIP calls we should first ask the user whether they want to open the messaging UI or accept the call.

If the channel was not explicitly requested (even if it was created as a side-effect of a call to one of those functions, e.g. because joining a Tube in a MUC context on XMPP implies joining that MUC), then this property is false.

For compatibility with older connection managers, clients SHOULD assume that this property is true if they see a channel announced by the ConnectionInterface::NewChannel() signal with the suppress_handler parameter set to true.

In a correct connection manager, the only way to get such a channel is to request it.

Clients MAY additionally assume that this property is false if they see a channel announced by the NewChannel signal with the suppress_handler parameter set to false.

This is more controversial, since it's possible to get that parameter set to false by requesting a channel. However, there's no good reason to do so, and we've deprecated this practice.

In the particular case of the channel dispatcher, the only side-effect of wrongly thinking a channel is unrequested is likely to be that the user has to confirm that they want to use it, so it seems fairly harmless to assume in the channel dispatcher that channels with suppress_handler false are indeed unrequested.

It does not make sense for this property to be in channel requests—it will always be true for channels returned by CreateChannel, and callers of EnsureChannel cannot control whether an existing channel was originally requested locally—so it MUST NOT be accepted.

Returns
The value of exported property Requested.
uint Tp::Service::ChannelAdaptor::InitiatorHandle ( ) const

Return the value of the exported D-Bus object property InitiatorHandle of type uint.

Adaptees should export this property as a Qt property named 'initiatorHandle' with type uint.

The contact who initiated the channel; for instance, the contact who invited the local user to a chatroom, or the contact who initiated a call.

This does not necessarily represent the contact who created the underlying protocol-level construct. For instance, if Rob creates a chatroom, Will joins that chatroom, and Will invites Simon to join it, then Simon will see Will as the InitiatorHandle of the channel representing the chatroom.

The room creator is generally a less useful piece of information than the inviter, is less likely to be available at invitation time (i.e. can't necessarily be an immutable property), and is less likely to be available at all. The creator of a chatroom is not currently available via Telepathy; if added in future, it is likely to be made available as a property on the Chatroom interface (bug 23151).

For channels requested by the local user, this MUST be the value of ConnectionInterface::SelfHandle at the time the channel was created (i.e. not a channel-specific handle).

On some protocols, the SelfHandle may change (as signalled by ConnectionInterface::SelfContactChanged() ), but this property is immutable. Hence, locally-requested channels' InitiatorHandle and InitiatorID may not match the current SelfHandle; Requested can be used to determine whether the channel was created locally.

For channels requested by a remote user, this MUST be their handle. If unavailable or not applicable, this MUST be 0 (for instance, contact lists are not really initiated by anyone in particular, and it's easy to imagine a protocol where chatroom invitations can be anonymous).

For channels with the ChannelInterfaceGroupInterface interface, this SHOULD be the same contact who is signalled as the "Actor" causing the self-handle to be placed in the local-pending set.

This SHOULD NOT be a channel-specific handle, if possible.

It does not make sense for this property to be in channel requests - the initiator will always be the local user - so it MUST NOT be accepted.

Returns
The value of exported property InitiatorHandle.
QString Tp::Service::ChannelAdaptor::InitiatorID ( ) const

Return the value of the exported D-Bus object property InitiatorID of type QString.

Adaptees should export this property as a Qt property named 'initiatorID' with type QString.

The string that would result from inspecting the InitiatorHandle property (i.e. the initiator's identifier in the IM protocol).

The presence of this property avoids the following race condition:

  • New StreamedMedia channel C is signalled with initiator handle I
  • Client calls ConnectionInterface::InspectHandles() (CONTACT, [I])
  • Channel C closes, removing the last reference to handle I
  • ConnectionInterface::InspectHandles() (CONTACT, [I]) returns an error
  • Client can indicate that a call was missed, but not who called!

It does not make sense for this property to be in channel requests - the initiator will always be the local user - so it MUST NOT be accepted.

Returns
The value of exported property InitiatorID.
void Tp::Service::ChannelAdaptor::Close ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void close(const Tp::Service::ChannelAdaptor::CloseContextPtr &context);

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

Request that the channel be closed. This is not the case until the Closed signal has been emitted, and depending on the connection manager this may simply remove you from the channel on the server, rather than causing it to stop existing entirely. Some channels such as contact list channels may not be closed.

QString Tp::Service::ChannelAdaptor::GetChannelType ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getChannelType(const Tp::Service::ChannelAdaptor::GetChannelTypeContextPtr &context);

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

Returns the interface name for the type of this channel. Clients SHOULD use the ChannelType property instead, falling back to this method only if necessary. The GetAll method lets clients retrieve all properties in one round-trip.

Returns
The interface name
uint Tp::Service::ChannelAdaptor::GetHandle ( const QDBusMessage &  dbusMessage,
uint &  targetHandle 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getHandle(const Tp::Service::ChannelAdaptor::GetHandleContextPtr &context);

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

Returns the handle type and number if this channel represents a communication with a particular contact, room or server-stored list, or zero if it is transient and defined only by its contents. Clients SHOULD use the TargetHandle and TargetHandleType properties instead, falling back to this method only if necessary. The GetAll method lets clients retrieve all properties in one round-trip.

Parameters
targetHandleOutput parameter
The same as TargetHandle.
Returns
The same as TargetHandleType.
QStringList Tp::Service::ChannelAdaptor::GetInterfaces ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getInterfaces(const Tp::Service::ChannelAdaptor::GetInterfacesContextPtr &context);

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

Get the optional interfaces implemented by the channel. Clients SHOULD use the Interfaces property instead, falling back to this method only if necessary. The GetAll method lets clients retrieve all properties in one round-trip.

Returns
An array of the D-Bus interface names
void Tp::Service::ChannelAdaptor::Closed ( )
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void closed();

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


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00964.html0000644000175000017500000001264512727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback6< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00463.html0000644000175000017500000002403012727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/functors.h>

Inherits Tp::BaseFunctor.

Public Types

typedef R(* FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
 
typedef R ResultType
 

Public Member Functions

 PtrFunctor7 (FunctionType fn)
 
ResultType operator() (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7) const
 

Public Attributes

FunctionType fn
 

Member Typedef Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
typedef R(* Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::FunctionType) (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
typedef R Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::ResultType

Constructor & Destructor Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::PtrFunctor7 ( FunctionType  fn)
inline

Member Function Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
ResultType Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::operator() ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6,
Arg7  a7 
) const
inline

Member Data Documentation

template<class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
FunctionType Tp::PtrFunctor7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::fn


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00208.html0000644000175000017500000013277112727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelRequestInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/ChannelRequest>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply Proceed (int timeout=-1)
 
QDBusPendingReply Cancel (int timeout=-1)
 

Signals

void Failed (const QString &error, const QString &message)
 
void Succeeded ()
 
void SucceededWithChannel (const QDBusObjectPath &connection, const QVariantMap &connectionProperties, const QDBusObjectPath &channel, const QVariantMap &channelProperties)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelRequestInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelRequestInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelRequestInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyAccount () const
 
Tp::PendingVariantrequestPropertyUserActionTime () const
 
Tp::PendingVariantrequestPropertyPreferredHandler () const
 
Tp::PendingVariantrequestPropertyRequests () const
 
Tp::PendingVariantrequestPropertyInterfaces () const
 
Tp::PendingVariantrequestPropertyHints () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.ChannelRequest".

Constructor & Destructor Documentation

Tp::Client::ChannelRequestInterface::ChannelRequestInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelRequestInterface 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.
Tp::Client::ChannelRequestInterface::ChannelRequestInterface ( Tp::DBusProxy proxy)

Creates a ChannelRequestInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::ChannelRequestInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.ChannelRequest", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyAccount ( ) const
inline

Asynchronous getter for the remote object property Account of type QDBusObjectPath.

The Account on which this request was made. This property cannot change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyUserActionTime ( ) const
inline

Asynchronous getter for the remote object property UserActionTime of type qlonglong.

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action.

This property is set when the channel request is created, and can never change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyPreferredHandler ( ) const
inline

Asynchronous getter for the remote object property PreferredHandler of type QString.

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable.

This property is set when the channel request is created, and can never change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyRequests ( ) const
inline

Asynchronous getter for the remote object property Requests of type Tp::QualifiedPropertyValueMapList.

An array of dictionaries containing desirable properties for the channel or channels to be created.

This is an array so that we could add a CreateChannels method in future without redefining the API of ChannelRequest.

This property is set when the channel request is created, and can never change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyInterfaces ( ) const
inline

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

A list of the extra interfaces provided by this channel request. This property cannot change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelRequestInterface::requestPropertyHints ( ) const
inline

Asynchronous getter for the remote object property Hints of type QVariantMap.

A dictionary of metadata provided by the channel requester, which the handler and other clients MAY choose to interpret. Clients MAY choose to use platform-specific keys for their own purposes, but MUST ignore unknown keys and MUST cope with expected keys being missing. Clients SHOULD namespace hint names by having them start with a reversed domain name, in the same way as D-Bus interface names.

This property might be used to pass a contact ID for a telephone number shared between two contacts from the address book to the call UI, so that if you try to call “Mumâ€, the call UI knows this rather than having to guess or show “Calling Mum or Dadâ€. The format of these contact IDs would be platform-specific, so we leave the definition of the dictionary entry up to the platform in question. But third-party channel requesters might not include the contact ID, so the call UI has to be able to deal with it not being there.

The channel dispatcher does not currently interpret any of these hints: they are solely for communication between cooperating clients. If hints that do affect the channel dispatcher are added in future, their names will start with an appropriate reversed domain name (e.g. org.freedesktop.Telepathy for hints defined by this specification, or an appropriate vendor name for third-party plugins).

This property may be set when the channel request is created, and can never change. Since it is immutable, it SHOULD be included in the dictionary of properties passed to ClientInterfaceRequestsInterface::AddRequest() by the ChannelDispatcherInterface .

The following standardised hints are defined:

org.freedesktop.Telepathy.ChannelRequest.DelegateToPreferredHandler - b
If present and True the client currently handling the channel SHOULD pass the channel to the PreferredHandler using ChannelDispatcherInterface::DelegateChannels() .
This hint allows the user to request a channel in their preferred client in a situation where there are two chat handlers (for example: requesting a channel in Empathy which is currently being handled by gnome-shell).
If the channel is currently unhandled, clients SHOULD ignore this hint.
It is assumed that Mission Control will correctly delegate an unhandled channel to the preferred Handler. This allows requesting clients to always include this hint in their channel request.
The Handler should check each ChannelRequestInterface of the Requests_Satisfied parameter of ClientHandlerInterface::HandleChannels() for the hint. The first request containing the hint SHOULD be used and all further hints SHOULD be ignored.
This covers the very unlikely case where ClientHandlerInterface::HandleChannels() satisfies two separate requests which have different PreferredHandler s.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelRequestInterface::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 Tp::Client::ChannelRequestInterface::Proceed ( int  timeout = -1)
inlineslot

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

Proceed with the channel request.

The client that created this object calls this method when it has connected signal handlers for Succeeded() and Failed() .

Clients other than the client which created the ChannelRequest MUST NOT call this method.

This method SHOULD return immediately; on success, the request might still fail, but this will be indicated asynchronously by the Failed() signal.

Proceed cannot fail, unless clients have got the life-cycle of a ChannelRequest seriously wrong (e.g. a client calls this method twice, or a client that did not create the ChannelRequest calls this method). If it fails, clients SHOULD assume that the whole ChannelRequest has become useless.

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.
QDBusPendingReply Tp::Client::ChannelRequestInterface::Cancel ( int  timeout = -1)
inlineslot

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

Cancel the channel request. The precise effect depends on the current progress of the request.

If the connection manager has not already been asked to create a channel, then Failed() is emitted immediately, and the channel request is removed.

If the connection manager has already been asked to create a channel but has not produced one yet (e.g. if ConnectionInterfaceRequestsInterface::CreateChannel() has been called, but has not yet returned), then the ChannelDispatcher will remember that the request has been cancelled. When the channel appears, it will be closed (if it was newly created and can be closed), and will not be dispatched to a handler.

If the connection manager has already returned a channel, but the channel has not yet been dispatched to a handler then the channel dispatcher will not dispatch that channel to a handler. If the channel was newly created for this request, the channel dispatcher will close it with ChannelInterface::Close() ; otherwise, the channel dispatcher will ignore it. In either case, Failed() will be emitted when processing has been completed.

If Failed() is emitted in response to this method, the error SHOULD be org.freedesktop.Telepathy.Error.Cancelled.

If the channel has already been dispatched to a handler, then it's too late to call this method, and the channel request will no longer exist.

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 Tp::Client::ChannelRequestInterface::Failed ( const QString &  error,
const QString &  message 
)
signal

Represents the signal Failed on the remote object.

The channel request has failed. It is no longer present, and further methods must not be called on it.

Parameters
error

The name of a D-Bus error. This can come from various sources, including the error raised by ConnectionInterfaceRequestsInterface::CreateChannel() , or an error generated to represent failure to establish the ConnectionInterface .

message
If the first argument of the D-Bus error message was a string, that 
string. Otherwise, an empty string.
void Tp::Client::ChannelRequestInterface::Succeeded ( )
signal

Represents the signal Succeeded on the remote object.

The channel request has succeeded. It is no longer present, and further methods must not be called on it.

void Tp::Client::ChannelRequestInterface::SucceededWithChannel ( const QDBusObjectPath &  connection,
const QVariantMap &  connectionProperties,
const QDBusObjectPath &  channel,
const QVariantMap &  channelProperties 
)
signal

Represents the signal SucceededWithChannel on the remote object.

Variant of the ChannelRequestInterface::Succeeded() signal allowing to get the channel which has been created.

This signal MUST be emitted if the ChannelDispatcherInterface 's ChannelDispatcherInterface::SupportsRequestHints property is true. If supported, it MUST be emitted before the Succeeded() signal.

Parameters
connection

The Connection owning the channel.

connectionProperties

A subset of the Connection's properties, currently unused. This parameter may be used in future.

channel

The channel which has been created.

channelProperties

The same immutable properties of the Channel that would appear in a ConnectionInterfaceRequestsInterface::NewChannels() signal.

void Tp::Client::ChannelRequestInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01179.html0000644000175000017500000001363612727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleObserver Member List

This is the complete list of members for Tp::SimpleObserver, including all inherited members.

account() const Tp::SimpleObserver
channelFilter() const Tp::SimpleObserver
channelInvalidated(const Tp::ChannelPtr &channel, const QString &errorName, const QString &errorMessage)Tp::SimpleObserversignal
channels() const Tp::SimpleObserver
contactIdentifier() const Tp::SimpleObserver
create(const AccountPtr &account, const ChannelClassSpecList &channelFilter, const QList< ChannelClassFeatures > &extraChannelFeatures=QList< ChannelClassFeatures >())Tp::SimpleObserverstatic
create(const AccountPtr &account, const ChannelClassSpecList &channelFilter, const ContactPtr &contact, const QList< ChannelClassFeatures > &extraChannelFeatures=QList< ChannelClassFeatures >())Tp::SimpleObserverstatic
create(const AccountPtr &account, const ChannelClassSpecList &channelFilter, const QString &contactIdentifier, const QList< ChannelClassFeatures > &extraChannelFeatures=QList< ChannelClassFeatures >())Tp::SimpleObserverstatic
extraChannelFeatures() const Tp::SimpleObserver
newChannels(const QList< Tp::ChannelPtr > &channels)Tp::SimpleObserversignal
RefCounted()Tp::RefCountedinline
~RefCounted()Tp::RefCountedinlinevirtual
~SimpleObserver()Tp::SimpleObservervirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00529_source.html0000644000175000017500000003142312727270137022364 0ustar00kaffeinekaffeine00000000000000 abstract-interface.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
abstract-interface.h
1 
23 #ifndef _TelepathyQt_abstract_interface_h_HEADER_GUARD_
24 #define _TelepathyQt_abstract_interface_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 #include <QDBusAbstractInterface>
33 
34 namespace Tp
35 {
36 
37 class DBusProxy;
38 class PendingVariant;
39 class PendingOperation;
40 class PendingVariantMap;
41 
42 class TP_QT_EXPORT AbstractInterface : public QDBusAbstractInterface
43 {
44  Q_OBJECT
45  Q_DISABLE_COPY(AbstractInterface)
46 
47 public:
48  virtual ~AbstractInterface();
49 
50  bool isValid() const;
51  QString invalidationReason() const;
52  QString invalidationMessage() const;
53 
54  void setMonitorProperties(bool monitorProperties);
55  bool isMonitoringProperties() const;
56 
57 Q_SIGNALS:
58  void propertiesChanged(const QVariantMap &changedProperties,
59  const QStringList &invalidatedProperties);
60 
61 protected Q_SLOTS:
62  virtual void invalidate(Tp::DBusProxy *proxy,
63  const QString &error, const QString &message);
64 
65 protected:
66  AbstractInterface(DBusProxy *proxy, const QLatin1String &interface);
67  AbstractInterface(const QString &busName, const QString &path,
68  const QLatin1String &interface, const QDBusConnection &connection,
69  QObject *parent);
70 
71  PendingVariant *internalRequestProperty(const QString &name) const;
72  PendingOperation *internalSetProperty(const QString &name, const QVariant &newValue);
73  PendingVariantMap *internalRequestAllProperties() const;
74 
75 private Q_SLOTS:
76  TP_QT_NO_EXPORT void onPropertiesChanged(const QString &interface,
77  const QVariantMap &changedProperties,
78  const QStringList &invalidatedProperties);
79 
80 private:
81  struct Private;
82  friend struct Private;
83  Private *mPriv;
84 };
85 
86 } // Tp
87 
88 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Definition: abstract-adaptor.cpp:31
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/bdwn.png0000644000175000017500000000022312727270137020730 0ustar00kaffeinekaffeine00000000000000‰PNG  IHDR5åZIDATxíË € DŸP–1ñlžmÀ r±j².e è†D[ØÉ¾ÙÏÔ¼µ¦ã´Þ|陣6€Všë3´Å?Ls'(}¬>+ žKó÷¥¿ch`‚ ^׃ÞnIEND®B`‚telepathy-qt-0.9.7/doc/html/a00522.html0000644000175000017500000000760512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::VideoResolution Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

uint width
 
uint height
 

Detailed Description

Structure type generated from the specification.

Member Data Documentation

uint Tp::VideoResolution::width

With of the video stream.

uint Tp::VideoResolution::height

Height of the video stream.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00277.html0000644000175000017500000007330212727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfacePowerSavingInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetPowerSaving (bool activate, int timeout=-1)
 

Signals

void PowerSavingChanged (bool active)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfacePowerSavingInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfacePowerSavingInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfacePowerSavingInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfacePowerSavingInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfacePowerSavingInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyPowerSavingActive () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.PowerSaving".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfacePowerSavingInterface::ConnectionInterfacePowerSavingInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfacePowerSavingInterface 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.
Tp::Client::ConnectionInterfacePowerSavingInterface::ConnectionInterfacePowerSavingInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfacePowerSavingInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfacePowerSavingInterface::ConnectionInterfacePowerSavingInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfacePowerSavingInterface 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.
Tp::Client::ConnectionInterfacePowerSavingInterface::ConnectionInterfacePowerSavingInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfacePowerSavingInterface 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 Tp::Client::ConnectionInterfacePowerSavingInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.PowerSaving", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfacePowerSavingInterface::requestPropertyPowerSavingActive ( ) const
inline

Asynchronous getter for the remote object property PowerSavingActive of type bool.

True if protocol-level power saving features are currently activated. This property can be changed using the SetPowerSaving() method; change notifications is via the PowerSavingChanged() signal.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfacePowerSavingInterface::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 Tp::Client::ConnectionInterfacePowerSavingInterface::SetPowerSaving ( bool  activate,
int  timeout = -1 
)
inlineslot

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

Turn power saving mode on or off.

Depending on the device's activity level, the connection can have its power saving mode turned on or off.

Errors raised by this method indicate that power saving could not be enabled, which SHOULD NOT generally be treated as fatal.

If the CM cannot switch modes, either because of the protocol (NotImplemented), or because of the service (NotAvailable), Mission Control (or whoever manages this) should be made aware. The error could be ignored or, in the extreme, be fascist and disconnect the account.

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

Parameters
activate
True if protocol-level power saving features should be activated; 
False if they should be de-activated.
timeoutThe timeout in milliseconds.
void Tp::Client::ConnectionInterfacePowerSavingInterface::PowerSavingChanged ( bool  active)
signal

Represents the signal PowerSavingChanged on the remote object.

The PowerSavingActive property changed.

Parameters
active
The new state of the power saving feature.
void Tp::Client::ConnectionInterfacePowerSavingInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01238.html0000644000175000017500000002616612727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterface Member List

This is the complete list of members for Tp::Client::ChannelInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterface
ChannelInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterface
ChannelInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterface
Close(int timeout=-1)Tp::Client::ChannelInterfaceinlineslot
Closed()Tp::Client::ChannelInterfacesignal
GetChannelType(int timeout=-1)Tp::Client::ChannelInterfaceinlineslot
GetHandle(int timeout=-1)Tp::Client::ChannelInterfaceinlineslot
GetInterfaces(int timeout=-1)Tp::Client::ChannelInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceinline
requestPropertyChannelType() const Tp::Client::ChannelInterfaceinline
requestPropertyInitiatorHandle() const Tp::Client::ChannelInterfaceinline
requestPropertyInitiatorID() const Tp::Client::ChannelInterfaceinline
requestPropertyInterfaces() const Tp::Client::ChannelInterfaceinline
requestPropertyRequested() const Tp::Client::ChannelInterfaceinline
requestPropertyTargetHandle() const Tp::Client::ChannelInterfaceinline
requestPropertyTargetHandleType() const Tp::Client::ChannelInterfaceinline
requestPropertyTargetID() const Tp::Client::ChannelInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00021.html0000644000175000017500000000723412727270137020772 0ustar00kaffeinekaffeine00000000000000 roster/main.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/main.cpp
#include <TelepathyQt/Debug>
#include <TelepathyQt/Types>
#include <QApplication>
#include <QDebug>
#include <QtGui>
#include "roster-window.h"
int main(int argc, char **argv)
{
QApplication app(argc, argv);
if (argc < 2) {
qDebug() << "usage:" << argv[0] << "<account name, as in mc-tool list>";
return 1;
}
QString accountPath = QLatin1String(argv[1]);
RosterWindow w(accountPath);
w.show();
return app.exec();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00525_source.html0000644000175000017500000001566612727270137022373 0ustar00kaffeinekaffeine00000000000000 abstract-adaptor.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
abstract-adaptor.h
1 
23 #ifndef _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
24 #define _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 #include <QObject>
33 #include <QDBusAbstractAdaptor>
34 
35 class QDBusConnection;
36 
37 namespace Tp
38 {
39 
40 class TP_QT_EXPORT AbstractAdaptor : public QDBusAbstractAdaptor
41 {
42  Q_OBJECT
43 
44 public:
45  AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent);
46  ~AbstractAdaptor();
47 
48  QDBusConnection dbusConnection() const;
49 
50  QObject *adaptee() const;
51 
52 private:
53  struct Private;
54  friend struct Private;
55  Private *mPriv;
56 };
57 
58 }
59 
60 #endif
Definition: abstract-adaptor.cpp:31
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/namespacemembers_eval.html0000644000175000017500000001137112727270137024502 0ustar00kaffeinekaffeine00000000000000 Namespace Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- t -

  • TLSCertificateRejectReasonExpired : Tp
  • TLSCertificateRejectReasonFingerprintMismatch : Tp
  • TLSCertificateRejectReasonHostnameMismatch : Tp
  • TLSCertificateRejectReasonInsecure : Tp
  • TLSCertificateRejectReasonLimitExceeded : Tp
  • TLSCertificateRejectReasonNotActivated : Tp
  • TLSCertificateRejectReasonRevoked : Tp
  • TLSCertificateRejectReasonSelfSigned : Tp
  • TLSCertificateRejectReasonUnknown : Tp
  • TLSCertificateRejectReasonUntrusted : Tp
  • TLSCertificateStateAccepted : Tp
  • TLSCertificateStatePending : Tp
  • TLSCertificateStateRejected : Tp
  • TubeChannelStateLocalPending : Tp
  • TubeChannelStateNotOffered : Tp
  • TubeChannelStateOpen : Tp
  • TubeChannelStateRemotePending : Tp
  • TubeStateLocalPending : Tp
  • TubeStateOpen : Tp
  • TubeStateRemotePending : Tp
  • TubeTypeDBus : Tp
  • TubeTypeStream : Tp


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_p.html0000644000175000017500000005116412727270137022517 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- p -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00336.html0000644000175000017500000003240012727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller1< Functor, R, Arg1 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller1< Functor, R, Arg1 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller1< Functor, R, Arg1 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller1 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller1< Functor, R, Arg1 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller1< Functor, R, Arg1 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 >
typedef R Tp::FunctorCaller1< Functor, R, Arg1 >::ResultType
template<class Functor , class R , class Arg1 >
typedef R(* Tp::FunctorCaller1< Functor, R, Arg1 >::InvokeType) (AbstractFunctorCaller *, Arg1)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 >
Tp::FunctorCaller1< Functor, R, Arg1 >::FunctorCaller1 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 >
static ResultType Tp::FunctorCaller1< Functor, R, Arg1 >::invoke ( AbstractFunctorCaller call,
Arg1  a1 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_c.html0000644000175000017500000022321412727270137023512 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- c -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00090.html0000644000175000017500000005757312727270137021013 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionAddressingInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.Addressing. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback6< void, const QString &, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * > GetContactsByVCardFieldCallback
 
typedef Callback5< void, const QStringList &, const QStringList &, Tp::AddressingNormalizationMap &, Tp::ContactAttributesMap &, DBusError * > GetContactsByURICallback
 

Public Member Functions

virtual ~BaseConnectionAddressingInterface ()
 
QVariantMap immutableProperties () const
 
void setGetContactsByVCardFieldCallback (const GetContactsByVCardFieldCallback &cb)
 
void setGetContactsByURICallback (const GetContactsByURICallback &cb)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionAddressingInterfacePtr create ()
 
template<typename BaseConnectionAddressingInterfaceSubclass >
static SharedPtr< BaseConnectionAddressingInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionAddressingInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Addressing.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionAddressingInterface::~BaseConnectionAddressingInterface ( )
virtual

Class destructor.

Tp::BaseConnectionAddressingInterface::BaseConnectionAddressingInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionAddressingInterfacePtr Tp::BaseConnectionAddressingInterface::create ( )
inlinestatic
template<typename BaseConnectionAddressingInterfaceSubclass >
static SharedPtr<BaseConnectionAddressingInterfaceSubclass> Tp::BaseConnectionAddressingInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionAddressingInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseConnectionAddressingInterface::setGetContactsByVCardFieldCallback ( const GetContactsByVCardFieldCallback cb)
void Tp::BaseConnectionAddressingInterface::setGetContactsByURICallback ( const GetContactsByURICallback cb)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01051.html0000644000175000017500000001351712727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01366.html0000644000175000017500000000776412727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfacePowerSavingAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfacePowerSavingAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
PowerSavingActive() const Tp::Service::ConnectionInterfacePowerSavingAdaptor
PowerSavingChanged(bool active)Tp::Service::ConnectionInterfacePowerSavingAdaptorsignal
SetPowerSaving(bool activate, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfacePowerSavingAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01110.html0000644000175000017500000001420412727270137020765 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingCaptchas Member List

This is the complete list of members for Tp::PendingCaptchas, including all inherited members.

captcha() const Tp::PendingCaptchas
captchaList() const Tp::PendingCaptchas
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
requiresMultipleCaptchas() const Tp::PendingCaptchas
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingCaptchas()Tp::PendingCaptchasvirtual
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00965.html0000644000175000017500000001273012727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Callback7< R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00464.html0000644000175000017500000001421612727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::QualifiedPropertyValueMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::QualifiedPropertyValueMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< QString, QDBusVariant >.

Public Member Functions

 QualifiedPropertyValueMap ()
 
 QualifiedPropertyValueMap (const QMap< QString, QDBusVariant > &a)
 
QualifiedPropertyValueMapoperator= (const QMap< QString, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

A mapping from strings representing D-Bus properties (by their namespaced names) to their values.

Constructor & Destructor Documentation

Tp::QualifiedPropertyValueMap::QualifiedPropertyValueMap ( )
inline
Tp::QualifiedPropertyValueMap::QualifiedPropertyValueMap ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

QualifiedPropertyValueMap& Tp::QualifiedPropertyValueMap::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00209.html0000644000175000017500000016300512727270137021001 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelTypeCallAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

void SetRinging (const QDBusMessage &dbusMessage)
 
void SetQueued (const QDBusMessage &dbusMessage)
 
void Accept (const QDBusMessage &dbusMessage)
 
void Hangup (uint reason, const QString &detailedHangupReason, const QString &message, const QDBusMessage &dbusMessage)
 
QDBusObjectPath AddContent (const QString &contentName, uint contentType, uint initialDirection, const QDBusMessage &dbusMessage)
 

Signals

void ContentAdded (const QDBusObjectPath &content)
 
void ContentRemoved (const QDBusObjectPath &content, const Tp::CallStateReason &reason)
 
void CallStateChanged (uint callState, uint callFlags, const Tp::CallStateReason &callStateReason, const QVariantMap &callStateDetails)
 
void CallMembersChanged (const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
 

Public Member Functions

Tp::ObjectPathList Contents () const
 
QVariantMap CallStateDetails () const
 
uint CallState () const
 
uint CallFlags () const
 
Tp::CallStateReason CallStateReason () const
 
bool HardwareStreaming () const
 
Tp::CallMemberMap CallMembers () const
 
Tp::HandleIdentifierMap MemberIdentifiers () const
 
uint InitialTransport () const
 
bool InitialAudio () const
 
bool InitialVideo () const
 
QString InitialAudioName () const
 
QString InitialVideoName () const
 
bool MutableContents () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::ObjectPathList Tp::Service::ChannelTypeCallAdaptor::Contents ( ) const

Return the value of the exported D-Bus object property Contents of type Tp::ObjectPathList.

Adaptees should export this property as a Qt property named 'contents' with type Tp::ObjectPathList.

The list of CallContentInterface objects that are part of this call. Change notification is via the ContentAdded() and ContentRemoved() signals.

Returns
The value of exported property Contents.
QVariantMap Tp::Service::ChannelTypeCallAdaptor::CallStateDetails ( ) const

Return the value of the exported D-Bus object property CallStateDetails of type QVariantMap.

Adaptees should export this property as a Qt property named 'callStateDetails' with type QVariantMap.

A map used to provide optional extensible details for the CallState , CallFlags and/or CallStateReason .

Well-known keys and their corresponding value types include:

hangup-message - s
An optional human-readable message sent when the call was ended, corresponding to the Message argument to the Hangup() method. This is only applicable when the call state is Ended.
XMPP Jingle can send such messages.
queue-message - s
An optional human-readable message sent when the local contact is being held in a queue. This is only applicable when Locally_Queued is in the call flags.
SIP 182 notifications can have human-readable messages attached.
debug-message - s
A message giving further details of any error indicated by the CallStateReason . This will not normally be localized or suitable for display to users, and is only applicable when the call state is Ended.
balance-required - i
Optionally included when a call cannot be connected because there is InsufficientBalance, indicating what the required balance would be to place this call. The value of this key has the same units and scale as ConnectionInterfaceBalanceInterface::AccountBalance .
forwarded-to - u
Optionally included when the CallStateReason is Forwarded. It indicates the handle to whom the Call was forwarded.
forwarded-to-id - s
The string that would result from inspecting the forwarded-to key (i.e. the contact's identifier in the IM protocol).

Returns
The value of exported property CallStateDetails.
uint Tp::Service::ChannelTypeCallAdaptor::CallState ( ) const

Return the value of the exported D-Bus object property CallState of type uint.

Adaptees should export this property as a Qt property named 'callState' with type uint.

The current high-level state of this call. The CallFlags provide additional information, and the CallStateReason and CallStateDetails explain the reason for the current values for those properties.

Note that when in a conference call, this property is purely to show your state in joining the call. The receiver (or remote contact) in this context is the conference server itself. The property does not change when other call members' states change.

Clients MAY consider unknown values in this property to be an error.

Returns
The value of exported property CallState.
uint Tp::Service::ChannelTypeCallAdaptor::CallFlags ( ) const

Return the value of the exported D-Bus object property CallFlags of type uint.

Adaptees should export this property as a Qt property named 'callFlags' with type uint.

Flags representing the status of the call as a whole, providing more specific information than the CallState .

Clients are expected to ignore unknown flags in this property, without error.

When an ongoing call is active and not on hold or has any other problems, this property will be 0.

Returns
The value of exported property CallFlags.
Tp::CallStateReason Tp::Service::ChannelTypeCallAdaptor::CallStateReason ( ) const

Return the value of the exported D-Bus object property CallStateReason of type Tp::CallStateReason.

Adaptees should export this property as a Qt property named 'callStateReason' with type Tp::CallStateReason.

The reason for the last change to the CallState and/or CallFlags . The CallStateDetails MAY provide additional information.

Returns
The value of exported property CallStateReason.
bool Tp::Service::ChannelTypeCallAdaptor::HardwareStreaming ( ) const

Return the value of the exported D-Bus object property HardwareStreaming of type bool.

Adaptees should export this property as a Qt property named 'hardwareStreaming' with type bool.

If this property is True, all of the media streaming is done by some mechanism outside the scope of Telepathy.

A connection manager might be intended for a specialized hardware device, which will take care of the audio streaming (e.g. telepathy-ring, which uses GSM hardware which does the actual audio streaming for the call).

If this is False, the handler is responsible for doing the actual media streaming for at least some contents itself. Those contents will have the CallContentInterfaceMediaInterface interface, to communicate the necessary information to a streaming implementation. Connection managers SHOULD operate like this, if possible.

Many connection managers (such as telepathy-gabble) only do the call signalling, and expect the client to do the actual streaming using something like Farsight, to improve latency and allow better UI integration.

Returns
The value of exported property HardwareStreaming.
Tp::CallMemberMap Tp::Service::ChannelTypeCallAdaptor::CallMembers ( ) const

Return the value of the exported D-Bus object property CallMembers of type Tp::CallMemberMap.

Adaptees should export this property as a Qt property named 'callMembers' with type Tp::CallMemberMap.

A mapping from the remote contacts that are part of this call to flags describing their status. This mapping never has the local user's handle as a key.

When the call ends, this property should be an empty list, and notified with CallMembersChanged()

If the Call implements ChannelInterfaceGroupInterface and the Group members are channel-specific handles, then this call SHOULD also use channel-specific handles.

Anonymous members are exposed as channel-specific handles with no owner.

Returns
The value of exported property CallMembers.
Tp::HandleIdentifierMap Tp::Service::ChannelTypeCallAdaptor::MemberIdentifiers ( ) const

Return the value of the exported D-Bus object property MemberIdentifiers of type Tp::HandleIdentifierMap.

Adaptees should export this property as a Qt property named 'memberIdentifiers' with type Tp::HandleIdentifierMap.

The string identifiers for handles mentioned in CallMembers, to give clients the minimal information necessary to create contacts without waiting for round-trips.

Returns
The value of exported property MemberIdentifiers.
uint Tp::Service::ChannelTypeCallAdaptor::InitialTransport ( ) const

Return the value of the exported D-Bus object property InitialTransport of type uint.

Adaptees should export this property as a Qt property named 'initialTransport' with type uint.

If set on a requested channel, this indicates the transport that should be used for this call. Where not applicable, this property is defined to be Unknown, in particular, on CMs with hardware streaming.

When implementing a voip gateway one wants the outgoing leg of the gatewayed to have the same transport as the incoming leg. This property allows the gateway to request a Call with the right transport from the CM.

Returns
The value of exported property InitialTransport.
bool Tp::Service::ChannelTypeCallAdaptor::InitialAudio ( ) const

Return the value of the exported D-Bus object property InitialAudio of type bool.

Adaptees should export this property as a Qt property named 'initialAudio' with type bool.

If set to True in a channel request that will create a new channel, the connection manager should immediately attempt to establish an audio stream to the remote contact, making it unnecessary for the client to call ChannelTypeCallInterface::AddContent() .

If this property, or InitialVideo, is passed to EnsureChannel (as opposed to CreateChannel), the connection manager SHOULD ignore these properties when checking whether it can return an existing channel as suitable; these properties only become significant when the connection manager has decided to create a new channel.

If True on a requested channel, this indicates that the audio stream has already been requested and the client does not need to call RequestStreams, although it MAY still do so.

If True on an unrequested (incoming) channel, this indicates that the remote contact initially requested an audio stream; this does not imply that that audio stream is still active (as indicated by ChannelTypeCallInterface::Contents ).

The name of this new content can be decided by using the InitialAudioName property.

Connection managers that support the ConnectionInterfaceContactCapabilitiesInterface interface SHOULD represent the capabilities of receiving audio and/or video calls by including a channel class in a contact's capabilities with ChannelType = Call in the fixed properties dictionary, and InitialAudio and/or InitialVideo in the allowed properties list. Clients wishing to discover whether a particular contact is likely to be able to receive audio and/or video calls SHOULD use this information.

Not all clients support video calls, and it would also be possible (although unlikely) to have a client which could only stream video, not audio.

Clients that are willing to receive audio and/or video calls SHOULD include the following among their channel classes if calling ConnectionInterfaceContactCapabilitiesInterface::UpdateCapabilities() (clients of a ChannelDispatcherInterface SHOULD instead arrange for the ChannelDispatcher to do this, by including the filters in their ClientHandlerInterface::HandlerChannelFilter properties):

  • { ChannelType = Call }
  • { ChannelType = Call, InitialAudio = True } if receiving calls with audio is supported
  • { ChannelType = Call, InitialVideo = True } if receiving calls with video is supported

Connection managers for protocols with capability discovery, like XMPP, need this information to advertise the appropriate capabilities for their protocol.

Returns
The value of exported property InitialAudio.
bool Tp::Service::ChannelTypeCallAdaptor::InitialVideo ( ) const

Return the value of the exported D-Bus object property InitialVideo of type bool.

Adaptees should export this property as a Qt property named 'initialVideo' with type bool.

The same as InitialAudio , but for a video stream. This property is immutable (cannot change).

In particular, note that if this property is False, this does not imply that an active video stream has not been added, only that no video stream was active at the time the channel appeared.

This property is the correct way to discover whether connection managers, contacts etc. support video calls; it appears in capabilities structures in the same way as InitialAudio.

Returns
The value of exported property InitialVideo.
QString Tp::Service::ChannelTypeCallAdaptor::InitialAudioName ( ) const

Return the value of the exported D-Bus object property InitialAudioName of type QString.

Adaptees should export this property as a Qt property named 'initialAudioName' with type QString.

If InitialAudio is set to True, then this property will name the intial audio content with the value of this property.

Content names are meant to be significant, but if no name can be given to initial audio content, then its name cannot be meaningful or even localized.

If this property is empty or missing from the channel request and InitialAudio is True, then the CM must come up with a sensible for the content, such as "audio".

If the protocol has no concept of stream names then this property will not show up in the allowed properties list of the Requestable Channel Classes for call channels.

Returns
The value of exported property InitialAudioName.
QString Tp::Service::ChannelTypeCallAdaptor::InitialVideoName ( ) const

Return the value of the exported D-Bus object property InitialVideoName of type QString.

Adaptees should export this property as a Qt property named 'initialVideoName' with type QString.

The same as InitialAudioName , but for a video stream created by setting InitialVideo to True. This property is immutable and so cannot change.

Returns
The value of exported property InitialVideoName.
bool Tp::Service::ChannelTypeCallAdaptor::MutableContents ( ) const

Return the value of the exported D-Bus object property MutableContents of type bool.

Adaptees should export this property as a Qt property named 'mutableContents' with type bool.

If True, a stream of a different content type can be added after the Channel has been requested

If this property is missing, clients SHOULD assume that it is False, and thus that the channel's streams cannot be changed once the call has started.

If this property isn't present in the "allowed" set in any of the Call entries contact capabilities, then user interfaces MAY choose to show a separate "call" option for each class of call.

For example, once an audio-only Google Talk call has started, it is not possible to add a video stream; both audio and video must be requested at the start of the call if video is desired. User interfaces may use this pseudo-capability as a hint to display separate "Audio call" and "Video call" buttons, rather than a single "Call1" button with the option to add and remove video once the call has started for contacts without this flag.

Returns
The value of exported property MutableContents.
void Tp::Service::ChannelTypeCallAdaptor::SetRinging ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setRinging(const Tp::Service::ChannelTypeCallAdaptor::SetRingingContextPtr &context);

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

Indicate that the local user has been alerted about the incoming call.

This method is only useful if the channel's ChannelInterface::Requested property is False, and the CallState is Initialised (an incoming call is ready and waiting for the user to be notified). Calling this method SHOULD set CallFlags ' bit Locally_Ringing, and notify the remote contact that the local user has been alerted (if the protocol supports this); repeated calls to this method SHOULD succeed, but have no further effect.

In all other states, this method SHOULD fail with the error NotAvailable.

void Tp::Service::ChannelTypeCallAdaptor::SetQueued ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setQueued(const Tp::Service::ChannelTypeCallAdaptor::SetQueuedContextPtr &context);

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

Notifies the CM that the local user is already in a call, so this call has been put in a call-waiting style queue.

This method is only useful if the channel's ChannelInterface::Requested property is False, and the CallState is Initialising or Initialised. Calling this method SHOULD set CallFlags ' bit Locally_Queued, and notify the remote contact that the call is in a queue (if the protocol supports this); repeated calls to this method SHOULD succeed, but have no further effect.

Locally_Queued is a little like Locally_Held, but applies to calls that have not been Accepted (the Locally_Queued flag should be unset by the CM when Accept is called). It should also be set in response to the state of the world, rather than in response to user action.

void Tp::Service::ChannelTypeCallAdaptor::Accept ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void accept(const Tp::Service::ChannelTypeCallAdaptor::AcceptContextPtr &context);

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

For incoming calls in state Initialised, accept the incoming call. This changes the CallState to Accepted.

For outgoing calls in state Pending_Initiator, actually call the remote contact; this changes the CallState to Initialising.

Otherwise, this method SHOULD fail with the error NotAvailable.

This method should be called exactly once per Call, by whatever client (user interface) is handling the channel.

When this method is called, for each CallContentInterface whose CallContentInterface::Disposition is Initial, any streams where the CallStreamInterface::LocalSendingState is Pending_Send will be moved to Sending as if CallStreamInterface::SetSending() (True) had been called.

void Tp::Service::ChannelTypeCallAdaptor::Hangup ( uint  reason,
const QString &  detailedHangupReason,
const QString &  message,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void hangup(uint reason, const QString& detailedHangupReason, const QString& message, const Tp::Service::ChannelTypeCallAdaptor::HangupContextPtr &context);

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

Request that the call is ended. All contents will be removed from the Call so that the Contents property will be the empty list.

Parameters
reason
A generic hangup reason.
detailedHangupReason
A more specific reason for the call hangup, if one is available, or 
an empty string otherwise.
message
A human-readable message to be sent to the remote contact(s). XMPP 
Jingle allows calls to be terminated with a human-readable message.
QDBusObjectPath Tp::Service::ChannelTypeCallAdaptor::AddContent ( const QString &  contentName,
uint  contentType,
uint  initialDirection,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void addContent(const QString& contentName, uint contentType, uint initialDirection, const Tp::Service::ChannelTypeCallAdaptor::AddContentContextPtr &context);

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

Request that a new Content of type Content_Type is added to the Call1. Handlers should check the value of the MutableContents property before trying to add another content as it might not be allowed.

Parameters
contentName
The suggested name of the content to add. The content name property 
should be meaningful, so should be given a name which is 
significant to the user. The name could be a localized 
&quot;audio&quot;, &quot;video&quot; or perhaps include some string 
identifying the source, such as a webcam identifier. If there is 
already a content with the same name as this property then a 
sensible suffix should be added. For example, if this argument is 
&quot;audio&quot; but a content of the same name already exists, a 
sensible suffix such as &quot; (1)&quot; is appended to name the 
new content &quot;audio (1)&quot;. A further content with the name 
&quot;audio&quot; would then be named &quot;audio (2)&quot;.
contentType
The media stream type of the content to be added to the call.
initialDirection
The requested initial direction of the new content.
Returns
Path to the newly-created Call1.Content object.
void Tp::Service::ChannelTypeCallAdaptor::ContentAdded ( const QDBusObjectPath &  content)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contentAdded(const QDBusObjectPath& content);

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

Parameters
content
Path to the newly-created Content object.
void Tp::Service::ChannelTypeCallAdaptor::ContentRemoved ( const QDBusObjectPath &  content,
const Tp::CallStateReason reason 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void contentRemoved(const QDBusObjectPath& content, const Tp::CallStateReason& reason);

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

Parameters
content
The Content which was removed.
reason
Why the content was removed.
void Tp::Service::ChannelTypeCallAdaptor::CallStateChanged ( uint  callState,
uint  callFlags,
const Tp::CallStateReason callStateReason,
const QVariantMap &  callStateDetails 
)
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 callState, uint callFlags, const Tp::CallStateReason& callStateReason, const QVariantMap& callStateDetails);

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

Parameters
callState
The new value of the CallState property.
callFlags
The new value of the CallFlags property.
callStateReason
The new value of the CallStateReason property.
callStateDetails
The new value of the CallStateDetails property.
void Tp::Service::ChannelTypeCallAdaptor::CallMembersChanged ( const Tp::CallMemberMap flagsChanged,
const Tp::HandleIdentifierMap identifiers,
const Tp::UIntList removed,
const Tp::CallStateReason reason 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void callMembersChanged(const Tp::CallMemberMap& flagsChanged, const Tp::HandleIdentifierMap& identifiers, const Tp::UIntList& removed, const Tp::CallStateReason& reason);

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

Parameters
flagsChanged
A map from members of the call to their new call member flags, 
including at least the members who have been added to CallMembers, 
and the members whose flags have changed.
identifiers The identifiers of the contacts in the Flags_Changed map.
removed
A list of members who have left the call, i.e. keys to be removed 
from CallMembers.
reason
A structured reason for the change.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00797_source.html0000644000175000017500000002017312727270137022373 0ustar00kaffeinekaffeine00000000000000 room-list-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
room-list-channel.h
1 
23 #ifndef _TelepathyQt_room_list_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_room_list_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 
32 namespace Tp
33 {
34 
35 class TP_QT_EXPORT RoomListChannel : public Channel
36 {
37  Q_OBJECT
38  Q_DISABLE_COPY(RoomListChannel)
39 
40 public:
41  static RoomListChannelPtr create(const ConnectionPtr &connection,
42  const QString &objectPath, const QVariantMap &immutableProperties);
43 
44  virtual ~RoomListChannel();
45 
46 protected:
47  RoomListChannel(const ConnectionPtr &connection, const QString &objectPath,
48  const QVariantMap &immutableProperties,
49  const Feature &coreFeature = Channel::FeatureCore);
50 
51 private:
52  struct Private;
53  friend struct Private;
54  Private *mPriv;
55 };
56 
57 } // Tp
58 
59 #endif
The RoomListChannel class represents a Telepathy Channel of type RoomList.
Definition: room-list-channel.h:35
static const Feature FeatureCore
Definition: channel.h:58
Definition: abstract-adaptor.cpp:31
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The Channel class represents a Telepathy channel.
Definition: channel.h:51


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00523.html0000644000175000017500000004527212727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::WeakPtr< T > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::WeakPtr< T > Class Template Reference

The WeakPtr class holds a weak reference to an object managed by SharedPtr. More...

#include <TelepathyQt/WeakPtr>

Public Member Functions

 WeakPtr ()
 
 WeakPtr (T *d)
 
 WeakPtr (const WeakPtr< T > &o)
 
 WeakPtr (const SharedPtr< T > &o)
 
 ~WeakPtr ()
 
bool isNull () const
 
bool operator! () const
 
 operator UnspecifiedBoolType () const
 
WeakPtr< T > & operator= (const WeakPtr< T > &o)
 
WeakPtr< T > & operator= (const SharedPtr< T > &o)
 
void swap (WeakPtr< T > &o)
 
SharedPtr< T > toStrongRef () const
 

Friends

uint qHash (const WeakPtr< T > &ptr)
 

Detailed Description

template<class T>
class Tp::WeakPtr< T >

The WeakPtr class holds a weak reference to an object managed by SharedPtr.

Tp::WeakPtr is useful for example for breaking reference cycles which would result from using a Tp::SharedPtr for both ends of a pair of mutually linked objects to refer to each other.

See Shared Pointer Usage

Constructor & Destructor Documentation

template<class T>
Tp::WeakPtr< T >::WeakPtr ( )
inline
template<class T>
Tp::WeakPtr< T >::WeakPtr ( T *  d)
inlineexplicit
template<class T>
Tp::WeakPtr< T >::WeakPtr ( const WeakPtr< T > &  o)
inline
template<class T>
Tp::WeakPtr< T >::WeakPtr ( const SharedPtr< T > &  o)
inline
template<class T>
Tp::WeakPtr< T >::~WeakPtr ( )
inline

Member Function Documentation

template<class T>
bool Tp::WeakPtr< T >::isNull ( ) const
inline
template<class T>
bool Tp::WeakPtr< T >::operator! ( ) const
inline
template<class T>
Tp::WeakPtr< T >::operator UnspecifiedBoolType ( ) const
inline
template<class T>
WeakPtr<T>& Tp::WeakPtr< T >::operator= ( const WeakPtr< T > &  o)
inline
template<class T>
WeakPtr<T>& Tp::WeakPtr< T >::operator= ( const SharedPtr< T > &  o)
inline
template<class T>
void Tp::WeakPtr< T >::swap ( WeakPtr< T > &  o)
inline
template<class T>
SharedPtr<T> Tp::WeakPtr< T >::toStrongRef ( ) const
inline

Friends And Related Function Documentation

template<class T>
uint qHash ( const WeakPtr< T > &  ptr)
friend


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00278.html0000644000175000017500000013150112727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfacePresenceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply AddStatus (const QString &status, const QVariantMap &parameters, int timeout=-1)
 
QDBusPendingReply ClearStatus (int timeout=-1)
 
QDBusPendingReply< Tp::ContactPresencesGetPresence (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply< Tp::StatusSpecMapGetStatuses (int timeout=-1)
 
QDBusPendingReply RemoveStatus (const QString &status, int timeout=-1)
 
QDBusPendingReply RequestPresence (const Tp::UIntList &contacts, int timeout=-1)
 
QDBusPendingReply SetLastActivityTime (uint time, int timeout=-1)
 
QDBusPendingReply SetStatus (const Tp::MultipleStatusMap &statuses, int timeout=-1)
 

Signals

void PresenceUpdate (const Tp::ContactPresences &presence)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfacePresenceInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfacePresenceInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfacePresenceInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfacePresenceInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfacePresenceInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Presence".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfacePresenceInterface 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.
Tp::Client::ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfacePresenceInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfacePresenceInterface 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.
Tp::Client::ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfacePresenceInterface 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 Tp::Client::ConnectionInterfacePresenceInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Presence", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfacePresenceInterface::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 Tp::Client::ConnectionInterfacePresenceInterface::AddStatus ( const QString &  status,
const QVariantMap &  parameters,
int  timeout = -1 
)
inlineslot

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

Request that a single presence status is published for the user, along with any desired parameters. Changes will be indicated by PresenceUpdate signals being emitted.

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

Parameters
status
The string identifier of the desired status
parameters
A dictionary of optional parameter names mapped to their 
variant-boxed values
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfacePresenceInterface::ClearStatus ( int  timeout = -1)
inlineslot

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

Request that all of a user's presence statuses be removed. Be aware that this request may simply result in the statuses being replaced by a default available status. Changes will be indicated by PresenceUpdate signals being emitted.

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.
QDBusPendingReply<Tp::ContactPresences> Tp::Client::ConnectionInterfacePresenceInterface::GetPresence ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Get presence previously emitted by PresenceUpdate for the given contacts. Data is returned in the same structure as the PresenceUpdate signal. Using this method in favour of RequestPresence has the advantage that it will not wake up each client connected to the PresenceUpdate signal.

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

Parameters
contacts
An array of the contacts whose presence should be obtained
timeoutThe timeout in milliseconds.
Returns
Presence information in the same format as for the PresenceUpdate 
signal
QDBusPendingReply<Tp::StatusSpecMap> Tp::Client::ConnectionInterfacePresenceInterface::GetStatuses ( int  timeout = -1)
inlineslot

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

Get a dictionary of the valid presence statuses for this connection. This is only available when online because only some statuses will be available on some servers.

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.
Returns
A dictionary of string identifiers mapped to a struct for each 
status, containing: a type value from one of the values above a 
boolean to indicate if this status may be set on yourself a boolean 
to indicate if this is an exclusive status which you may not set 
alongside any other a dictionary of valid optional string argument 
names mapped to their types
QDBusPendingReply Tp::Client::ConnectionInterfacePresenceInterface::RemoveStatus ( const QString &  status,
int  timeout = -1 
)
inlineslot

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

Request that the given presence status is no longer published for the user. Changes will be indicated by PresenceUpdate signals being emitted. As with ClearStatus, removing a status may actually result in it being replaced by a default available status.

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

Parameters
status
The string identifier of the status not to publish anymore for the 
user
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfacePresenceInterface::RequestPresence ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Request the presence for contacts on this connection. A PresenceUpdate signal will be emitted when they are received. This is not the same as subscribing to the presence of a contact, which must be done using the 'subscription' ContactList, and on some protocols presence information may not be available unless a subscription exists.

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

Parameters
contacts
An array of the contacts whose presence should be obtained
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfacePresenceInterface::SetLastActivityTime ( uint  time,
int  timeout = -1 
)
inlineslot

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

Request that the recorded last activity time for the user be updated on the server.

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

Parameters
time
A UNIX timestamp of the user&apos;s last activity time (in UTC)
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ConnectionInterfacePresenceInterface::SetStatus ( const Tp::MultipleStatusMap statuses,
int  timeout = -1 
)
inlineslot

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

Request that the user's presence be changed to the given statuses and desired parameters. Changes will be reflected by PresenceUpdate() signals being emitted.

Statuses whose Connection_Presence_Type is Offline, Error or Unknown MUST NOT be passed to this function. Connection managers SHOULD reject these statuses.

On certain protocols, this method may be called on a newly-created connection which is still in the DISCONNECTED state, and will sign on with the requested status. If the requested status is not available after signing on, NotAvailable will be returned and the connection will remain offline, or if the protocol does not support signing on with a certain status, Disconnected will be returned.

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

Parameters
statuses
A dictionary mapping status identifiers to dictionaries, which map 
optional parameter names to their variant-boxed values
timeoutThe timeout in milliseconds.
void Tp::Client::ConnectionInterfacePresenceInterface::PresenceUpdate ( const Tp::ContactPresences presence)
signal

Represents the signal PresenceUpdate on the remote object.

This signal should be emitted when your own presence has been changed, or the presence of the member of any of the connection's channels has been changed, or when the presence requested by RequestPresence is available.

Parameters
presence
A dictionary of contact handles mapped to a struct containing a 
UNIX timestamp of the last activity time (in UTC), and a dictionary 
mapping the contact&apos;s current status identifiers to a 
dictionary of optional parameter names mapped to their 
variant-boxed values
void Tp::Client::ConnectionInterfacePresenceInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01239.html0000644000175000017500000002224512727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceAnonymityInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceAnonymityInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterfaceAnonymityInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceAnonymityInterface
ChannelInterfaceAnonymityInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceAnonymityInterface
ChannelInterfaceAnonymityInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceAnonymityInterface
ChannelInterfaceAnonymityInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceAnonymityInterfaceexplicit
ChannelInterfaceAnonymityInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceAnonymityInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceAnonymityInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceAnonymityInterfaceinline
requestPropertyAnonymityMandatory() const Tp::Client::ChannelInterfaceAnonymityInterfaceinline
requestPropertyAnonymityModes() const Tp::Client::ChannelInterfaceAnonymityInterfaceinline
requestPropertyAnonymousID() const Tp::Client::ChannelInterfaceAnonymityInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceAnonymityInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00022.html0000644000175000017500000001444312727270137020773 0ustar00kaffeinekaffeine00000000000000 roster/roster-item.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-item.cpp
#include "roster-item.h"
#include "_gen/roster-item.moc.hpp"
#include <TelepathyQt/Presence>
using namespace Tp;
RosterItem::RosterItem(const ContactPtr &contact, QListWidget *parent)
: QObject(parent),
QListWidgetItem(parent),
mContact(contact)
{
onContactChanged();
connect(contact.data(),
SIGNAL(aliasChanged(QString)),
SLOT(onContactChanged()));
connect(contact.data(),
SIGNAL(presenceChanged(Tp::Presence)),
SLOT(onContactChanged()));
connect(contact.data(),
SIGNAL(subscriptionStateChanged(Tp::Contact::PresenceState)),
SLOT(onContactChanged()));
connect(contact.data(),
SIGNAL(publishStateChanged(Tp::Contact::PresenceState,QString)),
SLOT(onContactChanged()));
connect(contact.data(),
SIGNAL(blockStatusChanged(bool)),
SLOT(onContactChanged()));
}
RosterItem::~RosterItem()
{
}
void RosterItem::onContactChanged()
{
QString status = mContact->presence().status();
// I've asked to see the contact presence
if (mContact->subscriptionState() == Contact::PresenceStateAsk) {
setText(QString(QLatin1String("%1 (%2) (awaiting approval)")).arg(mContact->id()).arg(status));
// The contact asked to see my presence
} else if (mContact->publishState() == Contact::PresenceStateAsk) {
setText(QString(QLatin1String("%1 (%2) (pending approval)")).arg(mContact->id()).arg(status));
} else if (mContact->subscriptionState() == Contact::PresenceStateNo &&
mContact->publishState() == Contact::PresenceStateNo) {
setText(QString(QLatin1String("%1 (unknown)")).arg(mContact->id()));
} else {
setText(QString(QLatin1String("%1 (%2)")).arg(mContact->id()).arg(status));
}
if (mContact->isBlocked()) {
setText(QString(QLatin1String("%1 (blocked)")).arg(text()));
}
emit changed();
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00793_source.html0000644000175000017500000015151512727270137022374 0ustar00kaffeinekaffeine00000000000000 referenced-handles.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
referenced-handles.h
1 
23 #ifndef _TelepathyQt_referenced_handles_h_HEADER_GUARD_
24 #define _TelepathyQt_referenced_handles_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/Types>
32 
33 #ifndef QT_NO_STL
34 # include <list>
35 #endif
36 
37 #include <QList>
38 #include <QSet>
39 #include <QSharedDataPointer>
40 #include <QVector>
41 
42 namespace Tp
43 {
44 
45 class Connection;
46 
47 class TP_QT_EXPORT ReferencedHandles
48 {
49 public:
50  typedef UIntList::const_iterator const_iterator;
51  typedef UIntList::ConstIterator ConstIterator;
52  typedef UIntList::const_pointer const_pointer;
53  typedef UIntList::const_reference const_reference;
54  typedef UIntList::difference_type difference_type;
55  typedef UIntList::pointer pointer;
56  typedef UIntList::reference reference;
57  typedef UIntList::size_type size_type;
58  typedef UIntList::value_type value_type;
59 
63 
64  ConnectionPtr connection() const;
65  HandleType handleType() const;
66 
67  uint at(int i) const;
68 
69  inline uint back() const
70  {
71  return last();
72  }
73 
74  inline uint first() const
75  {
76  return at(0);
77  }
78 
79  inline uint front() const
80  {
81  return first();
82  }
83 
84  inline uint last() const
85  {
86  return at(size() - 1);
87  }
88 
89  uint value(int i, uint defaultValue = 0) const;
90 
91  const_iterator begin() const;
92 
93  inline const_iterator constBegin() const
94  {
95  return begin();
96  }
97 
98  inline const_iterator constEnd() const
99  {
100  return end();
101  }
102 
103  const_iterator end() const;
104 
105  bool contains(uint handle) const;
106 
107  int count(uint handle) const;
108 
109  inline int count() const
110  {
111  return size();
112  }
113 
114  inline bool empty() const
115  {
116  return isEmpty();
117  }
118 
119  inline bool endsWith(uint handle) const
120  {
121  return !isEmpty() && last() == handle;
122  }
123 
124  int indexOf(uint handle, int from = 0) const;
125 
126  bool isEmpty() const;
127 
128  int lastIndexOf(uint handle, int from = -1) const;
129 
130  inline int length() const
131  {
132  return count();
133  }
134 
135  ReferencedHandles mid(int pos, int length = -1) const;
136 
137  int size() const;
138 
139  inline bool startsWith(uint handle) const
140  {
141  return !isEmpty() && first() == handle;
142  }
143 
144  inline void append(const ReferencedHandles& another)
145  {
146  *this = *this + another;
147  }
148 
149  void clear();
150  void move(int from, int to);
151 
152  inline void pop_back()
153  {
154  return removeLast();
155  }
156 
157  inline void pop_front()
158  {
159  return removeFirst();
160  }
161 
162  int removeAll(uint handle);
163 
164  void removeAt(int i);
165 
166  inline void removeFirst()
167  {
168  return removeAt(0);
169  }
170 
171  inline void removeLast()
172  {
173  return removeAt(size() - 1);
174  }
175 
176  bool removeOne(uint handle);
177 
178  void swap(int i, int j);
179 
180  uint takeAt(int i);
181 
182  inline uint takeFirst()
183  {
184  return takeAt(0);
185  }
186 
187  inline uint takeLast()
188  {
189  return takeAt(size() - 1);
190  }
191 
192  bool operator!=(const ReferencedHandles& another) const
193  {
194  return !(*this == another);
195  }
196 
197  bool operator!=(const UIntList& another) const
198  {
199  return !(*this == another);
200  }
201 
202  ReferencedHandles operator+(const ReferencedHandles& another) const;
203 
205  {
206  return *this = (*this + another);
207  }
208 
210  {
211  return *this += another;
212  }
213 
214  ReferencedHandles& operator=(const ReferencedHandles& another);
215 
216  bool operator==(const ReferencedHandles& another) const;
217  bool operator==(const UIntList& list) const;
218 
219  inline uint operator[](int i) const
220  {
221  return at(i);
222  }
223 
224  UIntList toList() const;
225 
226  inline QSet<uint> toSet() const
227  {
228  return toList().toSet();
229  }
230 
231 #ifndef QT_NO_STL
232  inline std::list<uint> toStdList() const
233  {
234  return toList().toStdList();
235  }
236 #endif
237 
238  inline QVector<uint> toVector() const
239  {
240  return toList().toVector();
241  }
242 
243 private:
244  // For access to the "prime" constructor
245  friend class ContactManager;
247  friend class PendingContacts;
248  friend class PendingHandles;
249 
250  TP_QT_NO_EXPORT ReferencedHandles(const ConnectionPtr &connection,
251  HandleType handleType, const UIntList& handles);
252 
253  struct Private;
254  friend struct Private;
255  QSharedDataPointer<Private> mPriv;
256 };
257 
258 typedef QListIterator<uint> ReferencedHandlesIterator;
259 
260 } // Tp
261 
262 Q_DECLARE_METATYPE(Tp::ReferencedHandles);
263 
264 #endif
uint operator[](int i) const
Definition: referenced-handles.h:219
bool operator!=(const ReferencedHandles &another) const
Definition: referenced-handles.h:192
int length() const
Definition: referenced-handles.h:130
ReferencedHandles & operator<<(const ReferencedHandles &another)
Definition: referenced-handles.h:209
uint takeLast()
Definition: referenced-handles.h:187
const_iterator constEnd() const
Definition: referenced-handles.h:98
bool operator!=(const UIntList &another) const
Definition: referenced-handles.h:197
UIntList::value_type value_type
Definition: referenced-handles.h:58
The PendingContactAttributes class represents the parameters of and the reply to an asynchronous requ...
Definition: pending-contact-attributes.h:40
The ContactManager class is responsible for managing contacts.
Definition: contact-manager.h:50
UIntList::const_pointer const_pointer
Definition: referenced-handles.h:52
bool startsWith(uint handle) const
Definition: referenced-handles.h:139
The PendingHandles class represents the parameters of and the reply to an asynchronous handle request...
Definition: pending-handles.h:46
UIntList::const_iterator const_iterator
Definition: referenced-handles.h:50
QVector< uint > toVector() const
Definition: referenced-handles.h:238
UIntList::const_reference const_reference
Definition: referenced-handles.h:53
std::list< uint > toStdList() const
Definition: referenced-handles.h:232
bool empty() const
Definition: referenced-handles.h:114
uint first() const
Definition: referenced-handles.h:74
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
UIntList::difference_type difference_type
Definition: referenced-handles.h:54
uint front() const
Definition: referenced-handles.h:79
bool endsWith(uint handle) const
Definition: referenced-handles.h:119
uint takeFirst()
Definition: referenced-handles.h:182
int count() const
Definition: referenced-handles.h:109
UIntList::pointer pointer
Definition: referenced-handles.h:55
uint last() const
Definition: referenced-handles.h:84
The PendingContacts class is used by ContactManager when creating/updating Contact objects...
Definition: pending-contacts.h:46
void append(const ReferencedHandles &another)
Definition: referenced-handles.h:144
UIntList::reference reference
Definition: referenced-handles.h:56
UIntList::size_type size_type
Definition: referenced-handles.h:57
QSet< uint > toSet() const
Definition: referenced-handles.h:226
Definition: build/TelepathyQt/_gen/types.h:107
QListIterator< uint > ReferencedHandlesIterator
Definition: referenced-handles.h:258
void pop_front()
Definition: referenced-handles.h:157
Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...
Definition: referenced-handles.h:47
void removeLast()
Definition: referenced-handles.h:171
void pop_back()
Definition: referenced-handles.h:152
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
Definition: abstract-adaptor.cpp:31
ReferencedHandles & operator+=(const ReferencedHandles &another)
Definition: referenced-handles.h:204
UIntList::ConstIterator ConstIterator
Definition: referenced-handles.h:51
void removeFirst()
Definition: referenced-handles.h:166
const_iterator constBegin() const
Definition: referenced-handles.h:93
uint back() const
Definition: referenced-handles.h:69


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_q.html0000644000175000017500000000414712727270137022517 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- q -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00337.html0000644000175000017500000003306612727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller2< Functor, R, Arg1, Arg2 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller2< Functor, R, Arg1, Arg2 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller2< Functor, R, Arg1, Arg2 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller2 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller2< Functor, R, Arg1, Arg2 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller2< Functor, R, Arg1, Arg2 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 >
typedef R Tp::FunctorCaller2< Functor, R, Arg1, Arg2 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 >
typedef R(* Tp::FunctorCaller2< Functor, R, Arg1, Arg2 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 >
Tp::FunctorCaller2< Functor, R, Arg1, Arg2 >::FunctorCaller2 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 >
static ResultType Tp::FunctorCaller2< Functor, R, Arg1, Arg2 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_d.html0000644000175000017500000002707612727270137023523 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- d -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00091.html0000644000175000017500000010321412727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionAliasingInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.Aliasing. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback1< Tp::ConnectionAliasFlags, DBusError * > GetAliasFlagsCallback
 
typedef Callback2< QStringList, const Tp::UIntList &, DBusError * > RequestAliasesCallback
 
typedef Callback2< Tp::AliasMap, const Tp::UIntList &, DBusError * > GetAliasesCallback
 
typedef Callback2< void, const Tp::AliasMap &, DBusError * > SetAliasesCallback
 

Public Member Functions

virtual ~BaseConnectionAliasingInterface ()
 
QVariantMap immutableProperties () const
 
void setGetAliasFlagsCallback (const GetAliasFlagsCallback &cb)
 
Tp::ConnectionAliasFlags getAliasFlags (DBusError *error)
 
void setRequestAliasesCallback (const RequestAliasesCallback &cb)
 
QStringList requestAliases (const Tp::UIntList &contacts, DBusError *error)
 
void setGetAliasesCallback (const GetAliasesCallback &cb)
 
Tp::AliasMap getAliases (const Tp::UIntList &contacts, DBusError *error)
 
void setSetAliasesCallback (const SetAliasesCallback &cb)
 
void setAliases (const Tp::AliasMap &aliases, DBusError *error)
 
void aliasesChanged (const Tp::AliasPairList &aliases)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionAliasingInterfacePtr create ()
 
template<typename BaseConnectionAliasingInterfaceSubclass >
static SharedPtr< BaseConnectionAliasingInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionAliasingInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Aliasing.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionAliasingInterface::~BaseConnectionAliasingInterface ( )
virtual

Class destructor.

Tp::BaseConnectionAliasingInterface::BaseConnectionAliasingInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionAliasingInterfacePtr Tp::BaseConnectionAliasingInterface::create ( )
inlinestatic
template<typename BaseConnectionAliasingInterfaceSubclass >
static SharedPtr<BaseConnectionAliasingInterfaceSubclass> Tp::BaseConnectionAliasingInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionAliasingInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseConnectionAliasingInterface::setGetAliasFlagsCallback ( const GetAliasFlagsCallback cb)
Tp::ConnectionAliasFlags Tp::BaseConnectionAliasingInterface::getAliasFlags ( DBusError error)
void Tp::BaseConnectionAliasingInterface::setRequestAliasesCallback ( const RequestAliasesCallback cb)
QStringList Tp::BaseConnectionAliasingInterface::requestAliases ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionAliasingInterface::setGetAliasesCallback ( const GetAliasesCallback cb)
Tp::AliasMap Tp::BaseConnectionAliasingInterface::getAliases ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionAliasingInterface::setSetAliasesCallback ( const SetAliasesCallback cb)
void Tp::BaseConnectionAliasingInterface::setAliases ( const Tp::AliasMap aliases,
DBusError error 
)
void Tp::BaseConnectionAliasingInterface::aliasesChanged ( const Tp::AliasPairList aliases)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01052.html0000644000175000017500000001362412727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01367.html0000644000175000017500000001202112727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceRequestsAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceRequestsAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
ChannelClosed(const QDBusObjectPath &removed)Tp::Service::ConnectionInterfaceRequestsAdaptorsignal
Channels() const Tp::Service::ConnectionInterfaceRequestsAdaptor
CreateChannel(const QVariantMap &request, const QDBusMessage &dbusMessage, QVariantMap &properties)Tp::Service::ConnectionInterfaceRequestsAdaptorslot
dbusConnection() const Tp::AbstractAdaptor
EnsureChannel(const QVariantMap &request, const QDBusMessage &dbusMessage, QDBusObjectPath &channel, QVariantMap &properties)Tp::Service::ConnectionInterfaceRequestsAdaptorslot
NewChannels(const Tp::ChannelDetailsList &channels)Tp::Service::ConnectionInterfaceRequestsAdaptorsignal
RequestableChannelClasses() const Tp::Service::ConnectionInterfaceRequestsAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00150.html0000644000175000017500000001370612727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelCallStateMap Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ChannelCallStateMap Struct Reference

#include <TelepathyQt/Types>

Inherits QMap< uint, uint >.

Public Member Functions

 ChannelCallStateMap ()
 
 ChannelCallStateMap (const QMap< uint, uint > &a)
 
ChannelCallStateMapoperator= (const QMap< uint, uint > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<uint, uint>, but needed to have a discrete type in the Qt type system.

A map from contacts to call states.

Constructor & Destructor Documentation

Tp::ChannelCallStateMap::ChannelCallStateMap ( )
inline
Tp::ChannelCallStateMap::ChannelCallStateMap ( const QMap< uint, uint > &  a)
inline

Member Function Documentation

ChannelCallStateMap& Tp::ChannelCallStateMap::operator= ( const QMap< uint, uint > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01111.html0000644000175000017500000001636412727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingChannel Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00966.html0000644000175000017500000011434612727270137021017 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CallChannel Member List

This is the complete list of members for Tp::CallChannel, including all inherited members.

accept()Tp::CallChannel
actualFeatures() const Tp::ReadyObjectvirtual
baseInterface() const Tp::Channelprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Channel >
CallChannel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=CallChannel::FeatureCore)Tp::CallChannelprotected
callFlags() const Tp::CallChannel
callFlagsChanged(Tp::CallFlags flags)Tp::CallChannelsignal
callState() const Tp::CallChannel
callStateChanged(Tp::CallState state)Tp::CallChannelsignal
callStateDetails() const Tp::CallChannel
callStateReason() const Tp::CallChannel
Channel(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)Tp::Channelprotected
channelType() const Tp::Channel
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Channel >
conferenceChannelMerged(const Tp::ChannelPtr &channel)Tp::Channelsignal
conferenceChannelRemoved(const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
conferenceChannels() const Tp::Channel
conferenceInitialChannels() const Tp::Channel
conferenceInitialInviteeContacts() const Tp::Channel
conferenceMergeChannel(const ChannelPtr &channel)Tp::Channel
conferenceOriginalChannels() const Tp::Channel
conferenceSplitChannel()Tp::Channel
connection() const Tp::Channel
contentAdded(const Tp::CallContentPtr &content)Tp::CallChannelsignal
contentByName(const QString &contentName) const Tp::CallChannel
contentRemoved(const Tp::CallContentPtr &content, const Tp::CallStateReason &reason)Tp::CallChannelsignal
contents() const Tp::CallChannel
contentsForType(MediaStreamType type) const Tp::CallChannel
create(const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)Tp::CallChannelstatic
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
FeatureCallMembersTp::CallChannelstatic
FeatureCallStateTp::CallChannelstatic
FeatureConferenceInitialInviteeContactsTp::Channelstatic
FeatureContentsTp::CallChannelstatic
FeatureCoreTp::CallChannelstatic
FeatureLocalHoldStateTp::CallChannelstatic
groupAddContacts(const QList< ContactPtr > &contacts, const QString &message=QString())Tp::Channel
groupAddSelfHandle()Tp::Channelprotectedslot
groupAreHandleOwnersAvailable() const Tp::Channel
groupCanAcceptContactsWithMessage() const Tp::Channel
groupCanAddContacts() const Tp::Channel
groupCanAddContactsChanged(bool canAddContacts)Tp::Channelsignal
groupCanAddContactsWithMessage() const Tp::Channel
groupCanDepartWithMessage() const Tp::Channel
groupCanRejectContactsWithMessage() const Tp::Channel
groupCanRemoveContacts() const Tp::Channel
groupCanRemoveContactsChanged(bool canRemoveContacts)Tp::Channelsignal
groupCanRemoveContactsWithMessage() const Tp::Channel
groupCanRescindContacts() const Tp::Channel
groupCanRescindContactsChanged(bool canRescindContacts)Tp::Channelsignal
groupCanRescindContactsWithMessage() const Tp::Channel
groupContacts(bool includeSelfContact=true) const Tp::Channel
groupFlags() const Tp::Channel
groupFlagsChanged(Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)Tp::Channelsignal
groupHandleOwners() const Tp::Channel
groupHandleOwnersChanged(const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)Tp::Channelsignal
groupIsSelfContactTracked() const Tp::Channel
groupLocalPendingContactChangeInfo(const ContactPtr &contact) const Tp::Channel
groupLocalPendingContacts(bool includeSelfContact=true) const Tp::Channel
groupMembersChanged(const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)Tp::Channelsignal
groupRemotePendingContacts(bool includeSelfContact=true) const Tp::Channel
groupRemoveContacts(const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
groupSelfContact() const Tp::Channel
groupSelfContactChanged()Tp::Channelsignal
groupSelfContactRemoveInfo() const Tp::Channel
groupSelfHandleIsLocalPending() const Tp::Channelprotected
handlerStreamingRequired() const Tp::CallChannel
hangup(CallStateChangeReason reason=CallStateChangeReasonUserRequested, const QString &detailedReason=QString(), const QString &message=QString())Tp::CallChannel
hasInitialAudio() const Tp::CallChannel
hasInitialVideo() const Tp::CallChannel
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Channel >inline
hasMutableContents() const Tp::CallChannel
immutableProperties() const Tp::Channel
initialAudioName() const Tp::CallChannel
initialTransportType() const Tp::CallChannel
initialVideoName() const Tp::CallChannel
initiatorContact() const Tp::Channel
interface() constTp::OptionalInterfaceFactory< Channel >inline
interfaces() constTp::OptionalInterfaceFactory< Channel >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Channel >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isConference() const Tp::Channel
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isRequested() const Tp::Channel
isValid() const Tp::DBusProxy
localHoldState() const Tp::CallChannel
localHoldStateChanged(Tp::LocalHoldState state, Tp::LocalHoldStateReason reason)Tp::CallChannelsignal
localHoldStateReason() const Tp::CallChannel
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Channel >inline
OptionalInterfaceFactory(Channel *this_)Tp::OptionalInterfaceFactory< Channel >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
remoteMemberFlags(const ContactPtr &member) const Tp::CallChannel
remoteMemberFlagsChanged(const QHash< Tp::ContactPtr, Tp::CallMemberFlags > &remoteMemberFlags, const Tp::CallStateReason &reason)Tp::CallChannelsignal
remoteMembers() const Tp::CallChannel
remoteMembersRemoved(const Tp::Contacts &remoteMembers, const Tp::CallStateReason &reason)Tp::CallChannelsignal
requestClose()Tp::Channel
requestContent(const QString &name, MediaStreamType type, MediaStreamDirection direction)Tp::CallChannel
requestedFeatures() const Tp::ReadyObjectvirtual
requestHold(bool hold)Tp::CallChannel
requestLeave(const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)Tp::Channel
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Channel >inlineprotected
setQueued()Tp::CallChannel
setRinging()Tp::CallChannel
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
supportsConferenceMerging() const Tp::Channel
supportsConferenceSplitting() const Tp::Channel
targetContact() const Tp::Channel
targetHandle() const Tp::Channel
targetHandleType() const Tp::Channel
targetId() const Tp::Channel
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~CallChannel()Tp::CallChannelvirtual
~Channel()Tp::Channelvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Channel >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00465.html0000644000175000017500000006643312727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::ReadinessHelper Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ReadinessHelper class is a helper class used by the introspection process. More...

#include <TelepathyQt/ReadinessHelper>

Inherits QObject.

Classes

class  Introspectable
 The ReadinessHelper::Introspectable class represents a introspectable used by ReadinessHelper. More...
 

Public Types

typedef void(* IntrospectFunc) (void *data)
 
typedef QMap< Feature, IntrospectableIntrospectables
 

Signals

void statusReady (uint status)
 

Public Member Functions

 ReadinessHelper (RefCounted *object, uint currentStatus=0, const Introspectables &introspectables=Introspectables(), QObject *parent=0)
 
 ReadinessHelper (DBusProxy *proxy, uint currentStatus=0, const Introspectables &introspectables=Introspectables(), QObject *parent=0)
 
 ~ReadinessHelper ()
 
void addIntrospectables (const Introspectables &introspectables)
 
uint currentStatus () const
 
void setCurrentStatus (uint currentStatus)
 
void forceCurrentStatus (uint currentStatus)
 
QStringList interfaces () const
 
void setInterfaces (const QStringList &interfaces)
 
Features requestedFeatures () const
 
Features actualFeatures () const
 
Features missingFeatures () const
 
bool isReady (const Feature &feature, QString *errorName=0, QString *errorMessage=0) const
 
bool isReady (const Features &features, QString *errorName=0, QString *errorMessage=0) const
 
PendingReadybecomeReady (const Features &requestedFeatures)
 
void setIntrospectCompleted (const Feature &feature, bool success, const QString &errorName=QString(), const QString &errorMessage=QString())
 
void setIntrospectCompleted (const Feature &feature, bool success, const QDBusError &error)
 

Detailed Description

The ReadinessHelper class is a helper class used by the introspection process.

Member Typedef Documentation

typedef void(* Tp::ReadinessHelper::IntrospectFunc) (void *data)

Constructor & Destructor Documentation

Tp::ReadinessHelper::ReadinessHelper ( RefCounted object,
uint  currentStatus = 0,
const Introspectables introspectables = Introspectables(),
QObject *  parent = 0 
)
Tp::ReadinessHelper::ReadinessHelper ( DBusProxy proxy,
uint  currentStatus = 0,
const Introspectables introspectables = Introspectables(),
QObject *  parent = 0 
)
Tp::ReadinessHelper::~ReadinessHelper ( )

Member Function Documentation

void Tp::ReadinessHelper::addIntrospectables ( const Introspectables introspectables)
uint Tp::ReadinessHelper::currentStatus ( ) const
void Tp::ReadinessHelper::setCurrentStatus ( uint  currentStatus)
void Tp::ReadinessHelper::forceCurrentStatus ( uint  currentStatus)

Force the current internal status to currentStatus.

Note that this method will not start a new introspection or restart the current one in case one is running.

This is useful for example when the status is unknown initially but it will become known in the first introspection run and there is no need to re-run the introspection.

Parameters
currentStatusThe status to set.
QStringList Tp::ReadinessHelper::interfaces ( ) const
void Tp::ReadinessHelper::setInterfaces ( const QStringList &  interfaces)
Features Tp::ReadinessHelper::requestedFeatures ( ) const
Features Tp::ReadinessHelper::actualFeatures ( ) const
Features Tp::ReadinessHelper::missingFeatures ( ) const
bool Tp::ReadinessHelper::isReady ( const Feature feature,
QString *  errorName = 0,
QString *  errorMessage = 0 
) const
bool Tp::ReadinessHelper::isReady ( const Features features,
QString *  errorName = 0,
QString *  errorMessage = 0 
) const
PendingReady * Tp::ReadinessHelper::becomeReady ( const Features requestedFeatures)
void Tp::ReadinessHelper::setIntrospectCompleted ( const Feature feature,
bool  success,
const QString &  errorName = QString(),
const QString &  errorMessage = QString() 
)
void Tp::ReadinessHelper::setIntrospectCompleted ( const Feature feature,
bool  success,
const QDBusError &  error 
)
void Tp::ReadinessHelper::statusReady ( uint  status)
signal


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01180.html0000644000175000017500000000514612727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimplePresence Member List

This is the complete list of members for Tp::SimplePresence, including all inherited members.

statusTp::SimplePresence
statusMessageTp::SimplePresence
typeTp::SimplePresence


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00279.html0000644000175000017500000005534212727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceRequestsAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

QDBusObjectPath CreateChannel (const QVariantMap &request, const QDBusMessage &dbusMessage, QVariantMap &properties)
 
bool EnsureChannel (const QVariantMap &request, const QDBusMessage &dbusMessage, QDBusObjectPath &channel, QVariantMap &properties)
 

Signals

void NewChannels (const Tp::ChannelDetailsList &channels)
 
void ChannelClosed (const QDBusObjectPath &removed)
 

Public Member Functions

Tp::ChannelDetailsList Channels () const
 
Tp::RequestableChannelClassList RequestableChannelClasses () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::ChannelDetailsList Tp::Service::ConnectionInterfaceRequestsAdaptor::Channels ( ) const

Return the value of the exported D-Bus object property Channels of type Tp::ChannelDetailsList.

Adaptees should export this property as a Qt property named 'channels' with type Tp::ChannelDetailsList.

A list of all the channels which currently exist on this connection. Change notification is via the NewChannels and ChannelClosed signals.

Returns
The value of exported property Channels.
Tp::RequestableChannelClassList Tp::Service::ConnectionInterfaceRequestsAdaptor::RequestableChannelClasses ( ) const

Return the value of the exported D-Bus object property RequestableChannelClasses of type Tp::RequestableChannelClassList.

Adaptees should export this property as a Qt property named 'requestableChannelClasses' with type Tp::RequestableChannelClassList.

The classes of channel that are expected to be available on this connection, i.e. those for which CreateChannel() can reasonably be expected to succeed. User interfaces can use this information to show or hide UI components.

This property cannot change after the connection has gone to state Connection_Status_Connected, so there is no change notification (if the connection has context-dependent capabilities, it SHOULD advertise support for all classes of channel that it might support during its lifetime). Before this state has been reached, the value of this property is undefined.

This is not on an optional interface, because connection managers can always offer some sort of clue about the channel classes they expect to support (at worst, they can announce support for everything for which they have code).

Returns
The value of exported property RequestableChannelClasses.
QDBusObjectPath Tp::Service::ConnectionInterfaceRequestsAdaptor::CreateChannel ( const QVariantMap &  request,
const QDBusMessage &  dbusMessage,
QVariantMap &  properties 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void createChannel(const QVariantMap& request, const Tp::Service::ConnectionInterfaceRequestsAdaptor::CreateChannelContextPtr &context);

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

Request that an entirely new channel is created.

There is deliberately no flag corresponding to the suppress_handler argument to ConnectionInterface::RequestChannel() , because passing a FALSE value for that argument is deprecated. Requests made using this interface always behave as though suppress_handler was TRUE.

Parameters
request

A dictionary containing desirable properties, which MUST include \\\ \\link ChannelInterface::requestPropertyChannelType() ChannelInterface::ChannelType \\endlink \\htmlonly . Some properties are defined such that only an exact match makes sense, and connection managers MUST NOT satisfy a request with a channel where that property does not match; some properties are defined such that the connection manager MAY treat the request as merely a hint, and make a best-effort attempt to satisfy it. This is documented separately for each property.

If this dictionary contains a property whose semantics are not known to the connection manager, this method MUST fail without side-effects (in particular it must not create a new channel).

This is necessary if we want to be able to invent properties in future that, when used in a request, are hard requirements rather than just hints. A connection manager that did not know the semantics of those properties could incorrectly return a new channel that did not satisfy the requirements.

The connection manager MUST NOT respond successfully, and SHOULD NOT create a new channel or cause any other side-effects, unless it can create a new channel that satisfies the client's requirements.

Properties that will be set by this argument need not have write access after the channel has been created - indeed, it is expected that most will be read-only.

Parameters
propertiesOutput parameter

Properties of the channel that was produced, equivalent to the properties in Channel_Details. Connection managers MUST NOT include properties here whose values can change, for the same reasons as in Channel_Details.

Returns

The Channel object, which MUST NOT be signalled with \\\ NewChannels() \\htmlonly until after this method returns.

This allows the requester to alter its handling of NewChannels by knowing whether one of the channels satisfied a request it made.
bool Tp::Service::ConnectionInterfaceRequestsAdaptor::EnsureChannel ( const QVariantMap &  request,
const QDBusMessage &  dbusMessage,
QDBusObjectPath &  channel,
QVariantMap &  properties 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void ensureChannel(const QVariantMap& request, const Tp::Service::ConnectionInterfaceRequestsAdaptor::EnsureChannelContextPtr &context);

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

Request that channels are ensured to exist.

The connection manager is in the best position to determine which existing channels could satisfy which requests.

Parameters
request

A dictionary containing desirable properties, with the same semantics as the corresponding parameter to \\\ CreateChannel() \\htmlonly .

channelOutput parameter
The Channel object. If it was created as a result of this method 
call, it MUST NOT be signalled by NewChannels until after this 
method returns. This allows the requester to alter its handling of 
NewChannels by knowing whether one of the channels satisfied a 
request it made.
propertiesOutput parameter

Properties of the channel that was produced, equivalent to the properties in Channel_Details. Connection managers MUST NOT include properties here whose values can change, for the same reasons as in Channel_Details.

Returns

If false, the caller of EnsureChannel MUST assume that some other process is handling this channel; if true, the caller of EnsureChannel SHOULD handle it themselves or delegate it to another client.

If the creation of a channel makes several calls to EnsureChannel (and no other requests) successful, exactly one of those calls MUST return a true value for this argument.

If the creation of a channel makes other requests successful, the value returned for this argument MUST be such that exactly one of the clients making requests ends up responsible for the channel. In particular, if \\\ CreateChannel() \\htmlonly returns a channel C, any EnsureChannel calls that also return C MUST return a false value for this argument.

void Tp::Service::ConnectionInterfaceRequestsAdaptor::NewChannels ( const Tp::ChannelDetailsList channels)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void newChannels(const Tp::ChannelDetailsList& channels);

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

Parameters
channels
The channels and their details. All channels that are signalled 
together like this MUST have the same Bundle property, which may 
either refer to an existing bundle, or establish a new bundle.
void Tp::Service::ConnectionInterfaceRequestsAdaptor::ChannelClosed ( const QDBusObjectPath &  removed)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void channelClosed(const QDBusObjectPath& removed);

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

Parameters
removed
The channel which has been removed from the Channels property


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00779_source.html0000644000175000017500000002675012727270137022402 0ustar00kaffeinekaffeine00000000000000 profile-manager.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
profile-manager.h
1 
23 #ifndef _TelepathyQt_profile_manager_h_HEADER_GUARD_
24 #define _TelepathyQt_profile_manager_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Object>
31 #include <TelepathyQt/Profile>
32 #include <TelepathyQt/ReadyObject>
33 #include <TelepathyQt/Types>
34 
35 #include <QDBusConnection>
36 #include <QObject>
37 
38 namespace Tp
39 {
40 
41 class PendingOperation;
42 
43 class TP_QT_EXPORT ProfileManager : public Object, public ReadyObject
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(ProfileManager);
47 
48 public:
49  static const Feature FeatureCore;
51 
52  static ProfileManagerPtr create(const QDBusConnection &bus = QDBusConnection::sessionBus());
53 
54  ~ProfileManager();
55 
56  QList<ProfilePtr> profiles() const;
57  QList<ProfilePtr> profilesForCM(const QString &cmName) const;
58  QList<ProfilePtr> profilesForProtocol(const QString &protocolName) const;
59  ProfilePtr profileForService(const QString &serviceName) const;
60 
61 private Q_SLOTS:
62  TP_QT_NO_EXPORT void onCmNamesRetrieved(Tp::PendingOperation *op);
63  TP_QT_NO_EXPORT void onCMsReady(Tp::PendingOperation *op);
64 
65 private:
66  ProfileManager(const QDBusConnection &bus);
67 
68  struct Private;
69  friend struct Private;
70  Private *mPriv;
71 };
72 
73 } // Tp
74 
75 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The ProfileManager class provides helper methods to retrieve Profile objects.
Definition: profile-manager.h:43
static const Feature FeatureFakeProfiles
Definition: profile-manager.h:50
Definition: ready-object.h:42
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
static const Feature FeatureCore
Definition: profile-manager.h:49


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00023.html0000644000175000017500000000707012727270137020772 0ustar00kaffeinekaffeine00000000000000 roster/roster-item.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-item.h
#ifndef _TelepathyQt_examples_roster_roster_item_h_HEADER_GUARD_
#define _TelepathyQt_examples_roster_roster_item_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include <TelepathyQt/Contact>
#include <QListWidgetItem>
#include <QString>
class RosterItem : public QObject, public QListWidgetItem
{
Q_OBJECT
public:
RosterItem(const Tp::ContactPtr &contact,
QListWidget *parent = 0);
~RosterItem();
Tp::ContactPtr contact() const { return mContact; }
Q_SIGNALS:
void changed();
private Q_SLOTS:
void onContactChanged();
private:
Tp::ContactPtr mContact;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_r.html0000644000175000017500000027373212727270137022530 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- r -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00775_source.html0000644000175000017500000001735212727270137022374 0ustar00kaffeinekaffeine00000000000000 pending-variant.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-variant.h
1 
23 #ifndef _TelepathyQt_pending_variant_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_variant_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/PendingOperation>
32 
33 #include <QVariant>
34 
35 namespace Tp
36 {
37 
38 class TP_QT_EXPORT PendingVariant : public PendingOperation
39 {
40  Q_OBJECT
41  Q_DISABLE_COPY(PendingVariant);
42 
43 public:
44  PendingVariant(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
45  ~PendingVariant();
46 
47  QVariant result() const;
48 
49 private Q_SLOTS:
50  TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
51 
52 private:
53  struct Private;
54  friend struct Private;
55  Private *mPriv;
56 };
57 
58 } // Tp
59 
60 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: abstract-adaptor.cpp:31
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00338.html0000644000175000017500000003355412727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller3 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 >
typedef R Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 >
typedef R(* Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 >
Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >::FunctorCaller3 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 >
static ResultType Tp::FunctorCaller3< Functor, R, Arg1, Arg2, Arg3 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2,
Arg3  a3 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_e.html0000644000175000017500000002035612727270137023516 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- e -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00092.html0000644000175000017500000011162512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionAvatarsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.Avatars. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< Tp::AvatarTokenMap, const Tp::UIntList &, DBusError * > GetKnownAvatarTokensCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > RequestAvatarsCallback
 
typedef Callback3< QString, const QByteArray &, const QString &, DBusError * > SetAvatarCallback
 
typedef Callback1< void, DBusError * > ClearAvatarCallback
 

Public Member Functions

virtual ~BaseConnectionAvatarsInterface ()
 
QVariantMap immutableProperties () const
 
AvatarSpec avatarDetails () const
 
void setAvatarDetails (const AvatarSpec &spec)
 
void setGetKnownAvatarTokensCallback (const GetKnownAvatarTokensCallback &cb)
 
Tp::AvatarTokenMap getKnownAvatarTokens (const Tp::UIntList &contacts, DBusError *error)
 
void setRequestAvatarsCallback (const RequestAvatarsCallback &cb)
 
void requestAvatars (const Tp::UIntList &contacts, DBusError *error)
 
void setSetAvatarCallback (const SetAvatarCallback &cb)
 
QString setAvatar (const QByteArray &avatar, const QString &mimeType, DBusError *error)
 
void setClearAvatarCallback (const ClearAvatarCallback &cb)
 
void clearAvatar (DBusError *error)
 
void avatarUpdated (uint contact, const QString &newAvatarToken)
 
void avatarRetrieved (uint contact, const QString &token, const QByteArray &avatar, const QString &type)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionAvatarsInterfacePtr create ()
 
template<typename BaseConnectionAvatarsInterfaceSubclass >
static SharedPtr< BaseConnectionAvatarsInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionAvatarsInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Avatars.

Member Typedef Documentation

typedef Callback3<QString, const QByteArray &, const QString &, DBusError*> Tp::BaseConnectionAvatarsInterface::SetAvatarCallback

Constructor & Destructor Documentation

Tp::BaseConnectionAvatarsInterface::~BaseConnectionAvatarsInterface ( )
virtual

Class destructor.

Tp::BaseConnectionAvatarsInterface::BaseConnectionAvatarsInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionAvatarsInterfacePtr Tp::BaseConnectionAvatarsInterface::create ( )
inlinestatic
template<typename BaseConnectionAvatarsInterfaceSubclass >
static SharedPtr<BaseConnectionAvatarsInterfaceSubclass> Tp::BaseConnectionAvatarsInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionAvatarsInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

AvatarSpec Tp::BaseConnectionAvatarsInterface::avatarDetails ( ) const
void Tp::BaseConnectionAvatarsInterface::setAvatarDetails ( const AvatarSpec spec)
void Tp::BaseConnectionAvatarsInterface::setGetKnownAvatarTokensCallback ( const GetKnownAvatarTokensCallback cb)
Tp::AvatarTokenMap Tp::BaseConnectionAvatarsInterface::getKnownAvatarTokens ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionAvatarsInterface::setRequestAvatarsCallback ( const RequestAvatarsCallback cb)
void Tp::BaseConnectionAvatarsInterface::requestAvatars ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionAvatarsInterface::setSetAvatarCallback ( const SetAvatarCallback cb)
QString Tp::BaseConnectionAvatarsInterface::setAvatar ( const QByteArray &  avatar,
const QString &  mimeType,
DBusError error 
)
void Tp::BaseConnectionAvatarsInterface::setClearAvatarCallback ( const ClearAvatarCallback cb)
void Tp::BaseConnectionAvatarsInterface::clearAvatar ( DBusError error)
void Tp::BaseConnectionAvatarsInterface::avatarUpdated ( uint  contact,
const QString &  newAvatarToken 
)
void Tp::BaseConnectionAvatarsInterface::avatarRetrieved ( uint  contact,
const QString &  token,
const QByteArray &  avatar,
const QString &  type 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01053.html0000644000175000017500000001373112727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00771_source.html0000644000175000017500000002166212727270137022367 0ustar00kaffeinekaffeine00000000000000 pending-string.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-string.h
1 
23 #ifndef _TelepathyQt_pending_string_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_string_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/PendingOperation>
31 
32 #include <QString>
33 
34 namespace Tp
35 {
36 
37 class TP_QT_EXPORT PendingString : public PendingOperation
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(PendingString);
41 
42 public:
43  PendingString(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
44  ~PendingString();
45 
46  QString result() const;
47 
48 protected:
49  void setResult(const QString &result);
50 
51 private Q_SLOTS:
52  TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher *watcher);
53 
54 private:
55  friend class ProtocolInfo;
56 
57  TP_QT_NO_EXPORT PendingString(const QString &errorName, const QString &errorMessage);
58 
59  struct Private;
60  friend struct Private;
61  Private *mPriv;
62 };
63 
64 } // Tp
65 
66 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The PendingString class is a generic subclass of PendingOperation representing a pending D-Bus method...
Definition: pending-string.h:37
The ProtocolInfo class represents a Telepathy Protocol.
Definition: protocol-info.h:46
Definition: abstract-adaptor.cpp:31
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01368.html0000644000175000017500000000730412727270137021007 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceServicePointAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceServicePointAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
KnownServicePoints() const Tp::Service::ConnectionInterfaceServicePointAdaptor
ServicePointsChanged(const Tp::ServicePointInfoList &servicePoints)Tp::Service::ConnectionInterfaceServicePointAdaptorsignal
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00151.html0000644000175000017500000001502712727270137020775 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelClass Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Inherits QMap< QString, QDBusVariant >.

Public Member Functions

 ChannelClass ()
 
 ChannelClass (const QMap< QString, QDBusVariant > &a)
 
ChannelClassoperator= (const QMap< QString, QDBusVariant > &a)
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

Mapping representing a class of channels that can be requested from a connection manager, can be handled by a user interface, are supported by a contact, etc.

Classes of channel are identified by the fixed values of a subset of their properties.

Channel classes SHOULD always include the keys ChannelInterface::ChannelType and ChannelInterface::TargetHandleType . (One exception is that ChannelTypeContactSearchInterface channels do not have TargetHandleType None in their requestable channel classes, for historical reasons.)

Constructor & Destructor Documentation

Tp::ChannelClass::ChannelClass ( )
inline
Tp::ChannelClass::ChannelClass ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

ChannelClass& Tp::ChannelClass::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01112.html0000644000175000017500000001470612727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingChannelRequest Member List

This is the complete list of members for Tp::PendingChannelRequest, including all inherited members.

account() const Tp::PendingChannelRequest
cancel()Tp::PendingChannelRequest
channelRequest() const Tp::PendingChannelRequest
channelRequestCreated(const Tp::ChannelRequestPtr &channelRequest)Tp::PendingChannelRequestsignal
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingChannelRequest()Tp::PendingChannelRequest
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00967.html0000644000175000017500000004050212727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CallContent Member List

This is the complete list of members for Tp::CallContent, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< CallContent >
channel() const Tp::CallContent
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< CallContent >
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
disposition() const Tp::CallContent
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< CallContent >inline
interface() constTp::OptionalInterfaceFactory< CallContent >inline
interfaces() constTp::OptionalInterfaceFactory< CallContent >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< CallContent >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isValid() const Tp::DBusProxy
missingFeatures() const Tp::ReadyObjectvirtual
name() const Tp::CallContent
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< CallContent >inline
OptionalInterfaceFactory(CallContent *this_)Tp::OptionalInterfaceFactory< CallContent >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
remove()Tp::CallContent
requestedFeatures() const Tp::ReadyObjectvirtual
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< CallContent >inlineprotected
startDTMFTone(DTMFEvent event)Tp::CallContent
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
stopDTMFTone()Tp::CallContent
streamAdded(const Tp::CallStreamPtr &stream)Tp::CallContentsignal
streamRemoved(const Tp::CallStreamPtr &stream, const Tp::CallStateReason &reason)Tp::CallContentsignal
streams() const Tp::CallContent
supportsDTMF() const Tp::CallContent
type() const Tp::CallContent
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~CallContent()Tp::CallContent
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< CallContent >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00466.html0000644000175000017500000003667012727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::ReadyObject Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <>>

Inherited by Tp::DBusProxy, Tp::ProfileManager, and Tp::StreamedMediaStream [private].

Public Member Functions

 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 

Protected Member Functions

ReadinessHelperreadinessHelper () const
 

Detailed Description

<TelepathyQt/ReadyObject>

Constructor & Destructor Documentation

Tp::ReadyObject::ReadyObject ( RefCounted object,
const Feature featureCore 
)

Construct a new ReadyObject object.

Parameters
objectThe RefCounted the object refers to.
featureCoreThe core feature of the object.
Tp::ReadyObject::ReadyObject ( DBusProxy proxy,
const Feature featureCore 
)

Construct a new ReadyObject object.

Parameters
proxyThe DBusProxy the object refers to.
featureCoreThe core feature of the object.
Tp::ReadyObject::~ReadyObject ( )
virtual

Class destructor.

Member Function Documentation

bool Tp::ReadyObject::isReady ( const Features features = Features()) const
virtual

Return whether this object has finished its initial setup.

This is mostly useful as a sanity check, in code that shouldn't be run until the object is ready. To wait for the object to be ready, call becomeReady() and connect to the finished signal on the result.

Parameters
featuresThe features which should be tested
Returns
true if the object has finished its initial setup for basic functionality plus the given features
PendingReady * Tp::ReadyObject::becomeReady ( const Features requestedFeatures = Features())
virtual

Return a pending operation which will succeed when this object finishes its initial setup, or will fail if a fatal error occurs during this initial setup.

If an empty set is used FeatureCore will be considered as the requested feature.

Parameters
requestedFeaturesThe features which should be enabled
Returns
A PendingReady object which will emit finished when this object has finished or failed initial setup for basic functionality plus the given features
Features Tp::ReadyObject::requestedFeatures ( ) const
virtual
Features Tp::ReadyObject::actualFeatures ( ) const
virtual
Features Tp::ReadyObject::missingFeatures ( ) const
virtual
ReadinessHelper * Tp::ReadyObject::readinessHelper ( ) const
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00210.html0000644000175000017500000023572612727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelTypeCallInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetRinging (int timeout=-1)
 
QDBusPendingReply SetQueued (int timeout=-1)
 
QDBusPendingReply Accept (int timeout=-1)
 
QDBusPendingReply Hangup (uint reason, const QString &detailedHangupReason, const QString &message, int timeout=-1)
 
QDBusPendingReply< QDBusObjectPath > AddContent (const QString &contentName, uint contentType, uint initialDirection, int timeout=-1)
 

Signals

void ContentAdded (const QDBusObjectPath &content)
 
void ContentRemoved (const QDBusObjectPath &content, const Tp::CallStateReason &reason)
 
void CallStateChanged (uint callState, uint callFlags, const Tp::CallStateReason &callStateReason, const QVariantMap &callStateDetails)
 
void CallMembersChanged (const Tp::CallMemberMap &flagsChanged, const Tp::HandleIdentifierMap &identifiers, const Tp::UIntList &removed, const Tp::CallStateReason &reason)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelTypeCallInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeCallInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeCallInterface (Tp::DBusProxy *proxy)
 
 ChannelTypeCallInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelTypeCallInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyContents () const
 
Tp::PendingVariantrequestPropertyCallStateDetails () const
 
Tp::PendingVariantrequestPropertyCallState () const
 
Tp::PendingVariantrequestPropertyCallFlags () const
 
Tp::PendingVariantrequestPropertyCallStateReason () const
 
Tp::PendingVariantrequestPropertyHardwareStreaming () const
 
Tp::PendingVariantrequestPropertyCallMembers () const
 
Tp::PendingVariantrequestPropertyMemberIdentifiers () const
 
Tp::PendingVariantrequestPropertyInitialTransport () const
 
Tp::PendingVariantrequestPropertyInitialAudio () const
 
Tp::PendingVariantrequestPropertyInitialVideo () const
 
Tp::PendingVariantrequestPropertyInitialAudioName () const
 
Tp::PendingVariantrequestPropertyInitialVideoName () const
 
Tp::PendingVariantrequestPropertyMutableContents () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.Call1".

Constructor & Destructor Documentation

Tp::Client::ChannelTypeCallInterface::ChannelTypeCallInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelTypeCallInterface 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.
Tp::Client::ChannelTypeCallInterface::ChannelTypeCallInterface ( Tp::DBusProxy proxy)

Creates a ChannelTypeCallInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelTypeCallInterface::ChannelTypeCallInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelTypeCallInterface 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 Tp::Client::ChannelTypeCallInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Type.Call1", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyContents ( ) const
inline

Asynchronous getter for the remote object property Contents of type Tp::ObjectPathList.

The list of CallContentInterface objects that are part of this call. Change notification is via the ContentAdded() and ContentRemoved() signals.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyCallStateDetails ( ) const
inline

Asynchronous getter for the remote object property CallStateDetails of type QVariantMap.

A map used to provide optional extensible details for the CallState , CallFlags and/or CallStateReason .

Well-known keys and their corresponding value types include:

hangup-message - s
An optional human-readable message sent when the call was ended, corresponding to the Message argument to the Hangup() method. This is only applicable when the call state is Ended.
XMPP Jingle can send such messages.
queue-message - s
An optional human-readable message sent when the local contact is being held in a queue. This is only applicable when Locally_Queued is in the call flags.
SIP 182 notifications can have human-readable messages attached.
debug-message - s
A message giving further details of any error indicated by the CallStateReason . This will not normally be localized or suitable for display to users, and is only applicable when the call state is Ended.
balance-required - i
Optionally included when a call cannot be connected because there is InsufficientBalance, indicating what the required balance would be to place this call. The value of this key has the same units and scale as ConnectionInterfaceBalanceInterface::AccountBalance .
forwarded-to - u
Optionally included when the CallStateReason is Forwarded. It indicates the handle to whom the Call was forwarded.
forwarded-to-id - s
The string that would result from inspecting the forwarded-to key (i.e. the contact's identifier in the IM protocol).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyCallState ( ) const
inline

Asynchronous getter for the remote object property CallState of type uint.

The current high-level state of this call. The CallFlags provide additional information, and the CallStateReason and CallStateDetails explain the reason for the current values for those properties.

Note that when in a conference call, this property is purely to show your state in joining the call. The receiver (or remote contact) in this context is the conference server itself. The property does not change when other call members' states change.

Clients MAY consider unknown values in this property to be an error.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyCallFlags ( ) const
inline

Asynchronous getter for the remote object property CallFlags of type uint.

Flags representing the status of the call as a whole, providing more specific information than the CallState .

Clients are expected to ignore unknown flags in this property, without error.

When an ongoing call is active and not on hold or has any other problems, this property will be 0.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyCallStateReason ( ) const
inline

Asynchronous getter for the remote object property CallStateReason of type Tp::CallStateReason.

The reason for the last change to the CallState and/or CallFlags . The CallStateDetails MAY provide additional information.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyHardwareStreaming ( ) const
inline

Asynchronous getter for the remote object property HardwareStreaming of type bool.

If this property is True, all of the media streaming is done by some mechanism outside the scope of Telepathy.

A connection manager might be intended for a specialized hardware device, which will take care of the audio streaming (e.g. telepathy-ring, which uses GSM hardware which does the actual audio streaming for the call).

If this is False, the handler is responsible for doing the actual media streaming for at least some contents itself. Those contents will have the CallContentInterfaceMediaInterface interface, to communicate the necessary information to a streaming implementation. Connection managers SHOULD operate like this, if possible.

Many connection managers (such as telepathy-gabble) only do the call signalling, and expect the client to do the actual streaming using something like Farsight, to improve latency and allow better UI integration.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyCallMembers ( ) const
inline

Asynchronous getter for the remote object property CallMembers of type Tp::CallMemberMap.

A mapping from the remote contacts that are part of this call to flags describing their status. This mapping never has the local user's handle as a key.

When the call ends, this property should be an empty list, and notified with CallMembersChanged()

If the Call implements ChannelInterfaceGroupInterface and the Group members are channel-specific handles, then this call SHOULD also use channel-specific handles.

Anonymous members are exposed as channel-specific handles with no owner.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyMemberIdentifiers ( ) const
inline

Asynchronous getter for the remote object property MemberIdentifiers of type Tp::HandleIdentifierMap.

The string identifiers for handles mentioned in CallMembers, to give clients the minimal information necessary to create contacts without waiting for round-trips.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyInitialTransport ( ) const
inline

Asynchronous getter for the remote object property InitialTransport of type uint.

If set on a requested channel, this indicates the transport that should be used for this call. Where not applicable, this property is defined to be Unknown, in particular, on CMs with hardware streaming.

When implementing a voip gateway one wants the outgoing leg of the gatewayed to have the same transport as the incoming leg. This property allows the gateway to request a Call with the right transport from the CM.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyInitialAudio ( ) const
inline

Asynchronous getter for the remote object property InitialAudio of type bool.

If set to True in a channel request that will create a new channel, the connection manager should immediately attempt to establish an audio stream to the remote contact, making it unnecessary for the client to call ChannelTypeCallInterface::AddContent() .

If this property, or InitialVideo, is passed to EnsureChannel (as opposed to CreateChannel), the connection manager SHOULD ignore these properties when checking whether it can return an existing channel as suitable; these properties only become significant when the connection manager has decided to create a new channel.

If True on a requested channel, this indicates that the audio stream has already been requested and the client does not need to call RequestStreams, although it MAY still do so.

If True on an unrequested (incoming) channel, this indicates that the remote contact initially requested an audio stream; this does not imply that that audio stream is still active (as indicated by ChannelTypeCallInterface::Contents ).

The name of this new content can be decided by using the InitialAudioName property.

Connection managers that support the ConnectionInterfaceContactCapabilitiesInterface interface SHOULD represent the capabilities of receiving audio and/or video calls by including a channel class in a contact's capabilities with ChannelType = Call in the fixed properties dictionary, and InitialAudio and/or InitialVideo in the allowed properties list. Clients wishing to discover whether a particular contact is likely to be able to receive audio and/or video calls SHOULD use this information.

Not all clients support video calls, and it would also be possible (although unlikely) to have a client which could only stream video, not audio.

Clients that are willing to receive audio and/or video calls SHOULD include the following among their channel classes if calling ConnectionInterfaceContactCapabilitiesInterface::UpdateCapabilities() (clients of a ChannelDispatcherInterface SHOULD instead arrange for the ChannelDispatcher to do this, by including the filters in their ClientHandlerInterface::HandlerChannelFilter properties):

  • { ChannelType = Call }
  • { ChannelType = Call, InitialAudio = True } if receiving calls with audio is supported
  • { ChannelType = Call, InitialVideo = True } if receiving calls with video is supported

Connection managers for protocols with capability discovery, like XMPP, need this information to advertise the appropriate capabilities for their protocol.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyInitialVideo ( ) const
inline

Asynchronous getter for the remote object property InitialVideo of type bool.

The same as InitialAudio , but for a video stream. This property is immutable (cannot change).

In particular, note that if this property is False, this does not imply that an active video stream has not been added, only that no video stream was active at the time the channel appeared.

This property is the correct way to discover whether connection managers, contacts etc. support video calls; it appears in capabilities structures in the same way as InitialAudio.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyInitialAudioName ( ) const
inline

Asynchronous getter for the remote object property InitialAudioName of type QString.

If InitialAudio is set to True, then this property will name the intial audio content with the value of this property.

Content names are meant to be significant, but if no name can be given to initial audio content, then its name cannot be meaningful or even localized.

If this property is empty or missing from the channel request and InitialAudio is True, then the CM must come up with a sensible for the content, such as "audio".

If the protocol has no concept of stream names then this property will not show up in the allowed properties list of the Requestable Channel Classes for call channels.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyInitialVideoName ( ) const
inline

Asynchronous getter for the remote object property InitialVideoName of type QString.

The same as InitialAudioName , but for a video stream created by setting InitialVideo to True. This property is immutable and so cannot change.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeCallInterface::requestPropertyMutableContents ( ) const
inline

Asynchronous getter for the remote object property MutableContents of type bool.

If True, a stream of a different content type can be added after the Channel has been requested

If this property is missing, clients SHOULD assume that it is False, and thus that the channel's streams cannot be changed once the call has started.

If this property isn't present in the "allowed" set in any of the Call entries contact capabilities, then user interfaces MAY choose to show a separate "call" option for each class of call.

For example, once an audio-only Google Talk call has started, it is not possible to add a video stream; both audio and video must be requested at the start of the call if video is desired. User interfaces may use this pseudo-capability as a hint to display separate "Audio call" and "Video call" buttons, rather than a single "Call1" button with the option to add and remove video once the call has started for contacts without this flag.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelTypeCallInterface::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 Tp::Client::ChannelTypeCallInterface::SetRinging ( int  timeout = -1)
inlineslot

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

Indicate that the local user has been alerted about the incoming call.

This method is only useful if the channel's ChannelInterface::Requested property is False, and the CallState is Initialised (an incoming call is ready and waiting for the user to be notified). Calling this method SHOULD set CallFlags ' bit Locally_Ringing, and notify the remote contact that the local user has been alerted (if the protocol supports this); repeated calls to this method SHOULD succeed, but have no further effect.

In all other states, this method SHOULD fail with the error NotAvailable.

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.
QDBusPendingReply Tp::Client::ChannelTypeCallInterface::SetQueued ( int  timeout = -1)
inlineslot

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

Notifies the CM that the local user is already in a call, so this call has been put in a call-waiting style queue.

This method is only useful if the channel's ChannelInterface::Requested property is False, and the CallState is Initialising or Initialised. Calling this method SHOULD set CallFlags ' bit Locally_Queued, and notify the remote contact that the call is in a queue (if the protocol supports this); repeated calls to this method SHOULD succeed, but have no further effect.

Locally_Queued is a little like Locally_Held, but applies to calls that have not been Accepted (the Locally_Queued flag should be unset by the CM when Accept is called). It should also be set in response to the state of the world, rather than in response to user action.

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.
QDBusPendingReply Tp::Client::ChannelTypeCallInterface::Accept ( int  timeout = -1)
inlineslot

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

For incoming calls in state Initialised, accept the incoming call. This changes the CallState to Accepted.

For outgoing calls in state Pending_Initiator, actually call the remote contact; this changes the CallState to Initialising.

Otherwise, this method SHOULD fail with the error NotAvailable.

This method should be called exactly once per Call, by whatever client (user interface) is handling the channel.

When this method is called, for each CallContentInterface whose CallContentInterface::Disposition is Initial, any streams where the CallStreamInterface::LocalSendingState is Pending_Send will be moved to Sending as if CallStreamInterface::SetSending() (True) had been called.

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.
QDBusPendingReply Tp::Client::ChannelTypeCallInterface::Hangup ( uint  reason,
const QString &  detailedHangupReason,
const QString &  message,
int  timeout = -1 
)
inlineslot

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

Request that the call is ended. All contents will be removed from the Call so that the Contents property will be the empty list.

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

Parameters
reason
A generic hangup reason.
detailedHangupReason
A more specific reason for the call hangup, if one is available, or 
an empty string otherwise.
message
A human-readable message to be sent to the remote contact(s). XMPP 
Jingle allows calls to be terminated with a human-readable message.
timeoutThe timeout in milliseconds.
QDBusPendingReply<QDBusObjectPath> Tp::Client::ChannelTypeCallInterface::AddContent ( const QString &  contentName,
uint  contentType,
uint  initialDirection,
int  timeout = -1 
)
inlineslot

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

Request that a new Content of type Content_Type is added to the Call1. Handlers should check the value of the MutableContents property before trying to add another content as it might not be allowed.

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

Parameters
contentName
The suggested name of the content to add. The content name property 
should be meaningful, so should be given a name which is 
significant to the user. The name could be a localized 
&quot;audio&quot;, &quot;video&quot; or perhaps include some string 
identifying the source, such as a webcam identifier. If there is 
already a content with the same name as this property then a 
sensible suffix should be added. For example, if this argument is 
&quot;audio&quot; but a content of the same name already exists, a 
sensible suffix such as &quot; (1)&quot; is appended to name the 
new content &quot;audio (1)&quot;. A further content with the name 
&quot;audio&quot; would then be named &quot;audio (2)&quot;.
contentType
The media stream type of the content to be added to the call.
initialDirection
The requested initial direction of the new content.
timeoutThe timeout in milliseconds.
Returns
Path to the newly-created Call1.Content object.
void Tp::Client::ChannelTypeCallInterface::ContentAdded ( const QDBusObjectPath &  content)
signal

Represents the signal ContentAdded on the remote object.

Emitted when a new CallContentInterface is added to the call.

Parameters
content
Path to the newly-created Content object.
void Tp::Client::ChannelTypeCallInterface::ContentRemoved ( const QDBusObjectPath &  content,
const Tp::CallStateReason reason 
)
signal

Represents the signal ContentRemoved on the remote object.

Emitted when a CallContentInterface is removed from the call.

Parameters
content
The Content which was removed.
reason
Why the content was removed.
void Tp::Client::ChannelTypeCallInterface::CallStateChanged ( uint  callState,
uint  callFlags,
const Tp::CallStateReason callStateReason,
const QVariantMap &  callStateDetails 
)
signal

Represents the signal CallStateChanged on the remote object.

Emitted when the state of the call as a whole changes.

This signal is emitted for any change in the properties corresponding to its arguments, even if the other properties referenced remain unchanged.

Parameters
callState
The new value of the CallState property.
callFlags
The new value of the CallFlags property.
callStateReason
The new value of the CallStateReason property.
callStateDetails
The new value of the CallStateDetails property.
void Tp::Client::ChannelTypeCallInterface::CallMembersChanged ( const Tp::CallMemberMap flagsChanged,
const Tp::HandleIdentifierMap identifiers,
const Tp::UIntList removed,
const Tp::CallStateReason reason 
)
signal

Represents the signal CallMembersChanged on the remote object.

Emitted when the CallMembers property changes in any way, either because contacts have been added to the call, contacts have been removed from the call, or contacts' flags have changed.

Parameters
flagsChanged
A map from members of the call to their new call member flags, 
including at least the members who have been added to CallMembers, 
and the members whose flags have changed.
identifiers The identifiers of the contacts in the Flags_Changed map.
removed
A list of members who have left the call, i.e. keys to be removed 
from CallMembers.
reason
A structured reason for the change.
void Tp::Client::ChannelTypeCallInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01181.html0000644000175000017500000000517112727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleStatusSpec Member List

This is the complete list of members for Tp::SimpleStatusSpec, including all inherited members.

canHaveMessageTp::SimpleStatusSpec
maySetOnSelfTp::SimpleStatusSpec
typeTp::SimpleStatusSpec


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01240.html0000644000175000017500000002157712727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceCallStateInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceCallStateInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
CallStateChanged(uint contact, uint state)Tp::Client::ChannelInterfaceCallStateInterfacesignal
ChannelInterfaceCallStateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceCallStateInterface
ChannelInterfaceCallStateInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceCallStateInterface
ChannelInterfaceCallStateInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceCallStateInterface
ChannelInterfaceCallStateInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceCallStateInterfaceexplicit
ChannelInterfaceCallStateInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceCallStateInterface
GetCallStates(int timeout=-1)Tp::Client::ChannelInterfaceCallStateInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceCallStateInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceCallStateInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceCallStateInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00024.html0000644000175000017500000007017212727270137020776 0ustar00kaffeinekaffeine00000000000000 roster/roster-widget.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-widget.cpp
#include "roster-widget.h"
#include "_gen/roster-widget.moc.hpp"
#include "roster-item.h"
#include <TelepathyQt/Types>
#include <TelepathyQt/Contact>
#include <TelepathyQt/ContactManager>
#include <TelepathyQt/PendingConnection>
#include <TelepathyQt/PendingContacts>
#include <TelepathyQt/PendingOperation>
#include <TelepathyQt/PendingReady>
#include <QAction>
#include <QDebug>
#include <QDialog>
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QListWidget>
#include <QListWidgetItem>
#include <QMessageBox>
#include <QPushButton>
#include <QVBoxLayout>
using namespace Tp;
RosterWidget::RosterWidget(QWidget *parent)
: QWidget(parent)
{
setWindowTitle(QLatin1String("Roster"));
createActions();
setupGui();
}
RosterWidget::~RosterWidget()
{
}
void RosterWidget::setConnection(const ConnectionPtr &conn)
{
if (mConn) {
unsetConnection();
}
mConn = conn;
connect(conn->contactManager().data(),
SIGNAL(presencePublicationRequested(const Tp::Contacts &)),
SLOT(onPresencePublicationRequested(const Tp::Contacts &)));
// TODO listen to allKnownContactsChanged
connect(conn->contactManager().data(),
SIGNAL(stateChanged(Tp::ContactListState)),
SLOT(onContactManagerStateChanged(Tp::ContactListState)));
onContactManagerStateChanged(conn->contactManager()->state());
}
void RosterWidget::unsetConnection()
{
while (mList->count() > 0) {
RosterItem *item = (RosterItem *) mList->item(0);
mList->takeItem(0);
delete item;
}
mConn.reset();
updateActions();
mAddBtn->setEnabled(false);
}
void RosterWidget::createActions()
{
mAuthAction = new QAction(QLatin1String("Authorize Contact"), this);
mAuthAction->setEnabled(false);
connect(mAuthAction,
SIGNAL(triggered(bool)),
SLOT(onAuthActionTriggered(bool)));
mDenyAction = new QAction(QLatin1String("Deny Contact"), this);
mDenyAction->setEnabled(false);
connect(mDenyAction,
SIGNAL(triggered(bool)),
SLOT(onDenyActionTriggered(bool)));
mRemoveAction = new QAction(QLatin1String("Remove Contact"), this);
mRemoveAction->setEnabled(false);
connect(mRemoveAction,
SIGNAL(triggered(bool)),
SLOT(onRemoveActionTriggered(bool)));
mBlockAction = new QAction(QLatin1String("Block Contact"), this);
mBlockAction->setEnabled(false);
mBlockAction->setCheckable(true);
connect(mBlockAction,
SIGNAL(triggered(bool)),
SLOT(onBlockActionTriggered(bool)));
}
void RosterWidget::setupGui()
{
QVBoxLayout *vbox = new QVBoxLayout;
mList = new QListWidget;
connect(mList,
SIGNAL(itemSelectionChanged()),
SLOT(onItemSelectionChanged()));
vbox->addWidget(mList);
mList->setContextMenuPolicy(Qt::ActionsContextMenu);
mList->addAction(mAuthAction);
mList->addAction(mDenyAction);
mList->addAction(mRemoveAction);
mList->addAction(mBlockAction);
QHBoxLayout *hbox = new QHBoxLayout;
mAddBtn = new QPushButton(QLatin1String("+"));
mAddBtn->setEnabled(false);
connect(mAddBtn,
SIGNAL(clicked(bool)),
SLOT(onAddButtonClicked()));
hbox->addWidget(mAddBtn);
hbox->addStretch(1);
vbox->addLayout(hbox);
setLayout(vbox);
mAddDlg = new QDialog(this);
mAddDlg->setWindowTitle(QLatin1String("Add Contact"));
QVBoxLayout *addDlgVBox = new QVBoxLayout;
QHBoxLayout *addDlgEntryHBox = new QHBoxLayout;
QLabel *label = new QLabel(QLatin1String("Username"));
addDlgEntryHBox->addWidget(label);
mAddDlgEdt = new QLineEdit();
addDlgEntryHBox->addWidget(mAddDlgEdt);
addDlgVBox->addLayout(addDlgEntryHBox);
QDialogButtonBox *addDlgBtnBox = new QDialogButtonBox(
QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal);
connect(addDlgBtnBox, SIGNAL(accepted()), mAddDlg, SLOT(accept()));
connect(addDlgBtnBox, SIGNAL(rejected()), mAddDlg, SLOT(reject()));
addDlgVBox->addWidget(addDlgBtnBox);
mAddDlg->setLayout(addDlgVBox);
}
RosterItem *RosterWidget::createItemForContact(const ContactPtr &contact,
bool &exists)
{
RosterItem *item;
exists = false;
for (int i = 0; i < mList->count(); ++i) {
item = dynamic_cast<RosterItem*>(mList->item(i));
if (item->contact() == contact) {
exists = true;
return item;
}
}
return new RosterItem(contact, mList);
}
void RosterWidget::onContactManagerStateChanged(ContactListState state)
{
if (state == ContactListStateSuccess) {
qDebug() << "Loading contacts";
RosterItem *item;
bool exists;
foreach (const ContactPtr &contact, mConn->contactManager()->allKnownContacts()) {
exists = false;
item = createItemForContact(contact, exists);
if (!exists) {
connect(item, SIGNAL(changed()), SLOT(updateActions()));
}
}
mAddBtn->setEnabled(true);
}
}
void RosterWidget::onPresencePublicationRequested(const Contacts &contacts)
{
qDebug() << "Presence publication requested";
RosterItem *item;
bool exists;
foreach (const ContactPtr &contact, contacts) {
exists = false;
item = createItemForContact(contact, exists);
if (!exists) {
connect(item, SIGNAL(changed()), SLOT(updateActions()));
}
}
}
void RosterWidget::onItemSelectionChanged()
{
updateActions();
}
void RosterWidget::onAddButtonClicked()
{
mAddDlgEdt->clear();
int ret = mAddDlg->exec();
if (ret == QDialog::Rejected) {
return;
}
QString username = mAddDlgEdt->text();
PendingContacts *pcontacts = mConn->contactManager()->contactsForIdentifiers(
QStringList() << username);
connect(pcontacts,
SIGNAL(finished(Tp::PendingOperation *)),
SLOT(onContactRetrieved(Tp::PendingOperation *)));
}
void RosterWidget::onAuthActionTriggered(bool checked)
{
Q_UNUSED(checked);
QList<QListWidgetItem *> selectedItems = mList->selectedItems();
if (selectedItems.isEmpty()) {
return;
}
Q_ASSERT(selectedItems.size() == 1);
RosterItem *item = dynamic_cast<RosterItem*>(selectedItems.first());
if (item->contact()->publishState() != Contact::PresenceStateYes) {
item->contact()->authorizePresencePublication();
}
}
void RosterWidget::onDenyActionTriggered(bool checked)
{
Q_UNUSED(checked);
QList<QListWidgetItem *> selectedItems = mList->selectedItems();
if (selectedItems.isEmpty()) {
return;
}
Q_ASSERT(selectedItems.size() == 1);
RosterItem *item = dynamic_cast<RosterItem*>(selectedItems.first());
if (item->contact()->publishState() != Contact::PresenceStateNo) {
// The contact can't see my presence
item->contact()->removePresencePublication();
}
}
void RosterWidget::onRemoveActionTriggered(bool checked)
{
Q_UNUSED(checked);
QList<QListWidgetItem *> selectedItems = mList->selectedItems();
if (selectedItems.isEmpty()) {
return;
}
Q_ASSERT(selectedItems.size() == 1);
RosterItem *item = dynamic_cast<RosterItem*>(selectedItems.first());
if (item->contact()->subscriptionState() != Contact::PresenceStateNo) {
// The contact can't see my presence and I can't see his/her presence
item->contact()->removePresencePublication();
item->contact()->removePresenceSubscription();
}
}
void RosterWidget::onBlockActionTriggered(bool checked)
{
QList<QListWidgetItem *> selectedItems = mList->selectedItems();
if (selectedItems.isEmpty()) {
return;
}
Q_ASSERT(selectedItems.size() == 1);
RosterItem *item = dynamic_cast<RosterItem*>(selectedItems.first());
if (checked) {
item->contact()->block();
} else {
item->contact()->unblock();
}
}
void RosterWidget::onContactRetrieved(Tp::PendingOperation *op)
{
PendingContacts *pcontacts = qobject_cast<PendingContacts *>(op);
QList<ContactPtr> contacts = pcontacts->contacts();
Q_ASSERT(pcontacts->identifiers().size() == 1);
QString username = pcontacts->identifiers().first();
if (contacts.size() != 1 || !contacts.first()) {
QMessageBox msgBox;
msgBox.setText(QString(QLatin1String("Unable to add contact \"%1\"")).arg(username));
msgBox.exec();
return;
}
ContactPtr contact = contacts.first();
qDebug() << "Request presence subscription for contact" << username;
bool exists = false;
RosterItem *item = createItemForContact(contact, exists);
if (!exists) {
connect(item, SIGNAL(changed()), SLOT(updateActions()));
}
contact->requestPresenceSubscription();
}
void RosterWidget::updateActions()
{
QList<QListWidgetItem *> selectedItems = mList->selectedItems();
if (selectedItems.isEmpty()) {
mAuthAction->setEnabled(false);
mDenyAction->setEnabled(false);
mRemoveAction->setEnabled(false);
mBlockAction->setEnabled(false);
updateActions(0);
return;
}
Q_ASSERT(selectedItems.size() == 1);
RosterItem *item = dynamic_cast<RosterItem*>(selectedItems.first());
ContactPtr contact = item->contact();
ContactManagerPtr manager = contact->manager();
qDebug() << "Contact" << contact->id() << "selected";
qDebug() << " subscription state:" << contact->subscriptionState();
qDebug() << " publish state :" << contact->publishState();
qDebug() << " blocked :" << contact->isBlocked();
if (manager->canAuthorizePresencePublication() &&
contact->publishState() == Contact::PresenceStateAsk) {
mAuthAction->setEnabled(true);
} else {
mAuthAction->setEnabled(false);
}
if (manager->canRemovePresencePublication() &&
contact->publishState() != Contact::PresenceStateNo) {
mDenyAction->setEnabled(true);
} else {
mDenyAction->setEnabled(false);
}
if (manager->canRemovePresenceSubscription() &&
contact->subscriptionState() != Contact::PresenceStateNo) {
mRemoveAction->setEnabled(true);
} else {
mRemoveAction->setEnabled(false);
}
if (manager->canBlockContacts() &&
contact->publishState() == Contact::PresenceStateYes) {
mBlockAction->setEnabled(true);
} else {
mBlockAction->setEnabled(false);
}
mBlockAction->setChecked(contact->isBlocked());
updateActions(item);
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_s.html0000644000175000017500000030010712727270137022514 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- s -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00339.html0000644000175000017500000003424212727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller4 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
typedef R Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
typedef R(* Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >::FunctorCaller4 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
static ResultType Tp::FunctorCaller4< Functor, R, Arg1, Arg2, Arg3, Arg4 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_f.html0000644000175000017500000002650312727270137023517 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- f -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00093.html0000644000175000017500000006611112727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionClientTypesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.ClientTypes. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< Tp::ContactClientTypes, const Tp::UIntList &, DBusError * > GetClientTypesCallback
 
typedef Callback2< QStringList, uint, DBusError * > RequestClientTypesCallback
 

Public Member Functions

virtual ~BaseConnectionClientTypesInterface ()
 
QVariantMap immutableProperties () const
 
void setGetClientTypesCallback (const GetClientTypesCallback &cb)
 
Tp::ContactClientTypes getClientTypes (const Tp::UIntList &contacts, DBusError *error)
 
void setRequestClientTypesCallback (const RequestClientTypesCallback &cb)
 
QStringList requestClientTypes (uint contact, DBusError *error)
 
void clientTypesUpdated (uint contact, const QStringList &clientTypes)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionClientTypesInterfacePtr create ()
 
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr< BaseConnectionClientTypesInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionClientTypesInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.ClientTypes.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionClientTypesInterface::~BaseConnectionClientTypesInterface ( )
virtual

Class destructor.

Tp::BaseConnectionClientTypesInterface::BaseConnectionClientTypesInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionClientTypesInterfacePtr Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic
template<typename BaseConnectionClientTypesInterfaceSubclass >
static SharedPtr<BaseConnectionClientTypesInterfaceSubclass> Tp::BaseConnectionClientTypesInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionClientTypesInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseConnectionClientTypesInterface::setGetClientTypesCallback ( const GetClientTypesCallback cb)
Tp::ContactClientTypes Tp::BaseConnectionClientTypesInterface::getClientTypes ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionClientTypesInterface::setRequestClientTypesCallback ( const RequestClientTypesCallback cb)
QStringList Tp::BaseConnectionClientTypesInterface::requestClientTypes ( uint  contact,
DBusError error 
)
void Tp::BaseConnectionClientTypesInterface::clientTypesUpdated ( uint  contact,
const QStringList &  clientTypes 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01054.html0000644000175000017500000001403612727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00757_source.html0000644000175000017500000002131212727270137022363 0ustar00kaffeinekaffeine00000000000000 pending-debug-message-list.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-debug-message-list.h
1 
21 #ifndef _TelepathyQt_pending_debug_message_list_h_HEADER_GUARD_
22 #define _TelepathyQt_pending_debug_message_list_h_HEADER_GUARD_
23 
24 #ifndef IN_TP_QT_HEADER
25 #error IN_TP_QT_HEADER
26 #endif
27 
28 #include <TelepathyQt/Types>
29 #include <TelepathyQt/PendingOperation>
30 
31 namespace Tp
32 {
33 
34 class TP_QT_EXPORT PendingDebugMessageList : public Tp::PendingOperation
35 {
36  Q_OBJECT
37  Q_DISABLE_COPY(PendingDebugMessageList)
38 
39 public:
40  virtual ~PendingDebugMessageList();
41 
42  DebugMessageList result() const;
43 
44 private Q_SLOTS:
45  TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
46 
47 private:
48  friend class DebugReceiver;
49  TP_QT_NO_EXPORT PendingDebugMessageList(const QDBusPendingCall &call,
50  const SharedPtr<RefCounted> &object);
51 
52  struct Private;
53  friend struct Private;
54  Private *mPriv;
55 };
56 
57 } // Tp
58 
59 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
QList< DebugMessage > DebugMessageList
Definition: build/TelepathyQt/_gen/types.h:1522
The DebugReceiver class provides a D-Bus proxy for a Telepathy Debug object.
Definition: debug-receiver.h:39
Definition: abstract-adaptor.cpp:31
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
Definition: pending-debug-message-list.h:34


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01369.html0000644000175000017500000001132012727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceSimplePresenceAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionInterfaceSimplePresenceAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetPresences(const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceSimplePresenceAdaptorslot
MaximumStatusMessageLength() const Tp::Service::ConnectionInterfaceSimplePresenceAdaptor
PresencesChanged(const Tp::SimpleContactPresences &presence)Tp::Service::ConnectionInterfaceSimplePresenceAdaptorsignal
SetPresence(const QString &status, const QString &statusMessage, const QDBusMessage &dbusMessage)Tp::Service::ConnectionInterfaceSimplePresenceAdaptorslot
Statuses() const Tp::Service::ConnectionInterfaceSimplePresenceAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00152.html0000644000175000017500000023312612727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelClassSpec Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ChannelClassSpec class represents a Telepathy channel class. More...

#include <TelepathyQt/ChannelClassSpec>

Public Member Functions

 ChannelClassSpec ()
 
 ChannelClassSpec (const ChannelClass &cc)
 
 ChannelClassSpec (const QVariantMap &props)
 
 ChannelClassSpec (const QString &channelType, HandleType targetHandleType, const QVariantMap &otherProperties=QVariantMap())
 
 ChannelClassSpec (const QString &channelType, HandleType targetHandleType, bool requested, const QVariantMap &otherProperties=QVariantMap())
 
 ChannelClassSpec (const ChannelClassSpec &other, const QVariantMap &additionalProperties=QVariantMap())
 
 ~ChannelClassSpec ()
 
bool isValid () const
 
ChannelClassSpecoperator= (const ChannelClassSpec &other)
 
bool operator== (const ChannelClassSpec &other) const
 
bool isSubsetOf (const ChannelClassSpec &other) const
 
bool matches (const QVariantMap &immutableProperties) const
 
QString channelType () const
 
void setChannelType (const QString &type)
 
HandleType targetHandleType () const
 
void setTargetHandleType (HandleType type)
 
bool hasRequested () const
 
bool isRequested () const
 
void setRequested (bool requested)
 
void unsetRequested ()
 
bool hasCallInitialAudioFlag () const
 
void setCallInitialAudioFlag ()
 
void unsetCallInitialAudioFlag ()
 
bool hasCallInitialVideoFlag () const
 
void setCallInitialVideoFlag ()
 
void unsetCallInitialVideoFlag ()
 
TP_QT_DEPRECATED bool hasStreamedMediaInitialAudioFlag () const
 
TP_QT_DEPRECATED void setStreamedMediaInitialAudioFlag ()
 
TP_QT_DEPRECATED void unsetStreamedMediaInitialAudioFlag ()
 
TP_QT_DEPRECATED bool hasStreamedMediaInitialVideoFlag () const
 
TP_QT_DEPRECATED void setStreamedMediaInitialVideoFlag ()
 
TP_QT_DEPRECATED void unsetStreamedMediaInitialVideoFlag ()
 
bool hasProperty (const QString &qualifiedName) const
 
QVariant property (const QString &qualifiedName) const
 
void setProperty (const QString &qualifiedName, const QVariant &value)
 
void unsetProperty (const QString &qualifiedName)
 
QVariantMap allProperties () const
 
ChannelClass bareClass () const
 

Static Public Member Functions

static ChannelClassSpec textChat (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec textChatroom (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec unnamedTextChat (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec mediaCall (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec audioCall (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec videoCall (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec videoCallWithAudio (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec streamedMediaCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec streamedMediaAudioCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec streamedMediaVideoCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec streamedMediaVideoCallWithAudio (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec unnamedStreamedMediaCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec unnamedStreamedMediaAudioCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec unnamedStreamedMediaVideoCall (const QVariantMap &additionalProperties=QVariantMap())
 
static TP_QT_DEPRECATED ChannelClassSpec unnamedStreamedMediaVideoCallWithAudio (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec serverAuthentication (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec roomList (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec outgoingFileTransfer (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec incomingFileTransfer (const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec outgoingStreamTube (const QString &service=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec incomingStreamTube (const QString &service=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec outgoingRoomStreamTube (const QString &service=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec incomingRoomStreamTube (const QString &service=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec outgoingDBusTube (const QString &serviceName=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec incomingDBusTube (const QString &serviceName=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec outgoingRoomDBusTube (const QString &serviceName=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec incomingRoomDBusTube (const QString &serviceName=QString(), const QVariantMap &additionalProperties=QVariantMap())
 
static ChannelClassSpec contactSearch (const QVariantMap &additionalProperties=QVariantMap())
 

Detailed Description

The ChannelClassSpec class represents a Telepathy channel class.

Constructor & Destructor Documentation

Tp::ChannelClassSpec::ChannelClassSpec ( )
Tp::ChannelClassSpec::ChannelClassSpec ( const ChannelClass cc)
Tp::ChannelClassSpec::ChannelClassSpec ( const QVariantMap &  props)
Tp::ChannelClassSpec::ChannelClassSpec ( const QString &  channelType,
HandleType  targetHandleType,
const QVariantMap &  otherProperties = QVariantMap() 
)
Tp::ChannelClassSpec::ChannelClassSpec ( const QString &  channelType,
HandleType  targetHandleType,
bool  requested,
const QVariantMap &  otherProperties = QVariantMap() 
)
Tp::ChannelClassSpec::ChannelClassSpec ( const ChannelClassSpec other,
const QVariantMap &  additionalProperties = QVariantMap() 
)
Tp::ChannelClassSpec::~ChannelClassSpec ( )

Member Function Documentation

bool Tp::ChannelClassSpec::isValid ( ) const
ChannelClassSpec & Tp::ChannelClassSpec::operator= ( const ChannelClassSpec other)
bool Tp::ChannelClassSpec::operator== ( const ChannelClassSpec other) const
inline
bool Tp::ChannelClassSpec::isSubsetOf ( const ChannelClassSpec other) const
bool Tp::ChannelClassSpec::matches ( const QVariantMap &  immutableProperties) const
QString Tp::ChannelClassSpec::channelType ( ) const
inline
void Tp::ChannelClassSpec::setChannelType ( const QString &  type)
inline
HandleType Tp::ChannelClassSpec::targetHandleType ( ) const
inline
void Tp::ChannelClassSpec::setTargetHandleType ( HandleType  type)
inline
bool Tp::ChannelClassSpec::hasRequested ( ) const
inline
bool Tp::ChannelClassSpec::isRequested ( ) const
inline
void Tp::ChannelClassSpec::setRequested ( bool  requested)
inline
void Tp::ChannelClassSpec::unsetRequested ( )
inline
bool Tp::ChannelClassSpec::hasCallInitialAudioFlag ( ) const
inline
void Tp::ChannelClassSpec::setCallInitialAudioFlag ( )
inline
void Tp::ChannelClassSpec::unsetCallInitialAudioFlag ( )
inline
bool Tp::ChannelClassSpec::hasCallInitialVideoFlag ( ) const
inline
void Tp::ChannelClassSpec::setCallInitialVideoFlag ( )
inline
void Tp::ChannelClassSpec::unsetCallInitialVideoFlag ( )
inline
TP_QT_DEPRECATED bool Tp::ChannelClassSpec::hasStreamedMediaInitialAudioFlag ( ) const
inline
TP_QT_DEPRECATED void Tp::ChannelClassSpec::setStreamedMediaInitialAudioFlag ( )
inline
TP_QT_DEPRECATED void Tp::ChannelClassSpec::unsetStreamedMediaInitialAudioFlag ( )
inline
TP_QT_DEPRECATED bool Tp::ChannelClassSpec::hasStreamedMediaInitialVideoFlag ( ) const
inline
TP_QT_DEPRECATED void Tp::ChannelClassSpec::setStreamedMediaInitialVideoFlag ( )
inline
TP_QT_DEPRECATED void Tp::ChannelClassSpec::unsetStreamedMediaInitialVideoFlag ( )
inline
bool Tp::ChannelClassSpec::hasProperty ( const QString &  qualifiedName) const
QVariant Tp::ChannelClassSpec::property ( const QString &  qualifiedName) const
void Tp::ChannelClassSpec::setProperty ( const QString &  qualifiedName,
const QVariant &  value 
)
void Tp::ChannelClassSpec::unsetProperty ( const QString &  qualifiedName)
QVariantMap Tp::ChannelClassSpec::allProperties ( ) const
ChannelClass Tp::ChannelClassSpec::bareClass ( ) const
ChannelClassSpec Tp::ChannelClassSpec::textChat ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::textChatroom ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::unnamedTextChat ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::mediaCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::audioCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::videoCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::videoCallWithAudio ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::streamedMediaCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::streamedMediaAudioCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::streamedMediaVideoCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::streamedMediaVideoCallWithAudio ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::unnamedStreamedMediaCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::unnamedStreamedMediaAudioCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::unnamedStreamedMediaVideoCall ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::unnamedStreamedMediaVideoCallWithAudio ( const QVariantMap &  additionalProperties = QVariantMap())
static
Tp::ChannelClassSpec Tp::ChannelClassSpec::serverAuthentication ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::roomList ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::outgoingFileTransfer ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::incomingFileTransfer ( const QVariantMap &  additionalProperties = QVariantMap())
static
ChannelClassSpec Tp::ChannelClassSpec::outgoingStreamTube ( const QString &  service = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::incomingStreamTube ( const QString &  service = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::outgoingRoomStreamTube ( const QString &  service = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::incomingRoomStreamTube ( const QString &  service = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::outgoingDBusTube ( const QString &  serviceName = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::incomingDBusTube ( const QString &  serviceName = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::outgoingRoomDBusTube ( const QString &  serviceName = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::incomingRoomDBusTube ( const QString &  serviceName = QString(),
const QVariantMap &  additionalProperties = QVariantMap() 
)
static
ChannelClassSpec Tp::ChannelClassSpec::contactSearch ( const QVariantMap &  additionalProperties = QVariantMap())
static


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01113.html0000644000175000017500000001413612727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingComposite Member List

This is the complete list of members for Tp::PendingComposite, including all inherited members.

errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
object() const Tp::PendingOperationprotected
PendingComposite(const QList< PendingOperation * > &operations, const SharedPtr< RefCounted > &object)Tp::PendingComposite
PendingComposite(const QList< PendingOperation * > &operations, bool failOnFirstError, const SharedPtr< RefCounted > &object)Tp::PendingComposite
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingComposite()Tp::PendingComposite
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00753_source.html0000644000175000017500000004771512727270137022376 0ustar00kaffeinekaffeine00000000000000 pending-contacts.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-contacts.h
1 
23 #ifndef _TelepathyQt_pending_contacts_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_contacts_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/PendingOperation>
31 
32 #include <QHash>
33 #include <QList>
34 #include <QMap>
35 #include <QSet>
36 #include <QStringList>
37 
38 #include <TelepathyQt/Types>
39 #include <TelepathyQt/Contact>
40 
41 namespace Tp
42 {
43 
44 class ContactManager;
45 
46 class TP_QT_EXPORT PendingContacts : public PendingOperation
47 {
48  Q_OBJECT
49  Q_DISABLE_COPY(PendingContacts);
50 
51 public:
52  ~PendingContacts();
53 
54  ContactManagerPtr manager() const;
55  Features features() const;
56 
57  bool isForHandles() const;
58  UIntList handles() const;
59 
60  bool isForIdentifiers() const;
61  QStringList identifiers() const;
62 
63  bool isForVCardAddresses() const;
64  QString vcardField() const;
65  QStringList vcardAddresses() const;
66 
67  bool isForUris() const;
68  QStringList uris() const;
69 
70  bool isUpgrade() const;
71  QList<ContactPtr> contactsToUpgrade() const;
72 
73  QList<ContactPtr> contacts() const;
74  UIntList invalidHandles() const;
75  QStringList validIdentifiers() const;
76  QHash<QString, QPair<QString, QString> > invalidIdentifiers() const;
77  QStringList validVCardAddresses() const;
78  QStringList invalidVCardAddresses() const;
79  QStringList validUris() const;
80  QStringList invalidUris() const;
81 
82 private Q_SLOTS:
83  TP_QT_NO_EXPORT void onAttributesFinished(Tp::PendingOperation *);
84  TP_QT_NO_EXPORT void onRequestHandlesFinished(Tp::PendingOperation *);
85  TP_QT_NO_EXPORT void onAddressingGetContactsFinished(Tp::PendingOperation *);
86  TP_QT_NO_EXPORT void onReferenceHandlesFinished(Tp::PendingOperation *);
87  TP_QT_NO_EXPORT void onNestedFinished(Tp::PendingOperation *);
88  TP_QT_NO_EXPORT void onInspectHandlesFinished(QDBusPendingCallWatcher *);
89 
90 private:
91  friend class ContactManager;
92 
93  enum RequestType
94  {
95  ForHandles,
96  ForIdentifiers,
97  ForVCardAddresses,
98  ForUris,
99  Upgrade
100  };
101 
102  // If errorName is non-empty, these will fail instantly
103  TP_QT_NO_EXPORT PendingContacts(const ContactManagerPtr &manager, const UIntList &handles,
104  const Features &features,
105  const Features &missingFeatures,
106  const QStringList &interfaces,
107  const QMap<uint, ContactPtr> &satisfyingContacts,
108  const QSet<uint> &otherContacts,
109  const QString &errorName = QString(),
110  const QString &errorMessage = QString());
111  TP_QT_NO_EXPORT PendingContacts(const ContactManagerPtr &manager, const QStringList &list,
112  RequestType requestType,
113  const Features &features,
114  const QStringList &interfaces,
115  const QString &errorName = QString(),
116  const QString &errorMessage = QString());
117  TP_QT_NO_EXPORT PendingContacts(const ContactManagerPtr &manager, const QString &vcardField,
118  const QStringList &vcardAddresses,
119  const Features &features,
120  const QStringList &interfaces,
121  const QString &errorName = QString(),
122  const QString &errorMessage = QString());
123  TP_QT_NO_EXPORT PendingContacts(const ContactManagerPtr &manager, const QList<ContactPtr> &contacts,
124  const Features &features,
125  const QString &errorName = QString(),
126  const QString &errorMessage = QString());
127 
128  TP_QT_NO_EXPORT void allAttributesFetched();
129 
130  struct Private;
131  friend struct Private;
132  Private *mPriv;
133 };
134 
135 } // Tp
136 
137 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The ContactManager class is responsible for managing contacts.
Definition: contact-manager.h:50
The Features class represents a list of Feature.
Definition: feature.h:61
The PendingContacts class is used by ContactManager when creating/updating Contact objects...
Definition: pending-contacts.h:46
Definition: build/TelepathyQt/_gen/types.h:107
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00968.html0000644000175000017500000000544212727270137021015 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CallMemberMap Member List

This is the complete list of members for Tp::CallMemberMap, including all inherited members.

CallMemberMap()Tp::CallMemberMapinline
CallMemberMap(const QMap< uint, uint > &a)Tp::CallMemberMapinline
operator=(const QMap< uint, uint > &a)Tp::CallMemberMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00467.html0000644000175000017500000010523612727270137021011 0ustar00kaffeinekaffeine00000000000000 Tp::ReceivedMessage Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The ReceivedMessage class is a subclass of Message, representing a received message only. More...

#include <TelepathyQt/ReceivedMessage>

Inherits Tp::Message.

Classes

class  DeliveryDetails
 The ReceivedMessage::DeliveryDetails class represents the details of a delivery report. More...
 

Public Member Functions

 ReceivedMessage (const ReceivedMessage &other)
 
ReceivedMessageoperator= (const ReceivedMessage &other)
 
 ~ReceivedMessage ()
 
QDateTime received () const
 
ContactPtr sender () const
 
QString senderNickname () const
 
QString supersededToken () const
 
bool isScrollback () const
 
bool isRescued () const
 
bool isDeliveryReport () const
 
DeliveryDetails deliveryDetails () const
 
bool isFromChannel (const TextChannelPtr &channel) const
 
- Public Member Functions inherited from Tp::Message
 Message (ChannelTextMessageType, const QString &)
 
 Message (const Message &other)
 
 ~Message ()
 
Messageoperator= (const Message &other)
 
bool operator== (const Message &other) const
 
bool operator!= (const Message &other) const
 
QDateTime sent () const
 
ChannelTextMessageType messageType () const
 
bool isTruncated () const
 
bool hasNonTextContent () const
 
QString messageToken () const
 
bool isSpecificToDBusInterface () const
 
QString dbusInterface () const
 
QString text () const
 
MessagePart header () const
 
int size () const
 
MessagePart part (uint index) const
 
MessagePartList parts () const
 

Protected Member Functions

 ReceivedMessage (const MessagePartList &parts, const TextChannelPtr &channel)
 
 ReceivedMessage ()
 
uint senderHandle () const
 
QString senderId () const
 
uint pendingId () const
 
void setForceNonText ()
 
void clearSenderHandle ()
 
void setSender (const ContactPtr &sender)
 

Detailed Description

The ReceivedMessage class is a subclass of Message, representing a received message only.

It contains additional information that's generally only available on received messages.

Constructor & Destructor Documentation

Tp::ReceivedMessage::ReceivedMessage ( const ReceivedMessage other)

Copy constructor.

Tp::ReceivedMessage::~ReceivedMessage ( )

Class destructor.

Tp::ReceivedMessage::ReceivedMessage ( const MessagePartList parts,
const TextChannelPtr &  channel 
)
protected

Construct a new ReceivedMessage object.

Parameters
partsThe parts of a message as defined by the Telepathy specification. This list must have length at least 1.
channelThe channel owning this message.
Tp::ReceivedMessage::ReceivedMessage ( )
protected

Member Function Documentation

ReceivedMessage & Tp::ReceivedMessage::operator= ( const ReceivedMessage other)

Assignment operator.

QDateTime Tp::ReceivedMessage::received ( ) const

Return the time the message was received.

Returns
The timestamp as QDateTime, or QDateTime() if unknown.
ContactPtr Tp::ReceivedMessage::sender ( ) const

Return the contact who sent the message.

Returns
A pointer to the Contact object.
See also
senderNickname()
QString Tp::ReceivedMessage::senderNickname ( ) const

Return the nickname chosen by the sender of the message, which can be different for each message in a conversation.

Returns
The nickname.
See also
sender()
QString Tp::ReceivedMessage::supersededToken ( ) const

If this message replaces a previous message, return the value of messageToken() for that previous message. Otherwise, return an empty string.

For instance, a user interface could replace the superseded message with this message, or grey out the superseded message.

Returns
The message token of the superseded message or an empty string if none.
bool Tp::ReceivedMessage::isScrollback ( ) const

Return whether the incoming message was part of a replay of message history.

If true, loggers can use this to improve their heuristics for elimination of duplicate messages (a simple, correct implementation would be to avoid logging any message that has this flag).

Returns
true if the scrollback flag is set, false otherwise.
bool Tp::ReceivedMessage::isRescued ( ) const

Return whether the incoming message was seen in a previous channel during the lifetime of the connection, but was not acknowledged before that channel closed, causing the channel in which it now appears to open.

If true, loggers should not log this message again.

Returns
true if the rescued flag is set, false otherwise.
bool Tp::ReceivedMessage::isDeliveryReport ( ) const

Return whether the incoming message is a delivery report.

Returns
true if a delivery report, false otherwise.
See also
deliveryDetails()
ReceivedMessage::DeliveryDetails Tp::ReceivedMessage::deliveryDetails ( ) const

Return the details of a delivery report.

This method should only be used if isDeliveryReport() returns true.

Returns
The delivery report as a ReceivedMessage::DeliveryDetails object.
See also
isDeliveryReport()
bool Tp::ReceivedMessage::isFromChannel ( const TextChannelPtr &  channel) const

Return whether this message is from channel.

Returns
true if the message is from channel, false otherwise.
uint Tp::ReceivedMessage::senderHandle ( ) const
protected
QString Tp::ReceivedMessage::senderId ( ) const
protected
uint Tp::ReceivedMessage::pendingId ( ) const
protected
void Tp::ReceivedMessage::setForceNonText ( )
protected
void Tp::ReceivedMessage::clearSenderHandle ( )
protected
void Tp::ReceivedMessage::setSender ( const ContactPtr &  sender)
protected


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00211.html0000644000175000017500000005636512727270137021004 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelTypeContactListInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Member Functions

 ChannelTypeContactListInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeContactListInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeContactListInterface (Tp::DBusProxy *proxy)
 
 ChannelTypeContactListInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelTypeContactListInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.ContactList".

Constructor & Destructor Documentation

Tp::Client::ChannelTypeContactListInterface::ChannelTypeContactListInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelTypeContactListInterface 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.
Tp::Client::ChannelTypeContactListInterface::ChannelTypeContactListInterface ( Tp::DBusProxy proxy)

Creates a ChannelTypeContactListInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelTypeContactListInterface::ChannelTypeContactListInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelTypeContactListInterface 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 Tp::Client::ChannelTypeContactListInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Type.ContactList", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ChannelTypeContactListInterface::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.
void Tp::Client::ChannelTypeContactListInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01182.html0000644000175000017500000000556012727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleStatusSpecMap Member List

This is the complete list of members for Tp::SimpleStatusSpecMap, including all inherited members.

operator=(const QMap< QString, SimpleStatusSpec > &a)Tp::SimpleStatusSpecMapinline
SimpleStatusSpecMap()Tp::SimpleStatusSpecMapinline
SimpleStatusSpecMap(const QMap< QString, SimpleStatusSpec > &a)Tp::SimpleStatusSpecMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/namespacemembers_enum.html0000644000175000017500000002411612727270137024520 0ustar00kaffeinekaffeine00000000000000 Namespace Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- a -

  • AccessControlType : Tp
  • AnonymityMode : Tp

- c -

  • CallContentDisposition : Tp
  • CallContentPacketizationType : Tp
  • CallFlag : Tp
  • CallMemberFlag : Tp
  • CallState : Tp
  • CallStateChangeReason : Tp
  • CallStreamCandidateType : Tp
  • CaptchaCancelReason : Tp
  • CaptchaFlag : Tp
  • CaptchaStatus : Tp
  • ChannelCallState : Tp
  • ChannelChatState : Tp
  • ChannelContactSearchState : Tp
  • ChannelGroupChangeReason : Tp
  • ChannelGroupFlag : Tp
  • ChannelMediaCapability : Tp
  • ChannelPasswordFlag : Tp
  • ChannelTextMessageFlag : Tp
  • ChannelTextMessageType : Tp
  • ChannelTextSendError : Tp
  • ConnectionAliasFlag : Tp
  • ConnectionCapabilityFlag : Tp
  • ConnectionPresenceType : Tp
  • ConnectionStatus : Tp
  • ConnectionStatusReason : Tp
  • ConnMgrParamFlag : Tp
  • ContactBlockingCapability : Tp
  • ContactInfoFieldFlag : Tp
  • ContactInfoFlag : Tp
  • ContactListState : Tp
  • ContactMetadataStorageType : Tp

- d -

  • DebugLevel : Tp
  • DeliveryReportingSupportFlag : Tp
  • DeliveryStatus : Tp
  • DTMFEvent : Tp

- f -

  • FileHashType : Tp
  • FileTransferState : Tp
  • FileTransferStateChangeReason : Tp

- h -

  • HandleType : Tp
  • HTTPMethod : Tp

- l -

  • LocalHoldState : Tp
  • LocalHoldStateReason : Tp
  • LocalMuteState : Tp
  • LocationFeature : Tp

- m -

  • MailNotificationFlag : Tp
  • MediaStreamBaseProto : Tp
  • MediaStreamDirection : Tp
  • MediaStreamError : Tp
  • MediaStreamPending : Tp
  • MediaStreamState : Tp
  • MediaStreamTransportType : Tp
  • MediaStreamType : Tp
  • MessagePartSupportFlag : Tp
  • MessageSendingFlag : Tp

- p -

  • PropertyFlag : Tp

- r -

  • RCPTXRRTTMode : Tp
  • RichPresenceAccessControlType : Tp
  • RTCPXRStatisticsFlag : Tp

- s -

  • SASLAbortReason : Tp
  • SASLStatus : Tp
  • SendingState : Tp
  • ServicePointType : Tp
  • SocketAccessControl : Tp
  • SocketAddressType : Tp
  • StorageRestrictionFlag : Tp
  • StreamComponent : Tp
  • StreamEndpointState : Tp
  • StreamFlowState : Tp
  • StreamTransportType : Tp
  • SubscriptionState : Tp

- t -

  • TLSCertificateRejectReason : Tp
  • TLSCertificateState : Tp
  • TubeChannelState : Tp
  • TubeState : Tp
  • TubeType : Tp


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00280.html0000644000175000017500000012257412727270137021006 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceRequestsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QDBusObjectPath, QVariantMap > CreateChannel (const QVariantMap &request, int timeout=-1)
 
QDBusPendingReply< bool, QDBusObjectPath, QVariantMap > EnsureChannel (const QVariantMap &request, int timeout=-1)
 

Signals

void NewChannels (const Tp::ChannelDetailsList &channels)
 
void ChannelClosed (const QDBusObjectPath &removed)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceRequestsInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceRequestsInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceRequestsInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceRequestsInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceRequestsInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyChannels () const
 
Tp::PendingVariantrequestPropertyRequestableChannelClasses () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Requests".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceRequestsInterface 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.
Tp::Client::ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceRequestsInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceRequestsInterface 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.
Tp::Client::ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceRequestsInterface 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 Tp::Client::ConnectionInterfaceRequestsInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.Requests", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceRequestsInterface::requestPropertyChannels ( ) const
inline

Asynchronous getter for the remote object property Channels of type Tp::ChannelDetailsList.

A list of all the channels which currently exist on this connection. Change notification is via the NewChannels and ChannelClosed signals.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceRequestsInterface::requestPropertyRequestableChannelClasses ( ) const
inline

Asynchronous getter for the remote object property RequestableChannelClasses of type Tp::RequestableChannelClassList.

The classes of channel that are expected to be available on this connection, i.e. those for which CreateChannel() can reasonably be expected to succeed. User interfaces can use this information to show or hide UI components.

This property cannot change after the connection has gone to state Connection_Status_Connected, so there is no change notification (if the connection has context-dependent capabilities, it SHOULD advertise support for all classes of channel that it might support during its lifetime). Before this state has been reached, the value of this property is undefined.

This is not on an optional interface, because connection managers can always offer some sort of clue about the channel classes they expect to support (at worst, they can announce support for everything for which they have code).

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceRequestsInterface::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<QDBusObjectPath, QVariantMap> Tp::Client::ConnectionInterfaceRequestsInterface::CreateChannel ( const QVariantMap &  request,
int  timeout = -1 
)
inlineslot

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

Request that an entirely new channel is created.

There is deliberately no flag corresponding to the suppress_handler argument to ConnectionInterface::RequestChannel() , because passing a FALSE value for that argument is deprecated. Requests made using this interface always behave as though suppress_handler was TRUE.

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

Parameters
request

A dictionary containing desirable properties, which MUST include ChannelInterface::ChannelType . Some properties are defined such that only an exact match makes sense, and connection managers MUST NOT satisfy a request with a channel where that property does not match; some properties are defined such that the connection manager MAY treat the request as merely a hint, and make a best-effort attempt to satisfy it. This is documented separately for each property.

If this dictionary contains a property whose semantics are not known to the connection manager, this method MUST fail without side-effects (in particular it must not create a new channel).

This is necessary if we want to be able to invent properties in future that, when used in a request, are hard requirements rather than just hints. A connection manager that did not know the semantics of those properties could incorrectly return a new channel that did not satisfy the requirements.

The connection manager MUST NOT respond successfully, and SHOULD NOT create a new channel or cause any other side-effects, unless it can create a new channel that satisfies the client's requirements.

Properties that will be set by this argument need not have write access after the channel has been created - indeed, it is expected that most will be read-only.

timeoutThe timeout in milliseconds.
Returns

The Channel object, which MUST NOT be signalled with NewChannels() until after this method returns.

This allows the requester to alter its handling of NewChannels by knowing whether one of the channels satisfied a request it made.

Returns

Properties of the channel that was produced, equivalent to the properties in Channel_Details. Connection managers MUST NOT include properties here whose values can change, for the same reasons as in Channel_Details.

QDBusPendingReply<bool, QDBusObjectPath, QVariantMap> Tp::Client::ConnectionInterfaceRequestsInterface::EnsureChannel ( const QVariantMap &  request,
int  timeout = -1 
)
inlineslot

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

Request that channels are ensured to exist.

The connection manager is in the best position to determine which existing channels could satisfy which requests.

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

Parameters
request

A dictionary containing desirable properties, with the same semantics as the corresponding parameter to CreateChannel() .

timeoutThe timeout in milliseconds.
Returns

If false, the caller of EnsureChannel MUST assume that some other process is handling this channel; if true, the caller of EnsureChannel SHOULD handle it themselves or delegate it to another client.

If the creation of a channel makes several calls to EnsureChannel (and no other requests) successful, exactly one of those calls MUST return a true value for this argument.

If the creation of a channel makes other requests successful, the value returned for this argument MUST be such that exactly one of the clients making requests ends up responsible for the channel. In particular, if CreateChannel() returns a channel C, any EnsureChannel calls that also return C MUST return a false value for this argument.

Returns
The Channel object. If it was created as a result of this method 
call, it MUST NOT be signalled by NewChannels until after this 
method returns. This allows the requester to alter its handling of 
NewChannels by knowing whether one of the channels satisfied a 
request it made.

Properties of the channel that was produced, equivalent to the properties in Channel_Details. Connection managers MUST NOT include properties here whose values can change, for the same reasons as in Channel_Details.

void Tp::Client::ConnectionInterfaceRequestsInterface::NewChannels ( const Tp::ChannelDetailsList channels)
signal

Represents the signal NewChannels on the remote object.

New channels have been created. The connection manager SHOULD emit a single signal for any group of closely related channels that are created at the same time, so that the channel dispatcher can try to dispatch them to a handler as a unit.

In particular, if additional channels are created as a side-effect of a call to CreateChannel() , these channels SHOULD appear in the same NewChannels signal as the channel that satisfies the request.

Joining a MUC Tube in XMPP requires joining the corresponding MUC (chatroom), so a ChannelTypeTextInterface channel can be created as a side-effect.

Every time NewChannels is emitted, it MUST be followed by a ConnectionInterface::NewChannel() signal for each channel.

The double signal emission is for the benefit of older Telepathy clients, which won't be listening for NewChannels.

The more informative NewChannels signal comes first so that clients that did not examine the connection to find out whether Requests is supported will see the more informative signal for each channel first, and then ignore the less informative signal because it announces a new channel of which they are already aware.

Parameters
channels
The channels and their details. All channels that are signalled 
together like this MUST have the same Bundle property, which may 
either refer to an existing bundle, or establish a new bundle.
void Tp::Client::ConnectionInterfaceRequestsInterface::ChannelClosed ( const QDBusObjectPath &  removed)
signal

Represents the signal ChannelClosed on the remote object.

Emitted when a channel is closed and hence disappears from the Channels property. This is redundant with the Closed signal on the channel itself, but it does provide full change notification for the Channels property.

Parameters
removed
The channel which has been removed from the Channels property
void Tp::Client::ConnectionInterfaceRequestsInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01241.html0000644000175000017500000002626712727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AnswerCaptchas(const Tp::CaptchaAnswers &answers, int timeout=-1)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinlineslot
CancelCaptcha(uint reason, const QString &debugMessage, int timeout=-1)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinlineslot
ChannelInterfaceCaptchaAuthenticationInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface
ChannelInterfaceCaptchaAuthenticationInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface
ChannelInterfaceCaptchaAuthenticationInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface
ChannelInterfaceCaptchaAuthenticationInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceexplicit
ChannelInterfaceCaptchaAuthenticationInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterface
GetCaptchaData(uint ID, const QString &mimeType, int timeout=-1)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinlineslot
GetCaptchas(int timeout=-1)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinline
requestPropertyCanRetryCaptcha() const Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinline
requestPropertyCaptchaError() const Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinline
requestPropertyCaptchaErrorDetails() const Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinline
requestPropertyCaptchaStatus() const Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceCaptchaAuthenticationInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00025.html0000644000175000017500000001524012727270137020772 0ustar00kaffeinekaffeine00000000000000 roster/roster-widget.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-widget.h
#ifndef _TelepathyQt_examples_roster_roster_widget_h_HEADER_GUARD_
#define _TelepathyQt_examples_roster_roster_widget_h_HEADER_GUARD_
#include <QWidget>
#include <TelepathyQt/Contact>
#include <TelepathyQt/Connection>
namespace Tp {
class Connection;
class PendingOperation;
}
class QAction;
class QDialog;
class QLineEdit;
class QListWidget;
class QListWidgetItem;
class QPushButton;
class RosterItem;
class RosterWidget : public QWidget
{
Q_OBJECT
public:
RosterWidget(QWidget *parent = 0);
virtual ~RosterWidget();
Tp::ConnectionPtr connection() const { return mConn; }
void setConnection(const Tp::ConnectionPtr &conn);
void unsetConnection();
QListWidget *listWidget() const { return mList; }
protected:
virtual RosterItem *createItemForContact(
const Tp::ContactPtr &contact,
bool &exists);
virtual void updateActions(RosterItem *item) { }
private Q_SLOTS:
void onContactManagerStateChanged(Tp::ContactListState state);
void onPresencePublicationRequested(const Tp::Contacts &);
void onItemSelectionChanged();
void onAddButtonClicked();
void onAuthActionTriggered(bool);
void onDenyActionTriggered(bool);
void onRemoveActionTriggered(bool);
void onBlockActionTriggered(bool);
void onContactRetrieved(Tp::PendingOperation *op);
void updateActions();
private:
void createActions();
void setupGui();
Tp::ConnectionPtr mConn;
QAction *mAuthAction;
QAction *mRemoveAction;
QAction *mDenyAction;
QAction *mBlockAction;
QListWidget *mList;
QPushButton *mAddBtn;
QDialog *mAddDlg;
QLineEdit *mAddDlgEdt;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_t.html0000644000175000017500000003011012727270137022507 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- t -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_g.html0000644000175000017500000005645212727270137023526 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- g -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01300.html0000644000175000017500000002272412727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ConnectionManagerInterface Member List

This is the complete list of members for Tp::Client::ConnectionManagerInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ConnectionManagerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionManagerInterface
ConnectionManagerInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ConnectionManagerInterface
ConnectionManagerInterface(Tp::DBusProxy *proxy)Tp::Client::ConnectionManagerInterface
GetParameters(const QString &protocol, int timeout=-1)Tp::Client::ConnectionManagerInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ConnectionManagerInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
ListProtocols(int timeout=-1)Tp::Client::ConnectionManagerInterfaceinlineslot
NewConnection(const QString &busName, const QDBusObjectPath &objectPath, const QString &protocol)Tp::Client::ConnectionManagerInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ConnectionManagerInterfaceinline
RequestConnection(const QString &protocol, const QVariantMap &parameters, int timeout=-1)Tp::Client::ConnectionManagerInterfaceinlineslot
requestPropertyInterfaces() const Tp::Client::ConnectionManagerInterfaceinline
requestPropertyProtocols() const Tp::Client::ConnectionManagerInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ConnectionManagerInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00094.html0000644000175000017500000006715512727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionContactCapabilitiesInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.ContactCapabilities. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< void, const Tp::HandlerCapabilitiesList &, DBusError * > UpdateCapabilitiesCallback
 
typedef Callback2< Tp::ContactCapabilitiesMap, const Tp::UIntList &, DBusError * > GetContactCapabilitiesCallback
 

Public Member Functions

virtual ~BaseConnectionContactCapabilitiesInterface ()
 
QVariantMap immutableProperties () const
 
void setUpdateCapabilitiesCallback (const UpdateCapabilitiesCallback &cb)
 
void updateCapabilities (const Tp::HandlerCapabilitiesList &handlerCapabilities, DBusError *error)
 
void setGetContactCapabilitiesCallback (const GetContactCapabilitiesCallback &cb)
 
Tp::ContactCapabilitiesMap getContactCapabilities (const Tp::UIntList &handles, DBusError *error)
 
void contactCapabilitiesChanged (const Tp::ContactCapabilitiesMap &caps)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactCapabilitiesInterfacePtr create ()
 
template<typename BaseConnectionContactCapabilitiesInterfaceSubclass >
static SharedPtr< BaseConnectionContactCapabilitiesInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactCapabilitiesInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.ContactCapabilities.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionContactCapabilitiesInterface::~BaseConnectionContactCapabilitiesInterface ( )
virtual

Class destructor.

Tp::BaseConnectionContactCapabilitiesInterface::BaseConnectionContactCapabilitiesInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionContactCapabilitiesInterfacePtr Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic
template<typename BaseConnectionContactCapabilitiesInterfaceSubclass >
static SharedPtr<BaseConnectionContactCapabilitiesInterfaceSubclass> Tp::BaseConnectionContactCapabilitiesInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionContactCapabilitiesInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

void Tp::BaseConnectionContactCapabilitiesInterface::setUpdateCapabilitiesCallback ( const UpdateCapabilitiesCallback cb)
void Tp::BaseConnectionContactCapabilitiesInterface::updateCapabilities ( const Tp::HandlerCapabilitiesList handlerCapabilities,
DBusError error 
)
void Tp::BaseConnectionContactCapabilitiesInterface::setGetContactCapabilitiesCallback ( const GetContactCapabilitiesCallback cb)
Tp::ContactCapabilitiesMap Tp::BaseConnectionContactCapabilitiesInterface::getContactCapabilities ( const Tp::UIntList handles,
DBusError error 
)
void Tp::BaseConnectionContactCapabilitiesInterface::contactCapabilitiesChanged ( const Tp::ContactCapabilitiesMap caps)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01055.html0000644000175000017500000001267212727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::GenericCapabilityFilter< T > Member List

This is the complete list of members for Tp::GenericCapabilityFilter< T >, including all inherited members.

addRequestableChannelClassSubset(const RequestableChannelClassSpec &rccSpec)Tp::GenericCapabilityFilter< T >inline
create(const RequestableChannelClassSpecList &rccSpecs=RequestableChannelClassSpecList())Tp::GenericCapabilityFilter< T >inlinestatic
Filter()Tp::Filter< T >inlineprotected
filter() const Tp::GenericCapabilityFilter< T >inline
isValid() const Tp::GenericCapabilityFilter< T >inlinevirtual
matches(const SharedPtr< T > &t) const Tp::GenericCapabilityFilter< T >inlinevirtual
RefCounted()Tp::RefCountedinline
setRequestableChannelClassesSubset(const RequestableChannelClassSpecList &rccSpecs)Tp::GenericCapabilityFilter< T >inline
~Filter()Tp::Filter< T >inlinevirtual
~GenericCapabilityFilter()Tp::GenericCapabilityFilter< T >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/namespaces.html0000644000175000017500000000743412727270137022310 0ustar00kaffeinekaffeine00000000000000 Namespace List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Namespace List
Here is a list of all namespaces with brief descriptions:
[detail level 123]
 NTp
 NClient
 NDBus
 NFarstream
 NKeyFile
 NManagerFile
 NService


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00739_source.html0000644000175000017500000002371312727270137022372 0ustar00kaffeinekaffeine00000000000000 pending-account.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
pending-account.h
1 
23 #ifndef _TelepathyQt_pending_account_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_account_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Account>
31 #include <TelepathyQt/PendingOperation>
32 
33 #include <QString>
34 #include <QVariantMap>
35 
36 class QDBusPendingCallWatcher;
37 
38 namespace Tp
39 {
40 
41 class AccountManager;
42 
43 class TP_QT_EXPORT PendingAccount : public PendingOperation
44 {
45  Q_OBJECT
46  Q_DISABLE_COPY(PendingAccount);
47 
48 public:
49  ~PendingAccount();
50 
51  AccountManagerPtr manager() const;
52 
53  AccountPtr account() const;
54 
55 private Q_SLOTS:
56  TP_QT_NO_EXPORT void onCallFinished(QDBusPendingCallWatcher *watcher);
57  TP_QT_NO_EXPORT void onAccountBuilt(Tp::PendingOperation *readyOp);
58  TP_QT_NO_EXPORT void onNewAccount(const Tp::AccountPtr &account);
59 
60 private:
61  friend class AccountManager;
62 
63  TP_QT_NO_EXPORT PendingAccount(const AccountManagerPtr &manager,
64  const QString &connectionManager, const QString &protocol,
65  const QString &displayName, const QVariantMap &parameters,
66  const QVariantMap &properties = QVariantMap());
67 
68  struct Private;
69  friend struct Private;
70  Private *mPriv;
71 };
72 
73 } // Tp
74 
75 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: abstract-adaptor.cpp:31
The AccountManager class represents a Telepathy account manager.
Definition: account-manager.h:53
The PendingAccount class represents the parameters of and the reply to an asynchronous account reques...
Definition: pending-account.h:43


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00153.html0000644000175000017500000002131212727270137020771 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelClassSpecList Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::ChannelClassSpecList Class Reference

The ChannelClassSpecList class represents a list of ChannelClassSpec. More...

#include <TelepathyQt/ChannelClassSpecList>

Inherits QList< ChannelClassSpec >.

Public Member Functions

 ChannelClassSpecList ()
 
 ChannelClassSpecList (const ChannelClassSpec &spec)
 
 ChannelClassSpecList (const QList< ChannelClassSpec > &other)
 
 ChannelClassSpecList (const ChannelClassList &classes)
 
ChannelClassList bareClasses () const
 

Detailed Description

The ChannelClassSpecList class represents a list of ChannelClassSpec.

Constructor & Destructor Documentation

Tp::ChannelClassSpecList::ChannelClassSpecList ( )
inline
Tp::ChannelClassSpecList::ChannelClassSpecList ( const ChannelClassSpec spec)
inline
Tp::ChannelClassSpecList::ChannelClassSpecList ( const QList< ChannelClassSpec > &  other)
inline
Tp::ChannelClassSpecList::ChannelClassSpecList ( const ChannelClassList classes)
inline

Member Function Documentation

ChannelClassList Tp::ChannelClassSpecList::bareClasses ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01114.html0000644000175000017500000001357512727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingConnection Member List

This is the complete list of members for Tp::PendingConnection, including all inherited members.

connection() const Tp::PendingConnection
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
manager() const Tp::PendingConnection
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingConnection()Tp::PendingConnection
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00969.html0000644000175000017500000000550112727270137021012 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CallStateReason Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00468.html0000644000175000017500000001407712727270137021014 0ustar00kaffeinekaffeine00000000000000 Tp::RefCounted Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The RefCounted class is a base class for shared objects used by SharedPtr. More...

#include <TelepathyQt/RefCounted>

Inherited by Tp::MethodInvocationContext<>, Tp::AbstractClient, Tp::ConnectionLowlevel, Tp::ConnectionManagerLowlevel, Tp::ContactFactory, Tp::ContactMessenger, Tp::DBusProxyFactory, Tp::Filter< T >, Tp::MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >, Tp::Object, Tp::Profile, Tp::SimpleCallObserver, Tp::SimpleObserver, Tp::SimpleTextObserver, Tp::StreamTubeClient, and Tp::StreamTubeServer.

Public Member Functions

 RefCounted ()
 
virtual ~RefCounted ()
 

Detailed Description

The RefCounted class is a base class for shared objects used by SharedPtr.

See Shared Pointer Usage

Constructor & Destructor Documentation

Tp::RefCounted::RefCounted ( )
inline
virtual Tp::RefCounted::~RefCounted ( )
inlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00735_source.html0000644000175000017500000002667512727270137022400 0ustar00kaffeinekaffeine00000000000000 outgoing-file-transfer-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
outgoing-file-transfer-channel.h
1 
23 #ifndef _TelepathyQt_outgoing_file_transfer_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_outgoing_file_transfer_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/FileTransferChannel>
31 
32 #include <QAbstractSocket>
33 
34 namespace Tp
35 {
36 
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(OutgoingFileTransferChannel)
41 
42 public:
43  static const Feature FeatureCore;
44 
45  static OutgoingFileTransferChannelPtr create(const ConnectionPtr &connection,
46  const QString &objectPath, const QVariantMap &immutableProperties);
47 
48  virtual ~OutgoingFileTransferChannel();
49 
50  PendingOperation *provideFile(QIODevice *input);
51 
52 protected:
53  OutgoingFileTransferChannel(const ConnectionPtr &connection,
54  const QString &objectPath,
55  const QVariantMap &immutableProperties,
57 
58 private Q_SLOTS:
59  TP_QT_NO_EXPORT void onProvideFileFinished(Tp::PendingOperation *op);
60 
61  TP_QT_NO_EXPORT void onSocketConnected();
62  TP_QT_NO_EXPORT void onSocketDisconnected();
63  TP_QT_NO_EXPORT void onSocketError(QAbstractSocket::SocketError error);
64  TP_QT_NO_EXPORT void onInputAboutToClose();
65  TP_QT_NO_EXPORT void doTransfer();
66 
67 private:
68  TP_QT_NO_EXPORT void connectToHost();
69  TP_QT_NO_EXPORT void setFinished();
70 
71  struct Private;
72  friend struct Private;
73  Private *mPriv;
74 };
75 
76 } // Tp
77 
78 #endif
static const Feature FeatureCore
Definition: outgoing-file-transfer-channel.h:43
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The OutgoingFileTransferChannel class represents a Telepathy channel of type FileTransfer for outgoin...
Definition: outgoing-file-transfer-channel.h:37
Definition: abstract-adaptor.cpp:31
The FileTransferChannel class represents a Telepathy channel of type FileTransfer.
Definition: file-transfer-channel.h:35
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00212.html0000644000175000017500000005633212727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelTypeContactSearchAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

void Search (const Tp::ContactSearchMap &terms, const QDBusMessage &dbusMessage)
 
void More (const QDBusMessage &dbusMessage)
 
void Stop (const QDBusMessage &dbusMessage)
 

Signals

void SearchStateChanged (uint state, const QString &error, const QVariantMap &details)
 
void SearchResultReceived (const Tp::ContactSearchResultMap &result)
 

Public Member Functions

uint SearchState () const
 
uint Limit () const
 
QStringList AvailableSearchKeys () const
 
QString Server () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

uint Tp::Service::ChannelTypeContactSearchAdaptor::SearchState ( ) const

Return the value of the exported D-Bus object property SearchState of type uint.

Adaptees should export this property as a Qt property named 'searchState' with type uint.

The current state of this search channel object. Change notification is via SearchStateChanged.

Returns
The value of exported property SearchState.
uint Tp::Service::ChannelTypeContactSearchAdaptor::Limit ( ) const

Return the value of the exported D-Bus object property Limit of type uint.

Adaptees should export this property as a Qt property named 'limit' with type uint.

If supported by the protocol, the maximum number of results that should be returned, where 0 represents no limit. If the protocol does not support limiting results, this should be 0.

For example, if the terms passed to Search() match Antonius, Bridget and Charles and this property is 2, the search service SHOULD only return Antonius and Bridget.

This property SHOULD be requestable if and only if the protocol supports specifying a limit; implementations SHOULD use 0 as the default if possible, or a protocol-specific sensible default otherwise.

Returns
The value of exported property Limit.
QStringList Tp::Service::ChannelTypeContactSearchAdaptor::AvailableSearchKeys ( ) const

Return the value of the exported D-Bus object property AvailableSearchKeys of type QStringList.

Adaptees should export this property as a Qt property named 'availableSearchKeys' with type QStringList.

The set of search keys supported by this channel. Example values include [""] (for protocols where several address fields are implicitly searched) or ["x-n-given", "x-n-family", "nickname", "email"] (for XMPP XEP-0055, without extensibility via Data Forms). It can be in the NewChannels signal for round-trip reduction.

Returns
The value of exported property AvailableSearchKeys.
QString Tp::Service::ChannelTypeContactSearchAdaptor::Server ( ) const

Return the value of the exported D-Bus object property Server of type QString.

Adaptees should export this property as a Qt property named 'server' with type QString.

For protocols which support searching for contacts on multiple servers with different DNS names (like XMPP), the DNS name of the server being searched by this channel, e.g. "characters.shakespeare.lit". Otherwise, the empty string. XEP 0055 defines a mechanism for XMPP clients to search services of their choice for contacts, such as users.jabber.org (the "Jabber User Directory"). This property SHOULD be requestable if and only if the protocol supports querying multiple different servers; implementations SHOULD use a sensible default if possible if this property is not specified in a channel request. This allows a client to perform searches on a protocol it knows nothing about without requiring the user to guess a valid server's hostname.

Returns
The value of exported property Server.
void Tp::Service::ChannelTypeContactSearchAdaptor::Search ( const Tp::ContactSearchMap terms,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void search(const Tp::ContactSearchMap& terms, const Tp::Service::ChannelTypeContactSearchAdaptor::SearchContextPtr &context);

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

Send a request to start a search for contacts on this connection. This may only be called while the SearchState is Not_Started; a valid search request will cause the SearchStateChanged signal to be emitted with the state In_Progress.

Parameters
terms
A dictionary mapping search key names to the desired values
void Tp::Service::ChannelTypeContactSearchAdaptor::More ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void more(const Tp::Service::ChannelTypeContactSearchAdaptor::MoreContextPtr &context);

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

Request that a search in SearchState More_Available move back to state In_Progress and continue listing up to Limit more results.

void Tp::Service::ChannelTypeContactSearchAdaptor::Stop ( const QDBusMessage &  dbusMessage)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void stop(const Tp::Service::ChannelTypeContactSearchAdaptor::StopContextPtr &context);

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

Stop the current search. This may not be called while the SearchState is Not_Started. If called while the SearchState is In_Progress, SearchStateChanged() will be emitted, with the state Failed and the error org.freedesktop.Telepathy.Error.Cancelled.

Calling this method on a search in state Completed or Failed succeeds, but has no effect.

Specifying Stop to succeed when the search has finished means that clients who call Stop just before receiving SearchStateChanged() don't have to handle a useless error.

Depending on the protocol, the connection manager may not be able to prevent the server from sending further results after this method returns; if this is the case, it MUST ignore any further results.

void Tp::Service::ChannelTypeContactSearchAdaptor::SearchStateChanged ( uint  state,
const QString &  error,
const QVariantMap &  details 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void searchStateChanged(uint state, const QString& error, const QVariantMap& details);

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

Parameters
state
The new search state
error If the new state is Failed, the name of a D-Bus error describing what went wrong. Otherwise, the empty string.
details

Additional information about the state transition, which may include the following well-known keys:

debug-message (s)
Debugging information on the change, corresponding to the message part of a D-Bus error message, which SHOULD NOT be displayed to users under normal circumstances

This argument allows for future extensions. For instance, if moving to state Failed because the server rejected one of our search terms, we could define a key that indicates which terms were invalid.

void Tp::Service::ChannelTypeContactSearchAdaptor::SearchResultReceived ( const Tp::ContactSearchResultMap result)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void searchResultReceived(const Tp::ContactSearchResultMap& result);

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

Parameters
result
A mapping from contact identifier to an array of fields 
representing information about this contact.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01183.html0000644000175000017500000001763012727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleStreamTubeHandler Member List

This is the complete list of members for Tp::SimpleStreamTubeHandler, including all inherited members.

AbstractClient()Tp::AbstractClient
AbstractClientHandler(const ChannelClassSpecList &channelFilter, const Capabilities &capabilities=Capabilities(), bool wantsRequestNotification=false)Tp::AbstractClientHandlerprotected
addRequest(const ChannelRequestPtr &request)Tp::AbstractClientHandlervirtual
bypassApproval() const Tp::SimpleStreamTubeHandlerinlinevirtual
create(const QStringList &p2pServices, const QStringList &roomServices, bool requested, bool monitorConnections, bool bypassApproval=false)Tp::SimpleStreamTubeHandlerstatic
handleChannels(const MethodInvocationContextPtr<> &context, const AccountPtr &account, const ConnectionPtr &connection, const QList< ChannelPtr > &channels, const QList< ChannelRequestPtr > &requestsSatisfied, const QDateTime &userActionTime, const HandlerInfo &handlerInfo)Tp::SimpleStreamTubeHandlervirtual
handlerCapabilities() const Tp::AbstractClientHandler
handlerFilter() const Tp::AbstractClientHandler
invokedForTube(const Tp::AccountPtr &account, const Tp::StreamTubeChannelPtr &tube, const QDateTime &userActionTime, const Tp::ChannelRequestHints &requestHints)Tp::SimpleStreamTubeHandlersignal
isRegistered() const Tp::AbstractClient
monitorsConnections() const Tp::SimpleStreamTubeHandlerinline
RefCounted()Tp::RefCountedinline
removeRequest(const ChannelRequestPtr &request, const QString &errorName, const QString &errorMessage)Tp::AbstractClientHandlervirtual
tubeInvalidated(const Tp::AccountPtr &account, const Tp::StreamTubeChannelPtr &tube, const QString &errorName, const QString &errorMessage)Tp::SimpleStreamTubeHandlersignal
wantsRequestNotification() const Tp::AbstractClientHandler
~AbstractClient()Tp::AbstractClientvirtual
~AbstractClientHandler()Tp::AbstractClientHandlervirtual
~RefCounted()Tp::RefCountedinlinevirtual
~SimpleStreamTubeHandler()Tp::SimpleStreamTubeHandler


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00731_source.html0000644000175000017500000003504412727270137022362 0ustar00kaffeinekaffeine00000000000000 or-filter.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
or-filter.h
1 
23 #ifndef _TelepathyQt_or_filter_h_HEADER_GUARD_
24 #define _TelepathyQt_or_filter_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Filter>
31 #include <TelepathyQt/Types>
32 
33 namespace Tp
34 {
35 
36 template <class T>
37 class OrFilter : public Filter<T>
38 {
39 public:
41  const QList<SharedPtr<const Filter<T> > > &filters = QList<SharedPtr<const Filter<T> > >())
42  {
44  }
45 
46  inline virtual ~OrFilter() { }
47 
48  inline virtual bool isValid() const
49  {
50  Q_FOREACH (const SharedPtr<const Filter<T> > &filter, mFilters) {
51  if (!filter || !filter->isValid()) {
52  return false;
53  }
54  }
55  return true;
56  }
57 
58  inline virtual bool matches(const SharedPtr<T> &t) const
59  {
60  if (!isValid()) {
61  return false;
62  }
63 
64  Q_FOREACH (const SharedPtr<const Filter<T> > &filter, mFilters) {
65  if (filter->matches(t)) {
66  return true;
67  }
68  }
69  return false;
70  }
71 
72  inline QList<SharedPtr<const Filter<T> > > filters() const { return mFilters; }
73 
74 private:
75  OrFilter(const QList<SharedPtr<const Filter<T> > > &filters)
76  : Filter<T>(), mFilters(filters) { }
77 
78  QList<SharedPtr<const Filter<T> > > mFilters;
79 };
80 
81 } // Tp
82 
83 #endif
QList< SharedPtr< const Filter< T > > > filters() const
Definition: or-filter.h:72
virtual ~OrFilter()
Definition: or-filter.h:46
The OrFilter class provides a generic filter object to be used in conjunction of other filters...
Definition: or-filter.h:37
virtual bool isValid() const
Definition: or-filter.h:48
virtual bool matches(const SharedPtr< T > &t) const
Definition: or-filter.h:58
Definition: abstract-adaptor.cpp:31
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
static SharedPtr< OrFilter< T > > create(const QList< SharedPtr< const Filter< T > > > &filters=QList< SharedPtr< const Filter< T > > >())
Definition: or-filter.h:40
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00281.html0000644000175000017500000002105512727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceServicePointAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceServicePointAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Signals

void ServicePointsChanged (const Tp::ServicePointInfoList &servicePoints)
 

Public Member Functions

Tp::ServicePointInfoList KnownServicePoints () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::ServicePointInfoList Tp::Service::ConnectionInterfaceServicePointAdaptor::KnownServicePoints ( ) const

Return the value of the exported D-Bus object property KnownServicePoints of type Tp::ServicePointInfoList.

Adaptees should export this property as a Qt property named 'knownServicePoints' with type Tp::ServicePointInfoList.

The list of all (known) service points.

Returns
The value of exported property KnownServicePoints.
void Tp::Service::ConnectionInterfaceServicePointAdaptor::ServicePointsChanged ( const Tp::ServicePointInfoList servicePoints)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void servicePointsChanged(const Tp::ServicePointInfoList& servicePoints);

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

Parameters
servicePoints

The new value of \\\ \\link requestPropertyKnownServicePoints() KnownServicePoints \\endlink \\htmlonly .


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01242.html0000644000175000017500000002230612727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceChatStateInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceChatStateInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterfaceChatStateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceChatStateInterface
ChannelInterfaceChatStateInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceChatStateInterface
ChannelInterfaceChatStateInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceChatStateInterface
ChannelInterfaceChatStateInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceChatStateInterfaceexplicit
ChannelInterfaceChatStateInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceChatStateInterface
ChatStateChanged(uint contact, uint state)Tp::Client::ChannelInterfaceChatStateInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceChatStateInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceChatStateInterfaceinline
requestPropertyChatStates() const Tp::Client::ChannelInterfaceChatStateInterfaceinline
SetChatState(uint state, int timeout=-1)Tp::Client::ChannelInterfaceChatStateInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceChatStateInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00026.html0000644000175000017500000002031412727270137020771 0ustar00kaffeinekaffeine00000000000000 roster/roster-window.cpp
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-window.cpp
#include "roster-window.h"
#include "_gen/roster-window.moc.hpp"
#include "roster-widget.h"
#include <TelepathyQt/Types>
#include <TelepathyQt/ChannelFactory>
#include <TelepathyQt/Connection>
#include <TelepathyQt/ConnectionFactory>
#include <TelepathyQt/ContactFactory>
#include <TelepathyQt/PendingOperation>
#include <TelepathyQt/PendingReady>
#include <QDebug>
using namespace Tp;
RosterWindow::RosterWindow(const QString &accountName, QWidget *parent)
: QMainWindow(parent)
{
setWindowTitle(QLatin1String("Roster"));
setupGui();
ChannelFactoryPtr channelFactory = ChannelFactory::create(
QDBusConnection::sessionBus());
ConnectionFactoryPtr connectionFactory = ConnectionFactory::create(
QDBusConnection::sessionBus(), Connection::FeatureConnected |
ContactFactoryPtr contactFactory = ContactFactory::create(
TP_QT_ACCOUNT_OBJECT_PATH_BASE + QLatin1Char('/') + accountName,
connectionFactory, channelFactory, contactFactory);
connect(mAccount->becomeReady(Account::FeatureCore),
SIGNAL(finished(Tp::PendingOperation *)),
SLOT(onAccountReady(Tp::PendingOperation *)));
resize(240, 320);
}
RosterWindow::~RosterWindow()
{
}
void RosterWindow::setupGui()
{
mRoster = new RosterWidget();
setCentralWidget(mRoster);
}
void RosterWindow::onAccountReady(Tp::PendingOperation *op)
{
if (op->isError()) {
qWarning() << "Account cannot become ready - " <<
op->errorName() << '-' << op->errorMessage();
QCoreApplication::exit(1);
return;
}
qDebug() << "Account ready";
connect(mAccount.data(),
SIGNAL(connectionChanged(Tp::ConnectionPtr)),
SLOT(onAccountConnectionChanged(Tp::ConnectionPtr)));
if (mAccount->connection().isNull()) {
qDebug() << "The account given has no Connection. Please set it online to continue.";
}
onAccountConnectionChanged(mAccount->connection());
}
void RosterWindow::onAccountConnectionChanged(const ConnectionPtr &conn)
{
if (conn) {
mRoster->setConnection(conn);
} else {
mRoster->unsetConnection();
}
}


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_u.html0000644000175000017500000002757112727270137022531 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- u -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00340.html0000644000175000017500000003473012727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller5 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
typedef R Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
typedef R(* Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >::FunctorCaller5 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
static ResultType Tp::FunctorCaller5< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_h.html0000644000175000017500000003306412727270137023521 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- h -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01301.html0000644000175000017500000002101712727270137020767 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::DebugInterface Member List

This is the complete list of members for Tp::Client::DebugInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
DebugInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::DebugInterface
DebugInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::DebugInterface
DebugInterface(Tp::DBusProxy *proxy)Tp::Client::DebugInterface
GetMessages(int timeout=-1)Tp::Client::DebugInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::DebugInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
NewDebugMessage(double time, const QString &domain, uint level, const QString &message)Tp::Client::DebugInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::DebugInterfaceinline
requestPropertyEnabled() const Tp::Client::DebugInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
setPropertyEnabled(bool newValue)Tp::Client::DebugInterfaceinline
staticInterfaceName()Tp::Client::DebugInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00095.html0000644000175000017500000011537112727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionContactInfoInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.Contact.Info. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback2< Tp::ContactInfoMap, const Tp::UIntList &, DBusError * > GetContactInfoCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > RefreshContactInfoCallback
 
typedef Callback2< Tp::ContactInfoFieldList, uint, DBusError * > RequestContactInfoCallback
 
typedef Callback2< void, const Tp::ContactInfoFieldList &, DBusError * > SetContactInfoCallback
 

Public Member Functions

virtual ~BaseConnectionContactInfoInterface ()
 
QVariantMap immutableProperties () const
 
Tp::ContactInfoFlags contactInfoFlags () const
 
void setContactInfoFlags (const Tp::ContactInfoFlags &contactInfoFlags)
 
Tp::FieldSpecs supportedFields () const
 
void setSupportedFields (const Tp::FieldSpecs &supportedFields)
 
void setGetContactInfoCallback (const GetContactInfoCallback &cb)
 
Tp::ContactInfoMap getContactInfo (const Tp::UIntList &contacts, DBusError *error)
 
void setRefreshContactInfoCallback (const RefreshContactInfoCallback &cb)
 
void refreshContactInfo (const Tp::UIntList &contacts, DBusError *error)
 
void setRequestContactInfoCallback (const RequestContactInfoCallback &cb)
 
Tp::ContactInfoFieldList requestContactInfo (uint contact, DBusError *error)
 
void setSetContactInfoCallback (const SetContactInfoCallback &cb)
 
void setContactInfo (const Tp::ContactInfoFieldList &contactInfo, DBusError *error)
 
void contactInfoChanged (uint contact, const Tp::ContactInfoFieldList &contactInfo)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactInfoInterfacePtr create ()
 
template<typename BaseConnectionContactInfoInterfaceSubclass >
static SharedPtr< BaseConnectionContactInfoInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactInfoInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Contact.Info.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionContactInfoInterface::~BaseConnectionContactInfoInterface ( )
virtual

Class destructor.

Tp::BaseConnectionContactInfoInterface::BaseConnectionContactInfoInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionContactInfoInterfacePtr Tp::BaseConnectionContactInfoInterface::create ( )
inlinestatic
template<typename BaseConnectionContactInfoInterfaceSubclass >
static SharedPtr<BaseConnectionContactInfoInterfaceSubclass> Tp::BaseConnectionContactInfoInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionContactInfoInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

Tp::ContactInfoFlags Tp::BaseConnectionContactInfoInterface::contactInfoFlags ( ) const
void Tp::BaseConnectionContactInfoInterface::setContactInfoFlags ( const Tp::ContactInfoFlags contactInfoFlags)
Tp::FieldSpecs Tp::BaseConnectionContactInfoInterface::supportedFields ( ) const
void Tp::BaseConnectionContactInfoInterface::setSupportedFields ( const Tp::FieldSpecs supportedFields)
void Tp::BaseConnectionContactInfoInterface::setGetContactInfoCallback ( const GetContactInfoCallback cb)
Tp::ContactInfoMap Tp::BaseConnectionContactInfoInterface::getContactInfo ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactInfoInterface::setRefreshContactInfoCallback ( const RefreshContactInfoCallback cb)
void Tp::BaseConnectionContactInfoInterface::refreshContactInfo ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactInfoInterface::setRequestContactInfoCallback ( const RequestContactInfoCallback cb)
Tp::ContactInfoFieldList Tp::BaseConnectionContactInfoInterface::requestContactInfo ( uint  contact,
DBusError error 
)
void Tp::BaseConnectionContactInfoInterface::setSetContactInfoCallback ( const SetContactInfoCallback cb)
void Tp::BaseConnectionContactInfoInterface::setContactInfo ( const Tp::ContactInfoFieldList contactInfo,
DBusError error 
)
void Tp::BaseConnectionContactInfoInterface::contactInfoChanged ( uint  contact,
const Tp::ContactInfoFieldList contactInfo 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01056.html0000644000175000017500000001246512727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::GenericPropertyFilter< T > Member List

This is the complete list of members for Tp::GenericPropertyFilter< T >, including all inherited members.

addProperty(const QString &propertyName, const QVariant &propertyValue)Tp::GenericPropertyFilter< T >inline
Filter()Tp::Filter< T >inlineprotected
filter() const Tp::GenericPropertyFilter< T >inline
GenericPropertyFilter()Tp::GenericPropertyFilter< T >inlineprotected
isValid() const Tp::GenericPropertyFilter< T >inlinevirtual
matches(const SharedPtr< T > &t) const Tp::GenericPropertyFilter< T >inlinevirtual
RefCounted()Tp::RefCountedinline
setProperties(const QVariantMap &filter)Tp::GenericPropertyFilter< T >inline
~Filter()Tp::Filter< T >inlinevirtual
~GenericPropertyFilter()Tp::GenericPropertyFilter< T >inlinevirtual
~RefCounted()Tp::RefCountedinlinevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00900.html0000644000175000017500000001346012727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractInterface Member List

This is the complete list of members for Tp::AbstractInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)Tp::AbstractInterfaceprotectedvirtualslot
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01370.html0000644000175000017500000001171012727270137020774 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionManagerAdaptor Member List

This is the complete list of members for Tp::Service::ConnectionManagerAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
GetParameters(const QString &protocol, const QDBusMessage &dbusMessage)Tp::Service::ConnectionManagerAdaptorslot
Interfaces() const Tp::Service::ConnectionManagerAdaptor
ListProtocols(const QDBusMessage &dbusMessage)Tp::Service::ConnectionManagerAdaptorslot
NewConnection(const QString &busName, const QDBusObjectPath &objectPath, const QString &protocol)Tp::Service::ConnectionManagerAdaptorsignal
Protocols() const Tp::Service::ConnectionManagerAdaptor
RequestConnection(const QString &protocol, const QVariantMap &parameters, const QDBusMessage &dbusMessage, QDBusObjectPath &objectPath)Tp::Service::ConnectionManagerAdaptorslot
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00154.html0000644000175000017500000001313312727270137020774 0ustar00kaffeinekaffeine00000000000000 Tp::ChannelDetails Struct Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Types>

Public Attributes

QDBusObjectPath channel
 
QVariantMap properties
 

Detailed Description

Structure type generated from the specification.

Enough details of a channel that clients can work out how to dispatch or handle it.

Member Data Documentation

QDBusObjectPath Tp::ChannelDetails::channel

The object path of the channel.

QVariantMap Tp::ChannelDetails::properties

Properties of the channel.

Connection managers MUST NOT include properties in this mapping if their values can change. Clients MUST ignore properties that appear in this mapping if their values can change.

If properties that could change were included, the following race condition would be likely to exist in some cases:

  • NewChannels or Get("Channels") includes a property P with value V1
  • Client creates a proxy object for the channel
  • The value of P changes to V2
  • Client connects to PChanged signal
  • Client should call Get("P") or GetAll here, to avoid the race, but client's author has forgotten to do so
  • Proxy object thinks P == V1, but actually P == V2

We've taken the opportunity to make the API encourage the client author to get it right. Where possible, we intend that properties whose value will be used in channel dispatching or other "early" processing will be defined so that they are immutable (can never change).

Each dictionary MUST contain the keys ChannelInterface::ChannelType , ChannelInterface::TargetHandleType , ChannelInterface::TargetHandle , ChannelInterface::TargetID and ChannelInterface::Requested .

We expect these to be crucial to the channel-dispatching process.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01115.html0000644000175000017500000001620212727270137020772 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingContactAttributes Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00469.html0000644000175000017500000017410112727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::ReferencedHandles Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles container is guaranteed to be valid (and stay valid, as long it's in at least one ReferencedHandles container). More...

#include <TelepathyQt/ReferencedHandles>

Public Types

typedef UIntList::const_iterator const_iterator
 
typedef UIntList::ConstIterator ConstIterator
 
typedef UIntList::const_pointer const_pointer
 
typedef UIntList::const_reference const_reference
 
typedef UIntList::difference_type difference_type
 
typedef UIntList::pointer pointer
 
typedef UIntList::reference reference
 
typedef UIntList::size_type size_type
 
typedef UIntList::value_type value_type
 

Public Member Functions

 ReferencedHandles ()
 
 ReferencedHandles (const ReferencedHandles &other)
 
 ~ReferencedHandles ()
 
ConnectionPtr connection () const
 
HandleType handleType () const
 
uint at (int i) const
 
uint back () const
 
uint first () const
 
uint front () const
 
uint last () const
 
uint value (int i, uint defaultValue=0) const
 
const_iterator begin () const
 
const_iterator constBegin () const
 
const_iterator constEnd () const
 
const_iterator end () const
 
bool contains (uint handle) const
 
int count (uint handle) const
 
int count () const
 
bool empty () const
 
bool endsWith (uint handle) const
 
int indexOf (uint handle, int from=0) const
 
bool isEmpty () const
 
int lastIndexOf (uint handle, int from=-1) const
 
int length () const
 
ReferencedHandles mid (int pos, int length=-1) const
 
int size () const
 
bool startsWith (uint handle) const
 
void append (const ReferencedHandles &another)
 
void clear ()
 
void move (int from, int to)
 
void pop_back ()
 
void pop_front ()
 
int removeAll (uint handle)
 
void removeAt (int i)
 
void removeFirst ()
 
void removeLast ()
 
bool removeOne (uint handle)
 
void swap (int i, int j)
 
uint takeAt (int i)
 
uint takeFirst ()
 
uint takeLast ()
 
bool operator!= (const ReferencedHandles &another) const
 
bool operator!= (const UIntList &another) const
 
ReferencedHandles operator+ (const ReferencedHandles &another) const
 
ReferencedHandlesoperator+= (const ReferencedHandles &another)
 
ReferencedHandlesoperator<< (const ReferencedHandles &another)
 
ReferencedHandlesoperator= (const ReferencedHandles &another)
 
bool operator== (const ReferencedHandles &another) const
 
bool operator== (const UIntList &list) const
 
uint operator[] (int i) const
 
UIntList toList () const
 
QSet< uint > toSet () const
 
std::list< uint > toStdList () const
 
QVector< uint > toVector () const
 

Detailed Description

Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles container is guaranteed to be valid (and stay valid, as long it's in at least one ReferencedHandles container).

The class offers a QList-style API. However, from the mutable operations, only the operations for which the validity guarantees can be preserved are provided. This means no functions which can add an arbitrary handle to the container are included - the only way to add handles to the container is to reference them using Connection::referenceHandles() and appending the resulting ReferenceHandles instance.

ReferencedHandles is a implicitly shared class.

Member Typedef Documentation

typedef UIntList::const_iterator Tp::ReferencedHandles::const_iterator
typedef UIntList::ConstIterator Tp::ReferencedHandles::ConstIterator
typedef UIntList::const_pointer Tp::ReferencedHandles::const_pointer
typedef UIntList::const_reference Tp::ReferencedHandles::const_reference
typedef UIntList::difference_type Tp::ReferencedHandles::difference_type
typedef UIntList::pointer Tp::ReferencedHandles::pointer
typedef UIntList::reference Tp::ReferencedHandles::reference
typedef UIntList::size_type Tp::ReferencedHandles::size_type
typedef UIntList::value_type Tp::ReferencedHandles::value_type

Constructor & Destructor Documentation

Tp::ReferencedHandles::ReferencedHandles ( )
Tp::ReferencedHandles::ReferencedHandles ( const ReferencedHandles other)
Tp::ReferencedHandles::~ReferencedHandles ( )

Member Function Documentation

ConnectionPtr Tp::ReferencedHandles::connection ( ) const
HandleType Tp::ReferencedHandles::handleType ( ) const
uint Tp::ReferencedHandles::at ( int  i) const
uint Tp::ReferencedHandles::back ( ) const
inline
uint Tp::ReferencedHandles::first ( ) const
inline
uint Tp::ReferencedHandles::front ( ) const
inline
uint Tp::ReferencedHandles::last ( ) const
inline
uint Tp::ReferencedHandles::value ( int  i,
uint  defaultValue = 0 
) const
ReferencedHandles::const_iterator Tp::ReferencedHandles::begin ( ) const
const_iterator Tp::ReferencedHandles::constBegin ( ) const
inline
const_iterator Tp::ReferencedHandles::constEnd ( ) const
inline
ReferencedHandles::const_iterator Tp::ReferencedHandles::end ( ) const
bool Tp::ReferencedHandles::contains ( uint  handle) const
int Tp::ReferencedHandles::count ( uint  handle) const
int Tp::ReferencedHandles::count ( ) const
inline
bool Tp::ReferencedHandles::empty ( ) const
inline
bool Tp::ReferencedHandles::endsWith ( uint  handle) const
inline
int Tp::ReferencedHandles::indexOf ( uint  handle,
int  from = 0 
) const
bool Tp::ReferencedHandles::isEmpty ( ) const
int Tp::ReferencedHandles::lastIndexOf ( uint  handle,
int  from = -1 
) const
int Tp::ReferencedHandles::length ( ) const
inline
ReferencedHandles Tp::ReferencedHandles::mid ( int  pos,
int  length = -1 
) const
int Tp::ReferencedHandles::size ( ) const
bool Tp::ReferencedHandles::startsWith ( uint  handle) const
inline
void Tp::ReferencedHandles::append ( const ReferencedHandles another)
inline
void Tp::ReferencedHandles::clear ( )
void Tp::ReferencedHandles::move ( int  from,
int  to 
)
void Tp::ReferencedHandles::pop_back ( )
inline
void Tp::ReferencedHandles::pop_front ( )
inline
int Tp::ReferencedHandles::removeAll ( uint  handle)
void Tp::ReferencedHandles::removeAt ( int  i)
void Tp::ReferencedHandles::removeFirst ( )
inline
void Tp::ReferencedHandles::removeLast ( )
inline
bool Tp::ReferencedHandles::removeOne ( uint  handle)
void Tp::ReferencedHandles::swap ( int  i,
int  j 
)
uint Tp::ReferencedHandles::takeAt ( int  i)
uint Tp::ReferencedHandles::takeFirst ( )
inline
uint Tp::ReferencedHandles::takeLast ( )
inline
bool Tp::ReferencedHandles::operator!= ( const ReferencedHandles another) const
inline
bool Tp::ReferencedHandles::operator!= ( const UIntList another) const
inline
ReferencedHandles Tp::ReferencedHandles::operator+ ( const ReferencedHandles another) const
ReferencedHandles& Tp::ReferencedHandles::operator+= ( const ReferencedHandles another)
inline
ReferencedHandles& Tp::ReferencedHandles::operator<< ( const ReferencedHandles another)
inline
ReferencedHandles & Tp::ReferencedHandles::operator= ( const ReferencedHandles another)
bool Tp::ReferencedHandles::operator== ( const ReferencedHandles another) const
bool Tp::ReferencedHandles::operator== ( const UIntList list) const
uint Tp::ReferencedHandles::operator[] ( int  i) const
inline
UIntList Tp::ReferencedHandles::toList ( ) const
QSet<uint> Tp::ReferencedHandles::toSet ( ) const
inline
std::list<uint> Tp::ReferencedHandles::toStdList ( ) const
inline
QVector<uint> Tp::ReferencedHandles::toVector ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00213.html0000644000175000017500000012514012727270137020772 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelTypeContactSearchInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply Search (const Tp::ContactSearchMap &terms, int timeout=-1)
 
QDBusPendingReply More (int timeout=-1)
 
QDBusPendingReply Stop (int timeout=-1)
 

Signals

void SearchStateChanged (uint state, const QString &error, const QVariantMap &details)
 
void SearchResultReceived (const Tp::ContactSearchResultMap &result)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelTypeContactSearchInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeContactSearchInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeContactSearchInterface (Tp::DBusProxy *proxy)
 
 ChannelTypeContactSearchInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelTypeContactSearchInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertySearchState () const
 
Tp::PendingVariantrequestPropertyLimit () const
 
Tp::PendingVariantrequestPropertyAvailableSearchKeys () const
 
Tp::PendingVariantrequestPropertyServer () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.ContactSearch".

Constructor & Destructor Documentation

Tp::Client::ChannelTypeContactSearchInterface::ChannelTypeContactSearchInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelTypeContactSearchInterface 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.
Tp::Client::ChannelTypeContactSearchInterface::ChannelTypeContactSearchInterface ( Tp::DBusProxy proxy)

Creates a ChannelTypeContactSearchInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelTypeContactSearchInterface::ChannelTypeContactSearchInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelTypeContactSearchInterface 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 Tp::Client::ChannelTypeContactSearchInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Type.ContactSearch", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertySearchState ( ) const
inline

Asynchronous getter for the remote object property SearchState of type uint.

The current state of this search channel object. Change notification is via SearchStateChanged.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyLimit ( ) const
inline

Asynchronous getter for the remote object property Limit of type uint.

If supported by the protocol, the maximum number of results that should be returned, where 0 represents no limit. If the protocol does not support limiting results, this should be 0.

For example, if the terms passed to Search() match Antonius, Bridget and Charles and this property is 2, the search service SHOULD only return Antonius and Bridget.

This property SHOULD be requestable if and only if the protocol supports specifying a limit; implementations SHOULD use 0 as the default if possible, or a protocol-specific sensible default otherwise.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyAvailableSearchKeys ( ) const
inline

Asynchronous getter for the remote object property AvailableSearchKeys of type QStringList.

The set of search keys supported by this channel. Example values include [""] (for protocols where several address fields are implicitly searched) or ["x-n-given", "x-n-family", "nickname", "email"] (for XMPP XEP-0055, without extensibility via Data Forms). It can be in the NewChannels signal for round-trip reduction.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyServer ( ) const
inline

Asynchronous getter for the remote object property Server of type QString.

For protocols which support searching for contacts on multiple servers with different DNS names (like XMPP), the DNS name of the server being searched by this channel, e.g. "characters.shakespeare.lit". Otherwise, the empty string. XEP 0055 defines a mechanism for XMPP clients to search services of their choice for contacts, such as users.jabber.org (the "Jabber User Directory"). This property SHOULD be requestable if and only if the protocol supports querying multiple different servers; implementations SHOULD use a sensible default if possible if this property is not specified in a channel request. This allows a client to perform searches on a protocol it knows nothing about without requiring the user to guess a valid server's hostname.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelTypeContactSearchInterface::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 Tp::Client::ChannelTypeContactSearchInterface::Search ( const Tp::ContactSearchMap terms,
int  timeout = -1 
)
inlineslot

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

Send a request to start a search for contacts on this connection. This may only be called while the SearchState is Not_Started; a valid search request will cause the SearchStateChanged signal to be emitted with the state In_Progress.

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

Parameters
terms
A dictionary mapping search key names to the desired values
timeoutThe timeout in milliseconds.
QDBusPendingReply Tp::Client::ChannelTypeContactSearchInterface::More ( int  timeout = -1)
inlineslot

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

Request that a search in SearchState More_Available move back to state In_Progress and continue listing up to Limit more results.

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.
QDBusPendingReply Tp::Client::ChannelTypeContactSearchInterface::Stop ( int  timeout = -1)
inlineslot

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

Stop the current search. This may not be called while the SearchState is Not_Started. If called while the SearchState is In_Progress, SearchStateChanged() will be emitted, with the state Failed and the error org.freedesktop.Telepathy.Error.Cancelled.

Calling this method on a search in state Completed or Failed succeeds, but has no effect.

Specifying Stop to succeed when the search has finished means that clients who call Stop just before receiving SearchStateChanged() don't have to handle a useless error.

Depending on the protocol, the connection manager may not be able to prevent the server from sending further results after this method returns; if this is the case, it MUST ignore any further results.

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 Tp::Client::ChannelTypeContactSearchInterface::SearchStateChanged ( uint  state,
const QString &  error,
const QVariantMap &  details 
)
signal

Represents the signal SearchStateChanged on the remote object.

Emitted when the SearchState property changes. The implementation MUST NOT make transitions other than the following:

  • Not_Started → In_Progress
  • In_Progress → More_Available
  • More_Available → In_Progress
  • In_Progress → Completed
  • In_Progress → Failed

Parameters
state
The new search state
error If the new state is Failed, the name of a D-Bus error describing what went wrong. Otherwise, the empty string.
details

Additional information about the state transition, which may include the following well-known keys:

debug-message (s)
Debugging information on the change, corresponding to the message part of a D-Bus error message, which SHOULD NOT be displayed to users under normal circumstances

This argument allows for future extensions. For instance, if moving to state Failed because the server rejected one of our search terms, we could define a key that indicates which terms were invalid.

void Tp::Client::ChannelTypeContactSearchInterface::SearchResultReceived ( const Tp::ContactSearchResultMap result)
signal

Represents the signal SearchResultReceived on the remote object.

Emitted when a some search results are received from the server. This signal can be fired arbitrarily many times so clients MUST NOT assume they'll get only one signal.

Parameters
result
A mapping from contact identifier to an array of fields 
representing information about this contact.
void Tp::Client::ChannelTypeContactSearchInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01184.html0000644000175000017500000001215112727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SimpleTextObserver Member List

This is the complete list of members for Tp::SimpleTextObserver, including all inherited members.

account() const Tp::SimpleTextObserver
contactIdentifier() const Tp::SimpleTextObserver
create(const AccountPtr &account)Tp::SimpleTextObserverstatic
create(const AccountPtr &account, const ContactPtr &contact)Tp::SimpleTextObserverstatic
create(const AccountPtr &account, const QString &contactIdentifier)Tp::SimpleTextObserverstatic
messageReceived(const Tp::ReceivedMessage &message, const Tp::TextChannelPtr &channel)Tp::SimpleTextObserversignal
messageSent(const Tp::Message &message, Tp::MessageSendingFlags flags, const QString &sentMessageToken, const Tp::TextChannelPtr &channel)Tp::SimpleTextObserversignal
RefCounted()Tp::RefCountedinline
textChats() const Tp::SimpleTextObserver
~RefCounted()Tp::RefCountedinlinevirtual
~SimpleTextObserver()Tp::SimpleTextObservervirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00717_source.html0000644000175000017500000000624312727270137022365 0ustar00kaffeinekaffeine00000000000000 media-stream-handler.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
media-stream-handler.h
1 
23 #ifndef _TelepathyQt_media_stream_handler_h_HEADER_GUARD_
24 #define _TelepathyQt_media_stream_handler_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
48 #include <TelepathyQt/_gen/cli-media-stream-handler.h>
49 
50 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00282.html0000644000175000017500000006557312727270137021015 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceServicePointInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Signals

void ServicePointsChanged (const Tp::ServicePointInfoList &servicePoints)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceServicePointInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceServicePointInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceServicePointInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceServicePointInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceServicePointInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyKnownServicePoints () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.ServicePoint".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceServicePointInterface::ConnectionInterfaceServicePointInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceServicePointInterface 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.
Tp::Client::ConnectionInterfaceServicePointInterface::ConnectionInterfaceServicePointInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceServicePointInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceServicePointInterface::ConnectionInterfaceServicePointInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceServicePointInterface 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.
Tp::Client::ConnectionInterfaceServicePointInterface::ConnectionInterfaceServicePointInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceServicePointInterface 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 Tp::Client::ConnectionInterfaceServicePointInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.ServicePoint", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceServicePointInterface::requestPropertyKnownServicePoints ( ) const
inline

Asynchronous getter for the remote object property KnownServicePoints of type Tp::ServicePointInfoList.

The list of all (known) service points.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceServicePointInterface::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.
void Tp::Client::ConnectionInterfaceServicePointInterface::ServicePointsChanged ( const Tp::ServicePointInfoList servicePoints)
signal

Represents the signal ServicePointsChanged on the remote object.

Emitted when the list of known service points (or their IDs) has changed.

Parameters
servicePoints

The new value of KnownServicePoints .

void Tp::Client::ConnectionInterfaceServicePointInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01243.html0000644000175000017500000002552512727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceConferenceInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceConferenceInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterfaceConferenceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceConferenceInterface
ChannelInterfaceConferenceInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceConferenceInterface
ChannelInterfaceConferenceInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceConferenceInterface
ChannelInterfaceConferenceInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceConferenceInterfaceexplicit
ChannelInterfaceConferenceInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceConferenceInterface
ChannelMerged(const QDBusObjectPath &channel, uint channelSpecificHandle, const QVariantMap &properties)Tp::Client::ChannelInterfaceConferenceInterfacesignal
ChannelRemoved(const QDBusObjectPath &channel, const QVariantMap &details)Tp::Client::ChannelInterfaceConferenceInterfacesignal
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceConferenceInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyChannels() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyInitialChannels() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyInitialInviteeHandles() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyInitialInviteeIDs() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyInvitationMessage() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
requestPropertyOriginalChannels() const Tp::Client::ChannelInterfaceConferenceInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceConferenceInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00027.html0000644000175000017500000000750712727270137021003 0ustar00kaffeinekaffeine00000000000000 roster/roster-window.h
   Home · All Classes · All Namespaces · Modules · Functions · Files
roster/roster-window.h
#ifndef _TelepathyQt_examples_roster_roster_window_h_HEADER_GUARD_
#define _TelepathyQt_examples_roster_roster_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt/Account>
#include <TelepathyQt/Types>
namespace Tp {
class PendingOperation;
}
class RosterWidget;
class RosterWindow : public QMainWindow
{
Q_OBJECT
public:
RosterWindow(const QString &accountName, QWidget *parent = 0);
virtual ~RosterWindow();
private Q_SLOTS:
void onAccountReady(Tp::PendingOperation *op);
void onAccountConnectionChanged(const Tp::ConnectionPtr &conn);
private:
void setupGui();
Tp::AccountPtr mAccount;
RosterWidget *mRoster;
};
#endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00713_source.html0000644000175000017500000002406712727270137022365 0ustar00kaffeinekaffeine00000000000000 manager-file.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
manager-file.h
1 
23 #ifndef _TelepathyQt_manager_file_h_HEADER_GUARD_
24 #define _TelepathyQt_manager_file_h_HEADER_GUARD_
25 
26 #include <TelepathyQt/AvatarSpec>
27 #include <TelepathyQt/PresenceSpec>
28 #include <TelepathyQt/Types>
29 
30 #include <QMetaType>
31 #include <QVariant>
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 
35 namespace Tp
36 {
37 
38 class TP_QT_NO_EXPORT ManagerFile
39 {
40 public:
41  ManagerFile();
42  ManagerFile(const ManagerFile &other);
43  ManagerFile(const QString &cmName);
44  ~ManagerFile();
45 
46  ManagerFile &operator=(const ManagerFile &other);
47 
48  QString cmName() const;
49 
50  bool isValid() const;
51  QStringList protocols() const;
52  ParamSpecList parameters(const QString &protocol) const;
53  QString vcardField(const QString &protocol) const;
54  QString englishName(const QString &protocol) const;
55  QString iconName(const QString &protocol) const;
56  RequestableChannelClassList requestableChannelClasses(
57  const QString &protocol) const;
58  PresenceSpecList allowedPresenceStatuses(const QString &protocol) const;
59  AvatarSpec avatarRequirements(const QString &protocol) const;
60  QStringList addressableVCardFields(const QString &protocol) const;
61  QStringList addressableUriSchemes(const QString &protocol) const;
62 
63 private:
64  struct Private;
65  friend struct Private;
66  Private *mPriv;
67 };
68 
69 }
70 
71 Q_DECLARE_METATYPE(Tp::ManagerFile);
72 
73 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
74 
75 #endif
QList< ParamSpec > ParamSpecList
Definition: build/TelepathyQt/_gen/types.h:2231
QList< RequestableChannelClass > RequestableChannelClassList
Definition: build/TelepathyQt/_gen/types.h:2630
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_v.html0000644000175000017500000001254012727270137022520 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- v -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00341.html0000644000175000017500000003541612727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller6 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
typedef R Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
typedef R(* Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::FunctorCaller6 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
static ResultType Tp::FunctorCaller6< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_i.html0000644000175000017500000012501012727270137023513 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files
 

- i -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01302.html0000644000175000017500000002100712727270137020767 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::MediaSessionHandlerInterface Member List

This is the complete list of members for Tp::Client::MediaSessionHandlerInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
Error(uint errorCode, const QString &message, int timeout=-1)Tp::Client::MediaSessionHandlerInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::MediaSessionHandlerInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
MediaSessionHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::MediaSessionHandlerInterface
MediaSessionHandlerInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::MediaSessionHandlerInterface
MediaSessionHandlerInterface(Tp::DBusProxy *proxy)Tp::Client::MediaSessionHandlerInterface
NewStreamHandler(const QDBusObjectPath &streamHandler, uint ID, uint mediaType, uint direction)Tp::Client::MediaSessionHandlerInterfacesignal
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Ready(int timeout=-1)Tp::Client::MediaSessionHandlerInterfaceinlineslot
requestAllProperties() const Tp::Client::MediaSessionHandlerInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::MediaSessionHandlerInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00096.html0000644000175000017500000015266412727270137021016 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionContactListInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.ContactList. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback3< Tp::ContactAttributesMap, const QStringList &, bool, DBusError * > GetContactListAttributesCallback
 
typedef Callback3< void, const Tp::UIntList &, const QString &, DBusError * > RequestSubscriptionCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > AuthorizePublicationCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > RemoveContactsCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > UnsubscribeCallback
 
typedef Callback2< void, const Tp::UIntList &, DBusError * > UnpublishCallback
 
typedef Callback1< void, DBusError * > DownloadCallback
 

Public Member Functions

virtual ~BaseConnectionContactListInterface ()
 
QVariantMap immutableProperties () const
 
uint contactListState () const
 
void setContactListState (uint contactListState)
 
bool contactListPersists () const
 
void setContactListPersists (bool contactListPersists)
 
bool canChangeContactList () const
 
void setCanChangeContactList (bool canChangeContactList)
 
bool requestUsesMessage () const
 
void setRequestUsesMessage (bool requestUsesMessage)
 
bool downloadAtConnection () const
 
void setDownloadAtConnection (bool downloadAtConnection)
 
void setGetContactListAttributesCallback (const GetContactListAttributesCallback &cb)
 
Tp::ContactAttributesMap getContactListAttributes (const QStringList &interfaces, bool hold, DBusError *error)
 
void setRequestSubscriptionCallback (const RequestSubscriptionCallback &cb)
 
void requestSubscription (const Tp::UIntList &contacts, const QString &message, DBusError *error)
 
void setAuthorizePublicationCallback (const AuthorizePublicationCallback &cb)
 
void authorizePublication (const Tp::UIntList &contacts, DBusError *error)
 
void setRemoveContactsCallback (const RemoveContactsCallback &cb)
 
void removeContacts (const Tp::UIntList &contacts, DBusError *error)
 
void setUnsubscribeCallback (const UnsubscribeCallback &cb)
 
void unsubscribe (const Tp::UIntList &contacts, DBusError *error)
 
void setUnpublishCallback (const UnpublishCallback &cb)
 
void unpublish (const Tp::UIntList &contacts, DBusError *error)
 
void setDownloadCallback (const DownloadCallback &cb)
 
void download (DBusError *error)
 
void contactsChangedWithID (const Tp::ContactSubscriptionMap &changes, const Tp::HandleIdentifierMap &identifiers, const Tp::HandleIdentifierMap &removals)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactListInterfacePtr create ()
 
template<typename BaseConnectionContactListInterfaceSubclass >
static SharedPtr< BaseConnectionContactListInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactListInterface ()
 
- Protected Member Functions inherited from Tp::AbstractConnectionInterface
virtual void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.ContactList.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionContactListInterface::~BaseConnectionContactListInterface ( )
virtual

Class destructor.

Tp::BaseConnectionContactListInterface::BaseConnectionContactListInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionContactListInterfacePtr Tp::BaseConnectionContactListInterface::create ( )
inlinestatic
template<typename BaseConnectionContactListInterfaceSubclass >
static SharedPtr<BaseConnectionContactListInterfaceSubclass> Tp::BaseConnectionContactListInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionContactListInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

uint Tp::BaseConnectionContactListInterface::contactListState ( ) const
void Tp::BaseConnectionContactListInterface::setContactListState ( uint  contactListState)
bool Tp::BaseConnectionContactListInterface::contactListPersists ( ) const
void Tp::BaseConnectionContactListInterface::setContactListPersists ( bool  contactListPersists)
bool Tp::BaseConnectionContactListInterface::canChangeContactList ( ) const
void Tp::BaseConnectionContactListInterface::setCanChangeContactList ( bool  canChangeContactList)
bool Tp::BaseConnectionContactListInterface::requestUsesMessage ( ) const
void Tp::BaseConnectionContactListInterface::setRequestUsesMessage ( bool  requestUsesMessage)
bool Tp::BaseConnectionContactListInterface::downloadAtConnection ( ) const
void Tp::BaseConnectionContactListInterface::setDownloadAtConnection ( bool  downloadAtConnection)
void Tp::BaseConnectionContactListInterface::setGetContactListAttributesCallback ( const GetContactListAttributesCallback cb)
Tp::ContactAttributesMap Tp::BaseConnectionContactListInterface::getContactListAttributes ( const QStringList &  interfaces,
bool  hold,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setRequestSubscriptionCallback ( const RequestSubscriptionCallback cb)
void Tp::BaseConnectionContactListInterface::requestSubscription ( const Tp::UIntList contacts,
const QString &  message,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setAuthorizePublicationCallback ( const AuthorizePublicationCallback cb)
void Tp::BaseConnectionContactListInterface::authorizePublication ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setRemoveContactsCallback ( const RemoveContactsCallback cb)
void Tp::BaseConnectionContactListInterface::removeContacts ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setUnsubscribeCallback ( const UnsubscribeCallback cb)
void Tp::BaseConnectionContactListInterface::unsubscribe ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setUnpublishCallback ( const UnpublishCallback cb)
void Tp::BaseConnectionContactListInterface::unpublish ( const Tp::UIntList contacts,
DBusError error 
)
void Tp::BaseConnectionContactListInterface::setDownloadCallback ( const DownloadCallback cb)
void Tp::BaseConnectionContactListInterface::download ( DBusError error)
void Tp::BaseConnectionContactListInterface::contactsChangedWithID ( const Tp::ContactSubscriptionMap changes,
const Tp::HandleIdentifierMap identifiers,
const Tp::HandleIdentifierMap removals 
)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01057.html0000644000175000017500000000612412727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::HandledChannelNotifier Member List

This is the complete list of members for Tp::HandledChannelNotifier, including all inherited members.

channel() const Tp::HandledChannelNotifier
connectNotify(const QMetaMethod &signal)Tp::HandledChannelNotifierprotected
handledAgain(const QDateTime &userActionTime, const Tp::ChannelRequestHints &requestHints)Tp::HandledChannelNotifiersignal
~HandledChannelNotifier()Tp::HandledChannelNotifier


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00901.html0000644000175000017500000001524012727270137020775 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AbstractProtocolInterface Member List


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00400.html0000644000175000017500000023712612727270137021000 0ustar00kaffeinekaffeine00000000000000 Tp::OutgoingDBusTubeChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The OutgoingDBusTubeChannel class represents an outgoing Telepathy channel of type DBusTube. More...

#include <TelepathyQt/OutgoingDBusTubeChannel>

Inherits Tp::DBusTubeChannel.

Public Member Functions

virtual ~OutgoingDBusTubeChannel ()
 
PendingDBusTubeConnectionofferTube (const QVariantMap &parameters, bool allowOtherUsers=false)
 
- Public Member Functions inherited from Tp::DBusTubeChannel
virtual ~DBusTubeChannel ()
 
QString serviceName () const
 
bool supportsRestrictingToCurrentUser () const
 
QHash< QString, Tp::ContactPtr > contactsForBusNames () const
 
QString address () const
 
- Public Member Functions inherited from Tp::TubeChannel
virtual ~TubeChannel ()
 
TubeChannelState state () const
 
QVariantMap parameters () const
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static OutgoingDBusTubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::DBusTubeChannel
static DBusTubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::TubeChannel
static TubeChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Protected Member Functions

 OutgoingDBusTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Protected Member Functions inherited from Tp::DBusTubeChannel
 DBusTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Protected Member Functions inherited from Tp::TubeChannel
 TubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore)
 
void setParameters (const QVariantMap &parameters)
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Signals inherited from Tp::DBusTubeChannel
void busNameAdded (const QString &busName, const Tp::ContactPtr &contact)
 
void busNameRemoved (const QString &busName, const Tp::ContactPtr &contact)
 
- Signals inherited from Tp::TubeChannel
void stateChanged (Tp::TubeChannelState state)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Static Public Attributes inherited from Tp::DBusTubeChannel
static const Feature FeatureCore
 
static const Feature FeatureBusNameMonitoring
 
- Static Public Attributes inherited from Tp::TubeChannel
static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The OutgoingDBusTubeChannel class represents an outgoing Telepathy channel of type DBusTube.

Outgoing (locally initiated/requested) tubes are initially in the TubeChannelStateNotOffered state. When offerTube is called, the connection manager takes care of instantiating a new DBus server, at which point the tube state becomes TubeChannelStateRemotePending.

If the target accepts the connection request, the state goes TubeChannelStateOpen and both sides can start using the new private bus, the address of which can be retrieved from the completed PendingDBusTubeConnection or from this class.

Note
If you plan to use QtDBus for the DBus connection, please note you should always use QDBusConnection::connectToPeer(), regardless of the fact this tube is a p2p or a group one. The above function has been introduced in Qt 4.8, previous versions of Qt do not allow the use of DBus Tubes through QtDBus.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::OutgoingDBusTubeChannel::~OutgoingDBusTubeChannel ( )
virtual

Class destructor.

Tp::OutgoingDBusTubeChannel::OutgoingDBusTubeChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
protected

Construct a new OutgoingDBusTubeChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe object path of this channel.
immutablePropertiesThe immutable properties of this channel.

Member Function Documentation

OutgoingDBusTubeChannelPtr Tp::OutgoingDBusTubeChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new OutgoingDBusTubeChannel channel.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe object path of this channel.
immutablePropertiesThe immutable properties of this channel.
Returns
A OutgoingDBusTubeChannelPtr object pointing to the newly created OutgoingDBusTubeChannel object.
PendingDBusTubeConnection * Tp::OutgoingDBusTubeChannel::offerTube ( const QVariantMap &  parameters,
bool  allowOtherUsers = false 
)

Offer the tube

This method sets up a private DBus connection to the channel target(s), and offers it through the tube.

The PendingDBusTubeConnection returned by this method will be completed as soon as the tube is opened and ready to be used.

This method requires DBusTubeChannel::FeatureCore to be enabled.

Parameters
parametersA dictionary of arbitrary Parameters to send with the tube offer. The other end will receive this QVariantMap in the parameters() method of the corresponding IncomingDBusTubeChannel.
allowOtherUsersWhether the server should allow other users to connect to this tube more than just the current one. If your application has no specific needs, it is advisable not to modify the default value of this argument.
Note
If allowOtherUsers == false, but one of the ends does not support current user restriction, the tube will be offered regardless, falling back to allowing any connection. If your application requires strictly this condition to be enforced, you should check DBusTubeChannel::supportsRestrictingToCurrentUser before offering the tube, and take action from there. The tube is guaranteed either to be offered with the desired restriction or to fail the accept phase if supportsRestrictingToCurrentUser is true and allowOtherUsers is false.
Returns
A PendingDBusTubeConnection which will finish as soon as the tube is ready to be used (hence in the Open state)


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01371.html0000644000175000017500000001017412727270137021000 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::DebugAdaptor Member List

This is the complete list of members for Tp::Service::DebugAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
dbusConnection() const Tp::AbstractAdaptor
Enabled() const Tp::Service::DebugAdaptor
GetMessages(const QDBusMessage &dbusMessage)Tp::Service::DebugAdaptorslot
NewDebugMessage(double time, const QString &domain, uint level, const QString &message)Tp::Service::DebugAdaptorsignal
SetEnabled(const bool &newValue)Tp::Service::DebugAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00155.html0000644000175000017500000015764712727270137021020 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelDispatcherInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/ChannelDispatcher>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QDBusObjectPath > CreateChannel (const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
 
QDBusPendingReply< QDBusObjectPath > EnsureChannel (const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
 
QDBusPendingReply< QDBusObjectPath > CreateChannelWithHints (const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)
 
QDBusPendingReply< QDBusObjectPath > EnsureChannelWithHints (const QDBusObjectPath &account, const QVariantMap &requestedProperties, qlonglong userActionTime, const QString &preferredHandler, const QVariantMap &hints, int timeout=-1)
 
QDBusPendingReply< Tp::ObjectPathList, Tp::NotDelegatedMapDelegateChannels (const Tp::ObjectPathList &channels, qlonglong userActionTime, const QString &preferredHandler, int timeout=-1)
 
QDBusPendingReply PresentChannel (const QDBusObjectPath &channel, qlonglong userActionTime, int timeout=-1)
 

Public Member Functions

 ChannelDispatcherInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelDispatcherInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelDispatcherInterface (Tp::DBusProxy *proxy)
 
Tp::PendingVariantrequestPropertyInterfaces () const
 
Tp::PendingVariantrequestPropertySupportsRequestHints () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.ChannelDispatcher".

Constructor & Destructor Documentation

Tp::Client::ChannelDispatcherInterface::ChannelDispatcherInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelDispatcherInterface 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.
Tp::Client::ChannelDispatcherInterface::ChannelDispatcherInterface ( Tp::DBusProxy proxy)

Creates a ChannelDispatcherInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::ChannelDispatcherInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.ChannelDispatcher", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelDispatcherInterface::requestPropertyInterfaces ( ) const
inline

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

A list of the extra interfaces provided by this channel dispatcher.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelDispatcherInterface::requestPropertySupportsRequestHints ( ) const
inline

Asynchronous getter for the remote object property SupportsRequestHints of type bool.

If True, the channel dispatcher is new enough to support CreateChannelWithHints and EnsureChannelWithHints, in addition to the older CreateChannel and EnsureChannel methods, and also new enough to emit SucceededWithChannel before the older Succeeded signal. If False or missing, only the metadata-less variants are supported.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelDispatcherInterface::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<QDBusObjectPath> Tp::Client::ChannelDispatcherInterface::CreateChannel ( const QDBusObjectPath &  account,
const QVariantMap &  requestedProperties,
qlonglong  userActionTime,
const QString &  preferredHandler,
int  timeout = -1 
)
inlineslot

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

Equivalent to calling CreateChannelWithHints() with an empty Hints parameter.

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

Parameters
account
The Account for which the new channel is to be created.
requestedProperties

A dictionary containing desirable properties.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

userActionTime

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

preferredHandler

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

timeoutThe timeout in milliseconds.
Returns
A ChannelRequest object.
QDBusPendingReply<QDBusObjectPath> Tp::Client::ChannelDispatcherInterface::EnsureChannel ( const QDBusObjectPath &  account,
const QVariantMap &  requestedProperties,
qlonglong  userActionTime,
const QString &  preferredHandler,
int  timeout = -1 
)
inlineslot

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

Equivalent to calling EnsureChannelWithHints() with an empty Hints parameter.

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

Parameters
account
The Account for which the new channel is to be created.
requestedProperties

A dictionary containing desirable properties.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

userActionTime

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

preferredHandler

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable. The behaviour and rationale are the same as for the corresponding parameter to EnsureChannelWithHints() .

timeoutThe timeout in milliseconds.
Returns
A ChannelRequest object.
QDBusPendingReply<QDBusObjectPath> Tp::Client::ChannelDispatcherInterface::CreateChannelWithHints ( const QDBusObjectPath &  account,
const QVariantMap &  requestedProperties,
qlonglong  userActionTime,
const QString &  preferredHandler,
const QVariantMap &  hints,
int  timeout = -1 
)
inlineslot

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

Start a request to create a channel. This initially just creates a ChannelRequestInterface object, which can be used to continue the request and track its success or failure.

The request can take a long time - in the worst case, the channel dispatcher has to ask the account manager to put the account online, the account manager has to ask the operating system to obtain an Internet connection, and the operating system has to ask the user whether to activate an Internet connection using an on-demand mechanism like dialup.

This means that using a single D-Bus method call and response to represent the whole request will tend to lead to that call timing out, which is not the behaviour we want.

If this method is called for an Account that is disabled, invalid or otherwise unusable, no error is signalled until ChannelRequestInterface::Proceed() is called, at which point ChannelRequestInterface::Failed() is emitted with an appropriate error.

This means there's only one code path for errors, apart from InvalidArgument for "that request makes no sense".

It also means that the request will proceed if the account is enabled after calling CreateChannel, but before calling Proceed.

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

Parameters
account
The Account for which the new channel is to be created.
requestedProperties

A dictionary containing desirable properties. This has the same semantics as the corresponding parameter to ConnectionInterfaceRequestsInterface::CreateChannel() .

Certain properties will not necessarily make sense in this dictionary: for instance, ChannelInterface::TargetHandle can only be given if the requester is able to interact with a ConnectionInterface to the desired account.

userActionTime

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action. The ChannelRequestInterface::UserActionTime property will be set to this value, and it will eventually be passed as the User_Action_Time parameter of ClientHandlerInterface::HandleChannels() .

preferredHandler

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable. The channel dispatcher SHOULD dispatch as many as possible of the resulting channels (ideally, all of them) to that handler—irrespective of whether that handler's ClientHandlerInterface::HandlerChannelFilter matches the channel—and SHOULD remember the preferred handler so it can try to dispatch subsequent channels in the same bundle to the same handler.

This must be the well-known bus name, not the unique name, to ensure that all handlers do indeed have the Client API, and the Client object on the handler can be located easily.

This is partly so the channel dispatcher can call ClientHandlerInterface::HandleChannels() on it, and partly so the channel dispatcher can recover state if it crashes and is restarted.

The filter should be disregarded for ease of use of this interface: clients will usually use this argument to request channels be sent to themself, and this should trump the filter not matching. This also allows a client to become the handler for a channel produced by one of its own requests, while not being a candidate to handle other channels of that type.

If this is a well-known bus name and the handler has the Requests interface, the channel dispatcher SHOULD call ClientInterfaceRequestsInterface::AddRequest() on that Handler after this method has returned.

This ordering allows a Handler which calls CreateChannel with itself as the preferred handler to associate the call to AddRequest with that call.

This is copied to the ChannelRequest that is returned, as the ChannelRequestInterface::PreferredHandler property.

hints
Additional information about the channel request, which will be 
used as the value for the resulting request&apos;s Hints property. 
See the Hints property&apos;s documentation for rationale.
timeoutThe timeout in milliseconds.
Returns
A ChannelRequest object.
QDBusPendingReply<QDBusObjectPath> Tp::Client::ChannelDispatcherInterface::EnsureChannelWithHints ( const QDBusObjectPath &  account,
const QVariantMap &  requestedProperties,
qlonglong  userActionTime,
const QString &  preferredHandler,
const QVariantMap &  hints,
int  timeout = -1 
)
inlineslot

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

Start a request to ensure that a channel exists, creating it if necessary. This initially just creates a ChannelRequestInterface object, which can be used to continue the request and track its success or failure.

If this method is called for an Account that is disabled, invalid or otherwise unusable, no error is signalled until ChannelRequestInterface::Proceed() is called, at which point ChannelRequestInterface::Failed() is emitted with an appropriate error.

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

Parameters
account
The Account for which the new channel is to be created.
requestedProperties

A dictionary containing desirable properties. This has the same semantics as the corresponding parameter to ConnectionInterfaceRequestsInterface::EnsureChannel() .

Certain properties will not necessarily make sense in this dictionary: for instance, ChannelInterface::TargetHandle can only be given if the requester is able to interact with a ConnectionInterface to the desired account.

userActionTime

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

preferredHandler

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred handler for this channel, or an empty string to indicate that any handler would be acceptable. The behaviour and rationale are the same as for the corresponding parameter to CreateChannelWithHints() , except as noted here.

If any new channels are created in response to this request, the channel dispatcher SHOULD dispatch as many as possible of the resulting channels (ideally, all of them) to that handler, and SHOULD remember the preferred handler so it can try to dispatch subsequent channels in the same bundle to the same handler. If the requested channel already exists (that is, ConnectionInterfaceRequestsInterface::EnsureChannel() returns Yours=False) then the channel dispatcher SHOULD re-dispatch the channel to its existing handler, and MUST NOT dispatch it to this client (unless it is the existing handler); the request is still deemed to have succeeded in this case.

An address book application, for example, might call ChannelDispatcherInterface::EnsureChannel() to ensure that a text channel with a particular contact is displayed to the user; it does not care whether a new channel was made. An IM client might call ChannelDispatcherInterface::EnsureChannel() in response to the user double-clicking an entry in the contact list, with itself as the Preferred_Handler; if the user already has a conversation with that contact in another application, they would expect the existing window to be presented, rather than their double-click leading to an error message. So the request should succeed, even if its Preferred_Handler is not used.

hints
Additional information about the channel request, which will be 
used as the value for the resulting request&apos;s Hints property.
timeoutThe timeout in milliseconds.
Returns
A ChannelRequest object.
QDBusPendingReply<Tp::ObjectPathList, Tp::NotDelegatedMap> Tp::Client::ChannelDispatcherInterface::DelegateChannels ( const Tp::ObjectPathList channels,
qlonglong  userActionTime,
const QString &  preferredHandler,
int  timeout = -1 
)
inlineslot

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

Called by a ClientHandlerInterface to redispatch a bunch of channels it is currently handling.

For each Channel in Channels, if another ClientHandlerInterface can be found, ClientHandlerInterface::HandleChannels() will be called on it until a ClientHandlerInterface accepts it.

This method returns once all the Channels have either been accepted or rejected by Handlers.

If this method fails, the original ClientHandlerInterface is still handling the channels.

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

Parameters
channels

The list of channels to redispatch. The caller has to be the current ClientHandlerInterface of all of these channels

userActionTime

The time at which user action occurred, or 0 if this channels delegation is for some reason not involving user action.

This parameter is used in the same way as the corresponding parameter to CreateChannelWithHints() .

preferredHandler

Either the well-known bus name (starting with org.freedesktop.Telepathy.Client.) of the preferred new handler for these channels, or an empty string to indicate that any handler would be acceptable. The behaviour and rationale are the same as for the corresponding parameter to CreateChannelWithHints() .

timeoutThe timeout in milliseconds.
Returns

The list of channels which have been delegated; the caller is no longer handling these channels.

The client should remove these channels from its ClientHandlerInterface::HandledChannels property.

Returns

The list of channels which have NOT been delegated; the caller is still handling these channels.

QDBusPendingReply Tp::Client::ChannelDispatcherInterface::PresentChannel ( const QDBusObjectPath &  channel,
qlonglong  userActionTime,
int  timeout = -1 
)
inlineslot

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

Equivalent of calling ChannelDispatcherInterface::EnsureChannel() with a Requested_Properties which would result in ensuring Channel.

If Channel is handled, its handler will be asked to present it the user (e.g. bring it into the foreground).

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

Parameters
channel

The channel to present.

userActionTime

The time at which user action occurred, or 0 if this channel request is for some reason not involving user action.

This parameter is used in the same way as the corresponding parameter to EnsureChannelWithHints() .

timeoutThe timeout in milliseconds.
void Tp::Client::ChannelDispatcherInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00706_source.html0000644000175000017500000001560712727270137022367 0ustar00kaffeinekaffeine00000000000000 io-device.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
io-device.h
1 
23 #ifndef _TelepathyQt_io_device_h_HEADER_GUARD_
24 #define _TelepathyQt_io_device_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Global>
31 
32 #include <QIODevice>
33 
34 namespace Tp
35 {
36 
37 class TP_QT_EXPORT IODevice : public QIODevice
38 {
39  Q_OBJECT
40 public:
41  explicit IODevice(QObject *parent = 0);
42  ~IODevice();
43  bool isSequential() const;
44  qint64 bytesAvailable() const;
45 
46 protected:
47  qint64 readData(char *data, qint64 maxSize);
48  qint64 writeData(const char *data, qint64 maxSize);
49 
50 private:
51  class Private;
52  friend class Private;
53  Private *mPriv;
54 };
55 
56 } // namespace Tp
57 
58 #endif // _TelepathyQt_io_device_h_HEADER_GUARD_
The IODevice class represents a buffer with independent read-write.
Definition: io-device.h:37
Definition: abstract-adaptor.cpp:31


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01116.html0000644000175000017500000001360412727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingContactInfo Member List

This is the complete list of members for Tp::PendingContactInfo, including all inherited members.

contact() const Tp::PendingContactInfo
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
infoFields() const Tp::PendingContactInfo
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isValid() const Tp::PendingOperation
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
~PendingContactInfo()Tp::PendingContactInfo
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00970.html0000644000175000017500000004062012727270137021003 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::CallStream Member List

This is the complete list of members for Tp::CallStream, including all inherited members.

actualFeatures() const Tp::ReadyObjectvirtual
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< CallStream >
canRequestReceiving() const Tp::CallStream
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< CallStream >
content() const Tp::CallStream
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< CallStream >inline
interface() constTp::OptionalInterfaceFactory< CallStream >inline
interfaces() constTp::OptionalInterfaceFactory< CallStream >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< CallStream >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isValid() const Tp::DBusProxy
localSendingState() const Tp::CallStream
localSendingStateChanged(Tp::SendingState localSendingState, const Tp::CallStateReason &reason)Tp::CallStreamsignal
missingFeatures() const Tp::ReadyObjectvirtual
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< CallStream >inline
OptionalInterfaceFactory(CallStream *this_)Tp::OptionalInterfaceFactory< CallStream >inline
propertyChanged(const QString &propertyName)Tp::Objectsignal
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
RefCounted()Tp::RefCountedinline
remoteMembers() const Tp::CallStream
remoteMembersRemoved(const Tp::Contacts &remoteMembers, const Tp::CallStateReason &reason)Tp::CallStreamsignal
remoteSendingState(const ContactPtr &contact) const Tp::CallStream
remoteSendingStateChanged(const QHash< Tp::ContactPtr, Tp::SendingState > &remoteSendingStates, const Tp::CallStateReason &reason)Tp::CallStreamsignal
requestedFeatures() const Tp::ReadyObjectvirtual
requestReceiving(const ContactPtr &contact, bool receive)Tp::CallStream
requestSending(bool send)Tp::CallStream
setBusName(const QString &busName)Tp::DBusProxyprotected
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< CallStream >inlineprotected
StatefulDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatefulDBusProxy
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique)Tp::StatefulDBusProxystatic
uniqueNameFrom(const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)Tp::StatefulDBusProxystatic
~CallStream()Tp::CallStream
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< CallStream >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatefulDBusProxy()Tp::StatefulDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00214.html0000644000175000017500000004404012727270137020772 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ChannelTypeDBusTubeAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

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

Inherits Tp::AbstractAdaptor.

Public Slots

QString Offer (const QVariantMap &parameters, uint accesscontrol, const QDBusMessage &dbusMessage)
 
QString Accept (uint accesscontrol, const QDBusMessage &dbusMessage)
 

Signals

void DBusNamesChanged (const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed)
 

Public Member Functions

QString ServiceName () const
 
Tp::DBusTubeParticipants DBusNames () const
 
Tp::UIntList SupportedAccessControls () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

QString Tp::Service::ChannelTypeDBusTubeAdaptor::ServiceName ( ) const

Return the value of the exported D-Bus object property ServiceName of type QString.

Adaptees should export this property as a Qt property named 'serviceName' with type QString.

A string representing the service name that will be used over the tube. It SHOULD be a well-known D-Bus service name, of the form com.example.ServiceName.

When the tube is offered, the service name is transmitted to the other end.

When requesting a channel with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST be included in the request.

Returns
The value of exported property ServiceName.
Tp::DBusTubeParticipants Tp::Service::ChannelTypeDBusTubeAdaptor::DBusNames ( ) const

Return the value of the exported D-Bus object property DBusNames of type Tp::DBusTubeParticipants.

Adaptees should export this property as a Qt property named 'dbusNames' with type Tp::DBusTubeParticipants.

For a multi-user (i.e. Handle_Type_Room) D-Bus tube, a mapping between contact handles and their unique bus names on this tube. For a peer-to-peer (i.e. Handle_Type_Contact) D-Bus tube, the empty dictionary. Change notification is via DBusNamesChanged.

Returns
The value of exported property DBusNames.
Tp::UIntList Tp::Service::ChannelTypeDBusTubeAdaptor::SupportedAccessControls ( ) const

Return the value of the exported D-Bus object property SupportedAccessControls of type Tp::UIntList.

Adaptees should export this property as a Qt property named 'supportedAccessControls' with type Tp::UIntList.

A list of the access control types that are supported with this channel. Note that only Socket_Access_Control_Localhost and Socket_Access_Control_Credentials can be used with D-Bus tubes. Using Socket_Access_Control_Credentials is recommended.

Socket_Access_Control_Credentials is easy to implement for a D-Bus tube, because typical D-Bus library implementations like libdbus and GDBus already have to support it to be able to connect to the system or session bus, and usually enable it by default; so there's typically no good reason to relax access control to Localhost.

When requesting a channel with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST NOT be included in the request.

Returns
The value of exported property SupportedAccessControls.
QString Tp::Service::ChannelTypeDBusTubeAdaptor::Offer ( const QVariantMap &  parameters,
uint  accesscontrol,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void offer(const QVariantMap& parameters, uint accesscontrol, const Tp::Service::ChannelTypeDBusTubeAdaptor::OfferContextPtr &context);

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

Offers a D-Bus tube providing the service specified.

Parameters
parameters
The dictionary of arbitrary Parameters to send with the tube offer.
accesscontrol
The access control the connection manager applies to the D-Bus 
socket.
Returns
The string describing the address of the private bus. The client 
SHOULD NOT attempt to connect to the address until the tube is open.
QString Tp::Service::ChannelTypeDBusTubeAdaptor::Accept ( uint  accesscontrol,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void accept(uint accesscontrol, const Tp::Service::ChannelTypeDBusTubeAdaptor::AcceptContextPtr &context);

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

Accept a D-Bus tube that's in the "local pending" state. The connection manager will attempt to open the tube. The tube remains in the "local pending" state until the TubeChannelStateChanged signal is emitted.

Parameters
accesscontrol
The access control the connection manager applies to the D-Bus 
socket.
Returns
The string describing the address of the private bus. The client 
SHOULD NOT attempt to connect to the address until the tube is open.
void Tp::Service::ChannelTypeDBusTubeAdaptor::DBusNamesChanged ( const Tp::DBusTubeParticipants added,
const Tp::UIntList removed 
)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void dbusNamesChanged(const Tp::DBusTubeParticipants& added, const Tp::UIntList& removed);

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

Parameters
added
Array of handles and D-Bus names of new participants.
removed
Array of handles of former participants.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00702_source.html0000644000175000017500000002755012727270137022363 0ustar00kaffeinekaffeine00000000000000 incoming-file-transfer-channel.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
incoming-file-transfer-channel.h
1 
23 #ifndef _TelepathyQt_incoming_file_transfer_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_incoming_file_transfer_channel_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/FileTransferChannel>
31 
32 #include <QAbstractSocket>
33 
34 namespace Tp
35 {
36 
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(IncomingFileTransferChannel)
41 
42 public:
43  static const Feature FeatureCore;
44 
45  static IncomingFileTransferChannelPtr create(const ConnectionPtr &connection,
46  const QString &objectPath, const QVariantMap &immutableProperties);
47 
48  virtual ~IncomingFileTransferChannel();
49 
50  PendingOperation *setUri(const QString& uri);
51  PendingOperation *acceptFile(qulonglong offset, QIODevice *output);
52 
53 Q_SIGNALS:
54  void uriDefined(const QString &uri);
55 
56 protected:
57  IncomingFileTransferChannel(const ConnectionPtr &connection,
58  const QString &objectPath,
59  const QVariantMap &immutableProperties,
61 
62 private Q_SLOTS:
63  TP_QT_NO_EXPORT void onAcceptFileFinished(Tp::PendingOperation *op);
64 
65  TP_QT_NO_EXPORT void onSocketConnected();
66  TP_QT_NO_EXPORT void onSocketDisconnected();
67  TP_QT_NO_EXPORT void onSocketError(QAbstractSocket::SocketError error);
68  TP_QT_NO_EXPORT void doTransfer();
69 
70 private:
71  TP_QT_NO_EXPORT void connectToHost();
72  TP_QT_NO_EXPORT void setFinished();
73 
74  struct Private;
75  friend struct Private;
76  Private *mPriv;
77 };
78 
79 } // Tp
80 
81 #endif
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
static const Feature FeatureCore
Definition: incoming-file-transfer-channel.h:43
Definition: abstract-adaptor.cpp:31
The FileTransferChannel class represents a Telepathy channel of type FileTransfer.
Definition: file-transfer-channel.h:35
The IncomingFileTransferChannel class represents a Telepathy channel of type FileTransfer for incomin...
Definition: incoming-file-transfer-channel.h:37
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01185.html0000644000175000017500000000564012727270137021005 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SingleContactAttributesMap Member List

This is the complete list of members for Tp::SingleContactAttributesMap, including all inherited members.

operator=(const QMap< QString, QDBusVariant > &a)Tp::SingleContactAttributesMapinline
SingleContactAttributesMap()Tp::SingleContactAttributesMapinline
SingleContactAttributesMap(const QMap< QString, QDBusVariant > &a)Tp::SingleContactAttributesMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00283.html0000644000175000017500000005131512727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::Service::ConnectionInterfaceSimplePresenceAdaptor Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ConnectionInterfaceSimplePresenceAdaptor Class Reference

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

Inherits Tp::AbstractAdaptor.

Public Slots

void SetPresence (const QString &status, const QString &statusMessage, const QDBusMessage &dbusMessage)
 
Tp::SimpleContactPresences GetPresences (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage)
 

Signals

void PresencesChanged (const Tp::SimpleContactPresences &presence)
 

Public Member Functions

Tp::SimpleStatusSpecMap Statuses () const
 
uint MaximumStatusMessageLength () const
 
- Public Member Functions inherited from Tp::AbstractAdaptor
 AbstractAdaptor (const QDBusConnection &connection, QObject *adaptee, QObject *parent)
 
 ~AbstractAdaptor ()
 
QDBusConnection dbusConnection () const
 
QObject * adaptee () const
 

Detailed Description

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

Member Function Documentation

Tp::SimpleStatusSpecMap Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::Statuses ( ) const

Return the value of the exported D-Bus object property Statuses of type Tp::SimpleStatusSpecMap.

Adaptees should export this property as a Qt property named 'statuses' with type Tp::SimpleStatusSpecMap.

A dictionary where the keys are the presence statuses that are available on this connection, and the values are the corresponding presence types.

While the connection is in the DISCONNECTED state, it contains the set of presence statuses allowed to be set before connecting. The connection manager will attempt to set the appropriate status when the connection becomes connected, but cannot necessarily guarantee it. The available statuses cannot change until the connection status changes, so there is no change notification.

While the connection is in the CONNECTED state, this property contains the set of presence statuses which are actually available on this protocol. This set is constant for the remaining lifetime of the connection, so again, there is no change notification.

While the connection is in the CONNECTING state, the value of this property is undefined and SHOULD NOT be used. It can change at any time without notification (in particular, any cached values from when the connection was in the DISCONNECTED or CONNECTING state MUST NOT be assumed to still be correct when the state has become CONNECTED).

This property MUST include the special statuses "unknown" and "error" if and only if the connection manager can emit them as a contact's status.

For instance, connection managers for local-xmpp (XEP-0174) would omit "unknown" since there is no such concept.

Returns
The value of exported property Statuses.
uint Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::MaximumStatusMessageLength ( ) const

Return the value of the exported D-Bus object property MaximumStatusMessageLength of type uint.

Adaptees should export this property as a Qt property named 'maximumStatusMessageLength' with type uint.

The maximum length in characters for any individual status message, or 0 if there is no limit.

While the connection is in the DISCONNECTED state, this property will be 0. The connection manager will attempt to set the appropriate value when the connection becomes connected, but cannot necessarily guarantee it. The maximum length cannot change until the connection status changes, so there is no change notification.

While the connection is in the CONNECTED state, this property contains the maximum length in characters for any individual status message which is actually allowed on this protocol. This value is constant for the remaining lifetime of the connection, so again, there is no change notification.

While the connection is in the CONNECTING state, the value of this property is undefined and SHOULD NOT be used. It can change at any time without notification (in particular, any cached values from when the connection was in the DISCONNECTED or CONNECTING state MUST NOT be assumed to still be correct when the state has become CONNECTED).

If a message passed to SetPresence() is longer than allowed by this property, the connection manager MUST truncate the supplied message; when emitting PresencesChanged() , the truncated version of the message MUST be used.

Some XMPP servers, like Google Talk, define a maximum length for status messages. Whether the user's server is one of these cannot be detected until quite late in the connection process.

Returns
The value of exported property MaximumStatusMessageLength.
void Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::SetPresence ( const QString &  status,
const QString &  statusMessage,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void setPresence(const QString& status, const QString& statusMessage, const Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::SetPresenceContextPtr &context);

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

Request that the presence status and status message are published for the connection. Changes will be indicated by PresencesChanged() signals being emitted.

This method may be called on a newly-created connection while it is still in the DISCONNECTED state, to request that when the connection connects, it will do so with the selected status.

In DISCONNECTED state the Statuses property will indicate which statuses are allowed to be set while DISCONNECTED (none, if the Connection Manager doesn't allow this). This value MUST NOT be cached, as the set of allowed presences might change upon connecting.

Parameters
status

The string identifier of the desired status. Possible status identifiers are defined in the \\\ \\link requestPropertyStatuses() Statuses \\endlink \\htmlonly property.

Clients MUST NOT set a status whose string value they do not recognise, even if its presence type in Statuses matches what the user requested.

Suppose a protocol has statuses that include 'phone' (of type BUSY) and 'in-a-meeting' (of type BUSY), but there is no generic 'busy' status.
If the user requests "Busy" status from a menu, a client author might be tempted to pick an arbitrary status that has type BUSY. However, on this protocol, neither of the choices would be appropriate, and incorrect information about the user would be conveyed.

Statuses whose <tp:type>Connection_Presence_Type</tp:type> is Offline, Error or Unknown MUST NOT be passed to this function. Connection managers SHOULD reject these statuses.

To go offline, call \\endhtmlonly ConnectionInterface::Disconnect() \\htmlonly instead. The "error" and "unknown" statuses make no sense.
Parameters
statusMessage
The status message associated with the current status.
Tp::SimpleContactPresences Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::GetPresences ( const Tp::UIntList contacts,
const QDBusMessage &  dbusMessage 
)
slot

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

Adaptees should export this method as a Qt slot with the following signature: void getPresences(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::GetPresencesContextPtr &context);

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

Get presence previously emitted by PresencesChanged for the given contacts. Data is returned in the same structure as the PresencesChanged signal; no additional network requests are made.

Parameters
contacts
An array of the contacts whose presence should be obtained.
Returns

Presence information in the same format as for the \\\ PresencesChanged() \\htmlonly signal. The returned mapping MUST include an entry for each contact in the method's argument.

The definition of the connection presence types Unknown and Offline means that if a connection manager will return Unknown for contacts not on the subscribe list, it MUST delay the reply to this method call until it has found out which contacts are, in fact, on the subscribe list.

void Tp::Service::ConnectionInterfaceSimplePresenceAdaptor::PresencesChanged ( const Tp::SimpleContactPresences presence)
signal

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

Adaptees should export this signal as a Qt signal with the following signature: void presencesChanged(const Tp::SimpleContactPresences& presence);

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

Parameters
presence
A dictionary of contact handles mapped to the status, presence type 
and status message.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01244.html0000644000175000017500000002114412727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceDestroyableInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceDestroyableInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterfaceDestroyableInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceDestroyableInterface
ChannelInterfaceDestroyableInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceDestroyableInterface
ChannelInterfaceDestroyableInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceDestroyableInterface
ChannelInterfaceDestroyableInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceDestroyableInterfaceexplicit
ChannelInterfaceDestroyableInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceDestroyableInterface
Destroy(int timeout=-1)Tp::Client::ChannelInterfaceDestroyableInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceDestroyableInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceDestroyableInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
staticInterfaceName()Tp::Client::ChannelInterfaceDestroyableInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00028.html0000644000175000017500000000646512727270137021006 0ustar00kaffeinekaffeine00000000000000 Installation
   Home · All Classes · All Namespaces · Modules · Functions · Files
Installation

Installing from source on Linux

Requirements

Building Telepathy-Qt requires:

For the full set of regression tests to run, you'll also need:

and to build the example VoIP call UI (examples/call), you'll need:

Building

After installing all dependencies, run:

$ mkdir build; cd build
$ cmake ..
$ make
$ make install 


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_w.html0000644000175000017500000000431012727270137022515 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- w -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00342.html0000644000175000017500000003610412727270137020776 0ustar00kaffeinekaffeine00000000000000 Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 > Struct Template Reference

#include </home/kaffeine/devel/telepathy/bundle/release/telepathy-qt/TelepathyQt/callbacks.h>

Inherits Tp::BaseFunctorCaller< FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >, Functor >.

Public Types

typedef R ResultType
 
typedef R(* InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
 
- Public Types inherited from Tp::AbstractFunctorCaller
typedef void *(* HookType) (void *)
 

Public Member Functions

 FunctorCaller7 (const Functor &functor)
 
- Public Member Functions inherited from Tp::BaseFunctorCaller< FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >, Functor >
 BaseFunctorCaller (const Functor &functor, AbstractFunctorCaller::HookType invokeMethodHook)
 
virtual ~BaseFunctorCaller ()
 
virtual AbstractFunctorCallerclone () const
 
- Public Member Functions inherited from Tp::AbstractFunctorCaller
 AbstractFunctorCaller (HookType invokeMethodHook)
 
virtual ~AbstractFunctorCaller ()
 

Static Public Member Functions

static ResultType invoke (AbstractFunctorCaller *call, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5, Arg6 a6, Arg7 a7)
 

Additional Inherited Members

- Public Attributes inherited from Tp::BaseFunctorCaller< FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >, Functor >
Functor functor
 
- Public Attributes inherited from Tp::AbstractFunctorCaller
HookType invokeMethodHook
 

Member Typedef Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
typedef R Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::ResultType
template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
typedef R(* Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::InvokeType) (AbstractFunctorCaller *, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)

Constructor & Destructor Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::FunctorCaller7 ( const Functor &  functor)
inlineexplicit

Member Function Documentation

template<class Functor , class R , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 >
static ResultType Tp::FunctorCaller7< Functor, R, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7 >::invoke ( AbstractFunctorCaller call,
Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5,
Arg6  a6,
Arg7  a7 
)
inlinestatic


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01303.html0000644000175000017500000004572212727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::MediaStreamHandlerInterface Member List

This is the complete list of members for Tp::Client::MediaStreamHandlerInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
AddRemoteCandidate(const QString &candidateID, const Tp::MediaStreamHandlerTransportList &transports)Tp::Client::MediaStreamHandlerInterfacesignal
Close()Tp::Client::MediaStreamHandlerInterfacesignal
CodecChoice(uint codecID, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
CodecsUpdated(const Tp::MediaStreamHandlerCodecList &codecs, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
Error(uint errorCode, const QString &message, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
HoldState(bool held, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::MediaStreamHandlerInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
MediaStreamHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::MediaStreamHandlerInterface
MediaStreamHandlerInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::MediaStreamHandlerInterface
MediaStreamHandlerInterface(Tp::DBusProxy *proxy)Tp::Client::MediaStreamHandlerInterface
NativeCandidatesPrepared(int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
NewActiveCandidatePair(const QString &nativeCandidateID, const QString &remoteCandidateID, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
NewActiveTransportPair(const QString &nativeCandidateID, const Tp::MediaStreamHandlerTransport &nativeTransport, const QString &remoteCandidateID, const Tp::MediaStreamHandlerTransport &remoteTransport, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
NewNativeCandidate(const QString &candidateID, const Tp::MediaStreamHandlerTransportList &transports, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
Ready(const Tp::MediaStreamHandlerCodecList &codecs, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
RemoveRemoteCandidate(const QString &candidateID)Tp::Client::MediaStreamHandlerInterfacesignal
requestAllProperties() const Tp::Client::MediaStreamHandlerInterfaceinline
requestPropertyCreatedLocally() const Tp::Client::MediaStreamHandlerInterfaceinline
requestPropertyNATTraversal() const Tp::Client::MediaStreamHandlerInterfaceinline
requestPropertyRelayInfo() const Tp::Client::MediaStreamHandlerInterfaceinline
requestPropertySTUNServers() const Tp::Client::MediaStreamHandlerInterfaceinline
SetActiveCandidatePair(const QString &nativeCandidateID, const QString &remoteCandidateID)Tp::Client::MediaStreamHandlerInterfacesignal
SetLocalCodecs(const Tp::MediaStreamHandlerCodecList &codecs, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetRemoteCandidateList(const Tp::MediaStreamHandlerCandidateList &remoteCandidates)Tp::Client::MediaStreamHandlerInterfacesignal
SetRemoteCodecs(const Tp::MediaStreamHandlerCodecList &codecs)Tp::Client::MediaStreamHandlerInterfacesignal
SetRemoteFeedbackMessages(const Tp::RTCPFeedbackMessageMap &messages)Tp::Client::MediaStreamHandlerInterfacesignal
SetRemoteHeaderExtensions(const Tp::RTPHeaderExtensionsList &headerExtensions)Tp::Client::MediaStreamHandlerInterfacesignal
SetStreamHeld(bool held)Tp::Client::MediaStreamHandlerInterfacesignal
SetStreamPlaying(bool playing)Tp::Client::MediaStreamHandlerInterfacesignal
SetStreamSending(bool sending)Tp::Client::MediaStreamHandlerInterfacesignal
StartNamedTelephonyEvent(uchar event, uint codecID)Tp::Client::MediaStreamHandlerInterfacesignal
StartSoundTelephonyEvent(uchar event)Tp::Client::MediaStreamHandlerInterfacesignal
StartTelephonyEvent(uchar event)Tp::Client::MediaStreamHandlerInterfacesignal
staticInterfaceName()Tp::Client::MediaStreamHandlerInterfaceinlinestatic
StopTelephonyEvent()Tp::Client::MediaStreamHandlerInterfacesignal
StreamState(uint state, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
SupportedCodecs(const Tp::MediaStreamHandlerCodecList &codecs, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
SupportedFeedbackMessages(const Tp::RTCPFeedbackMessageMap &messages, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
SupportedHeaderExtensions(const Tp::RTPHeaderExtensionsList &headerExtensions, int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
UnholdFailure(int timeout=-1)Tp::Client::MediaStreamHandlerInterfaceinlineslot
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00097.html0000644000175000017500000006622312727270137021012 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionContactsInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for implementations of Connection.Interface.Contacts. More...

#include <TelepathyQt/BaseConnection>

Inherits Tp::AbstractConnectionInterface.

Public Types

typedef Callback3< Tp::ContactAttributesMap, const Tp::UIntList &, const QStringList &, DBusError * > GetContactAttributesCallback
 

Public Member Functions

virtual ~BaseConnectionContactsInterface ()
 
QVariantMap immutableProperties () const
 
QStringList contactAttributeInterfaces () const
 
void setContactAttributeInterfaces (const QStringList &contactAttributeInterfaces)
 
void setGetContactAttributesCallback (const GetContactAttributesCallback &cb)
 
Tp::ContactAttributesMap getContactAttributes (const Tp::UIntList &handles, const QStringList &interfaces, DBusError *error)
 
void getContactByID (const QString &identifier, const QStringList &interfaces, uint &handle, QVariantMap &attributes, DBusError *error)
 
- Public Member Functions inherited from Tp::AbstractConnectionInterface
 AbstractConnectionInterface (const QString &interfaceName)
 
virtual ~AbstractConnectionInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionContactsInterfacePtr create ()
 
template<typename BaseConnectionContactsInterfaceSubclass >
static SharedPtr< BaseConnectionContactsInterfaceSubclass > create ()
 

Protected Member Functions

 BaseConnectionContactsInterface ()
 
void setBaseConnection (BaseConnection *connection)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Detailed Description

Base class for implementations of Connection.Interface.Contacts.

Member Typedef Documentation

Constructor & Destructor Documentation

Tp::BaseConnectionContactsInterface::~BaseConnectionContactsInterface ( )
virtual

Class destructor.

Tp::BaseConnectionContactsInterface::BaseConnectionContactsInterface ( )
protected

Class constructor.

Member Function Documentation

static BaseConnectionContactsInterfacePtr Tp::BaseConnectionContactsInterface::create ( )
inlinestatic
template<typename BaseConnectionContactsInterfaceSubclass >
static SharedPtr<BaseConnectionContactsInterfaceSubclass> Tp::BaseConnectionContactsInterface::create ( )
inlinestatic
QVariantMap Tp::BaseConnectionContactsInterface::immutableProperties ( ) const
virtual

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.

QStringList Tp::BaseConnectionContactsInterface::contactAttributeInterfaces ( ) const
void Tp::BaseConnectionContactsInterface::setContactAttributeInterfaces ( const QStringList &  contactAttributeInterfaces)
void Tp::BaseConnectionContactsInterface::setGetContactAttributesCallback ( const GetContactAttributesCallback cb)
Tp::ContactAttributesMap Tp::BaseConnectionContactsInterface::getContactAttributes ( const Tp::UIntList handles,
const QStringList &  interfaces,
DBusError error 
)
void Tp::BaseConnectionContactsInterface::getContactByID ( const QString &  identifier,
const QStringList &  interfaces,
uint &  handle,
QVariantMap &  attributes,
DBusError error 
)
void Tp::BaseConnectionContactsInterface::setBaseConnection ( BaseConnection connection)
protectedvirtual

Reimplemented from Tp::AbstractConnectionInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01058.html0000644000175000017500000000553012727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::HandleIdentifierMap Member List

This is the complete list of members for Tp::HandleIdentifierMap, including all inherited members.

HandleIdentifierMap()Tp::HandleIdentifierMapinline
HandleIdentifierMap(const QMap< uint, QString > &a)Tp::HandleIdentifierMapinline
operator=(const QMap< uint, QString > &a)Tp::HandleIdentifierMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00902.html0000644000175000017500000000457012727270137021002 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::AccessControl Member List

This is the complete list of members for Tp::AccessControl, including all inherited members.

detailTp::AccessControl
typeTp::AccessControl


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00401.html0000644000175000017500000024335512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::OutgoingFileTransferChannel Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

The OutgoingFileTransferChannel class represents a Telepathy channel of type FileTransfer for outgoing file transfers. More...

#include <TelepathyQt/OutgoingFileTransferChannel>

Inherits Tp::FileTransferChannel.

Public Member Functions

virtual ~OutgoingFileTransferChannel ()
 
PendingOperationprovideFile (QIODevice *input)
 
- Public Member Functions inherited from Tp::FileTransferChannel
virtual ~FileTransferChannel ()
 
FileTransferState state () const
 
FileTransferStateChangeReason stateReason () const
 
QString fileName () const
 
QString contentType () const
 
qulonglong size () const
 
QString uri () const
 
FileHashType contentHashType () const
 
QString contentHash () const
 
QString description () const
 
QDateTime lastModificationTime () const
 
qulonglong initialOffset () const
 
qulonglong transferredBytes () const
 
PendingOperationcancel ()
 
- Public Member Functions inherited from Tp::Channel
virtual ~Channel ()
 
ConnectionPtr connection () const
 
QVariantMap immutableProperties () const
 
QString channelType () const
 
HandleType targetHandleType () const
 
uint targetHandle () const
 
QString targetId () const
 
ContactPtr targetContact () const
 
bool isRequested () const
 
ContactPtr initiatorContact () const
 
PendingOperationrequestClose ()
 
PendingOperationrequestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
bool isConference () const
 
Contacts conferenceInitialInviteeContacts () const
 
QList< ChannelPtr > conferenceChannels () const
 
QList< ChannelPtr > conferenceInitialChannels () const
 
QHash< uint, ChannelPtr > conferenceOriginalChannels () const
 
bool supportsConferenceMerging () const
 
PendingOperationconferenceMergeChannel (const ChannelPtr &channel)
 
bool supportsConferenceSplitting () const
 
PendingOperationconferenceSplitChannel ()
 
ChannelGroupFlags groupFlags () const
 
bool groupCanAddContacts () const
 
bool groupCanAddContactsWithMessage () const
 
bool groupCanAcceptContactsWithMessage () const
 
PendingOperationgroupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString())
 
bool groupCanRescindContacts () const
 
bool groupCanRescindContactsWithMessage () const
 
bool groupCanRemoveContacts () const
 
bool groupCanRemoveContactsWithMessage () const
 
bool groupCanRejectContactsWithMessage () const
 
bool groupCanDepartWithMessage () const
 
PendingOperationgroupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone)
 
Contacts groupContacts (bool includeSelfContact=true) const
 
Contacts groupLocalPendingContacts (bool includeSelfContact=true) const
 
Contacts groupRemotePendingContacts (bool includeSelfContact=true) const
 
GroupMemberChangeDetails groupLocalPendingContactChangeInfo (const ContactPtr &contact) const
 
GroupMemberChangeDetails groupSelfContactRemoveInfo () const
 
bool groupAreHandleOwnersAvailable () const
 
HandleOwnerMap groupHandleOwners () const
 
bool groupIsSelfContactTracked () const
 
ContactPtr groupSelfContact () const
 
- Public Member Functions inherited from Tp::StatefulDBusProxy
 StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~StatefulDBusProxy ()
 
- Public Member Functions inherited from Tp::DBusProxy
 DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)
 
virtual ~DBusProxy ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
bool isValid () const
 
QString invalidationReason () const
 
QString invalidationMessage () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
- Public Member Functions inherited from Tp::ReadyObject
 ReadyObject (RefCounted *object, const Feature &featureCore)
 
 ReadyObject (DBusProxy *proxy, const Feature &featureCore)
 
virtual ~ReadyObject ()
 
virtual bool isReady (const Features &features=Features()) const
 
virtual PendingReadybecomeReady (const Features &requestedFeatures=Features())
 
virtual Features requestedFeatures () const
 
virtual Features actualFeatures () const
 
virtual Features missingFeatures () const
 
- Public Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
 OptionalInterfaceFactory (Channel *this_)
 
 ~OptionalInterfaceFactory ()
 
QStringList interfaces () const
 
bool hasInterface (const QString &name) const
 
Interface * optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const
 
Interface * interface () const
 

Static Public Member Functions

static OutgoingFileTransferChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::FileTransferChannel
static FileTransferChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::Channel
static ChannelPtr create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties)
 
- Static Public Member Functions inherited from Tp::StatefulDBusProxy
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique)
 
static QString uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message)
 

Static Public Attributes

static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::FileTransferChannel
static const Feature FeatureCore
 
- Static Public Attributes inherited from Tp::Channel
static const Feature FeatureCore
 
static const Feature FeatureConferenceInitialInviteeContacts
 

Protected Member Functions

 OutgoingFileTransferChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=OutgoingFileTransferChannel::FeatureCore)
 
- Protected Member Functions inherited from Tp::FileTransferChannel
 FileTransferChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=FileTransferChannel::FeatureCore)
 
SupportedSocketMap availableSocketTypes () const
 
bool isConnected () const
 
void setConnected ()
 
bool isFinished () const
 
- Protected Member Functions inherited from Tp::Channel
 Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature)
 
Client::ChannelInterfacebaseInterface () const
 
bool groupSelfHandleIsLocalPending () const
 
- Protected Member Functions inherited from Tp::DBusProxy
void setBusName (const QString &busName)
 
void invalidate (const QString &reason, const QString &message)
 
void invalidate (const QDBusError &error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 
- Protected Member Functions inherited from Tp::ReadyObject
ReadinessHelperreadinessHelper () const
 
- Protected Member Functions inherited from Tp::OptionalInterfaceFactory< Channel >
void setInterfaces (const QStringList &interfaces)
 

Additional Inherited Members

- Public Types inherited from Tp::OptionalInterfaceFactory< Channel >
enum  InterfaceSupportedChecking
 
- Signals inherited from Tp::FileTransferChannel
void stateChanged (Tp::FileTransferState state, Tp::FileTransferStateChangeReason reason)
 
void initialOffsetDefined (qulonglong initialOffset)
 
void transferredBytesChanged (qulonglong count)
 
- Signals inherited from Tp::Channel
void groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed)
 
void groupCanAddContactsChanged (bool canAddContacts)
 
void groupCanRemoveContactsChanged (bool canRemoveContacts)
 
void groupCanRescindContactsChanged (bool canRescindContacts)
 
void groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details)
 
void groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed)
 
void groupSelfContactChanged ()
 
void conferenceChannelMerged (const Tp::ChannelPtr &channel)
 
void conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details)
 
- Signals inherited from Tp::DBusProxy
void invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Slots inherited from Tp::FileTransferChannel
void onUriDefined (const QString &uri)
 
- Protected Slots inherited from Tp::Channel
PendingOperationgroupAddSelfHandle ()
 

Detailed Description

The OutgoingFileTransferChannel class represents a Telepathy channel of type FileTransfer for outgoing file transfers.

For more details, please refer to Telepathy specification.

See Asynchronous Object Model, Shared Pointer Usage

Constructor & Destructor Documentation

Tp::OutgoingFileTransferChannel::~OutgoingFileTransferChannel ( )
virtual

Class destructor.

Tp::OutgoingFileTransferChannel::OutgoingFileTransferChannel ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties,
const Feature coreFeature = OutgoingFileTransferChannel::FeatureCore 
)
protected

Construct a new OutgoingFileTransferChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
coreFeatureThe core feature of the channel type, if any. The corresponding introspectable should depend on OutgoingFileTransferChannel::FeatureCore.

Member Function Documentation

OutgoingFileTransferChannelPtr Tp::OutgoingFileTransferChannel::create ( const ConnectionPtr &  connection,
const QString &  objectPath,
const QVariantMap &  immutableProperties 
)
static

Create a new OutgoingFileTransferChannel object.

Parameters
connectionConnection owning this channel, and specifying the service.
objectPathThe channel object path.
immutablePropertiesThe channel immutable properties.
Returns
An OutgoingFileTransferChannelPtr object pointing to the newly created OutgoingFileTransferChannel object.
PendingOperation * Tp::OutgoingFileTransferChannel::provideFile ( QIODevice *  input)

Provide the file for an outgoing file transfer which has been offered.

The state will change to FileTransferStateOpen as soon as the transfer starts. The given input device should not be destroyed until the state() changes to FileTransferStateCompleted or FileTransferStateCancelled. If input is a sequential device QIODevice::isSequential(), it should be closed when no more data is available, so that it's known when to stop reading.

Only the primary handler of a file transfer channel may call this method.

This method requires FileTransferChannel::FeatureCore to be ready.

Parameters
inputA QIODevice object where the data will be read from.
Returns
A PendingOperation object which will emit PendingOperation::finished when the call has finished.
See also
stateChanged(), state(), stateReason()

Member Data Documentation

const Feature Tp::OutgoingFileTransferChannel::FeatureCore
static

Feature representing the core that needs to become ready to make the OutgoingFileTransferChannel object usable.

This is currently the same as FileTransferChannel::FeatureCore, but may change to include more.

When calling isReady(), becomeReady(), this feature is implicitly added to the requested features.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01372.html0000644000175000017500000001315012727270137020776 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Service::ProtocolAdaptor Member List

This is the complete list of members for Tp::Service::ProtocolAdaptor, including all inherited members.

AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent)Tp::AbstractAdaptor
adaptee() const Tp::AbstractAdaptor
AuthenticationTypes() const Tp::Service::ProtocolAdaptor
ConnectionInterfaces() const Tp::Service::ProtocolAdaptor
dbusConnection() const Tp::AbstractAdaptor
EnglishName() const Tp::Service::ProtocolAdaptor
Icon() const Tp::Service::ProtocolAdaptor
IdentifyAccount(const QVariantMap &parameters, const QDBusMessage &dbusMessage)Tp::Service::ProtocolAdaptorslot
Interfaces() const Tp::Service::ProtocolAdaptor
NormalizeContact(const QString &contactID, const QDBusMessage &dbusMessage)Tp::Service::ProtocolAdaptorslot
Parameters() const Tp::Service::ProtocolAdaptor
RequestableChannelClasses() const Tp::Service::ProtocolAdaptor
VCardField() const Tp::Service::ProtocolAdaptor
~AbstractAdaptor()Tp::AbstractAdaptor


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00156.html0000644000175000017500000007460312727270137021007 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelDispatcherInterfaceMessages1Interface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/ChannelDispatcher>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QString > SendMessage (const QDBusObjectPath &account, const QString &targetID, const Tp::MessagePartList &message, uint flags, int timeout=-1)
 

Public Member Functions

 ChannelDispatcherInterfaceMessages1Interface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelDispatcherInterfaceMessages1Interface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelDispatcherInterfaceMessages1Interface (Tp::DBusProxy *proxy)
 
 ChannelDispatcherInterfaceMessages1Interface (const Tp::Client::ChannelDispatcherInterface &mainInterface)
 
 ChannelDispatcherInterfaceMessages1Interface (const Tp::Client::ChannelDispatcherInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 
- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1".

Constructor & Destructor Documentation

Tp::Client::ChannelDispatcherInterfaceMessages1Interface::ChannelDispatcherInterfaceMessages1Interface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelDispatcherInterfaceMessages1Interface 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.
Tp::Client::ChannelDispatcherInterfaceMessages1Interface::ChannelDispatcherInterfaceMessages1Interface ( Tp::DBusProxy proxy)

Creates a ChannelDispatcherInterfaceMessages1Interface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelDispatcherInterfaceMessages1Interface::ChannelDispatcherInterfaceMessages1Interface ( const Tp::Client::ChannelDispatcherInterface mainInterface)
explicit

Creates a ChannelDispatcherInterfaceMessages1Interface 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.
Tp::Client::ChannelDispatcherInterfaceMessages1Interface::ChannelDispatcherInterfaceMessages1Interface ( const Tp::Client::ChannelDispatcherInterface mainInterface,
QObject *  parent 
)

Creates a ChannelDispatcherInterfaceMessages1Interface 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 Tp::Client::ChannelDispatcherInterfaceMessages1Interface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages1", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariantMap* Tp::Client::ChannelDispatcherInterfaceMessages1Interface::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<QString> Tp::Client::ChannelDispatcherInterfaceMessages1Interface::SendMessage ( const QDBusObjectPath &  account,
const QString &  targetID,
const Tp::MessagePartList message,
uint  flags,
int  timeout = -1 
)
inlineslot

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

Submit a message to the server for sending, like the ChannelInterfaceMessagesInterface::SendMessage() method.

If the Account is connected and a Text channel to the Target_ID already exists, this method is equivalent to sending the same message via that channel.

Otherwise, this method creates a channel (connecting the Account if appropriate), sends the desired message, and closes the channel as if via ChannelInterface::Close() , without acknowledging any messages received on that channel during that time.

If any messages are received on that channel before it is closed, a correct connection manager implementation will reopen the channel when it is closed, resulting in those "rescued" messages being processed by the system's normal ClientHandlerInterface for text channels. In particular, this deals with the situation where a successful or failed delivery report is received before the channel is closed.

Expecting a trivial client (perhaps a send-only IRC bot, or a simple SMS-sending API) to go through all those steps to send a message seems somewhat unreasonable. Having this as a method in the ChannelDispatcher lets it take some short-cuts if required, and centralizes the implementation to reduce the risk of mistakes that cause message loss.

The ChannelDispatcher SHOULD support this method for any connection manager that would accept channel requests of this form:

  {
  …  ChannelInterface::ChannelType   :
      …  ChannelTypeTextInterface ,
  …  ChannelInterface::TargetHandleType   :
      Contact,
  …  ChannelInterface::TargetID   :
  Target_ID
}

However, if the connection manager provides additional APIs (such as a way to open "send-only" channels), the ChannelDispatcher MAY use those: it is not required to use those exact request parameters.

This method may raise any error that would be raised by the ConnectionInterfaceRequestsInterface::EnsureChannel() or ChannelInterfaceMessagesInterface::SendMessage() methods, or signalled by the ChannelRequestInterface::Failed() signal.

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

Parameters
account
The Account through which to communicate.
targetID
The contact to send the message to.
message
The parts of the message, the same as for Messages.SendMessage.
flags
Flags influencing how to send the message, the same as for 
Messages.SendMessage.
timeoutThe timeout in milliseconds.
Returns
An opaque token equivalent to the one returned by 
Messages.SendMessage.
void Tp::Client::ChannelDispatcherInterfaceMessages1Interface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01117.html0000644000175000017500000002436112727270137021001 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::PendingContacts Member List

This is the complete list of members for Tp::PendingContacts, including all inherited members.

contacts() const Tp::PendingContacts
contactsToUpgrade() const Tp::PendingContacts
errorMessage() const Tp::PendingOperation
errorName() const Tp::PendingOperation
features() const Tp::PendingContacts
finished(Tp::PendingOperation *operation)Tp::PendingOperationsignal
handles() const Tp::PendingContacts
identifiers() const Tp::PendingContacts
invalidHandles() const Tp::PendingContacts
invalidIdentifiers() const Tp::PendingContacts
invalidUris() const Tp::PendingContacts
invalidVCardAddresses() const Tp::PendingContacts
isError() const Tp::PendingOperation
isFinished() const Tp::PendingOperation
isForHandles() const Tp::PendingContacts
isForIdentifiers() const Tp::PendingContacts
isForUris() const Tp::PendingContacts
isForVCardAddresses() const Tp::PendingContacts
isUpgrade() const Tp::PendingContacts
isValid() const Tp::PendingOperation
manager() const Tp::PendingContacts
object() const Tp::PendingOperationprotected
PendingOperation(const SharedPtr< RefCounted > &object)Tp::PendingOperationprotected
setFinished()Tp::PendingOperationprotectedslot
setFinishedWithError(const QString &name, const QString &message)Tp::PendingOperationprotectedslot
setFinishedWithError(const QDBusError &error)Tp::PendingOperationprotectedslot
uris() const Tp::PendingContacts
validIdentifiers() const Tp::PendingContacts
validUris() const Tp::PendingContacts
validVCardAddresses() const Tp::PendingContacts
vcardAddresses() const Tp::PendingContacts
vcardField() const Tp::PendingContacts
~PendingContacts()Tp::PendingContacts
~PendingOperation()Tp::PendingOperationvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00971.html0000644000175000017500000000541612727270137021010 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Candidate Member List

This is the complete list of members for Tp::Candidate, including all inherited members.

componentTp::Candidate
infoTp::Candidate
IPTp::Candidate
portTp::Candidate


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00698_source.html0000644000175000017500000002553712727270137022404 0ustar00kaffeinekaffeine00000000000000 handled-channel-notifier.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
handled-channel-notifier.h
1 
23 #ifndef _TelepathyQt_handled_channel_notifier_h_HEADER_GUARD_
24 #define _TelepathyQt_handled_channel_notifier_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/Types>
32 
33 #include <QObject>
34 
35 namespace Tp
36 {
37 
38 class ChannelRequestHints;
39 class RequestTemporaryHandler;
40 
41 class TP_QT_EXPORT HandledChannelNotifier : public QObject
42 {
43  Q_OBJECT
44  Q_DISABLE_COPY(HandledChannelNotifier)
45 
46 public:
48 
49  ChannelPtr channel() const;
50 
51 Q_SIGNALS:
52  void handledAgain(const QDateTime &userActionTime, const Tp::ChannelRequestHints &requestHints);
53 
54 protected:
55 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
56  void connectNotify(const QMetaMethod &signal);
57 #else
58  void connectNotify(const char *signal);
59 #endif
60 
61 private Q_SLOTS:
62  TP_QT_NO_EXPORT void onChannelReceived(const Tp::ChannelPtr &channel,
63  const QDateTime &userActionTime, const Tp::ChannelRequestHints &requestHints);
64  TP_QT_NO_EXPORT void onChannelInvalidated();
65 
66 private:
67  friend class PendingChannel;
68 
69  HandledChannelNotifier(const ClientRegistrarPtr &cr,
70  const SharedPtr<RequestTemporaryHandler> &handler);
71 
72  struct Private;
73  friend struct Private;
74  Private *mPriv;
75 };
76 
77 } // Tp
78 
79 #endif
The HandledChannelNotifier class can be used to keep track of channel() being re-requested.
Definition: handled-channel-notifier.h:41
The PendingChannel class represents the parameters of and the reply to an asynchronous channel reques...
Definition: pending-channel.h:44
Definition: abstract-adaptor.cpp:31
The ChannelRequestHints class represents a dictionary of metadata provided by the channel requester w...
Definition: channel-request.h:121


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00470.html0000644000175000017500000003023512727270137020777 0ustar00kaffeinekaffeine00000000000000 Tp::StreamTubeServer::RemoteContact Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::StreamTubeServer::RemoteContact Class Reference

The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates. More...

#include <TelepathyQt/StreamTubeServer>

Inherits QPair< AccountPtr, ContactPtr >.

Public Member Functions

 RemoteContact ()
 
 RemoteContact (const AccountPtr &account, const ContactPtr &contact)
 
 RemoteContact (const RemoteContact &other)
 
 ~RemoteContact ()
 
bool isValid () const
 
RemoteContactoperator= (const RemoteContact &other)
 
const AccountPtr & account () const
 
const ContactPtr & contact () const
 

Detailed Description

The StreamTubeServer::RemoteContact class represents a contact from which a socket connection to our exported socket originates.

Constructor & Destructor Documentation

Tp::StreamTubeServer::RemoteContact::RemoteContact ( )

Constructs a new invalid RemoteContact instance.

Tp::StreamTubeServer::RemoteContact::RemoteContact ( const AccountPtr &  account,
const ContactPtr &  contact 
)

Constructs a new RemoteContact for the given contact object from the given account.

Parameters
accountA pointer to the account which this contact can be reached through.
contactA pointer to the contact object.
Tp::StreamTubeServer::RemoteContact::RemoteContact ( const RemoteContact other)

Copy constructor.

Tp::StreamTubeServer::RemoteContact::~RemoteContact ( )

Class destructor.

Member Function Documentation

bool Tp::StreamTubeServer::RemoteContact::isValid ( ) const
inline

Return whether or not the contact is valid or is just the null object created using the default constructor.

Returns
true if valid, false otherwise.
StreamTubeServer::RemoteContact & Tp::StreamTubeServer::RemoteContact::operator= ( const RemoteContact other)

Assignment operator.

AccountPtr Tp::StreamTubeServer::RemoteContact::account ( ) const
inline

Return the account through which the contact can be reached.

Returns
A pointer to the account object.
ContactPtr Tp::StreamTubeServer::RemoteContact::contact ( ) const
inline

Return the actual contact object.

Returns
A pointer to the object.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00215.html0000644000175000017500000011066512727270137021002 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ChannelTypeDBusTubeInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Channel>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply< QString > Offer (const QVariantMap &parameters, uint accesscontrol, int timeout=-1)
 
QDBusPendingReply< QString > Accept (uint accesscontrol, int timeout=-1)
 

Signals

void DBusNamesChanged (const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ChannelTypeDBusTubeInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeDBusTubeInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ChannelTypeDBusTubeInterface (Tp::DBusProxy *proxy)
 
 ChannelTypeDBusTubeInterface (const Tp::Client::ChannelInterface &mainInterface)
 
 ChannelTypeDBusTubeInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyServiceName () const
 
Tp::PendingVariantrequestPropertyDBusNames () const
 
Tp::PendingVariantrequestPropertySupportedAccessControls () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.DBusTube".

Constructor & Destructor Documentation

Tp::Client::ChannelTypeDBusTubeInterface::ChannelTypeDBusTubeInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ChannelTypeDBusTubeInterface 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.
Tp::Client::ChannelTypeDBusTubeInterface::ChannelTypeDBusTubeInterface ( Tp::DBusProxy proxy)

Creates a ChannelTypeDBusTubeInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelTypeDBusTubeInterface::ChannelTypeDBusTubeInterface ( const Tp::Client::ChannelInterface mainInterface)
explicit

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

Creates a ChannelTypeDBusTubeInterface 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 Tp::Client::ChannelTypeDBusTubeInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Type.DBusTube", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ChannelTypeDBusTubeInterface::requestPropertyServiceName ( ) const
inline

Asynchronous getter for the remote object property ServiceName of type QString.

A string representing the service name that will be used over the tube. It SHOULD be a well-known D-Bus service name, of the form com.example.ServiceName.

When the tube is offered, the service name is transmitted to the other end.

When requesting a channel with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST be included in the request.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeDBusTubeInterface::requestPropertyDBusNames ( ) const
inline

Asynchronous getter for the remote object property DBusNames of type Tp::DBusTubeParticipants.

For a multi-user (i.e. Handle_Type_Room) D-Bus tube, a mapping between contact handles and their unique bus names on this tube. For a peer-to-peer (i.e. Handle_Type_Contact) D-Bus tube, the empty dictionary. Change notification is via DBusNamesChanged.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeDBusTubeInterface::requestPropertySupportedAccessControls ( ) const
inline

Asynchronous getter for the remote object property SupportedAccessControls of type Tp::UIntList.

A list of the access control types that are supported with this channel. Note that only Socket_Access_Control_Localhost and Socket_Access_Control_Credentials can be used with D-Bus tubes. Using Socket_Access_Control_Credentials is recommended.

Socket_Access_Control_Credentials is easy to implement for a D-Bus tube, because typical D-Bus library implementations like libdbus and GDBus already have to support it to be able to connect to the system or session bus, and usually enable it by default; so there's typically no good reason to relax access control to Localhost.

When requesting a channel with ConnectionInterfaceRequestsInterface::CreateChannel() , this property MUST NOT be included in the request.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelTypeDBusTubeInterface::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<QString> Tp::Client::ChannelTypeDBusTubeInterface::Offer ( const QVariantMap &  parameters,
uint  accesscontrol,
int  timeout = -1 
)
inlineslot

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

Offers a D-Bus tube providing the service specified.

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

Parameters
parameters
The dictionary of arbitrary Parameters to send with the tube offer.
accesscontrol
The access control the connection manager applies to the D-Bus 
socket.
timeoutThe timeout in milliseconds.
Returns
The string describing the address of the private bus. The client 
SHOULD NOT attempt to connect to the address until the tube is open.
QDBusPendingReply<QString> Tp::Client::ChannelTypeDBusTubeInterface::Accept ( uint  accesscontrol,
int  timeout = -1 
)
inlineslot

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

Accept a D-Bus tube that's in the "local pending" state. The connection manager will attempt to open the tube. The tube remains in the "local pending" state until the TubeChannelStateChanged signal is emitted.

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

Parameters
accesscontrol
The access control the connection manager applies to the D-Bus 
socket.
timeoutThe timeout in milliseconds.
Returns
The string describing the address of the private bus. The client 
SHOULD NOT attempt to connect to the address until the tube is open.
void Tp::Client::ChannelTypeDBusTubeInterface::DBusNamesChanged ( const Tp::DBusTubeParticipants added,
const Tp::UIntList removed 
)
signal

Represents the signal DBusNamesChanged on the remote object.

Emitted on a multi-user (i.e. Handle_Type_Room) D-Bus tube when a participant opens or closes the tube. This provides change notification for the DBusNames property.

Parameters
added
Array of handles and D-Bus names of new participants.
removed
Array of handles of former participants.
void Tp::Client::ChannelTypeDBusTubeInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01186.html0000644000175000017500000000460312727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::SocketAddressIP Member List

This is the complete list of members for Tp::SocketAddressIP, including all inherited members.

addressTp::SocketAddressIP
portTp::SocketAddressIP


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00694_source.html0000644000175000017500000001211612727270137022365 0ustar00kaffeinekaffeine00000000000000 global.h Source File
   Home · All Classes · All Namespaces · Modules · Functions · Files
telepathy-qt/TelepathyQt/Farstream/global.h
1 
22 #ifndef _TelepathyQt_Farstream_global_h_HEADER_GUARD_
23 #define _TelepathyQt_Farstream_global_h_HEADER_GUARD_
24 
25 #ifndef IN_TP_QT_FARSTREAM_HEADER
26 #error IN_TP_QT_FARSTREAM_HEADER
27 #endif
28 
29 #include <QtGlobal>
30 
31 #ifdef BUILDING_TP_QT_FARSTREAM
32 # define TP_QT_FS_EXPORT Q_DECL_EXPORT
33 #else
34 # define TP_QT_FS_EXPORT Q_DECL_IMPORT
35 #endif
36 
37 #if !defined(Q_OS_WIN) && defined(QT_VISIBILITY_AVAILABLE)
38 # define TP_QT_FS_NO_EXPORT __attribute__((visibility("hidden")))
39 #endif
40 
41 #ifndef TP_QT_FS_NO_EXPORT
42 # define TP_QT_FS_NO_EXPORT
43 #endif
44 
45 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00284.html0000644000175000017500000011605312727270137021005 0ustar00kaffeinekaffeine00000000000000 Tp::Client::ConnectionInterfaceSimplePresenceInterface Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

#include <TelepathyQt/Connection>

Inherits Tp::AbstractInterface.

Public Slots

QDBusPendingReply SetPresence (const QString &status, const QString &statusMessage, int timeout=-1)
 
QDBusPendingReply< Tp::SimpleContactPresencesGetPresences (const Tp::UIntList &contacts, int timeout=-1)
 

Signals

void PresencesChanged (const Tp::SimpleContactPresences &presence)
 
- Signals inherited from Tp::AbstractInterface
void propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties)
 

Public Member Functions

 ConnectionInterfaceSimplePresenceInterface (const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceSimplePresenceInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)
 
 ConnectionInterfaceSimplePresenceInterface (Tp::DBusProxy *proxy)
 
 ConnectionInterfaceSimplePresenceInterface (const Tp::Client::ConnectionInterface &mainInterface)
 
 ConnectionInterfaceSimplePresenceInterface (const Tp::Client::ConnectionInterface &mainInterface, QObject *parent)
 
Tp::PendingVariantrequestPropertyStatuses () const
 
Tp::PendingVariantrequestPropertyMaximumStatusMessageLength () const
 
Tp::PendingVariantMaprequestAllProperties () 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)
 
PendingVariantinternalRequestProperty (const QString &name) const
 
PendingOperationinternalSetProperty (const QString &name, const QVariant &newValue)
 
PendingVariantMapinternalRequestAllProperties () const
 

Additional Inherited Members

- Protected Slots inherited from Tp::AbstractInterface

Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.SimplePresence".

Constructor & Destructor Documentation

Tp::Client::ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Creates a ConnectionInterfaceSimplePresenceInterface 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.
Tp::Client::ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface ( Tp::DBusProxy proxy)

Creates a ConnectionInterfaceSimplePresenceInterface associated with the same object as the given proxy.

Parameters
proxyThe proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface ( const Tp::Client::ConnectionInterface mainInterface)
explicit

Creates a ConnectionInterfaceSimplePresenceInterface 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.
Tp::Client::ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface ( const Tp::Client::ConnectionInterface mainInterface,
QObject *  parent 
)

Creates a ConnectionInterfaceSimplePresenceInterface 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 Tp::Client::ConnectionInterfaceSimplePresenceInterface::staticInterfaceName ( )
inlinestatic

Returns the name of the interface "org.freedesktop.Telepathy.Connection.Interface.SimplePresence", which this class represents.

Returns
The D-Bus interface name.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceSimplePresenceInterface::requestPropertyStatuses ( ) const
inline

Asynchronous getter for the remote object property Statuses of type Tp::SimpleStatusSpecMap.

A dictionary where the keys are the presence statuses that are available on this connection, and the values are the corresponding presence types.

While the connection is in the DISCONNECTED state, it contains the set of presence statuses allowed to be set before connecting. The connection manager will attempt to set the appropriate status when the connection becomes connected, but cannot necessarily guarantee it. The available statuses cannot change until the connection status changes, so there is no change notification.

While the connection is in the CONNECTED state, this property contains the set of presence statuses which are actually available on this protocol. This set is constant for the remaining lifetime of the connection, so again, there is no change notification.

While the connection is in the CONNECTING state, the value of this property is undefined and SHOULD NOT be used. It can change at any time without notification (in particular, any cached values from when the connection was in the DISCONNECTED or CONNECTING state MUST NOT be assumed to still be correct when the state has become CONNECTED).

This property MUST include the special statuses "unknown" and "error" if and only if the connection manager can emit them as a contact's status.

For instance, connection managers for local-xmpp (XEP-0174) would omit "unknown" since there is no such concept.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ConnectionInterfaceSimplePresenceInterface::requestPropertyMaximumStatusMessageLength ( ) const
inline

Asynchronous getter for the remote object property MaximumStatusMessageLength of type uint.

The maximum length in characters for any individual status message, or 0 if there is no limit.

While the connection is in the DISCONNECTED state, this property will be 0. The connection manager will attempt to set the appropriate value when the connection becomes connected, but cannot necessarily guarantee it. The maximum length cannot change until the connection status changes, so there is no change notification.

While the connection is in the CONNECTED state, this property contains the maximum length in characters for any individual status message which is actually allowed on this protocol. This value is constant for the remaining lifetime of the connection, so again, there is no change notification.

While the connection is in the CONNECTING state, the value of this property is undefined and SHOULD NOT be used. It can change at any time without notification (in particular, any cached values from when the connection was in the DISCONNECTED or CONNECTING state MUST NOT be assumed to still be correct when the state has become CONNECTED).

If a message passed to SetPresence() is longer than allowed by this property, the connection manager MUST truncate the supplied message; when emitting PresencesChanged() , the truncated version of the message MUST be used.

Some XMPP servers, like Google Talk, define a maximum length for status messages. Whether the user's server is one of these cannot be detected until quite late in the connection process.

Returns
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ConnectionInterfaceSimplePresenceInterface::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 Tp::Client::ConnectionInterfaceSimplePresenceInterface::SetPresence ( const QString &  status,
const QString &  statusMessage,
int  timeout = -1 
)
inlineslot

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

Request that the presence status and status message are published for the connection. Changes will be indicated by PresencesChanged() signals being emitted.

This method may be called on a newly-created connection while it is still in the DISCONNECTED state, to request that when the connection connects, it will do so with the selected status.

In DISCONNECTED state the Statuses property will indicate which statuses are allowed to be set while DISCONNECTED (none, if the Connection Manager doesn't allow this). This value MUST NOT be cached, as the set of allowed presences might change upon connecting.

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

Parameters
status

The string identifier of the desired status. Possible status identifiers are defined in the Statuses property.

Clients MUST NOT set a status whose string value they do not recognise, even if its presence type in Statuses matches what the user requested.

Suppose a protocol has statuses that include 'phone' (of type BUSY) and 'in-a-meeting' (of type BUSY), but there is no generic 'busy' status.

If the user requests "Busy" status from a menu, a client author might be tempted to pick an arbitrary status that has type BUSY. However, on this protocol, neither of the choices would be appropriate, and incorrect information about the user would be conveyed.

Statuses whose Connection_Presence_Type is Offline, Error or Unknown MUST NOT be passed to this function. Connection managers SHOULD reject these statuses.

To go offline, call ConnectionInterface::Disconnect() instead. The "error" and "unknown" statuses make no sense.

statusMessage
The status message associated with the current status.
timeoutThe timeout in milliseconds.
QDBusPendingReply<Tp::SimpleContactPresences> Tp::Client::ConnectionInterfaceSimplePresenceInterface::GetPresences ( const Tp::UIntList contacts,
int  timeout = -1 
)
inlineslot

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

Get presence previously emitted by PresencesChanged for the given contacts. Data is returned in the same structure as the PresencesChanged signal; no additional network requests are made.

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

Parameters
contacts
An array of the contacts whose presence should be obtained.
timeoutThe timeout in milliseconds.
Returns

Presence information in the same format as for the PresencesChanged() signal. The returned mapping MUST include an entry for each contact in the method's argument.

The definition of the connection presence types Unknown and Offline means that if a connection manager will return Unknown for contacts not on the subscribe list, it MUST delay the reply to this method call until it has found out which contacts are, in fact, on the subscribe list.

void Tp::Client::ConnectionInterfaceSimplePresenceInterface::PresencesChanged ( const Tp::SimpleContactPresences presence)
signal

Represents the signal PresencesChanged on the remote object.

This signal should be emitted when your own presence has been changed, or the presence of the member of any of the connection's channels has been changed.

Parameters
presence
A dictionary of contact handles mapped to the status, presence type 
and status message.
void Tp::Client::ConnectionInterfaceSimplePresenceInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
)
protectedvirtual

Reimplemented from Tp::AbstractInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01245.html0000644000175000017500000002577412727270137021014 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::ChannelInterfaceDTMFInterface Member List

This is the complete list of members for Tp::Client::ChannelInterfaceDTMFInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
ChannelInterfaceDTMFInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceDTMFInterface
ChannelInterfaceDTMFInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::ChannelInterfaceDTMFInterface
ChannelInterfaceDTMFInterface(Tp::DBusProxy *proxy)Tp::Client::ChannelInterfaceDTMFInterface
ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface &mainInterface)Tp::Client::ChannelInterfaceDTMFInterfaceexplicit
ChannelInterfaceDTMFInterface(const Tp::Client::ChannelInterface &mainInterface, QObject *parent)Tp::Client::ChannelInterfaceDTMFInterface
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::ChannelInterfaceDTMFInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
MultipleTones(const QString &tones, int timeout=-1)Tp::Client::ChannelInterfaceDTMFInterfaceinlineslot
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
requestAllProperties() const Tp::Client::ChannelInterfaceDTMFInterfaceinline
requestPropertyCurrentlySendingTones() const Tp::Client::ChannelInterfaceDTMFInterfaceinline
requestPropertyDeferredTones() const Tp::Client::ChannelInterfaceDTMFInterfaceinline
requestPropertyInitialTones() const Tp::Client::ChannelInterfaceDTMFInterfaceinline
SendingTones(const QString &tones)Tp::Client::ChannelInterfaceDTMFInterfacesignal
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
StartTone(uint streamID, uchar event, int timeout=-1)Tp::Client::ChannelInterfaceDTMFInterfaceinlineslot
staticInterfaceName()Tp::Client::ChannelInterfaceDTMFInterfaceinlinestatic
StoppedTones(bool cancelled)Tp::Client::ChannelInterfaceDTMFInterfacesignal
StopTone(uint streamID, int timeout=-1)Tp::Client::ChannelInterfaceDTMFInterfaceinlineslot
TonesDeferred(const QString &tones)Tp::Client::ChannelInterfaceDTMFInterfacesignal
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00029.html0000644000175000017500000000415012727270137020774 0ustar00kaffeinekaffeine00000000000000 How to report a bug
   Home · All Classes · All Namespaces · Modules · Functions · Files
How to report a bug

Before reporting a bug, please check the Bug Tracker to see if the issue is already known.

Always include the following information in your bug report:

  • The version of Telepathy-Qt you are using

Please submit the bug report, feature request or "to-do" item here.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_x.html0000644000175000017500000000347112727270137022525 0ustar00kaffeinekaffeine00000000000000 Class Members
   Home · All Classes · All Namespaces · Modules · Functions · Files
Here is a list of all class members with links to the classes they belong to:

- x -


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00343.html0000644000175000017500000003744512727270137021010 0ustar00kaffeinekaffeine00000000000000 Tp::GenericCapabilityFilter< T > Class Template Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::GenericCapabilityFilter< T > Class Template Reference

The GenericCapabilityFilter class provides a generic filter object to be used to filter objects by capabilities. More...

#include <TelepathyQt/GenericCapabilityFilter>

Inherits Tp::Filter< T >.

Public Member Functions

virtual ~GenericCapabilityFilter ()
 
virtual bool isValid () const
 
virtual bool matches (const SharedPtr< T > &t) const
 
RequestableChannelClassSpecList filter () const
 
void addRequestableChannelClassSubset (const RequestableChannelClassSpec &rccSpec)
 
void setRequestableChannelClassesSubset (const RequestableChannelClassSpecList &rccSpecs)
 
- Public Member Functions inherited from Tp::Filter< T >
virtual ~Filter ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static SharedPtr< GenericCapabilityFilter< T > > create (const RequestableChannelClassSpecList &rccSpecs=RequestableChannelClassSpecList())
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Filter< T >
 Filter ()
 

Detailed Description

template<class T>
class Tp::GenericCapabilityFilter< T >

The GenericCapabilityFilter class provides a generic filter object to be used to filter objects by capabilities.

The objects used in conjunction with this filter must implement a method called capabilities() returning a CapabilitiesBase (or a subclass of it) instance. Specialized classes such as AccountCapabilityFilter are also provided and should be used where appropriate.

Constructor & Destructor Documentation

template<class T >
virtual Tp::GenericCapabilityFilter< T >::~GenericCapabilityFilter ( )
inlinevirtual

Member Function Documentation

template<class T >
static SharedPtr<GenericCapabilityFilter<T> > Tp::GenericCapabilityFilter< T >::create ( const RequestableChannelClassSpecList rccSpecs = RequestableChannelClassSpecList())
inlinestatic
template<class T >
virtual bool Tp::GenericCapabilityFilter< T >::isValid ( ) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
virtual bool Tp::GenericCapabilityFilter< T >::matches ( const SharedPtr< T > &  t) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
RequestableChannelClassSpecList Tp::GenericCapabilityFilter< T >::filter ( ) const
inline
template<class T >
void Tp::GenericCapabilityFilter< T >::addRequestableChannelClassSubset ( const RequestableChannelClassSpec rccSpec)
inline
template<class T >
void Tp::GenericCapabilityFilter< T >::setRequestableChannelClassesSubset ( const RequestableChannelClassSpecList rccSpecs)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/functions_func_k.html0000644000175000017500000000353312727270137023522 0ustar00kaffeinekaffeine00000000000000 Class Members - Functions
   Home · All Classes · All Namespaces · Modules · Functions · Files


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01304.html0000644000175000017500000002353312727270137020777 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Client::PropertiesInterfaceInterface Member List

This is the complete list of members for Tp::Client::PropertiesInterfaceInterface, including all inherited members.

AbstractInterface(DBusProxy *proxy, const QLatin1String &interface)Tp::AbstractInterfaceprotected
AbstractInterface(const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent)Tp::AbstractInterfaceprotected
GetProperties(const Tp::UIntList &properties, int timeout=-1)Tp::Client::PropertiesInterfaceInterfaceinlineslot
internalRequestAllProperties() const Tp::AbstractInterfaceprotected
internalRequestProperty(const QString &name) const Tp::AbstractInterfaceprotected
internalSetProperty(const QString &name, const QVariant &newValue)Tp::AbstractInterfaceprotected
invalidate(Tp::DBusProxy *, const QString &, const QString &)Tp::Client::PropertiesInterfaceInterfaceprotectedvirtual
invalidationMessage() const Tp::AbstractInterface
invalidationReason() const Tp::AbstractInterface
isMonitoringProperties() const Tp::AbstractInterface
isValid() const Tp::AbstractInterface
ListProperties(int timeout=-1)Tp::Client::PropertiesInterfaceInterfaceinlineslot
propertiesChanged(const QVariantMap &changedProperties, const QStringList &invalidatedProperties)Tp::AbstractInterfacesignal
PropertiesChanged(const Tp::PropertyValueList &properties)Tp::Client::PropertiesInterfaceInterfacesignal
PropertiesInterfaceInterface(const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::PropertiesInterfaceInterface
PropertiesInterfaceInterface(const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0)Tp::Client::PropertiesInterfaceInterface
PropertiesInterfaceInterface(Tp::DBusProxy *proxy)Tp::Client::PropertiesInterfaceInterface
PropertiesInterfaceInterface(const Tp::AbstractInterface &mainInterface)Tp::Client::PropertiesInterfaceInterfaceexplicit
PropertiesInterfaceInterface(const Tp::AbstractInterface &mainInterface, QObject *parent)Tp::Client::PropertiesInterfaceInterface
PropertyFlagsChanged(const Tp::PropertyFlagsChangeList &properties)Tp::Client::PropertiesInterfaceInterfacesignal
requestAllProperties() const Tp::Client::PropertiesInterfaceInterfaceinline
setMonitorProperties(bool monitorProperties)Tp::AbstractInterface
SetProperties(const Tp::PropertyValueList &properties, int timeout=-1)Tp::Client::PropertiesInterfaceInterfaceinlineslot
staticInterfaceName()Tp::Client::PropertiesInterfaceInterfaceinlinestatic
~AbstractInterface()Tp::AbstractInterfacevirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00098.html0000644000175000017500000010500512727270137021003 0ustar00kaffeinekaffeine00000000000000 Tp::BaseConnectionManager Class Reference
   Home · All Classes · All Namespaces · Modules · Functions · Files

Base class for connection manager implementations. More...

#include <TelepathyQt/BaseConnectionManager>

Inherits Tp::DBusService.

Signals

void newConnection (const BaseConnectionPtr &connection)
 
- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 

Public Member Functions

virtual ~BaseConnectionManager ()
 
QString name () const
 
QVariantMap immutableProperties () const
 
QList< BaseProtocolPtr > protocols () const
 
BaseProtocolPtr protocol (const QString &protocolName) const
 
bool hasProtocol (const QString &protocolName) const
 
bool addProtocol (const BaseProtocolPtr &protocol)
 
bool registerObject (DBusError *error=NULL)
 
QList< BaseConnectionPtr > connections () const
 
- Public Member Functions inherited from Tp::DBusService
 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static BaseConnectionManagerPtr create (const QString &name)
 
template<typename BaseConnectionManagerSubclass >
static SharedPtr< BaseConnectionManagerSubclass > create (const QString &name)
 
static BaseConnectionManagerPtr create (const QDBusConnection &dbusConnection, const QString &name)
 
template<typename BaseConnectionManagerSubclass >
static SharedPtr< BaseConnectionManagerSubclass > create (const QDBusConnection &dbusConnection, const QString &name)
 

Protected Member Functions

 BaseConnectionManager (const QDBusConnection &dbusConnection, const QString &name)
 
virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for connection manager implementations.

Constructor & Destructor Documentation

Tp::BaseConnectionManager::~BaseConnectionManager ( )
virtual

Class destructor.

Tp::BaseConnectionManager::BaseConnectionManager ( const QDBusConnection &  dbusConnection,
const QString &  name 
)
protected

Constructs a new BaseConnectionManager object that implements a connection manager on the given dbusConnection and has the given name.

Parameters
dbusConnectionThe QDBusConnection to use.
nameThe name of the connection manager.

Member Function Documentation

static BaseConnectionManagerPtr Tp::BaseConnectionManager::create ( const QString &  name)
inlinestatic
template<typename BaseConnectionManagerSubclass >
static SharedPtr<BaseConnectionManagerSubclass> Tp::BaseConnectionManager::create ( const QString &  name)
inlinestatic
static BaseConnectionManagerPtr Tp::BaseConnectionManager::create ( const QDBusConnection &  dbusConnection,
const QString &  name 
)
inlinestatic
template<typename BaseConnectionManagerSubclass >
static SharedPtr<BaseConnectionManagerSubclass> Tp::BaseConnectionManager::create ( const QDBusConnection &  dbusConnection,
const QString &  name 
)
inlinestatic
QString Tp::BaseConnectionManager::name ( ) const

Return the connection manager's name, as given on the constructor.

Returns
The connection manager's name.
QVariantMap Tp::BaseConnectionManager::immutableProperties ( ) const
virtual

Return the immutable properties of this connection manager object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns
The immutable properties of this connection manager object.

Implements Tp::DBusService.

QList< BaseProtocolPtr > Tp::BaseConnectionManager::protocols ( ) const

Return a list of all protocols that this connection manager implements.

This property is immutable and cannot change after the connection manager has been registered on the bus with registerObject().

Returns
A list of all protocols that this connection manager implements.
See also
addProtocol(), hasProtocol(), protocol()
BaseProtocolPtr Tp::BaseConnectionManager::protocol ( const QString &  protocolName) const

Return a pointer to the BaseProtocol instance that implements the protocol with the given protocolName, or a null BaseProtocolPtr if no such protocol has been added to the connection manager.

Parameters
protocolNameThe name of the protocol in interest.
Returns
The BaseProtocol instance that implements the protocol with the given protocolName.
See also
hasProtocol(), protocols(), addProtocol()
bool Tp::BaseConnectionManager::hasProtocol ( const QString &  protocolName) const

Return whether a protocol with the given protocolName has been added to the connection manager.

Parameters
protocolNameThe name of the protocol in interest.
Returns
true if a protocol with the given protocolName has been added to the connection manager, or false otherwise.
See also
addProtocol(), protocol(), protocols()
bool Tp::BaseConnectionManager::addProtocol ( const BaseProtocolPtr &  protocol)

Add a new protocol to the list of protocols that this connection manager implements.

Note that you cannot add new protocols after the connection manager has been registered on the bus with registerObject(). In addition, you cannot add two protocols with the same name. If any of these conditions is not met, this function will return false and print a suitable warning.

Parameters
protocolThe protocol to add.
Returns
true on success or false otherwise.
bool Tp::BaseConnectionManager::registerObject ( DBusError error = NULL)

Register this connection manager on the bus.

A connection manager can only be registered once, and it should be registered only after all the protocols it implements have been added with addProtocol().

If error is passed, any D-Bus error that may occur will be stored there.

Parameters
errorA pointer to an empty DBusError where any possible D-Bus error will be stored.
Returns
true on success and false if there was an error or this connection manager is already registered.
See also
isRegistered()
QList< BaseConnectionPtr > Tp::BaseConnectionManager::connections ( ) const

Return a list of all connections that have currently been made.

Returns
A list of all connections that have currently been made.
void Tp::BaseConnectionManager::newConnection ( const BaseConnectionPtr &  connection)
signal
bool Tp::BaseConnectionManager::registerObject ( const QString &  busName,
const QString &  objectPath,
DBusError error 
)
protectedvirtual

Reimplemented from DBusService.

Reimplemented from Tp::DBusService.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a01059.html0000644000175000017500000000545212727270137021006 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::HandleOwnerMap Member List

This is the complete list of members for Tp::HandleOwnerMap, including all inherited members.

HandleOwnerMap()Tp::HandleOwnerMapinline
HandleOwnerMap(const QMap< uint, uint > &a)Tp::HandleOwnerMapinline
operator=(const QMap< uint, uint > &a)Tp::HandleOwnerMapinline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/a00903.html0000644000175000017500000020474012727270137021004 0ustar00kaffeinekaffeine00000000000000 Member List
   Home · All Classes · All Namespaces · Modules · Functions · Files
Tp::Account Member List

This is the complete list of members for Tp::Account, including all inherited members.

Account(const QDBusConnection &bus, const QString &busName, const QString &objectPath, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory, const Feature &coreFeature)Tp::Accountprotected
actualFeatures() const Tp::ReadyObjectvirtual
allowedPresenceStatuses(bool includeAllStatuses=false) const Tp::Account
automaticPresenceTp::Account
automaticPresence() const Tp::Account
automaticPresenceChanged(const Tp::Presence &automaticPresence)Tp::Accountsignal
avatarTp::Account
avatar() const Tp::Account
avatarChanged(const Tp::Avatar &avatar)Tp::Accountsignal
avatarRequirementsTp::Account
avatarRequirements() const Tp::Account
baseInterface() const Tp::Accountprotected
becomeReady(const Features &requestedFeatures=Features())Tp::ReadyObjectvirtual
busName() const Tp::DBusProxy
BypassInterfaceCheck enum valueTp::OptionalInterfaceFactory< Account >
capabilitiesTp::Account
capabilities() const Tp::Account
capabilitiesChanged(const Tp::ConnectionCapabilities &capabilities)Tp::Accountsignal
changingPresenceTp::Account
changingPresence(bool value)Tp::Accountsignal
channelFactory() const Tp::Account
CheckInterfaceSupported enum valueTp::OptionalInterfaceFactory< Account >
cmNameTp::Account
cmName() const Tp::Account
connectionTp::Account
connection() const Tp::Account
connectionChanged(const Tp::ConnectionPtr &connection)Tp::Accountsignal
connectionErrorTp::Account
connectionError() const Tp::Account
connectionErrorDetailsTp::Account
connectionErrorDetails() const Tp::Account
connectionFactory() const Tp::Account
connectionStatusTp::Account
connectionStatus() const Tp::Account
connectionStatusChanged(Tp::ConnectionStatus status)Tp::Accountsignal
connectionStatusReasonTp::Account
connectionStatusReason() const Tp::Account
connectsAutomaticallyTp::Account
connectsAutomatically() const Tp::Account
connectsAutomaticallyPropertyChanged(bool connectsAutomatically)Tp::Accountsignal
contactFactory() const Tp::Account
create(const QString &busName, const QString &objectPath, const ConnectionFactoryConstPtr &connectionFactory=ConnectionFactory::create(QDBusConnection::sessionBus()), const ChannelFactoryConstPtr &channelFactory=ChannelFactory::create(QDBusConnection::sessionBus()), const ContactFactoryConstPtr &contactFactory=ContactFactory::create())Tp::Accountstatic
create(const QDBusConnection &bus, const QString &busName, const QString &objectPath, const ConnectionFactoryConstPtr &connectionFactory, const ChannelFactoryConstPtr &channelFactory, const ContactFactoryConstPtr &contactFactory=ContactFactory::create())Tp::Accountstatic
createAndHandleChannel(const QVariantMap &requestedProperties, const QDateTime &userActionTime)Tp::Account
createAndHandleConferenceCall(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceCall(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceStreamedMediaCall(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceStreamedMediaCall(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceTextChat(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceTextChat(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceTextChatroom(const QString &roomName, const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleConferenceTextChatroom(const QString &roomName, const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleContactSearch(const QString &server=QString(), uint limit=0, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleDBusTube(const QString &contactIdentifier, const QString &serviceName, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleDBusTube(const ContactPtr &contact, const QString &serviceName, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleFileTransfer(const QString &contactIdentifier, const FileTransferChannelCreationProperties &properties, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleFileTransfer(const ContactPtr &contact, const FileTransferChannelCreationProperties &properties, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleStreamTube(const QString &contactIdentifier, const QString &service, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createAndHandleStreamTube(const ContactPtr &contact, const QString &service, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
createChannel(const QVariantMap &requestedProperties, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceCall(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceCall(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceStreamedMediaCall(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceStreamedMediaCall(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceTextChat(const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceTextChat(const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceTextChatroom(const QString &roomName, const QList< ChannelPtr > &channels, const QStringList &initialInviteeContactsIdentifiers=QStringList(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createConferenceTextChatroom(const QString &roomName, const QList< ChannelPtr > &channels, const QList< ContactPtr > &initialInviteeContacts=QList< ContactPtr >(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createContactSearch(const QString &server, uint limit=0, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createDBusTube(const QString &contactIdentifier, const QString &serviceName, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createDBusTube(const ContactPtr &contact, const QString &serviceName, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createDBusTubeRoom(const QString &room, const QString &serviceName, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createFileTransfer(const QString &contactIdentifier, const FileTransferChannelCreationProperties &properties, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createFileTransfer(const ContactPtr &contact, const FileTransferChannelCreationProperties &properties, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createStreamTube(const QString &contactIdentifier, const QString &service, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
createStreamTube(const ContactPtr &contact, const QString &service, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
currentPresenceTp::Account
currentPresence() const Tp::Account
currentPresenceChanged(const Tp::Presence &currentPresence)Tp::Accountsignal
dbusConnection() const Tp::DBusProxy
DBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::DBusProxy
dispatcherInterface() const Tp::Accountprotected
displayNameTp::Account
displayName() const Tp::Account
displayNameChanged(const QString &displayName)Tp::Accountsignal
enabledTp::Account
ensureAndHandleAudioCall(const QString &contactIdentifier, const QString &initialAudioContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleAudioCall(const ContactPtr &contact, const QString &initialAudioContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleAudioVideoCall(const QString &contactIdentifier, const QString &initialAudioContentName=QString(), const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleAudioVideoCall(const ContactPtr &contact, const QString &initialAudioContentName=QString(), const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleChannel(const QVariantMap &requestedProperties, const QDateTime &userActionTime)Tp::Account
ensureAndHandleStreamedMediaAudioCall(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleStreamedMediaAudioCall(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleStreamedMediaCall(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleStreamedMediaCall(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleStreamedMediaVideoCall(const QString &contactIdentifier, bool withAudio=true, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleStreamedMediaVideoCall(const ContactPtr &contact, bool withAudio=true, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleTextChat(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleTextChat(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleTextChatroom(const QString &roomName, const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleVideoCall(const QString &contactIdentifier, const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAndHandleVideoCall(const ContactPtr &contact, const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime())Tp::Account
ensureAudioCall(const QString &contactIdentifier, const QString &initialAudioContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureAudioCall(const ContactPtr &contact, const QString &initialAudioContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureAudioVideoCall(const QString &contactIdentifier, const QString &initialAudioContentName=QString(), const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureAudioVideoCall(const ContactPtr &contact, const QString &initialAudioContentName=QString(), const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureChannel(const QVariantMap &requestedProperties, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaAudioCall(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaAudioCall(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaCall(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaCall(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaVideoCall(const QString &contactIdentifier, bool withAudio=true, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureStreamedMediaVideoCall(const ContactPtr &contact, bool withAudio=false, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureTextChat(const QString &contactIdentifier, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureTextChat(const ContactPtr &contact, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureTextChatroom(const QString &roomName, const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureVideoCall(const QString &contactIdentifier, const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
ensureVideoCall(const ContactPtr &contact, const QString &initialVideoContentName=QString(), const QDateTime &userActionTime=QDateTime::currentDateTime(), const QString &preferredHandler=QString(), const ChannelRequestHints &hints=ChannelRequestHints())Tp::Account
FeatureAvatarTp::Accountstatic
FeatureCapabilitiesTp::Accountstatic
FeatureCoreTp::Accountstatic
FeatureProfileTp::Accountstatic
FeatureProtocolInfoTp::Accountstatic
firstOnline()Tp::Accountsignal
hasBeenOnlineTp::Account
hasBeenOnline() const Tp::Account
hasInterface(const QString &name) constTp::OptionalInterfaceFactory< Account >inline
iconNameTp::Account
iconName() const Tp::Account
iconNameChanged(const QString &iconName)Tp::Accountsignal
interface() constTp::OptionalInterfaceFactory< Account >inline
interfaces() constTp::OptionalInterfaceFactory< Account >inline
InterfaceSupportedChecking enum nameTp::OptionalInterfaceFactory< Account >
invalidate(const QString &reason, const QString &message)Tp::DBusProxyprotected
invalidate(const QDBusError &error)Tp::DBusProxyprotected
invalidated(Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage)Tp::DBusProxysignal
invalidationMessage() const Tp::DBusProxy
invalidationReason() const Tp::DBusProxy
isChangingPresence() const Tp::Account
isEnabled() const Tp::Account
isOnline() const Tp::Account
isReady(const Features &features=Features()) const Tp::ReadyObjectvirtual
isValid() const Tp::DBusProxy
isValidAccount() const Tp::Account
maxPresenceStatusMessageLength() const Tp::Account
missingFeatures() const Tp::ReadyObjectvirtual
nicknameTp::Account
nickname() const Tp::Account
nicknameChanged(const QString &nickname)Tp::Accountsignal
normalizedNameTp::Account
normalizedName() const Tp::Account
normalizedNameChanged(const QString &normalizedName)Tp::Accountsignal
notify(const char *propertyName)Tp::Objectprotected
Object()Tp::Objectprotected
objectPath() const Tp::DBusProxy
onlineTp::Account
onlinenessChanged(bool online)Tp::Accountsignal
optionalInterface(InterfaceSupportedChecking check=CheckInterfaceSupported) constTp::OptionalInterfaceFactory< Account >inline
OptionalInterfaceFactory(Account *this_)Tp::OptionalInterfaceFactory< Account >inline
parametersTp::Account
parameters() const Tp::Account
parametersChanged(const QVariantMap &parameters)Tp::Accountsignal
profileTp::Account
profile() const Tp::Account
profileChanged(const Tp::ProfilePtr &profile)Tp::Accountsignal
propertyChanged(const QString &propertyName)Tp::Objectsignal
protocolInfoTp::Account
protocolInfo() const Tp::Account
protocolNameTp::Account
protocolName() const Tp::Account
readinessHelper() const Tp::ReadyObjectprotected
ReadyObject(RefCounted *object, const Feature &featureCore)Tp::ReadyObject
ReadyObject(DBusProxy *proxy, const Feature &featureCore)Tp::ReadyObject
reconnect()Tp::Account
RefCounted()Tp::RefCountedinline
remove()Tp::Account
removed()Tp::Accountsignal
requestedFeatures() const Tp::ReadyObjectvirtual
requestedPresenceTp::Account
requestedPresence() const Tp::Account
requestedPresenceChanged(const Tp::Presence &requestedPresence)Tp::Accountsignal
requestsSucceedWithChannel() const Tp::Account
serviceNameTp::Account
serviceName() const Tp::Account
serviceNameChanged(const QString &serviceName)Tp::Accountsignal
setAutomaticPresence(const Presence &presence)Tp::Account
setAvatar(const Avatar &avatar)Tp::Account
setBusName(const QString &busName)Tp::DBusProxyprotected
setConnectsAutomatically(bool value)Tp::Account
setDisplayName(const QString &value)Tp::Account
setEnabled(bool value)Tp::Account
setIconName(const QString &value)Tp::Account
setInterfaces(const QStringList &interfaces)Tp::OptionalInterfaceFactory< Account >inlineprotected
setNickname(const QString &value)Tp::Account
setRequestedPresence(const Presence &presence)Tp::Account
setServiceName(const QString &value)Tp::Account
stateChanged(bool state)Tp::Accountsignal
StatelessDBusProxy(const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore)Tp::StatelessDBusProxy
supportsRequestHints() const Tp::Account
uniqueIdentifierTp::Account
uniqueIdentifier() const Tp::Account
updateParameters(const QVariantMap &set, const QStringList &unset)Tp::Account
validTp::Account
validityChanged(bool validity)Tp::Accountsignal
~Account()Tp::Accountvirtual
~DBusProxy()Tp::DBusProxyvirtual
~Object()Tp::Objectvirtual
~OptionalInterfaceFactory()Tp::OptionalInterfaceFactory< Account >inline
~ReadyObject()Tp::ReadyObjectvirtual
~RefCounted()Tp::RefCountedinlinevirtual
~StatelessDBusProxy()Tp::StatelessDBusProxyvirtual


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7
telepathy-qt-0.9.7/doc/html/jquery.js0000644000175000017500000043564212727270137021166 0ustar00kaffeinekaffeine00000000000000/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * * Date: Mon Nov 21 21:11:03 2011 -0500 */ (function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); /*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! * jQuery UI 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI */ (function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! * jQuery UI Widget 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Widget */ (function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! * jQuery UI Mouse 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Mouse * * Depends: * jquery.ui.widget.js */ (function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! * jQuery hashchange event - v1.3 - 7/21/2010 * http://benalman.com/projects/jquery-hashchange-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ (function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('