'Move count rows starting with the given sourceRow under parent
sourceParent to row destRow under parent destParent.
Return true if the rows were successfully moved; otherwise
returns false.
.. note:: Only moves within the same parent are currently supported'

def moveRows(self, sourceParent, sourceRow, count, destParent, destRow):

    if (not self.beginMoveRows(sourceParent, sourceRow, (sourceRow + count), destParent, destRow)):
        return False
    with blocked(self):
        didmove = list_model_move_rows_helper(self, sourceParent, sourceRow, count, destRow)
    self.endMoveRows()
    if (not didmove):
        warnings.warn('`moveRows`    did    not    succeed!    Data    model    might    be    in    an    inconsistent    state.', RuntimeWarning)
    return didmove
