summaryrefslogtreecommitdiffstats
path: root/Tools/QtTestBrowser/webpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/QtTestBrowser/webpage.h')
-rw-r--r--Tools/QtTestBrowser/webpage.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/QtTestBrowser/webpage.h b/Tools/QtTestBrowser/webpage.h
index 959318018..1a6ef2e38 100644
--- a/Tools/QtTestBrowser/webpage.h
+++ b/Tools/QtTestBrowser/webpage.h
@@ -42,17 +42,17 @@ class WebPage : public QWebPage {
public:
WebPage(QObject* parent = 0);
- virtual QWebPage* createWindow(QWebPage::WebWindowType);
- virtual QObject* createPlugin(const QString&, const QUrl&, const QStringList&, const QStringList&);
- virtual bool supportsExtension(QWebPage::Extension) const;
- virtual bool extension(Extension, const ExtensionOption*, ExtensionReturn*);
+ QWebPage* createWindow(QWebPage::WebWindowType) override;
+ QObject* createPlugin(const QString&, const QUrl&, const QStringList&, const QStringList&) override;
+ bool supportsExtension(QWebPage::Extension) const override;
+ bool extension(Extension, const ExtensionOption*, ExtensionReturn*) override;
- virtual bool acceptNavigationRequest(QWebFrame*, const QNetworkRequest&, NavigationType);
+ bool acceptNavigationRequest(QWebFrame*, const QNetworkRequest&, NavigationType) override;
- QString userAgentForUrl(const QUrl&) const;
+ QString userAgentForUrl(const QUrl&) const override;
void setInterruptingJavaScriptEnabled(bool enabled) { m_interruptingJavaScriptEnabled = enabled; }
- virtual bool shouldInterruptJavaScript();
+ bool shouldInterruptJavaScript() override;
void javaScriptConsoleMessage(const QString &message, int lineNumber, const QString &sourceID) override;