File indexing completed on 2024-12-01 04:36:52
0001 /* 0002 SPDX-FileCopyrightText: 2020-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 MyAccount2FaConfigureWidget; 0013 class MyAccountProfileConfigureWidget; 0014 class MyAccountPreferenceConfigureWidget; 0015 class MyAccount2e2ConfigureWidget; 0016 class RocketChatAccount; 0017 class MyAccountPersonalAccessTokenConfigureWidget; 0018 class LIBRUQOLAWIDGETS_TESTS_EXPORT MyAccountConfigureWidget : public QWidget 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit MyAccountConfigureWidget(RocketChatAccount *account, QWidget *parent = nullptr); 0023 ~MyAccountConfigureWidget() override; 0024 void save(); 0025 void load(); 0026 0027 void initialize(); 0028 0029 private: 0030 MyAccount2FaConfigureWidget *const mMyAccount2FaConfigureWidget; 0031 MyAccountProfileConfigureWidget *const mMyAccount2ProfileConfigureWidget; 0032 MyAccountPreferenceConfigureWidget *const mMyAccountPreferenceConfigureWidget; 0033 MyAccount2e2ConfigureWidget *const mMyAccount2e2ConfigureWidget; 0034 MyAccountPersonalAccessTokenConfigureWidget *const mMyAccountPersonalAccessTokenConfigureWidget; 0035 RocketChatAccount *const mRocketChatAccount; 0036 };