Messagelib

localdatabasemanager.h
1 /*
2  SPDX-FileCopyrightText: 2016-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "createphishingurldatabasejob.h"
10 #include "searchfullhashjob.h"
11 #include "webengineviewer_export.h"
12 #include <QObject>
13 #include <QUrl>
14 namespace WebEngineViewer
15 {
16 class WebEngineView;
17 class LocalDataBaseManagerPrivate;
18 /**
19  * @brief The LocalDataBaseManager class
20  * @author Laurent Montel <[email protected]>
21  */
22 class WEBENGINEVIEWER_EXPORT LocalDataBaseManager : public QObject
23 {
24  Q_OBJECT
25 public:
26  explicit LocalDataBaseManager(QObject *parent = nullptr);
27  ~LocalDataBaseManager() override;
28 
29  void checkUrl(const QUrl &url);
30 
31  void initialize();
32 
33 Q_SIGNALS:
34  void checkUrlFinished(const QUrl &url, WebEngineViewer::CheckPhishingUrlUtil::UrlStatus status);
35 
36 protected:
37  explicit LocalDataBaseManager(LocalDataBaseManagerPrivate *impl, QObject *parent = nullptr);
38 
39  LocalDataBaseManagerPrivate *const d;
40 };
41 }
42 
The LocalDataBaseManager class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jan 15 2022 23:05:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.