Fix up the recently added test for QProperty/QWebChannel interaction


The recently added code was not quite conformant to the coding style and
did not properly use Q_OBJECT_BINDABLE_PROPERTY together with a notify
signal. This commit fixes both.

The commit also adds a test to verify that changes to a QProperty are
actually transmitted over QWebChannel. At the moment, this relies on
notify signals. A follow-up patch will use onValueChanged() to propagate
changes of properties without a NOTIFY signal.

Task-number: QTBUG-91757
Change-Id: Ia5a323cba02dc72df774beeba445d40140d7af7f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
commit9d21b49006ee6be2991988280ad811010ae28111
parent28455e59c0b940200fe0223472a80104ce1a02dd
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeFri, 16 Apr 2021 15:39:53 +0200