File indexing completed on 2024-12-22 04:45:42
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 "administratorsettingsdialog/settingswidgetbase.h" 0010 #include "libruqolawidgets_private_export.h" 0011 class QCheckBox; 0012 class QLineEdit; 0013 class QComboBox; 0014 class LIBRUQOLAWIDGETS_TESTS_EXPORT CasSettingsWidget : public SettingsWidgetBase 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit CasSettingsWidget(RocketChatAccount *account, QWidget *parent = nullptr); 0019 ~CasSettingsWidget() override; 0020 0021 void initialize(const QMap<QString, QVariant> &mapSettings) override; 0022 0023 private: 0024 QCheckBox *const mEnabled; 0025 QCheckBox *const mTrustCASUsername; 0026 QCheckBox *const mAllowUserCreation; 0027 QLineEdit *const mSSOBaseURL; 0028 QLineEdit *const mSSOLoginURL; 0029 QComboBox *const mCASVersion; 0030 QCheckBox *const mAlwaysSyncUserData; 0031 QLineEdit *const mAttributeMap; 0032 };