diff options
| -rw-r--r-- | src/webview.h | 30 | 
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(); | 
