diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 00:05:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 00:05:16 +0200 |
commit | fca022bc0c708f82871850eaab94839c37c2013f (patch) | |
tree | 5feffee3a6a645b08a7e03c0136a8523677d38aa /src/webview.cpp | |
parent | Initial kdewebkit porting. STEP 1 DONE (diff) | |
download | rekonq-fca022bc0c708f82871850eaab94839c37c2013f.tar.xz |
no inline functions, as suggested
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index a635adb7..374a06a8 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -80,12 +80,48 @@ WebView::WebView(QWidget* parent) } +WebPage *WebView::webPage() const +{ + return m_page; +} + + +KUrl WebView::url() const +{ + return KUrl(QWebView::url()); +} + + +QString WebView::lastStatusBarText() const +{ + return m_statusBarText; +} + + +int WebView::progress() const +{ + return m_progress; +} + + void WebView::load(const KUrl &url) { QWebView::load(url); } +void WebView::setProgress(int progress) +{ + m_progress = progress; +} + + +void WebView::setStatusBarText(const QString &string) +{ + m_statusBarText = string; +} + + void WebView::contextMenuEvent(QContextMenuEvent *event) { QWebHitTestResult result = page()->mainFrame()->hitTestContent(event->pos()); |