Messagelib

localdatabasemanager.h
1/*
2 SPDX-FileCopyrightText: 2016-2025 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{
24public:
25 explicit LocalDataBaseManager(QObject *parent = nullptr);
26 ~LocalDataBaseManager() override;
27
28 void checkUrl(const QUrl &url);
29
30 void initialize();
31
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 WebEngineView class.
Q_SCRIPTABLE CaptureState status()
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:50:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.