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 <QWidget>
0010 
0011 #include "libruqolawidgets_private_export.h"
0012 class BannerInfoListView;
0013 class BannerInfoListSearchLineWidget;
0014 class BannerInfosFilterProxyModel;
0015 class RocketChatAccount;
0016 class LIBRUQOLAWIDGETS_TESTS_EXPORT BannerInfoWidget : public QWidget
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit BannerInfoWidget(RocketChatAccount *account, QWidget *parent = nullptr);
0021     ~BannerInfoWidget() override;
0022 
0023 private:
0024     LIBRUQOLAWIDGETS_NO_EXPORT void initializeProxyModel();
0025     BannerInfoListSearchLineWidget *const mBannerInfoListSearchLineWidget;
0026     BannerInfoListView *const mBannerInfoListView;
0027     BannerInfosFilterProxyModel *const mBannerInfosFilterProxyModel;
0028     RocketChatAccount *const mRocketChatAccount;
0029 };