summaryrefslogblamecommitdiffstats
path: root/webkitTest/webkittest.h
blob: 71369767f3f8a868985aeae4b9dfc975143711ee (plain) (tree)


























                                                                                        
#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