From 94c00524d2e57bb0d83314340484a6177ace4733 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 5 Aug 2012 15:36:18 +0200 Subject: Clean up WebWindow ctor --- src/webwindow/webwindow.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/webwindow/webwindow.h') 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(); -- cgit v1.2.1