Gravatar

gravatarconfiguresettingswidget.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "gravatar_export.h"
10#include <QWidget>
11class QCheckBox;
12class QPushButton;
13class QSpinBox;
15namespace Gravatar
16{
17/** Gravatar settings widget. */
18class GRAVATAR_EXPORT GravatarConfigureSettingsWidget : public QWidget
19{
20 Q_OBJECT
21public:
22 explicit GravatarConfigureSettingsWidget(QWidget *parent = nullptr);
24 void slotRestoreDefault();
25 void save();
26 void load();
27
28private:
29 GRAVATAR_NO_EXPORT void slotClearGravatarCache();
30 QCheckBox *mUseDefaultPixmap = nullptr;
31 QPushButton *mClearGravatarCache = nullptr;
32 QSpinBox *mGravatarCacheSize = nullptr;
33 QCheckBox *mUseLibravatar = nullptr;
34 QCheckBox *mFallbackGravatar = nullptr;
35 KConfigDialogManager *m_configDialogManager = nullptr;
36};
37}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.