diff options
author | David E. Narváez <david.narvaez@computer.org> | 2012-03-08 07:40:20 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2012-03-08 07:40:20 -0500 |
commit | 3aab58b17eec73d3a7134650ec059c31f51bd108 (patch) | |
tree | 5b4142a9405d01534edd566eeb440121889f6881 /src/application.h | |
parent | Don't show dots after "Save Link" text if we are not going to ask for (diff) | |
download | rekonq-3aab58b17eec73d3a7134650ec059c31f51bd108.tar.xz |
Include Tab History when Cloning a Tab
Implemented through a new loadUrl method that allows for the caller to
specify the QWebHistory pointer from where to copy the history.
Redirected the original loadUrl slot to use this new method internally.
The method returns the WebTab * just in case we need to maninpulate the
created tab in the future.
REVIEW: 104082
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h index 2689e3f5..5e078756 100644 --- a/src/application.h +++ b/src/application.h @@ -43,6 +43,7 @@ #include <QtCore/QDateTime> #include <QtCore/QWeakPointer> +class QWebHistory; // Forward Declarations class AdBlockManager; @@ -55,6 +56,7 @@ class OpenSearchManager; class SessionManager; class UserAgentManager; class SyncManager; +class WebTab; class KAction; @@ -104,6 +106,8 @@ public: { return _privateBrowsingAction; }; + + WebTab *loadUrl(const KUrl& url, QWebHistory *webHistory, const Rekonq::OpenType& type = Rekonq::CurrentTab); public Q_SLOTS: /** |