'Getter for self.urltype, so it can be used as Qt property.
Return:
The urltype as a string (!)'

@pyqtProperty(str)
def urltype(self):

    if (self._urltype is None):
        return ''
    else:
        return self._urltype.name
