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 
9 using namespace WebEngineViewer;
10 
11 NetworkPluginUrlInterceptor::NetworkPluginUrlInterceptor(QObject *parent)
12  : QObject(parent)
13 {
14 }
15 
16 NetworkPluginUrlInterceptor::~NetworkPluginUrlInterceptor() = default;
17 
18 bool NetworkPluginUrlInterceptor::hasConfigureDialog() const
19 {
20  return false;
21 }
22 
23 void NetworkPluginUrlInterceptor::showConfigureDialog(QWidget *parent)
24 {
25  Q_UNUSED(parent)
26 }
27 
28 void NetworkPluginUrlInterceptor::setIsEnabled(bool enabled)
29 {
30  mIsEnabled = enabled;
31 }
32 
33 bool NetworkPluginUrlInterceptor::isEnabled() const
34 {
35  return mIsEnabled;
36 }
37 
38 #include "moc_networkpluginurlinterceptor.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.