Home · All Classes · All Namespaces · Modules · Functions · Files
cli-tls-certificate-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/tls-certificate.h"
3 
4 namespace Tp
5 {
6 namespace Client
7 {
8 
9 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const QString& busName, const QString& objectPath, QObject *parent)
10  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13 
14 AuthenticationTLSCertificateInterface::AuthenticationTLSCertificateInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15  : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18 
21 {
22 }
23 
25  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), mainInterface.parent())
26 {
27 }
28 
30  : Tp::AbstractInterface(mainInterface.service(), mainInterface.path(), staticInterfaceName(), mainInterface.connection(), parent)
31 {
32 }
33 
35  const QString &error, const QString &message)
36 {
37  disconnect(this, SIGNAL(Accepted()), NULL, NULL);
38  disconnect(this, SIGNAL(Rejected(const Tp::TLSCertificateRejectionList&)), NULL, NULL);
39 
40  Tp::AbstractInterface::invalidate(proxy, error, message);
41 }
42 }
43 }
QList< TLSCertificateRejection > TLSCertificateRejectionList
Definition: build/TelepathyQt/_gen/types.h:3212
void Rejected(const Tp::TLSCertificateRejectionList &rejections)
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
AuthenticationTLSCertificateInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-tls-certificate-body.hpp:9
Definition: abstract-adaptor.cpp:31
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-tls-certificate-body.hpp:34
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
static QLatin1String staticInterfaceName()
Definition: cli-tls-certificate.h:55


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7