File indexing completed on 2024-05-19 05:01:23

0001 /*
0002     This file is part of the KDE project.
0003 
0004     SPDX-FileCopyrightText: 2021 Anthony Fieroni <bvbfan@abv.bg>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-or-later
0007 */
0008 #ifndef WEBENGINEURLREQUESTINTERCEPTOR
0009 #define WEBENGINEURLREQUESTINTERCEPTOR
0010 
0011 #include <QWebEngineUrlRequestInfo>
0012 #include <QWebEngineUrlRequestInterceptor>
0013 
0014 class WebEngineUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
0015 {
0016 public:
0017     WebEngineUrlRequestInterceptor(QObject* parent = nullptr);
0018     void interceptRequest(QWebEngineUrlRequestInfo &info) override;
0019 };
0020 
0021 #endif // WEBENGINEURLREQUESTINTERCEPTOR