File indexing completed on 2024-11-17 04:40:43
0001 /* 0002 SPDX-FileCopyrightText: 2012-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 0011 namespace Ui 0012 { 0013 class ImportSettingPage; 0014 } 0015 0016 class ImportSettingPage : public QWidget 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit ImportSettingPage(QWidget *parent = nullptr); 0021 ~ImportSettingPage() override; 0022 void addImportInfo(const QString &log); 0023 void addImportError(const QString &log); 0024 void setImportButtonEnabled(bool enabled); 0025 0026 Q_SIGNALS: 0027 void importSettingsClicked(); 0028 0029 private: 0030 Ui::ImportSettingPage *const ui; 0031 };