Messagelib
8#include "webengineviewer_export.h"
10#include <QWebEngineUrlRequestInfo>
11#include <WebEngineViewer/NetworkPluginUrlInterceptorInterface>
12namespace WebEngineViewer
14class WEBENGINEVIEWER_EXPORT BlockExternalResourcesUrlInterceptor :
public WebEngineViewer::NetworkPluginUrlInterceptorInterface
18 explicit BlockExternalResourcesUrlInterceptor(QObject *parent =
nullptr);
19 ~BlockExternalResourcesUrlInterceptor()
override;
21 [[nodiscard]]
bool interceptRequest(QWebEngineUrlRequestInfo &info)
override;
24 interceptRequest(
const QUrl &url, QWebEngineUrlRequestInfo::ResourceType resourceType, QWebEngineUrlRequestInfo::NavigationType navigationType);
25 void setEnabled(
bool enabled);
27 void formSubmittedForbidden();
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:40 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.