File indexing completed on 2025-01-19 04:47:00

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "adblockplugin_private_export.h"
0010 #include <KConfigGroup>
0011 #include <QWidget>
0012 
0013 class AdblockFilterTreeView;
0014 class QLineEdit;
0015 
0016 class LIBADBLOCKPLUGIN_TESTS_EXPORT AdblockFilterWidget : public QWidget
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit AdblockFilterWidget(QWidget *parent = nullptr);
0021     ~AdblockFilterWidget() override;
0022 
0023     void loadSettings();
0024     void saveSettings();
0025 
0026 Q_SIGNALS:
0027     void settingsChanged();
0028 
0029 private:
0030     AdblockFilterTreeView *const mAdblockFilterListView;
0031     QLineEdit *const mSearchLineEdit;
0032 };