goldendict-ng/weburlrequestinterceptor.h

17 lines
405 B
C
Raw Normal View History

2021-12-11 16:34:37 +00:00
#ifndef WEBURLREQUESTINTERCEPTOR_H
#define WEBURLREQUESTINTERCEPTOR_H
#include <QWebEngineUrlRequestInterceptor>
class WebUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
{
Q_OBJECT
public:
WebUrlRequestInterceptor(QObject *p);
2021-12-11 16:34:37 +00:00
void interceptRequest(QWebEngineUrlRequestInfo &info);
signals:
void linkClicked( const QUrl & url );
2021-12-11 16:34:37 +00:00
};
#endif // WEBURLREQUESTINTERCEPTOR_H