X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.cpp;h=fb836e11b1d4bf4006021317aea459ec2f99e90e;hp=a82ef95ebf82b11eb89837461c19ab75f3bd05fb;hb=f6b9eeda207d42c99fc3e9085631722cf2ec83dc;hpb=1adc00219ba072da57994764d086beed8ffb7bb4 diff --git a/src/core/coreidentity.cpp b/src/core/coreidentity.cpp index a82ef95e..fb836e11 100644 --- a/src/core/coreidentity.cpp +++ b/src/core/coreidentity.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &))); #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(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &))); #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(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &))); #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)