Reimplemented from QtCore.QAbstractItemModel

        :param index: the index
        :type index: QModelIndex
        :param role: the data role
        :type role: QtCore.Qt.ItemDataRole
        :returns: some data. for display role it returns the filename of the configobj
        :raises: None

        For display role the filename is returned.

def data(self, index, role):
        """Reimplemented from QtCore.QAbstractItemModel

        :param index: the index
        :type index: QModelIndex
        :param role: the data role
        :type role: QtCore.Qt.ItemDataRole
        :returns: some data. for display role it returns the filename of the configobj
        :raises: None

        For display role the filename is returned.
        """
        if not index.isValid():
            return
        if role == QtCore.Qt.DisplayRole:
            conf = self.__configs[index.row()]
            edited = self.__edited[index.row()]
            if edited:
                prefix = '*'
            else:
                prefix = ''
            return '%s%s' % (prefix, conf.filename)
        if role == self.confobjRole:
            conf = self.__configs[index.row()]
            return conf