summaryrefslogtreecommitdiff
path: root/src/rekonqpage
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-15 03:29:48 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-16 00:59:32 +0100
commitaa9521b0e0f810a9ba94d7f6c7f9100c3f69d862 (patch)
tree57dd9649ba0b69f1fa385416c9af9d78587f2de9 /src/rekonqpage
parentfix spacing (diff)
downloadrekonq-aa9521b0e0f810a9ba94d7f6c7f9100c3f69d862.tar.xz
First form of protocol handling
Diffstat (limited to 'src/rekonqpage')
-rw-r--r--src/rekonqpage/newtabpage.cpp4
-rw-r--r--src/rekonqpage/newtabpage.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rekonqpage/newtabpage.cpp b/src/rekonqpage/newtabpage.cpp
index a1b20ac0..66f74b86 100644
--- a/src/rekonqpage/newtabpage.cpp
+++ b/src/rekonqpage/newtabpage.cpp
@@ -48,8 +48,8 @@
#include <QFile>
-NewTabPage::NewTabPage(WebPage *page)
- : m_root(page->mainFrame()->documentElement())
+NewTabPage::NewTabPage(QWebFrame *frame)
+ : m_root(frame->documentElement())
{
QString htmlFilePath = KStandardDirs::locate("data", "rekonq/htmls/home.html");
diff --git a/src/rekonqpage/newtabpage.h b/src/rekonqpage/newtabpage.h
index 62baf79e..003aa84e 100644
--- a/src/rekonqpage/newtabpage.h
+++ b/src/rekonqpage/newtabpage.h
@@ -47,7 +47,7 @@ class NewTabPage
{
public:
- NewTabPage(WebPage *page);
+ NewTabPage(QWebFrame *frame);
~NewTabPage();
/**