def METHOD_NAME(self, profile):
    """Install the handler for qute:// URLs on the given profile."""
    if QWebEngineUrlScheme is not None:
        assert QWebEngineUrlScheme.schemeByName(_QUTE) is not None
    profile.installUrlSchemeHandler(_QUTE, self)