summaryrefslogtreecommitdiffstats
path: root/webkitTest/webkittest.h
diff options
context:
space:
mode:
authorNiklas Goby2011-01-11 17:12:03 +0100
committerNiklas Goby2011-01-11 17:12:03 +0100
commitde751b500e635ea4c102a7c9bde442a45667b264 (patch)
tree32c799051ae526018a79df877ef9a75017221ff5 /webkitTest/webkittest.h
parentinitial import (diff)
downloadfbgui-de751b500e635ea4c102a7c9bde442a45667b264.tar.gz
fbgui-de751b500e635ea4c102a7c9bde442a45667b264.tar.xz
fbgui-de751b500e635ea4c102a7c9bde442a45667b264.zip
der bisherige stand der dinge
Diffstat (limited to 'webkitTest/webkittest.h')
-rw-r--r--webkitTest/webkittest.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/webkitTest/webkittest.h b/webkitTest/webkittest.h
new file mode 100644
index 0000000..7136976
--- /dev/null
+++ b/webkitTest/webkittest.h
@@ -0,0 +1,27 @@
+#ifndef WEBKITTEST_H
+#define WEBKITTEST_H
+
+#include <QtGui/QWidget>
+#include "ui_webkittest.h"
+
+class webkitTest : public QWidget
+{
+ Q_OBJECT
+
+public:
+ webkitTest(QWidget *parent, QUrl & url);
+ ~webkitTest();
+ Q_INVOKABLE void writeText(QString text); //used for writing web content into a file
+ //void setQApplication(const QApplication & app);
+ void setUrl(QUrl & url);
+
+private:
+ Ui::webkitTestClass ui;
+ QApplication * app;
+ QUrl url;
+
+private slots:
+ void addJSObject();
+};
+
+#endif // WEBKITTEST_H