#include <TelepathyQt4/Client/AccountManager>
Signals | |
void | AvatarChanged () |
Public Member Functions | |
AccountInterfaceAvatarInterface (const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
AccountInterfaceAvatarInterface (const QDBusConnection &connection, const QString &serviceName, const QString &objectPath, QObject *parent=0) | |
AccountInterfaceAvatarInterface (Telepathy::Client::DBusProxy *proxy) | |
AccountInterfaceAvatarInterface (const Telepathy::Client::AccountInterface &mainInterface) | |
AccountInterfaceAvatarInterface (const Telepathy::Client::AccountInterface &mainInterface, QObject *parent) | |
Telepathy::Avatar | Avatar () const TELEPATHY_GNUC_DEPRECATED |
void | setAvatar (const Telepathy::Avatar &newValue) TELEPATHY_GNUC_DEPRECATED |
Static Public Member Functions | |
static const char * | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Telepathy::Client::DBusProxy *, const QString &, const QString &) |
Properties | |
Telepathy::Avatar | Avatar |
Telepathy::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface | ( | const QString & | serviceName, | |
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a AccountInterfaceAvatarInterface associated with the given object on the session bus.
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
Telepathy::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface | ( | const QDBusConnection & | connection, | |
const QString & | serviceName, | |||
const QString & | objectPath, | |||
QObject * | parent = 0 | |||
) |
Creates a AccountInterfaceAvatarInterface associated with the given object on the given bus.
connection | The bus via which the object can be reached. | |
serviceName | Name of the service the object is on. | |
objectPath | Path to the object on the service. | |
parent | Passed to the parent class constructor. |
Telepathy::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface | ( | Telepathy::Client::DBusProxy * | proxy | ) |
Creates a AccountInterfaceAvatarInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
Telepathy::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface | ( | const Telepathy::Client::AccountInterface & | mainInterface | ) | [explicit] |
Creates a AccountInterfaceAvatarInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.
mainInterface | The proxy to use. |
Telepathy::Client::AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface | ( | const Telepathy::Client::AccountInterface & | mainInterface, | |
QObject * | parent | |||
) |
Creates a AccountInterfaceAvatarInterface associated with the same object as the given proxy. However, a different parent object can be specified.
mainInterface | The proxy to use. | |
parent | Passed to the parent class constructor. |
Telepathy::Avatar Telepathy::Client::AccountInterfaceAvatarInterface::Avatar | ( | ) | const [inline] |
Getter for the remote object property "Avatar".
Don't use this: it blocks the main loop.
void Telepathy::Client::AccountInterfaceAvatarInterface::AvatarChanged | ( | ) | [signal] |
Represents the signal "AvatarChanged" on the remote object.
Emitted when the Avatar property changes. The avatar itself is deliberately not included in this signal, to reduce bus traffic in the (likely common) case where no running application cares about the user's own avatar.
virtual void Telepathy::Client::AccountInterfaceAvatarInterface::invalidate | ( | Telepathy::Client::DBusProxy * | , | |
const QString & | , | |||
const QString & | ||||
) | [protected, virtual] |
Reimplemented from Telepathy::Client::AbstractInterface.
void Telepathy::Client::AccountInterfaceAvatarInterface::setAvatar | ( | const Telepathy::Avatar & | newValue | ) | [inline] |
Setter for the remote object property "Avatar".
Don't use this: it blocks the main loop.
newValue | The value to set the property to. |
static const char* Telepathy::Client::AccountInterfaceAvatarInterface::staticInterfaceName | ( | ) | [inline, static] |
Returns the name of the interface "org.freedesktop.Telepathy.Account.Interface.Avatar", which this class represents.
Telepathy::Avatar Telepathy::Client::AccountInterfaceAvatarInterface::Avatar [read, write] |
Represents property "Avatar" on the remote object.
The avatar to set on this account for display to other contacts, represented as a structure containing the bytes of the avatar, and the MIME type as a string; may be set to an empty byte-array and an empty string to indicate no avatar. When the account becomes connected, the account manager SHOULD set this avatar using SetAvatar if appropriate. This corresponds to NMC 4.x mc_account_get_avatar.