7 |
|
|
8 |
class MyWebView : public QWebView |
class MyWebView : public QWebView |
9 |
{ |
{ |
10 |
Q_OBJECT |
Q_OBJECT |
11 |
public: |
public: |
12 |
MyWebView(QWidget* parent); |
MyWebView(QWidget* parent); |
13 |
|
|
14 |
void start(); |
void start(); |
15 |
|
|
16 |
void showError(const char* msg); |
void showError(const char* msg); |
17 |
|
|
18 |
QString generateUrl(); |
QString generateUrl(); |
19 |
public slots: |
public slots: |
20 |
void onChange(bool success); |
void onChange(bool success); |
21 |
void onTimer(); |
void onTimer(); |
22 |
}; |
}; |
23 |
|
|
24 |
#endif //MYWEBVIEW_H |
#endif //MYWEBVIEW_H |