Make the DelegateType class a QObject
We're not instantiating it, so it doesn't really cause a significant overhead. This silences a warning about invalid type names
We're not instantiating it, so it doesn't really cause a significant overhead. This silences a warning about invalid type names