<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_edited(self, ):
 """Return all indices that were modified :returns: list of indices for modified confs :rtype: list of QModelIndex :raises: None """

        modified = []
        for i in range(len(self.__edited)):
            if self.__edited[i]:
                modified.append(self.__configs[i])
        return modified