File indexing completed on 2025-03-09 04:54:57

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "webengineviewer_export.h"
0010 #include <QWidget>
0011 
0012 namespace WebEngineViewer
0013 {
0014 /**
0015  * @brief The NetworkPluginUrlInterceptorConfigureWidget class
0016  * @author Laurent Montel <montel@kde.org>
0017  */
0018 class WEBENGINEVIEWER_EXPORT NetworkPluginUrlInterceptorConfigureWidget : public QWidget
0019 {
0020     Q_OBJECT
0021 public:
0022     explicit NetworkPluginUrlInterceptorConfigureWidget(QWidget *parent = nullptr);
0023     ~NetworkPluginUrlInterceptorConfigureWidget() override;
0024 
0025     virtual void loadSettings() = 0;
0026     virtual void saveSettings() = 0;
0027     virtual void resetSettings() = 0;
0028 
0029     virtual QString helpAnchor() const;
0030 
0031 Q_SIGNALS:
0032     void configureChanged();
0033 };
0034 }