[Development] Question about Qt's future

Nils Jeisecke njeisecke at saltation.de
Mon Apr 28 11:56:27 CEST 2014


> Also what is the problem with:
>
> MouseArea {
>     onClicked: companion.mouseAreaClicked();
> }

Where is the event handler's argument (the one that's kind of
invisible in QML and requires you to read the documentation, I think
it's called "mouse" :-).

Could this be a function binding instead?

MouseArea {
     onClicked: companion.mouseAreaClicked;
}

Nils



More information about the Development mailing list