diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 00:34:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 00:34:41 +0200 |
commit | 4338a19c4b1feb3136a4a61c22c495c036f5b5cf (patch) | |
tree | b510b058b736f8291ef4cc5cdc511350b063a36e /src/webpage.h | |
parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
download | rekonq-4338a19c4b1feb3136a4a61c22c495c036f5b5cf.tar.xz |
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
:)
Diffstat (limited to 'src/webpage.h')
-rw-r--r-- | src/webpage.h | 10 |
1 files changed, 7 insertions, 3 deletions
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 |