File indexing completed on 2024-12-22 04:52:48
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "libimportwizard_export.h" 0010 #include <QString> 0011 class QWidget; 0012 0013 namespace MailImporter 0014 { 0015 class Filter; 0016 } 0017 0018 namespace LibImportWizard 0019 { 0020 class LIBIMPORTWIZARD_EXPORT AbstractDisplayInfo 0021 { 0022 public: 0023 AbstractDisplayInfo(); 0024 virtual ~AbstractDisplayInfo() = default; 0025 0026 virtual void calendarImportError(const QString &log); 0027 virtual void settingsImportError(const QString &log); 0028 virtual void addressbookImportError(const QString &log); 0029 virtual void filterImportError(const QString &log); 0030 0031 virtual void calendarImportInfo(const QString &log); 0032 virtual void settingsImportInfo(const QString &log); 0033 virtual void addressbookImportInfo(const QString &log); 0034 virtual void filterImportInfo(const QString &log); 0035 0036 virtual QWidget *parentWidget() const; 0037 virtual void initializeFilter(MailImporter::Filter &filter); 0038 }; 0039 }