File indexing completed on 2024-12-22 04:45:58
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #pragma once 0007 #include "libruqolawidgets_private_export.h" 0008 #include <QWizardPage> 0009 class KUrlRequester; 0010 class LIBRUQOLAWIDGETS_TESTS_EXPORT ImportDataSelectAccountPage : public QWizardPage 0011 { 0012 Q_OBJECT 0013 public: 0014 explicit ImportDataSelectAccountPage(QWidget *parent = nullptr); 0015 ~ImportDataSelectAccountPage() override; 0016 0017 [[nodiscard]] QUrl zipFileUrl() const; 0018 0019 [[nodiscard]] bool validatePage() override; 0020 0021 [[nodiscard]] bool isComplete() const override; 0022 0023 private: 0024 [[nodiscard]] LIBRUQOLAWIDGETS_NO_EXPORT bool verifySelectedUrl() const; 0025 KUrlRequester *const mUrlRequester; 0026 };