X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.cpp;h=fef752222a3bbb4256f1a8d47c19882d511eff66;hp=a2cf75630505b7d076ef5e4989631b0693dec3a6;hb=36ea1791352d34e34b6c6cdef02455a4c43acc17;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/core/coreidentity.cpp b/src/core/coreidentity.cpp index a2cf7563..fef75222 100644 --- a/src/core/coreidentity.cpp +++ b/src/core/coreidentity.cpp @@ -22,6 +22,7 @@ #include "signalproxy.h" +INIT_SYNCABLE_OBJECT(CoreIdentity) CoreIdentity::CoreIdentity(IdentityId id, QObject *parent) : Identity(id, parent) #ifdef HAVE_SSL @@ -30,6 +31,7 @@ CoreIdentity::CoreIdentity(IdentityId id, QObject *parent) { #ifdef HAVE_SSL connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); + connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); #endif } @@ -41,6 +43,7 @@ CoreIdentity::CoreIdentity(const Identity &other, QObject *parent) { #ifdef HAVE_SSL connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); + connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); #endif } @@ -54,6 +57,7 @@ CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent) { #ifdef HAVE_SSL connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); + connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); #endif } @@ -90,6 +94,7 @@ CoreIdentity &CoreIdentity::operator=(const CoreIdentity &identity) { // ======================================== // CoreCertManager // ======================================== +INIT_SYNCABLE_OBJECT(CoreCertManager) CoreCertManager::CoreCertManager(CoreIdentity &identity) : CertManager(identity.id()), identity(identity)