Doc: Fix property change handling in JavaScript API


Use propertyChanged signal name instead of onPropertyChanged handler
name to connect.
Because propertyChanged signal that QML engine generates doesn't provide
new value in arguments, one has to get the value from its instance.

Change-Id: Ia2b901aba113b57e0f9aa557b1fbe1191d6ef313
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commit119918edcfda1d1860598be048fd9eab86d01473
parent07b8a7eef1ae5bbb9d82c063d524d9f9beaef0f8
authorTasuku Suzuki <tasuku.suzuki@kdab.com>
committerTasuku Suzuki <tasuku.suzuki@kdab.com>
commit timeTue, 12 May 2020 16:40:53 +0900