Refactor dynamic (Replica) class creation


This does not change behavior, just cleans up the logic.  Similar to gadget
handling, the construction is broken into creating a structure defining the
class metaobject, then passing that to a method to create the QMetaObject
dynamically.

Change-Id: I6dff892ebd5cb4b10d93218ee21172106476ceb7
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commite77c98352c584bac7b752dde21c93ff09f78b00d
parenta8cf3c03d77a7b3084113c7a51301ce3f4508d67
authorBrett Stottlemyer <bstottle@ford.com>
committerBrett Stottlemyer <bstottle@ford.com>
commit timeMon, 2 Dec 2024 14:20:25 -0500