File indexing completed on 2024-12-08 04:34:09

0001 /*
0002    SPDX-FileCopyrightText: 2022-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 BannerInfoWidget;
0013 class RocketChatAccount;
0014 class LIBRUQOLAWIDGETS_TESTS_EXPORT BannerInfoDialog : public QDialog
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit BannerInfoDialog(RocketChatAccount *account, QWidget *parent = nullptr);
0019     ~BannerInfoDialog() override;
0020 
0021 private:
0022     LIBRUQOLAWIDGETS_NO_EXPORT void readConfig();
0023     LIBRUQOLAWIDGETS_NO_EXPORT void writeConfig();
0024     BannerInfoWidget *const mBannerInfoWidget;
0025 };