[Interest] How to know the caller of a function on Qml Javascript?
Nuno Santos
nunosantos at imaginando.pt
Wed Oct 25 16:29:35 CEST 2017
Hi,
Let’s suppose I have something like this:
item.propertyChanged.connect(handlePropertyChanged)
function handlePropertyChanged()
{
// invoke something on the caller object
}
How can I get the caller object?
Is there something similar to sender() on the Javascript side?
Regards,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171025/b4f79cdf/attachment.html>
More information about the Interest
mailing list