00001 #define IN_TP_QT_HEADER
00002 #include "TelepathyQt/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 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QString& busName, const QString& objectPath, QObject *parent)
00034 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00035 {
00036 }
00037
00038 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00039 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00040 {
00041 }
00042
00043 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(Tp::DBusProxy *proxy)
00044 : Tp::AbstractInterface(proxy, staticInterfaceName())
00045 {
00046 }
00047
00048 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface& mainInterface)
00049 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00050 {
00051 }
00052
00053 AccountInterfaceAddressingInterface::AccountInterfaceAddressingInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
00054 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00055 {
00056 }
00057
00058 void AccountInterfaceAddressingInterface::invalidate(Tp::DBusProxy *proxy,
00059 const QString &error, const QString &message)
00060 {
00061
00062 Tp::AbstractInterface::invalidate(proxy, error, message);
00063 }
00064
00065 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QString& busName, const QString& objectPath, QObject *parent)
00066 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00067 {
00068 }
00069
00070 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00071 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00072 {
00073 }
00074
00075 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(Tp::DBusProxy *proxy)
00076 : Tp::AbstractInterface(proxy, staticInterfaceName())
00077 {
00078 }
00079
00080 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface)
00081 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00082 {
00083 }
00084
00085 AccountInterfaceAvatarInterface::AccountInterfaceAvatarInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
00086 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00087 {
00088 }
00089
00090 void AccountInterfaceAvatarInterface::invalidate(Tp::DBusProxy *proxy,
00091 const QString &error, const QString &message)
00092 {
00093 disconnect(this, SIGNAL(AvatarChanged()), NULL, NULL);
00094
00095 Tp::AbstractInterface::invalidate(proxy, error, message);
00096 }
00097
00098 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QString& busName, const QString& objectPath, QObject *parent)
00099 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00100 {
00101 }
00102
00103 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00104 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00105 {
00106 }
00107
00108 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(Tp::DBusProxy *proxy)
00109 : Tp::AbstractInterface(proxy, staticInterfaceName())
00110 {
00111 }
00112
00113 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const Tp::Client::AccountInterface& mainInterface)
00114 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00115 {
00116 }
00117
00118 AccountInterfaceStorageInterface::AccountInterfaceStorageInterface(const Tp::Client::AccountInterface& mainInterface, QObject *parent)
00119 : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00120 {
00121 }
00122
00123 void AccountInterfaceStorageInterface::invalidate(Tp::DBusProxy *proxy,
00124 const QString &error, const QString &message)
00125 {
00126
00127 Tp::AbstractInterface::invalidate(proxy, error, message);
00128 }
00129 }
00130 }