Fix connect/disconnect in QObject bindings
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 14 May 2013 06:43:45 +0000 (08:43 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Sun, 19 May 2013 19:53:30 +0000 (21:53 +0200)
commit4f32973d290a46e1e7265b4e1016d4f73b0dca89
treea3596539939d1e120fadf30ddfadc400c2b8f11f
parentabec9668954b67b52346d381e1fefcfaf5687605
Fix connect/disconnect in QObject bindings

The hack of using ScriptOrigin to identify JS wrapper functions for Qt methods
is not possible for us to implement (or doesn't make sense). However the bindings
rely on this feature, so implement it using a semi-private property hack.

Change-Id: I6c7852f46916a9f549bf703d47546e7ddd75a1b1
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v8/qv8qobjectwrapper.cpp