def reftrack_descriptor_data(rt, role):
    """Return the data for the descriptor that is loaded by the reftrack

    :param rt: the :class:`jukeboxcore.reftrack.Reftrack` holds the data
    :type rt: :class:`jukeboxcore.reftrack.Reftrack`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the descriptor
    :rtype: depending on role
    :raises: None
    """
    tfi = rt.get_taskfileinfo()
    if not tfi:
        return
    return filesysitemdata.taskfileinfo_descriptor_data(tfi, role)
Return the data for the descriptor that is loaded by the reftrack

    :param rt: the :class:`jukeboxcore.reftrack.Reftrack` holds the data
    :type rt: :class:`jukeboxcore.reftrack.Reftrack`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the descriptor
    :rtype: depending on role
    :raises: None