mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
18 lines
417 B
C
18 lines
417 B
C
|
#ifndef WEBURLREQUESTINTERCEPTOR_H
|
||
|
#define WEBURLREQUESTINTERCEPTOR_H
|
||
|
|
||
|
#include <QWebEngineUrlRequestInterceptor>
|
||
|
|
||
|
class WebUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
WebUrlRequestInterceptor(QObject *p = Q_NULLPTR);
|
||
|
void interceptRequest(QWebEngineUrlRequestInfo &info);
|
||
|
signals:
|
||
|
void linkClicked(const QUrl& url) ;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // WEBURLREQUESTINTERCEPTOR_H
|