Skip to content
  • Reference arguments in signal

    QML and Qt Quick signal referenc
    4
    0 Votes
    4 Posts
    2k Views
    L
    Hi. You're right. There has to be a type. For objects, you should use "var". signal closeClick(var options); It is an object not because of the parameter type, but because of its content. var options = {"cancel": false};