goldendict-ng/src/weburlrequestinterceptor.hh
2023-04-17 17:56:55 -04:00

17 lines
405 B
C++

#ifndef WEBURLREQUESTINTERCEPTOR_H
#define WEBURLREQUESTINTERCEPTOR_H
#include <QWebEngineUrlRequestInterceptor>
class WebUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
{
Q_OBJECT
public:
WebUrlRequestInterceptor(QObject *p);
void interceptRequest(QWebEngineUrlRequestInfo &info);
signals:
void linkClicked( const QUrl & url );
};
#endif // WEBURLREQUESTINTERCEPTOR_H