Allows to use it through QMetaObject invocation like is done in KConfigWidgets which cannot depend on KXmlGui.