summaryrefslogtreecommitdiff
path: root/src/webpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-19 00:34:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-19 00:34:41 +0200
commit4338a19c4b1feb3136a4a61c22c495c036f5b5cf (patch)
treeb510b058b736f8291ef4cc5cdc511350b063a36e /src/webpage.h
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-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.h10
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