In order to follow a consistent pattern, I think it would be better to add a 'registerSyncService(QDBusConnection)' function in the trigger class and call it from here, instead of registering this directly.