WebEngineViewer::InterceptorManager Class
The InterceptorManager class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <WebEngineViewer/InterceptorManager> |
| CMake: | find_package(KPim6WebEngineViewer REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::WebEngineViewer) |
| Inherits: | QObject |
Public Functions
| InterceptorManager(QWebEngineView *webEngine, KActionCollection *ac, QObject *parent = nullptr) | |
| virtual | ~InterceptorManager() override |
| void | addInterceptor(WebEngineViewer::NetworkPluginUrlInterceptorInterface *interceptor) |
| QList<QAction *> | interceptorUrlActions(const WebEngineViewer::WebHitTestResult &result) const |
| void | removeInterceptor(WebEngineViewer::NetworkPluginUrlInterceptorInterface *interceptor) |
Detailed Description
Member Function Documentation
[explicit] InterceptorManager::InterceptorManager(QWebEngineView *webEngine, KActionCollection *ac, QObject *parent = nullptr)
Constructs an InterceptorManager for the given web engine view.
[override virtual noexcept] InterceptorManager::~InterceptorManager()
Destroys the InterceptorManager object.
void InterceptorManager::addInterceptor(WebEngineViewer::NetworkPluginUrlInterceptorInterface *interceptor)
Adds an interceptor.
QList<QAction *> InterceptorManager::interceptorUrlActions(const WebEngineViewer::WebHitTestResult &result) const
Returns the list of URL interceptor actions for the given hit test result.
void InterceptorManager::removeInterceptor(WebEngineViewer::NetworkPluginUrlInterceptorInterface *interceptor)
Removes an interceptor.