File indexing completed on 2025-01-19 04:47:01
0001 /* 0002 SPDX-FileCopyrightText: 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 <QWidget> 0011 namespace TextCustomEditor 0012 { 0013 class RichTextBrowser; 0014 } 0015 class LIBADBLOCKPLUGIN_TESTS_EXPORT AdblockViewFilterWidget : public QWidget 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit AdblockViewFilterWidget(QWidget *parent = nullptr); 0020 ~AdblockViewFilterWidget() override; 0021 0022 void setFilterText(const QString &str); 0023 0024 private: 0025 TextCustomEditor::RichTextBrowser *const mRichTextBrowser; 0026 };