summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-15 22:52:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-15 22:52:46 +0200
commitf7cabde3b757d606b4546080946ced207851bf0d (patch)
tree63489155e2889c508913d47958bdb14b416ab305 /src/webview.cpp
parentrekonq 0.1.8: closing to 0.2 release (diff)
downloadrekonq-f7cabde3b757d606b4546080946ced207851bf0d.tar.xz
Going back to simpler QtWebKit.
Seems more fast and stable, for now..
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index f0aa6641..114a1be4 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -65,11 +65,12 @@
WebView::WebView(QWidget* parent)
- : KWebView(parent)
+ : QWebView(parent)
, m_page(new WebPage(this))
, m_progress(0)
{
setPage(m_page);
+
connect(page(), SIGNAL(statusBarMessage(const QString&)), this, SLOT(setStatusBarText(const QString&)));
connect(this, SIGNAL(loadProgress(int)), this, SLOT(setProgress(int)));
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished()));
@@ -78,10 +79,10 @@ WebView::WebView(QWidget* parent)
}
-void WebView::setNewPage()
-{
- setPage(new WebPage(this));
-}
+// void WebView::setNewPage()
+// {
+// setPage(new WebPage(this));
+// }
KUrl WebView::url() const
@@ -102,10 +103,10 @@ int WebView::progress() const
}
-void WebView::load(const KUrl &url)
-{
- QWebView::load(url);
-}
+// void WebView::load(const KUrl &url)
+// {
+// QWebView::load(url);
+// }
void WebView::setProgress(int progress)