Messagelib

networkpluginurlinterceptor.cpp
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "networkpluginurlinterceptor.h"
8
9using namespace WebEngineViewer;
10
11NetworkPluginUrlInterceptor::NetworkPluginUrlInterceptor(QObject *parent)
12 : QObject(parent)
13{
14}
15
16NetworkPluginUrlInterceptor::~NetworkPluginUrlInterceptor() = default;
17
18bool NetworkPluginUrlInterceptor::hasConfigureDialog() const
19{
20 return false;
21}
22
23void NetworkPluginUrlInterceptor::showConfigureDialog(QWidget *parent)
24{
25 Q_UNUSED(parent)
26}
27
28void NetworkPluginUrlInterceptor::setIsEnabled(bool enabled)
29{
30 mIsEnabled = enabled;
31}
32
33bool NetworkPluginUrlInterceptor::isEnabled() const
34{
35 return mIsEnabled;
36}
37
38#include "moc_networkpluginurlinterceptor.cpp"
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.