WebEngineViewer::NetworkPluginUrlInterceptor Class
The NetworkPluginUrlInterceptor class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <WebEngineViewer/NetworkPluginUrlInterceptor> |
| CMake: | find_package(KPim6WebEngineViewer REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::WebEngineViewer) |
| Inherits: | QObject |
Public Functions
| NetworkPluginUrlInterceptor(QObject *parent = nullptr) | |
| virtual | ~NetworkPluginUrlInterceptor() override |
| virtual WebEngineViewer::NetworkPluginUrlInterceptorInterface * | createInterface(QWebEngineView *webEngine, QObject *parent = nullptr) = 0 |
| virtual bool | hasConfigureDialog() const |
| bool | isEnabled() const |
| void | setIsEnabled(bool enabled) |
| virtual void | showConfigureDialog(QWidget *parent = nullptr) |
Detailed Description
Member Function Documentation
[explicit] NetworkPluginUrlInterceptor::NetworkPluginUrlInterceptor(QObject *parent = nullptr)
Constructs a NetworkPluginUrlInterceptor with the given parent.
[override virtual noexcept] NetworkPluginUrlInterceptor::~NetworkPluginUrlInterceptor()
Destroys the NetworkPluginUrlInterceptor object.
[pure virtual] WebEngineViewer::NetworkPluginUrlInterceptorInterface *NetworkPluginUrlInterceptor::createInterface(QWebEngineView *webEngine, QObject *parent = nullptr)
Creates the interceptor interface for the given web engine view.
[virtual] bool NetworkPluginUrlInterceptor::hasConfigureDialog() const
Returns whether this interceptor has a configuration dialog.
bool NetworkPluginUrlInterceptor::isEnabled() const
Returns whether this interceptor is enabled.
See also setIsEnabled().
void NetworkPluginUrlInterceptor::setIsEnabled(bool enabled)
Sets whether this interceptor is enabled.
See also isEnabled().
[virtual] void NetworkPluginUrlInterceptor::showConfigureDialog(QWidget *parent = nullptr)
Shows the configuration dialog with the given parent widget.