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

cli-connection-body.hpp

00001 #define IN_TELEPATHY_QT4_HEADER
00002 #include "TelepathyQt4/connection.h"
00003 
00004 namespace Tp
00005 {
00006 namespace Client
00007 {
00008 
00009 ConnectionInterface::ConnectionInterface(const QString& busName, const QString& objectPath, QObject *parent)
00010     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00011 {
00012 }
00013 
00014 ConnectionInterface::ConnectionInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00015     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00016 {
00017 }
00018 
00019 ConnectionInterface::ConnectionInterface(Tp::DBusProxy *proxy)
00020     : Tp::AbstractInterface(proxy, staticInterfaceName())
00021 {
00022 }
00023 
00024 void ConnectionInterface::invalidate(Tp::DBusProxy *proxy,
00025         const QString &error, const QString &message)
00026 {
00027     disconnect(this, SIGNAL(SelfHandleChanged(uint)), NULL, NULL);
00028     disconnect(this, SIGNAL(NewChannel(const QDBusObjectPath&, const QString&, uint, uint, bool)), NULL, NULL);
00029     disconnect(this, SIGNAL(ConnectionError(const QString&, const QVariantMap&)), NULL, NULL);
00030     disconnect(this, SIGNAL(StatusChanged(uint, uint)), NULL, NULL);
00031 
00032     Tp::AbstractInterface::invalidate(proxy, error, message);
00033 }
00034 
00035 ConnectionInterfaceAliasingInterface::ConnectionInterfaceAliasingInterface(const QString& busName, const QString& objectPath, QObject *parent)
00036     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00037 {
00038 }
00039 
00040 ConnectionInterfaceAliasingInterface::ConnectionInterfaceAliasingInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00041     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00042 {
00043 }
00044 
00045 ConnectionInterfaceAliasingInterface::ConnectionInterfaceAliasingInterface(Tp::DBusProxy *proxy)
00046     : Tp::AbstractInterface(proxy, staticInterfaceName())
00047 {
00048 }
00049 
00050 ConnectionInterfaceAliasingInterface::ConnectionInterfaceAliasingInterface(const Tp::Client::ConnectionInterface& mainInterface)
00051     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00052 {
00053 }
00054 
00055 ConnectionInterfaceAliasingInterface::ConnectionInterfaceAliasingInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00056     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00057 {
00058 }
00059 
00060 void ConnectionInterfaceAliasingInterface::invalidate(Tp::DBusProxy *proxy,
00061         const QString &error, const QString &message)
00062 {
00063     disconnect(this, SIGNAL(AliasesChanged(const Tp::AliasPairList&)), NULL, NULL);
00064 
00065     Tp::AbstractInterface::invalidate(proxy, error, message);
00066 }
00067 
00068 ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface(const QString& busName, const QString& objectPath, QObject *parent)
00069     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00070 {
00071 }
00072 
00073 ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00074     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00075 {
00076 }
00077 
00078 ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface(Tp::DBusProxy *proxy)
00079     : Tp::AbstractInterface(proxy, staticInterfaceName())
00080 {
00081 }
00082 
00083 ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface(const Tp::Client::ConnectionInterface& mainInterface)
00084     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00085 {
00086 }
00087 
00088 ConnectionInterfaceAvatarsInterface::ConnectionInterfaceAvatarsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00089     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00090 {
00091 }
00092 
00093 void ConnectionInterfaceAvatarsInterface::invalidate(Tp::DBusProxy *proxy,
00094         const QString &error, const QString &message)
00095 {
00096     disconnect(this, SIGNAL(AvatarUpdated(uint, const QString&)), NULL, NULL);
00097     disconnect(this, SIGNAL(AvatarRetrieved(uint, const QString&, const QByteArray&, const QString&)), NULL, NULL);
00098 
00099     Tp::AbstractInterface::invalidate(proxy, error, message);
00100 }
00101 
00102 ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface(const QString& busName, const QString& objectPath, QObject *parent)
00103     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00104 {
00105 }
00106 
00107 ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00108     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00109 {
00110 }
00111 
00112 ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface(Tp::DBusProxy *proxy)
00113     : Tp::AbstractInterface(proxy, staticInterfaceName())
00114 {
00115 }
00116 
00117 ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface(const Tp::Client::ConnectionInterface& mainInterface)
00118     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00119 {
00120 }
00121 
00122 ConnectionInterfaceCapabilitiesInterface::ConnectionInterfaceCapabilitiesInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00123     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00124 {
00125 }
00126 
00127 void ConnectionInterfaceCapabilitiesInterface::invalidate(Tp::DBusProxy *proxy,
00128         const QString &error, const QString &message)
00129 {
00130     disconnect(this, SIGNAL(CapabilitiesChanged(const Tp::CapabilityChangeList&)), NULL, NULL);
00131 
00132     Tp::AbstractInterface::invalidate(proxy, error, message);
00133 }
00134 
00135 ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface(const QString& busName, const QString& objectPath, QObject *parent)
00136     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00137 {
00138 }
00139 
00140 ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00141     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00142 {
00143 }
00144 
00145 ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface(Tp::DBusProxy *proxy)
00146     : Tp::AbstractInterface(proxy, staticInterfaceName())
00147 {
00148 }
00149 
00150 ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface(const Tp::Client::ConnectionInterface& mainInterface)
00151     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00152 {
00153 }
00154 
00155 ConnectionInterfaceContactCapabilitiesInterface::ConnectionInterfaceContactCapabilitiesInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00156     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00157 {
00158 }
00159 
00160 void ConnectionInterfaceContactCapabilitiesInterface::invalidate(Tp::DBusProxy *proxy,
00161         const QString &error, const QString &message)
00162 {
00163     disconnect(this, SIGNAL(ContactCapabilitiesChanged(const Tp::ContactCapabilitiesMap&)), NULL, NULL);
00164 
00165     Tp::AbstractInterface::invalidate(proxy, error, message);
00166 }
00167 
00168 ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface(const QString& busName, const QString& objectPath, QObject *parent)
00169     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00170 {
00171 }
00172 
00173 ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00174     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00175 {
00176 }
00177 
00178 ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface(Tp::DBusProxy *proxy)
00179     : Tp::AbstractInterface(proxy, staticInterfaceName())
00180 {
00181 }
00182 
00183 ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface(const Tp::Client::ConnectionInterface& mainInterface)
00184     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00185 {
00186 }
00187 
00188 ConnectionInterfaceContactsInterface::ConnectionInterfaceContactsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00189     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00190 {
00191 }
00192 
00193 void ConnectionInterfaceContactsInterface::invalidate(Tp::DBusProxy *proxy,
00194         const QString &error, const QString &message)
00195 {
00196 
00197     Tp::AbstractInterface::invalidate(proxy, error, message);
00198 }
00199 
00200 ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface(const QString& busName, const QString& objectPath, QObject *parent)
00201     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00202 {
00203 }
00204 
00205 ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00206     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00207 {
00208 }
00209 
00210 ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface(Tp::DBusProxy *proxy)
00211     : Tp::AbstractInterface(proxy, staticInterfaceName())
00212 {
00213 }
00214 
00215 ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface(const Tp::Client::ConnectionInterface& mainInterface)
00216     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00217 {
00218 }
00219 
00220 ConnectionInterfaceLocationInterface::ConnectionInterfaceLocationInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00221     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00222 {
00223 }
00224 
00225 void ConnectionInterfaceLocationInterface::invalidate(Tp::DBusProxy *proxy,
00226         const QString &error, const QString &message)
00227 {
00228     disconnect(this, SIGNAL(LocationUpdated(uint, const QVariantMap&)), NULL, NULL);
00229 
00230     Tp::AbstractInterface::invalidate(proxy, error, message);
00231 }
00232 
00233 ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface(const QString& busName, const QString& objectPath, QObject *parent)
00234     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00235 {
00236 }
00237 
00238 ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00239     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00240 {
00241 }
00242 
00243 ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface(Tp::DBusProxy *proxy)
00244     : Tp::AbstractInterface(proxy, staticInterfaceName())
00245 {
00246 }
00247 
00248 ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface)
00249     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00250 {
00251 }
00252 
00253 ConnectionInterfacePresenceInterface::ConnectionInterfacePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00254     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00255 {
00256 }
00257 
00258 void ConnectionInterfacePresenceInterface::invalidate(Tp::DBusProxy *proxy,
00259         const QString &error, const QString &message)
00260 {
00261     disconnect(this, SIGNAL(PresenceUpdate(const Tp::ContactPresences&)), NULL, NULL);
00262 
00263     Tp::AbstractInterface::invalidate(proxy, error, message);
00264 }
00265 
00266 ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface(const QString& busName, const QString& objectPath, QObject *parent)
00267     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00268 {
00269 }
00270 
00271 ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00272     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00273 {
00274 }
00275 
00276 ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface(Tp::DBusProxy *proxy)
00277     : Tp::AbstractInterface(proxy, staticInterfaceName())
00278 {
00279 }
00280 
00281 ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface(const Tp::Client::ConnectionInterface& mainInterface)
00282     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00283 {
00284 }
00285 
00286 ConnectionInterfaceRequestsInterface::ConnectionInterfaceRequestsInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00287     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00288 {
00289 }
00290 
00291 void ConnectionInterfaceRequestsInterface::invalidate(Tp::DBusProxy *proxy,
00292         const QString &error, const QString &message)
00293 {
00294     disconnect(this, SIGNAL(NewChannels(const Tp::ChannelDetailsList&)), NULL, NULL);
00295     disconnect(this, SIGNAL(ChannelClosed(const QDBusObjectPath&)), NULL, NULL);
00296 
00297     Tp::AbstractInterface::invalidate(proxy, error, message);
00298 }
00299 
00300 ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface(const QString& busName, const QString& objectPath, QObject *parent)
00301     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00302 {
00303 }
00304 
00305 ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00306     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00307 {
00308 }
00309 
00310 ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface(Tp::DBusProxy *proxy)
00311     : Tp::AbstractInterface(proxy, staticInterfaceName())
00312 {
00313 }
00314 
00315 ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface)
00316     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
00317 {
00318 }
00319 
00320 ConnectionInterfaceSimplePresenceInterface::ConnectionInterfaceSimplePresenceInterface(const Tp::Client::ConnectionInterface& mainInterface, QObject *parent)
00321     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
00322 {
00323 }
00324 
00325 void ConnectionInterfaceSimplePresenceInterface::invalidate(Tp::DBusProxy *proxy,
00326         const QString &error, const QString &message)
00327 {
00328     disconnect(this, SIGNAL(PresencesChanged(const Tp::SimpleContactPresences&)), NULL, NULL);
00329 
00330     Tp::AbstractInterface::invalidate(proxy, error, message);
00331 }
00332 }
00333 }


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.3.2