summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-01 10:46:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit76af6dc385cb275da7af92933ec14c0177b229d6 (patch)
tree95658c2e0019f082a4aad695d2d14a9edfe49ba9 /src/webwindow
parentCopy webtab related files from rekonq repo (diff)
downloadrekonq-76af6dc385cb275da7af92933ec14c0177b229d6.tar.xz
Let WebView compile and work
WARNING: Not everything compiles yet...
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();