How to execute function from element of ListModel

  • Hi,
    does anybody know how to run function of object from ListModel?

    I got LisModel declared as:
    ListModel {
    id: boardModel

    But when I do something like:

    @ for(var i=0;i<boardSize;++i){
    if(listModel.get(i).frameID === selectedFrame){

    I got:
    TypeError: Property 'someFunction' of object [object Object] is not a function

    Anybody know how to declare a type??


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.