summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-04 11:52:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-04 11:52:12 +0200
commit16020654a30506582610564801aee3403fdefe6f (patch)
tree2a3be73ff0e813ab20cc7c6162757eee0d3b74f1 /src
parentwebview acceptNavigationRequest fixes (diff)
downloadrekonq-16020654a30506582610564801aee3403fdefe6f.tar.xz
inlines IN line...;)
Diffstat (limited to 'src')
-rw-r--r--src/webview.h30
1 files changed, 6 insertions, 24 deletions
diff --git a/src/webview.h b/src/webview.h
index 1d07beac..7ab7f994 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -95,22 +95,10 @@ public:
KActionCollection* webActions();
// 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 { return m_page; }
+ KUrl url() const { return KUrl(QWebView::url()); }
+ QString lastStatusBarText() const { return m_statusBarText; }
+ int progress() const { return m_progress; }
signals:
// switching tabs
@@ -130,15 +118,9 @@ protected:
void keyPressEvent(QKeyEvent *event);
private slots:
- void setProgress(int progress)
- {
- m_progress = progress;
- }
+ void setProgress(int progress) { m_progress = progress; }
void loadFinished();
- void setStatusBarText(const QString &string)
- {
- m_statusBarText = string;
- }
+ void setStatusBarText(const QString &string) { m_statusBarText = string; }
void downloadRequested(const QNetworkRequest &request);
void openLinkInNewTab();