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

cli-tls-certificate-body.hpp

    00001 #define IN_TP_QT_HEADER
    00002 #include "TelepathyQt/tls-certificate.h"
    00003
    00004 namespace Tp
    00005 {
    00006 namespace Client
    00007 {
    00008
    00009 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const QString& busName, const QString& objectPath, QObject *parent)
    00010     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
    00011 {
    00012 }
    00013
    00014 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
    00015     : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
    00016 {
    00017 }
    00018
    00019 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(Tp::DBusProxy *proxy)
    00020     : Tp::AbstractInterface(proxy, staticInterfaceName())
    00021 {
    00022 }
    00023
    00024 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const Tp::AbstractInterface& mainInterface)
    00025     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
    00026 {
    00027 }
    00028
    00029 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const Tp::AbstractInterface& mainInterface, QObject *parent)
    00030     : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
    00031 {
    00032 }
    00033
    00034 void AuthenticationTLSCertificateInterface::invalidate(Tp::DBusProxy *proxy,
    00035         const QString &error, const QString &message)
    00036 {
    00037     disconnect(this, SIGNAL(Accepted()), NULL, NULL);
    00038     disconnect(this, SIGNAL(Rejected(const Tp::TLSCertificateRejectionList&)), NULL, NULL);
    00039
    00040     Tp::AbstractInterface::invalidate(proxy, error, message);
    00041 }
    00042 }
    00043 }