summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h
index 8e51dcda..bc445afe 100644
--- a/src/webwindow/webwindow.h
+++ b/src/webwindow/webwindow.h
@@ -31,8 +31,12 @@
// Rekonq Includes
#include "rekonq_defines.h"
+// KDE Includes
+// #include <KActionCollection>
+
// Qt Includes
#include <QWidget>
+#include <QAction>
// Forward Declarations
class WebPage;
@@ -63,6 +67,12 @@ public:
bool isLoading();
+ inline QAction *actionByName(const QString &name)
+ {
+ return new QAction(this);
+// FIXME return actionCollection()->action(name);
+ }
+
private:
void init();