X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.h;h=6cb6cd1159bfdb43bb0388a26b4d07cb5405b6a3;hp=0f135778ce5c0280f5f360f73ffca9c9505cee06;hb=56b69808aa71b882aa792fadfda2733d765c2ba8;hpb=9e531f113fbca51739ac6e2cf4eed7005b005c8f diff --git a/src/core/coreidentity.h b/src/core/coreidentity.h index 0f135778..6cb6cd11 100644 --- a/src/core/coreidentity.h +++ b/src/core/coreidentity.h @@ -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 * @@ -36,13 +36,12 @@ class SignalProxy; #ifdef HAVE_SSL class CoreIdentity; class CoreCertManager : public CertManager { + SYNCABLE_OBJECT Q_OBJECT public: CoreCertManager(CoreIdentity &identity); - void setId(IdentityId id); - #ifdef HAVE_SSL virtual const QSslKey &sslKey() const; virtual const QSslCertificate &sslCert() const; @@ -52,6 +51,8 @@ public slots: virtual void setSslCert(const QByteArray &encoded); #endif + void setId(IdentityId id); + private: CoreIdentity &identity; }; @@ -61,6 +62,7 @@ private: // CoreIdentity // ========================================= class CoreIdentity : public Identity { + SYNCABLE_OBJECT Q_OBJECT public: