File indexing completed on 2025-01-19 04:46:55
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QWidget> 0010 class QTextEdit; 0011 namespace MessageViewer 0012 { 0013 class HeaderStylePlugin; 0014 } 0015 0016 class HeaderStyleMenuTest : public QWidget 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit HeaderStyleMenuTest(QWidget *parent = nullptr); 0021 ~HeaderStyleMenuTest() override; 0022 private Q_SLOTS: 0023 void styleChanged(MessageViewer::HeaderStylePlugin *plugin); 0024 0025 private: 0026 QTextEdit *mTextEdit = nullptr; 0027 };