SortListModel.setModel

void setModel(gio.list_model.ListModel model = null)

Sets the model to be sorted.

The model's item type must conform to the item type of self.

Parameters

modelThe model to be sorted