summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
commitfca022bc0c708f82871850eaab94839c37c2013f (patch)
tree5feffee3a6a645b08a7e03c0136a8523677d38aa /src/webview.h
parentInitial kdewebkit porting. STEP 1 DONE (diff)
downloadrekonq-fca022bc0c708f82871850eaab94839c37c2013f.tar.xz
no inline functions, as suggested
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/webview.h b/src/webview.h
index d2dc2bad..56693597 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -58,11 +58,10 @@ class WebView : public KWebView
public:
WebView(QWidget *parent = 0);
- // inline
- WebPage *webPage() const { return m_page; }
- KUrl url() const { return KUrl(QWebView::url()); }
- QString lastStatusBarText() const { return m_statusBarText; }
- int progress() const { return m_progress; }
+ WebPage *webPage() const;
+ KUrl url() const;
+ QString lastStatusBarText() const;
+ int progress() const;
public Q_SLOTS:
void load(const KUrl &url);
@@ -85,9 +84,9 @@ protected:
void keyPressEvent(QKeyEvent *event);
private slots:
- void setProgress(int progress) { m_progress = progress; }
+ void setProgress(int progress);
void loadFinished();
- void setStatusBarText(const QString &string) { m_statusBarText = string; }
+ void setStatusBarText(const QString &string);
void downloadRequested(const QNetworkRequest &request);
void openLinkInNewTab();