| Home · All Classes · All Namespaces · Modules · Functions · Files

# cli-account-body.hpp

    00001 #define IN_TELEPATHY_QT4_HEADER
    00002 #include "TelepathyQt4/account.h"
    00003
    00004 namespace Tp
    00005 {
    00006 namespace Client
    00007 {
    00008
    00009 AccountInterface::AccountInterface(const QString& busName, const QString& objectPath, QObject *parent)
    00010     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
    00011 {
    00012 }
    00013
    00014 AccountInterface::AccountInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
    00015     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
    00016 {
    00017 }
    00018
    00019 AccountInterface::AccountInterface(Tp::DBusProxy *proxy)
    00020     : Tp::AbstractInterface(proxy, staticInterfaceName())
    00021 {
    00022 }
    00023
    00024 void AccountInterface::invalidate(Tp::DBusProxy *proxy,
    00025         const QString &error, const QString &message)
    00026 {
    00027     disconnect(this, SIGNAL(Removed()), NULL, NULL);
    00028     disconnect(this, SIGNAL(AccountPropertyChanged(const QVariantMap&)), NULL, NULL);
    00029
    00030     Tp::AbstractInterface::invalidate(proxy, error, message);
    00031 }
    00032
    00033 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QString& busName, const QString& objectPath, QObject *parent)
    00034     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
    00035 {
    00036 }
    00037
    00038 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
    00039     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
    00040 {
    00041 }
    00042
    00043 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(Tp::DBusProxy *proxy)
    00044     : Tp::AbstractInterface(proxy, staticInterfaceName())
    00045 {
    00046 }
    00047
    00048 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface)
    00049     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
    00050 {
    00051 }
    00052
    00053 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
    00054     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
    00055 {
    00056 }
    00057
    00058 void AccountInterfaceAvatarInterface::invalidate(Tp::DBusProxy *proxy,
    00059         const QString &error, const QString &message)
    00060 {
    00061     disconnect(this, SIGNAL(AvatarChanged()), NULL, NULL);
    00062
    00063     Tp::AbstractInterface::invalidate(proxy, error, message);
    00064 }
    00065 }
    00066 }