From de751b500e635ea4c102a7c9bde442a45667b264 Mon Sep 17 00:00:00 2001 From: Niklas Goby Date: Tue, 11 Jan 2011 17:12:03 +0100 Subject: der bisherige stand der dinge --- webkitTest/webkittest.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 webkitTest/webkittest.h (limited to 'webkitTest/webkittest.h') 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 +#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 -- cgit v1.2.3-55-g7522