File indexing completed on 2024-12-01 04:37:03

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QDialog>
0010 class QWidget;
0011 
0012 #include "libruqolawidgets_private_export.h"
0013 class UsersInRoomWidget;
0014 class RocketChatAccount;
0015 class Room;
0016 class LIBRUQOLAWIDGETS_TESTS_EXPORT UsersInRoomDialog : public QDialog
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit UsersInRoomDialog(RocketChatAccount *account, QWidget *parent = nullptr);
0021     ~UsersInRoomDialog() override;
0022 
0023     void setRoom(Room *room);
0024 
0025 private:
0026     LIBRUQOLAWIDGETS_NO_EXPORT void writeConfig();
0027     LIBRUQOLAWIDGETS_NO_EXPORT void readConfig();
0028     UsersInRoomWidget *const mUsersInRoomWidget;
0029 };