File indexing completed on 2025-01-05 04:58:20
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #pragma once 0009 0010 #include "pimcommonakonadi_private_export.h" 0011 #include <QHash> 0012 #include <QStringList> 0013 namespace PimCommon 0014 { 0015 class PIMCOMMONAKONADI_TESTS_EXPORT BlackListBalooEmailUtil 0016 { 0017 public: 0018 BlackListBalooEmailUtil(); 0019 ~BlackListBalooEmailUtil(); 0020 void initialBlackList(const QStringList &blackList); 0021 void setNewBlackList(const QHash<QString, bool> &); 0022 [[nodiscard]] QStringList createNewBlackList(); 0023 0024 private: 0025 QStringList mInitialList; 0026 QHash<QString, bool> mNewBlackList; 0027 }; 0028 }