Class QWebEngineProfile

java.lang.Object
io.qt.QtObject
io.qt.core.QObject
io.qt.webengine.widgets.QWebEngineProfile
All Implemented Interfaces:
QtObjectInterface, QtSignalBlockerInterface, QtSignalEmitterInterface, QtThreadAffineInterface

public class QWebEngineProfile extends QObject

Web engine profile shared by multiple pages

Java wrapper for Qt class QWebEngineProfile

Since:
This class was introduced in Qt 5.5.
  • Field Details

    • staticMetaObject

      public static final QMetaObject staticMetaObject
      This variable stores the meta-object for the class.
    • downloadRequested

      public final QObject.Signal1<QWebEngineDownloadItem> downloadRequested

      See QWebEngineProfile::downloadRequested(QWebEngineDownloadItem*)

  • Constructor Details

  • Method Details

    • cachePath

      @QtUninvokable public final String cachePath()

      See QWebEngineProfile::cachePath()const

      Returns:
    • clearAllVisitedLinks

      @QtUninvokable public final void clearAllVisitedLinks()

      See QWebEngineProfile::clearAllVisitedLinks()

    • clearHttpCache

      @QtUninvokable public final void clearHttpCache()

      See QWebEngineProfile::clearHttpCache()

    • clearVisitedLinks

      @QtUninvokable public final void clearVisitedLinks(Collection<? extends QUrl> urls)

      See QWebEngineProfile::clearVisitedLinks(QList<QUrl>)

      Parameters:
      urls -
    • clientCertificateStore

      @QtUninvokable public final QWebEngineClientCertificateStore clientCertificateStore()

      See QWebEngineProfile::clientCertificateStore()

      Returns:
    • cookieStore

      @QtUninvokable public final QWebEngineCookieStore cookieStore()

      See QWebEngineProfile::cookieStore()

      Returns:
    • downloadPath

      @QtUninvokable public final String downloadPath()

      See QWebEngineProfile::downloadPath()const

      Returns:
    • httpAcceptLanguage

      @QtUninvokable public final String httpAcceptLanguage()

      See QWebEngineProfile::httpAcceptLanguage()const

      Returns:
    • httpCacheMaximumSize

      @QtUninvokable public final int httpCacheMaximumSize()

      See QWebEngineProfile::httpCacheMaximumSize()const

      Returns:
    • httpCacheType

      @QtUninvokable public final QWebEngineProfile.HttpCacheType httpCacheType()

      See QWebEngineProfile::httpCacheType()const

      Returns:
    • httpUserAgent

      @QtUninvokable public final String httpUserAgent()

      See QWebEngineProfile::httpUserAgent()const

      Returns:
    • installUrlSchemeHandler

      @QtUninvokable public final void installUrlSchemeHandler(QByteArray scheme, QWebEngineUrlSchemeHandler arg__2)

      See QWebEngineProfile::installUrlSchemeHandler(QByteArray,QWebEngineUrlSchemeHandler*)

      Parameters:
      scheme -
      arg__2 -
    • isOffTheRecord

      @QtUninvokable public final boolean isOffTheRecord()

      See QWebEngineProfile::isOffTheRecord()const

      Returns:
    • isSpellCheckEnabled

      @QtUninvokable public final boolean isSpellCheckEnabled()

      See QWebEngineProfile::isSpellCheckEnabled()const

      Returns:
    • isUsedForGlobalCertificateVerification

      @QtUninvokable public final boolean isUsedForGlobalCertificateVerification()

      See QWebEngineProfile::isUsedForGlobalCertificateVerification()const

      Returns:
    • persistentCookiesPolicy

      @QtUninvokable public final QWebEngineProfile.PersistentCookiesPolicy persistentCookiesPolicy()

      See QWebEngineProfile::persistentCookiesPolicy()const

      Returns:
    • persistentStoragePath

      @QtUninvokable public final String persistentStoragePath()

      See QWebEngineProfile::persistentStoragePath()const

      Returns:
    • removeAllUrlSchemeHandlers

      @QtUninvokable public final void removeAllUrlSchemeHandlers()

      See QWebEngineProfile::removeAllUrlSchemeHandlers()

    • removeUrlScheme

      @QtUninvokable public final void removeUrlScheme(QByteArray scheme)

      See QWebEngineProfile::removeUrlScheme(QByteArray)

      Parameters:
      scheme -
    • removeUrlSchemeHandler

      @QtUninvokable public final void removeUrlSchemeHandler(QWebEngineUrlSchemeHandler arg__1)

      See QWebEngineProfile::removeUrlSchemeHandler(QWebEngineUrlSchemeHandler*)

      Parameters:
      arg__1 -
    • scripts

      See QWebEngineProfile::scripts()const

      Returns:
    • setCachePath

      @QtUninvokable public final void setCachePath(String path)

      See QWebEngineProfile::setCachePath(QString)

      Parameters:
      path -
    • setDownloadPath

      @QtUninvokable public final void setDownloadPath(String path)

      See QWebEngineProfile::setDownloadPath(QString)

      Parameters:
      path -
    • setHttpAcceptLanguage

      @QtUninvokable public final void setHttpAcceptLanguage(String httpAcceptLanguage)

      See QWebEngineProfile::setHttpAcceptLanguage(QString)

      Parameters:
      httpAcceptLanguage -
    • setHttpCacheMaximumSize

      @QtUninvokable public final void setHttpCacheMaximumSize(int maxSize)

      See QWebEngineProfile::setHttpCacheMaximumSize(int)

      Parameters:
      maxSize -
    • setHttpCacheType

      @QtUninvokable public final void setHttpCacheType(QWebEngineProfile.HttpCacheType arg__1)

      See QWebEngineProfile::setHttpCacheType(QWebEngineProfile::HttpCacheType)

      Parameters:
      arg__1 -
    • setHttpUserAgent

      @QtUninvokable public final void setHttpUserAgent(String userAgent)

      See QWebEngineProfile::setHttpUserAgent(QString)

      Parameters:
      userAgent -
    • setNotificationPresenter

      @QtUninvokable public final void setNotificationPresenter(Consumer<QWebEngineNotification> notificationPresenter)

      See QWebEngineProfile::setNotificationPresenter(std::function<void(std::unique_ptr<QWebEngineNotification>)>)

      Parameters:
      notificationPresenter -
    • setPersistentCookiesPolicy

      @QtUninvokable public final void setPersistentCookiesPolicy(QWebEngineProfile.PersistentCookiesPolicy arg__1)

      See QWebEngineProfile::setPersistentCookiesPolicy(QWebEngineProfile::PersistentCookiesPolicy)

      Parameters:
      arg__1 -
    • setPersistentStoragePath

      @QtUninvokable public final void setPersistentStoragePath(String path)

      See QWebEngineProfile::setPersistentStoragePath(QString)

      Parameters:
      path -
    • setRequestInterceptor

      @QtUninvokable public final void setRequestInterceptor(QWebEngineUrlRequestInterceptor interceptor)

      See QWebEngineProfile::setRequestInterceptor(QWebEngineUrlRequestInterceptor*)

      Parameters:
      interceptor -
    • setSpellCheckEnabled

      @QtUninvokable public final void setSpellCheckEnabled(boolean enabled)

      See QWebEngineProfile::setSpellCheckEnabled(bool)

      Parameters:
      enabled -
    • setSpellCheckLanguages

      @QtUninvokable public final void setSpellCheckLanguages(Collection<String> languages)

      See QWebEngineProfile::setSpellCheckLanguages(QStringList)

      Parameters:
      languages -
    • setUrlRequestInterceptor

      @QtUninvokable public final void setUrlRequestInterceptor(QWebEngineUrlRequestInterceptor interceptor)

      See QWebEngineProfile::setUrlRequestInterceptor(QWebEngineUrlRequestInterceptor*)

      Parameters:
      interceptor -
    • setUseForGlobalCertificateVerification

      @QtUninvokable public final void setUseForGlobalCertificateVerification(boolean enabled)

      See QWebEngineProfile::setUseForGlobalCertificateVerification(bool)

      Parameters:
      enabled -
    • settings

      @QtUninvokable public final QWebEngineSettings settings()

      See QWebEngineProfile::settings()const

      Returns:
    • spellCheckLanguages

      @QtUninvokable public final QStringList spellCheckLanguages()

      See QWebEngineProfile::spellCheckLanguages()const

      Returns:
    • storageName

      @QtUninvokable public final String storageName()

      See QWebEngineProfile::storageName()const

      Returns:
    • urlSchemeHandler

      @QtUninvokable public final QWebEngineUrlSchemeHandler urlSchemeHandler(QByteArray arg__1)

      See QWebEngineProfile::urlSchemeHandler(QByteArray)const

      Parameters:
      arg__1 -
      Returns:
    • visitedLinksContainsUrl

      @QtUninvokable public final boolean visitedLinksContainsUrl(QUrl url)

      See QWebEngineProfile::visitedLinksContainsUrl(QUrl)const

      Parameters:
      url -
      Returns:
    • defaultProfile

      public static QWebEngineProfile defaultProfile()

      See QWebEngineProfile::defaultProfile()

      Returns:
    • installUrlSchemeHandler

      @QtUninvokable public final void installUrlSchemeHandler(byte [] scheme, QWebEngineUrlSchemeHandler arg__2)
    • removeUrlScheme

      @QtUninvokable public final void removeUrlScheme(byte [] scheme)
    • setUseForGlobalCertificateVerification

      @QtUninvokable public final void setUseForGlobalCertificateVerification()

      Overloaded function for setUseForGlobalCertificateVerification(boolean) with enabled = true.

    • urlSchemeHandler

      @QtUninvokable public final QWebEngineUrlSchemeHandler urlSchemeHandler(byte [] arg__1)
    • visitedLinksContainsUrl

      @QtUninvokable public final boolean visitedLinksContainsUrl(String url)