- _certManager = new ClientCertManager(id(), this);
- if(isValid()) { // this means we are not a newly created Identity but have a proper Id
- Client::signalProxy()->synchronize(_certManager);
- connect(_certManager, SIGNAL(updated(const QVariantMap &)), this, SLOT(markClean()));
- connect(_certManager, SIGNAL(initDone()), this, SLOT(markClean()));
- }
+ _certManager = new ClientCertManager(id(), this);
+ if (isValid()) { // this means we are not a newly created Identity but have a proper Id
+ Client::signalProxy()->synchronize(_certManager);
+ connect(_certManager, &SyncableObject::updated, this, &CertIdentity::markClean);
+ connect(_certManager, &SyncableObject::initDone, this, &CertIdentity::markClean);
+ }