mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +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
|