From 4338a19c4b1feb3136a4a61c22c495c036f5b5cf Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 19 May 2010 00:34:41 +0200 Subject: This patch is based on Cedric's idea about fixing history with error pages and use it to fix back/forward buttons also on kparts and so on :) --- src/webpage.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/webpage.h') diff --git a/src/webpage.h b/src/webpage.h index 74695f35..9b2243bc 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -60,9 +60,12 @@ public: explicit WebPage(QWidget *parent = 0); ~WebPage(); - bool hasNetworkAnalyzerEnabled() const; - void enableNetworkAnalyzer(bool); - + inline bool hasNetworkAnalyzerEnabled() const { return _networkAnalyzer; }; + inline void enableNetworkAnalyzer(bool b) { _networkAnalyzer = b; }; + + inline bool isOnRekonqPage() const { return _isOnRekonqPage; }; + inline void setIsOnRekonqPage(bool b) { _isOnRekonqPage = b; }; + public slots: virtual void downloadRequest(const QNetworkRequest &request); void downloadAllContentsWithKGet(QPoint); @@ -89,6 +92,7 @@ private: WebSslInfo _sslInfo; bool _networkAnalyzer; + bool _isOnRekonqPage; }; #endif -- cgit v1.2.1