File indexing completed on 2025-01-19 04:46:53
0001 /* 0002 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <MessageViewer/MessageViewerConfigureSettingsPluginWidget> 0010 class QCheckBox; 0011 namespace Gravatar 0012 { 0013 class GravatarConfigureSettingsWidget; 0014 } 0015 class GravatarConfigureSettingsPluginWidget : public MessageViewer::MessageViewerConfigureSettingsPluginWidget 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit GravatarConfigureSettingsPluginWidget(QWidget *parent = nullptr); 0020 ~GravatarConfigureSettingsPluginWidget() override; 0021 0022 void loadSettings() override; 0023 void saveSettings() override; 0024 void resetSettings() override; 0025 0026 private: 0027 Gravatar::GravatarConfigureSettingsWidget *const mGravatarConfigWidget; 0028 QCheckBox *const mEnableGravatarSupport; 0029 };