Messagelib

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

KDE's Doxygen guidelines are available online.