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

0001 /*
0002    SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "administratorsettingsdialog/settingswidgetbase.h"
0009 #include "libruqolawidgets_private_export.h"
0010 class QCheckBox;
0011 class LIBRUQOLAWIDGETS_TESTS_EXPORT VideoConferenceWidget : public SettingsWidgetBase
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit VideoConferenceWidget(RocketChatAccount *account, QWidget *parent = nullptr);
0016     ~VideoConferenceWidget() override;
0017 
0018     void initialize(const QMap<QString, QVariant> &mapSettings) override;
0019 
0020 private:
0021     QCheckBox *const mBigBlueEnabled;
0022     QLineEdit *const mServer;
0023     QLineEdit *const mSharedSecret;
0024     QCheckBox *const mAlwaysOpenNewWindow;
0025 
0026     QCheckBox *const mJitsiEnabled;
0027     QLineEdit *const mJitsiDomain;
0028     QLineEdit *const mJitsiRoomPrefix;
0029     QLineEdit *const mJitsiRoomSuffix;
0030     QCheckBox *const mJitsiEnableRoomNameHash;
0031     QCheckBox *const mJitsiUseSSL;
0032     QCheckBox *const mJitsiAlwaysOpenNewWindow;
0033     QCheckBox *const mJitsiEnableInChannels;
0034     QCheckBox *const mJitsiEnableTeams;
0035     QLineEdit *const mJitsiChromeExtensionId;
0036     QCheckBox *const mJitsiEnableJWTAuth;
0037     QLineEdit *const mJitsiApplicationID;
0038     QLineEdit *const mJitsiApplicationSecret;
0039     QCheckBox *const mJitsiLimitTokenJitsiRoom;
0040 };