Is it really a singleton? You can still use UbuntuColors { } right? The qml component doesn't keep track of its instances. Also, the function name may cause some confusion with qmlRegisterSingletonType(). What about registerQmlContextProperty() as a function name?
367 +void UbuntuComponent sPlugin: :registerQmlSin gletonType( QQmlEngine *engine, const char* uri, const char* typeName, const char* qmlFile)
Is it really a singleton? You can still use UbuntuColors { } right? The qml component doesn't keep track of its instances. Also, the function name may cause some confusion with qmlRegisterSing letonType( ). What about registerQmlCont extProperty( ) as a function name?