Messagelib

localdatabasemanager.h
1 /*
2  SPDX-FileCopyrightText: 2016-2020 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef LOCALDATABASEMANAGER_H
8 #define LOCALDATABASEMANAGER_H
9 
10 #include <QObject>
11 #include "webengineviewer_export.h"
12 #include "createphishingurldatabasejob.h"
13 #include "searchfullhashjob.h"
14 #include <QUrl>
15 namespace WebEngineViewer {
16 class WebEngineView;
17 class LocalDataBaseManagerPrivate;
22 class WEBENGINEVIEWER_EXPORT LocalDataBaseManager : public QObject
23 {
24  Q_OBJECT
25 public:
26  explicit LocalDataBaseManager(QObject *parent = nullptr);
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 
43 #endif // LOCALDATABASEMANAGER_H
The LocalDataBaseManager class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 23:14:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.