Home · All Classes · All Namespaces · Modules · Functions · Files
cli-channel-request-body.hpp
00001 #define IN_TELEPATHY_QT4_HEADER
00002 #include "TelepathyQt4/channel-request.h"
00003 
00004 namespace Tp
00005 {
00006 namespace Client
00007 {
00008 
00009 ChannelRequestInterface::ChannelRequestInterface(const QString& busName, const QString& objectPath, QObject *parent)
00010     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
00011 {
00012 }
00013 
00014 ChannelRequestInterface::ChannelRequestInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
00015     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
00016 {
00017 }
00018 
00019 ChannelRequestInterface::ChannelRequestInterface(Tp::DBusProxy *proxy)
00020     : Tp::AbstractInterface(proxy, staticInterfaceName())
00021 {
00022 }
00023 
00024 void ChannelRequestInterface::invalidate(Tp::DBusProxy *proxy,
00025         const QString &error, const QString &message)
00026 {
00027     disconnect(this, SIGNAL(Failed(const QString&, const QString&)), NULL, NULL);
00028     disconnect(this, SIGNAL(Succeeded()), NULL, NULL);
00029     disconnect(this, SIGNAL(SucceededWithChannel(const QDBusObjectPath&, const QVariantMap&, const QDBusObjectPath&, const QVariantMap&)), NULL, NULL);
00030 
00031     Tp::AbstractInterface::invalidate(proxy, error, message);
00032 }
00033 }
00034 }


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5