registerClass

fun registerClass(qObjectClass: QObjectClass)(source)

Registers a QObject class for per-class statistics. The creation helpers call this automatically when a class is supplied to a source. Registering the same class (same name and type id) more than once is a no-op; registering a conflicting class is an error.