File indexing completed on 2025-03-09 04:54:36
0001 /* 0002 SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "messageviewer_export.h" 0010 #include <QWidget> 0011 0012 namespace MessageViewer 0013 { 0014 /** 0015 * @brief The MessageViewerCheckBeforeDeletingPluginWidget class 0016 * @author Laurent Montel <montel@kde.org> 0017 */ 0018 class MESSAGEVIEWER_EXPORT MessageViewerCheckBeforeDeletingPluginWidget : public QWidget 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit MessageViewerCheckBeforeDeletingPluginWidget(QWidget *parent = nullptr); 0023 ~MessageViewerCheckBeforeDeletingPluginWidget() override; 0024 0025 virtual void loadSettings() = 0; 0026 virtual void saveSettings() = 0; 0027 virtual void resetSettings() = 0; 0028 [[nodiscard]] virtual QString helpAnchor() const; 0029 Q_SIGNALS: 0030 void configureChanged(); 0031 }; 0032 }