def METHOD_NAME(self, info):
    path = info.filePath()
    if path in ["", "/"]:
        # That's the computer root on Windows or Linux
        result = "Computer"
    elif sys.platform == "win32" and path[-2] == ":":
        # That's a drive on Windows
        result = self.__windowsDriveType(info)
    elif self.__filterDirAndFiles:
        if info.isDir():
            result = "Directory"
        else:
            result = info.suffix()
    else:
        result = qt.QFileIconProvider.METHOD_NAME(self, info)
    return result