#ifndef MYWEBVIEW_H #define MYWEBVIEW_H #include class MyWebView : public QWebView { Q_OBJECT public: MyWebView(QWidget* parent); void start(QString url, QString screenid); void showError(const char* msg); QString generateUrl(QString url, QString screenid); }; #endif //MYWEBVIEW_H