There is no way to force to reevaluate the result of javascript function automaticaly.
You have to create the slot which is connected to the apropriate signal of _SomeQtObject
. In this slot you can reevaluate getSource()
and assign it ro source
.