File indexing completed on 2024-04-28 05:36:53

0001 /*
0002  * SPDX-FileCopyrightText: 2020 Red Hat Inc
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  *
0006  * SPDX-FileCopyrightText: 2020 Jan Grulich <jgrulich@redhat.com>
0007  */
0008 
0009 #ifndef XDG_DESKTOP_PORTAL_KDE_USERINFO_DIALOG_H
0010 #define XDG_DESKTOP_PORTAL_KDE_USERINFO_DIALOG_H
0011 
0012 #include "quickdialog.h"
0013 
0014 namespace Ui
0015 {
0016 class UserInfoDialog;
0017 }
0018 
0019 class OrgFreedesktopAccountsUserInterface;
0020 
0021 class UserInfoDialog : public QuickDialog
0022 {
0023     Q_OBJECT
0024 public:
0025     explicit UserInfoDialog(const QString &reason, QObject *parent = nullptr);
0026     ~UserInfoDialog() override;
0027 
0028     QString id() const;
0029     QString name() const;
0030     QString image() const;
0031 
0032 private:
0033     OrgFreedesktopAccountsUserInterface *m_userInterface;
0034 };
0035 
0036 #endif // XDG_DESKTOP_PORTAL_KDE_USERINFO_DIALOG_H