File indexing completed on 2024-12-01 04:37:05
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 0011 #include "libruqolawidgets_private_export.h" 0012 class TeamChannelsWidget; 0013 class Room; 0014 class RocketChatAccount; 0015 class LIBRUQOLAWIDGETS_TESTS_EXPORT TeamChannelsDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit TeamChannelsDialog(RocketChatAccount *account, QWidget *parent = nullptr); 0020 ~TeamChannelsDialog() override; 0021 void setRoom(Room *room); 0022 0023 private: 0024 LIBRUQOLAWIDGETS_NO_EXPORT void readConfig(); 0025 LIBRUQOLAWIDGETS_NO_EXPORT void writeConfig(); 0026 TeamChannelsWidget *const mTeamChannelsWidget; 0027 };