jasmine-headless-webkit/ext/jasmine-webkit-specrunner/Page.h
2011-10-25 15:41:22 -04:00

18 lines
362 B
C++

#ifndef JHW_PAGE
#define JHW_PAGE
#include <QtGui>
#include <QtWebKit>
class Page: public QWebPage {
Q_OBJECT
public:
Page();
protected:
void javaScriptConsoleMessage(const QString & message, int lineNumber, const QString & sourceID);
signals:
void handleError(const QString & message, int lineNumber, const QString & sourceID);
};
#endif