X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.cpp;h=fef752222a3bbb4256f1a8d47c19882d511eff66;hb=e4972a0ebce0d555d752ab2f34ffd6a6dcdef1dd;hp=a82ef95ebf82b11eb89837461c19ab75f3bd05fb;hpb=1adc00219ba072da57994764d086beed8ffb7bb4;p=quassel.git diff --git a/src/core/coreidentity.cpp b/src/core/coreidentity.cpp index a82ef95e..fef75222 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()), 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)