spark-web-app-runtime/src/webengineurlrequestinterceptor.h
zty199 4dd7f7fcec feat: adapt to Qt6
adapt to Qt6

Log: adapt to Qt6; bump version to 1.7.1
2024-06-26 16:15:21 +08:00

16 lines
416 B
C++

#ifndef WEBENGINEURLREQUESTINTERCEPTOR_H
#define WEBENGINEURLREQUESTINTERCEPTOR_H
#include <QWebEngineUrlRequestInterceptor>
class WebEngineUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
{
Q_OBJECT
public:
explicit WebEngineUrlRequestInterceptor(QObject *parent = nullptr);
void interceptRequest(QWebEngineUrlRequestInfo &info) override;
};
#endif // WEBENGINEURLREQUESTINTERCEPTOR_H