diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-05 15:36:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:04 +0100 |
commit | 94c00524d2e57bb0d83314340484a6177ace4733 (patch) | |
tree | d51e75571eca034c0ee17009d831c16e41f68da7 /src/webwindow/webwindow.h | |
parent | Ensure Rekonq (tools) menu does not crash by using a Q(Weak)Pointer (diff) | |
download | rekonq-94c00524d2e57bb0d83314340484a6177ace4733.tar.xz |
Clean up WebWindow ctor
Diffstat (limited to 'src/webwindow/webwindow.h')
-rw-r--r-- | src/webwindow/webwindow.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h index 695c7393..a300f6f4 100644 --- a/src/webwindow/webwindow.h +++ b/src/webwindow/webwindow.h @@ -61,8 +61,7 @@ class WebWindow : public QWidget Q_OBJECT public: - WebWindow(QWidget *parent = 0); - WebWindow(WebPage *page, QWidget *parent = 0); + WebWindow(QWidget *parent = 0, WebPage *pg = 0); void load(const QUrl &); @@ -79,10 +78,8 @@ public: bool isLoading(); - inline QAction *actionByName(const QString &name) - { - return _ac->action(name); - } + virtual KActionCollection *actionCollection () const; + QAction *actionByName(const QString &name); private: void init(); |