mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 07:24:07 +00:00
20 lines
379 B
C
20 lines
379 B
C
|
#ifndef IFRAMESCHEMEHANDLER_H
|
||
|
#define IFRAMESCHEMEHANDLER_H
|
||
|
|
||
|
#include"article_netmgr.hh"
|
||
|
|
||
|
class IframeSchemeHandler : public QWebEngineUrlSchemeHandler
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
IframeSchemeHandler(QObject * parent=nullptr);
|
||
|
void requestStarted(QWebEngineUrlRequestJob *requestJob);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
private:
|
||
|
QNetworkAccessManager mgr;
|
||
|
};
|
||
|
|
||
|
#endif // IFRAMESCHEMEHANDLER_H
|