Gravatar

gravatardownloadpixmapdialog.h
1/*
2 SPDX-FileCopyrightText: 2015-2025 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 <QDialog>
11
12namespace Gravatar
13{
15
16/** Avatar download dialog. */
17class GRAVATAR_EXPORT GravatarDownloadPixmapDialog : public QDialog
18{
20public:
21 explicit GravatarDownloadPixmapDialog(QWidget *parent = nullptr);
22 ~GravatarDownloadPixmapDialog() override;
23
24 [[nodiscard]] QPixmap gravatarPixmap() const;
25
26private:
27 GRAVATAR_NO_EXPORT void slotAccepted();
28 Gravatar::GravatarDownloadPixmapWidget *mGravatarDownloadPixmapWidget = nullptr;
29};
30}
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.