diff options
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 99a1a6d2..8d71ab5a 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -101,6 +101,7 @@ static bool domainSchemeMatch(const QUrl& u1, const QUrl& u2) WebPage::WebPage(QWidget *parent) : KWebPage(parent, KWalletIntegration) + , _networkAnalyzer(false) { // ----- handling unsupported content... setForwardUnsupportedContent(true); @@ -576,8 +577,6 @@ void WebPage::showSSLInfo(QPoint) } - - void WebPage::updateImage(bool ok) { if (ok) @@ -586,3 +585,15 @@ void WebPage::updateImage(bool ok) p.snapFinished(); } } + + +bool WebPage::hasNetworkAnalyzerEnabled() const +{ + return _networkAnalyzer; +} + + +void WebPage::enableNetworkAnalyzer(bool b) +{ + _networkAnalyzer = b; +} |