def METHOD_NAME(self, topLeft, bottomRight):
    if self._updating:
        # We are currently putting data in the model, so no updates
        return
    if self._index:
        if topLeft.row() <= self._index.row() <= bottomRight.row():
            self.updateSelectedItem()
    elif self._indexes:
        METHOD_NAME = False
        for i in self._indexes:
            if topLeft.row() <= i.row() <= bottomRight.row():
                METHOD_NAME = True
        if METHOD_NAME:
            self.updateSelectedItem()