File indexing completed on 2024-11-24 04:39:36
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 ImportFilterPage; 0014 } 0015 0016 class ImportFilterPage : public QWidget 0017 { 0018 Q_OBJECT 0019 public: 0020 explicit ImportFilterPage(QWidget *parent = nullptr); 0021 ~ImportFilterPage() override; 0022 0023 void addImportInfo(const QString &log); 0024 void addImportError(const QString &log); 0025 void setImportButtonEnabled(bool enabled); 0026 0027 Q_SIGNALS: 0028 void importFiltersClicked(); 0029 0030 private: 0031 Ui::ImportFilterPage *const ui; 0032 };