Messagelib

networkpluginurlinterceptor.cpp
1 /*
2  SPDX-FileCopyrightText: 2016-2021 Laurent Montel <[email protected]>
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 }
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:16:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.