I have a question about how to update a tree view model when data changes. I will try to explain my problem by looking at the simpletreemodel example shipped with qt4.Lets assume I extend the example with a button, which will add some tree item (TreeItem instance) to the tree. Now, how can I update the visable QAbstractItemModel (TreeModel class) with these new changes.