File indexing completed on 2025-01-19 04:46:43
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QWidget> 0010 class QTabWidget; 0011 class KConfigGroup; 0012 class ConfirmAddressConfigureTabWidget; 0013 namespace KIdentityManagementCore 0014 { 0015 class IdentityManager; 0016 } 0017 0018 class ConfirmAddressConfigureTab : public QWidget 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit ConfirmAddressConfigureTab(QWidget *parent = nullptr); 0023 ~ConfirmAddressConfigureTab() override; 0024 0025 void loadSettings(const KConfigGroup &grp); 0026 void saveSettings(KConfigGroup &grp); 0027 void resetSettings(); 0028 0029 Q_SIGNALS: 0030 void configureChanged(); 0031 0032 private: 0033 void initTab(KIdentityManagementCore::IdentityManager *identityManager); 0034 QTabWidget *const mTabWidget; 0035 QList<ConfirmAddressConfigureTabWidget *> mListTabWidget; 0036 };