'Item contents have changed.'

def __on_itemChanged(self, item):

    parent = item.parent()
    if (parent is self.__model.invisibleRootItem()):
        button = self.tabButton(item.row())
        button.setIcon(item.icon())
        button.setText(item.text())
        button.setToolTip(item.toolTip())
