Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/_gen/svc-connection.h>
Inherits Tp::AbstractAdaptor.
Public Slots | |
uint | GetAliasFlags (const QDBusMessage &dbusMessage) |
QStringList | RequestAliases (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage) |
Tp::AliasMap | GetAliases (const Tp::UIntList &contacts, const QDBusMessage &dbusMessage) |
void | SetAliases (const Tp::AliasMap &aliases, const QDBusMessage &dbusMessage) |
Signals | |
void | AliasesChanged (const Tp::AliasPairList &aliases) |
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 |
Adaptor class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Connection.Interface.Aliasing".
|
slot |
Begins a call to the exported D-Bus method GetAliasFlags
on this object.
Adaptees should export this method as a Qt slot with the following signature: void getAliasFlags(const Tp::Service::ConnectionInterfaceAliasingAdaptor::GetAliasFlagsContextPtr &context);
Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.
Return a bitwise OR of flags detailing the behaviour of aliases on this connection.
An integer with a bitwise OR of flags from ConnectionAliasFlags
|
slot |
Begins a call to the exported D-Bus method RequestAliases
on this object.
Adaptees should export this method as a Qt slot with the following signature: void requestAliases(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceAliasingAdaptor::RequestAliasesContextPtr &context);
Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.
Request the value of several contacts' aliases at once.
contacts | An array of handles representing contacts |
A list of aliases in the same order as the contact handles
|
slot |
Begins a call to the exported D-Bus method GetAliases
on this object.
Adaptees should export this method as a Qt slot with the following signature: void getAliases(const Tp::UIntList& contacts, const Tp::Service::ConnectionInterfaceAliasingAdaptor::GetAliasesContextPtr &context);
Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.
Request the value of several contacts' aliases at once. This SHOULD only return cached aliases, falling back on the contact identifier (i.e. the string corresponding to the handle) if none is present. Also if there was no cached alias, a request SHOULD be started of which the result is later signalled by AliasesChanged.
contacts | An array of handles representing contacts |
A dictionary mapping contact handles to aliases
|
slot |
Begins a call to the exported D-Bus method SetAliases
on this object.
Adaptees should export this method as a Qt slot with the following signature: void setAliases(const Tp::AliasMap& aliases, const Tp::Service::ConnectionInterfaceAliasingAdaptor::SetAliasesContextPtr &context);
Implementations should call MethodInvocationContext::setFinished (or setFinishedWithError accordingly) on the received context object once the method has finished processing.
Request that the alias of the given contact be changed. Success will be indicated by emitting an AliasesChanged signal. On connections where the CONNECTION_ALIAS_FLAG_USER_SET flag is not set, this method will only ever succeed if the contact is the user's own handle (as returned by Connection.GetSelfHandle).
aliases | A dictionary mapping integer handles of contacts to strings of the new alias to set. |
|
signal |
Represents the exported D-Bus signal AliasesChanged
on this object.
Adaptees should export this signal as a Qt signal with the following signature: void aliasesChanged(const Tp::AliasPairList& aliases);
The adaptee signal will be automatically relayed as a D-Bus signal once emitted.
aliases |
An array containing structs of:
|
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |