You will have implement removeRows() and insertRows() as well as setData() in your subclassed QAbstractItemModel - I think