summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webview.h b/src/webview.h
index ab4d0a68..64994f83 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -93,7 +93,7 @@ public:
WebView(QWidget *parent = 0);
WebPage *webPage() const { return m_page; }
- KActionCollection* actionCollection() const { return m_webActionCollection; }
+ KActionCollection* webActions();
void loadUrl(const KUrl &url);
KUrl url() const;
@@ -126,8 +126,7 @@ private slots:
void openLinkInNewTab();
private:
- KActionCollection *m_webActionCollection;
- void fillWebActions();
+ static KActionCollection* s_webActionCollection;
WebPage *m_page;