Messagelib

scamdetectionwhitelistsettingsmanager.h
1 /*
2  SPDX-FileCopyrightText: 2021-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 
6 */
7 
8 #pragma once
9 
10 #include "messageviewer_export.h"
11 #include "scamdetectioninfo.h"
12 #include <QObject>
13 #include <QVector>
14 namespace MessageViewer
15 {
16 class ScamDetectionInfo;
17 class MESSAGEVIEWER_EXPORT ScamDetectionWhiteListSettingsManager : public QObject
18 {
19  Q_OBJECT
20 public:
21  explicit ScamDetectionWhiteListSettingsManager(QObject *parent = nullptr);
22  ~ScamDetectionWhiteListSettingsManager() override;
23  static ScamDetectionWhiteListSettingsManager *self();
24 
25 private:
26  void loadSettings();
27  void writeSettings();
28  QVector<ScamDetectionInfo> mScamDetectionInfoList;
29 };
30 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat May 21 2022 03:53:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.