X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.cpp;h=9e6618a07c5e147532596f2bedc61f59cd1bf740;hp=5d2bb2e3475335338f44f155a4e8c8a1fafdde42;hb=8f2ee00f4edef1693628d3af0bdee84d725eb754;hpb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad diff --git a/src/core/coreidentity.cpp b/src/core/coreidentity.cpp index 5d2bb2e3..9e6618a0 100644 --- a/src/core/coreidentity.cpp +++ b/src/core/coreidentity.cpp @@ -29,8 +29,8 @@ CoreIdentity::CoreIdentity(IdentityId id, QObject *parent) #endif { #ifdef HAVE_SSL - connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); - connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); + connect(this, &Identity::idSet, &_certManager, &CoreCertManager::setId); + connect(&_certManager, &SyncableObject::updated, this, &SyncableObject::updated); #endif } @@ -42,8 +42,8 @@ CoreIdentity::CoreIdentity(const Identity &other, QObject *parent) #endif { #ifdef HAVE_SSL - connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); - connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); + connect(this, &Identity::idSet, &_certManager, &CoreCertManager::setId); + connect(&_certManager, &SyncableObject::updated, this, &SyncableObject::updated); #endif } @@ -57,8 +57,8 @@ CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent) #endif { #ifdef HAVE_SSL - connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId))); - connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated())); + connect(this, &Identity::idSet, &_certManager, &CoreCertManager::setId); + connect(&_certManager, &SyncableObject::updated, this, &SyncableObject::updated); #endif }