12345678910111213141516171819202122232425262728 |
- #ifndef QSPEXECWEBENGINEURLSCHEMEHANDLER_H
- #define QSPEXECWEBENGINEURLSCHEMEHANDLER_H
- #include <QObject>
- #include <QUrl>
- #include <QWebEngineUrlRequestJob>
- #include <QWebEngineUrlSchemeHandler>
- class QspExecWebEngineUrlSchemeHandler : public QWebEngineUrlSchemeHandler
- {
- Q_OBJECT
- public:
- explicit QspExecWebEngineUrlSchemeHandler(QObject *parent = 0);
- void requestStarted(QWebEngineUrlRequestJob *request);
- signals:
- void qspLinkClicked(QUrl url);
- public slots:
- void QspLinkClicked();
- private:
- void legacyLinkClicked(QWebEngineUrlRequestJob *request);
- QUrl url;
- };
- #endif // QSPEXECWEBENGINEURLSCHEMEHANDLER_H
|