QMetaObject, Importing Objects with an Abstract Factory