File indexing completed on 2024-12-22 05:02:29
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "gravatar_export.h" 0010 #include <QDialog> 0011 namespace Gravatar 0012 { 0013 class GravatarConfigureSettingsWidget; 0014 0015 /** Gravatar settings dialog. */ 0016 class GRAVATAR_EXPORT GravatarConfigureSettingsDialog : public QDialog 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit GravatarConfigureSettingsDialog(QWidget *parent = nullptr); 0021 ~GravatarConfigureSettingsDialog() override; 0022 0023 private: 0024 GRAVATAR_NO_EXPORT void slotRestoreDefault(); 0025 GRAVATAR_NO_EXPORT void save(); 0026 GRAVATAR_NO_EXPORT void load(); 0027 GravatarConfigureSettingsWidget *mGravatarConfigureSettings = nullptr; 0028 }; 0029 }