summaryrefslogtreecommitdiff
path: root/src/webwindow/webwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow/webwindow.h')
-rw-r--r--src/webwindow/webwindow.h9
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();