X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreidentity.cpp;fp=src%2Fcore%2Fcoreidentity.cpp;h=9e6618a07c5e147532596f2bedc61f59cd1bf740;hp=5d2bb2e3475335338f44f155a4e8c8a1fafdde42;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=714b39660fe19e7f092880019429c8da76ee2bd5 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 }