Refactor: trackConnection -> trackReference


In preperation for allowing the static gadget/enum tracking mechanism to
work in more conditions, change naming from Connection to Reference.

The reference counting code relies on connecting to the QObject destroyed
signal, which is not specific to QtROIoDeviceBase.  We can use any QObject
derived type with this mechanism.

Change-Id: Ia2460547f998b52124cf2f59a029c1b127a246b9
Reviewed-by: Michael Brasser <michael.brasser@live.com>
commitf95c42454da76993e37c20be2be8d379db8ab882
parent4e29f2d3c531466ce11a931330ec1933dd6af177
authorBrett Stottlemyer <bstottle@ford.com>
committerBrett Stottlemyer <bstottle@ford.com>
commit timeMon, 2 Dec 2024 13:12:26 -0500