File indexing completed on 2024-12-22 04:45:38

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 "administratorroomseditbasewidget.h"
0010 #include "libruqolawidgets_private_export.h"
0011 class QLineEdit;
0012 class QCheckBox;
0013 class LIBRUQOLAWIDGETS_TESTS_EXPORT AdministratorDirectRoomsEditWidget : public AdministratorRoomsEditBaseWidget
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit AdministratorDirectRoomsEditWidget(QWidget *parent = nullptr);
0018     ~AdministratorDirectRoomsEditWidget() override;
0019 
0020     [[nodiscard]] RoomEditInfo roomEditInfo() const override;
0021     void setRoomEditInfo(const RoomEditInfo &newRoomEditInfo) override;
0022 
0023 private:
0024     QLineEdit *const mLineEdit;
0025     QCheckBox *const mDefaultCheckBox;
0026     QCheckBox *const mFavoriteCheckBox;
0027     QCheckBox *const mFeaturedCheckBox;
0028 };