File indexing completed on 2024-12-08 04:34:20
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 <QTabWidget> 0010 0011 #include "libruqolawidgets_private_export.h" 0012 class RocketChatAccount; 0013 class DirectoryStackedWidget; 0014 class LIBRUQOLAWIDGETS_TESTS_EXPORT DirectoryTabWidget : public QTabWidget 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit DirectoryTabWidget(RocketChatAccount *account, QWidget *parent = nullptr); 0019 ~DirectoryTabWidget() override; 0020 0021 void fillTabs(); 0022 0023 private: 0024 DirectoryStackedWidget *const mRooms; 0025 DirectoryStackedWidget *const mUsers; 0026 DirectoryStackedWidget *const mTeams; 0027 };