File indexing completed on 2024-12-08 04:34:22
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "libruqolawidgets_private_export.h" 0009 #include <QWizard> 0010 class ImportDataSelectAccountPage; 0011 class ImportDataFinishPage; 0012 class LIBRUQOLAWIDGETS_TESTS_EXPORT ImportDataWizard : public QWizard 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit ImportDataWizard(QWidget *parent = nullptr); 0017 ~ImportDataWizard() override; 0018 0019 private: 0020 enum ImportDataEnum { 0021 SelectAccountPage, 0022 FinishPage, 0023 }; 0024 LIBRUQOLAWIDGETS_NO_EXPORT void readConfig(); 0025 LIBRUQOLAWIDGETS_NO_EXPORT void writeConfig(); 0026 LIBRUQOLAWIDGETS_NO_EXPORT void slotCurrentIdChanged(int id); 0027 ImportDataSelectAccountPage *const mImportDataSelectAccountPage; 0028 ImportDataFinishPage *const mImportDataFinishPage; 0029 };