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 #include "adblockplugin_private_export.h" 0009 #include <QDialog> 0010 class AdblockFilterWidget; 0011 class LIBADBLOCKPLUGIN_TESTS_EXPORT AdblockFilterDialog : public QDialog 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit AdblockFilterDialog(QWidget *parent = nullptr); 0016 ~AdblockFilterDialog() override; 0017 0018 void loadSettings(); 0019 0020 private: 0021 void readConfig(); 0022 void writeConfig(); 0023 AdblockFilterWidget *const mAdblockFilterWidget; 0024 };