diff options
Diffstat (limited to 'src/webpage.h')
-rw-r--r-- | src/webpage.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/webpage.h b/src/webpage.h index 86024a9d..0d9868b9 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -60,22 +60,9 @@ protected: virtual bool acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type); + + virtual QString userAgentForUrl(const QUrl& url) const; - void javaScriptAlert(QWebFrame *frame, - const QString &msg); - - bool javaScriptConfirm(QWebFrame *frame, - const QString &msg); - - bool javaScriptPrompt(QWebFrame *frame, - const QString &msg, - const QString &defaultValue, QString *result); - - QObject *createPlugin(const QString &classId, - const QUrl &url, - const QStringList ¶mNames, - const QStringList ¶mValues); - protected Q_SLOTS: virtual void slotHandleUnsupportedContent(QNetworkReply *reply); virtual void slotDownloadRequested(const QNetworkRequest &request); |