You could make a bool property in your LEDControl in the main qml which you can query in all other qml files