Parent Directory | Revision Log
Restructured to multifile project
1 | torben | 501 | #include <QApplication> |
2 | torben | 506 | #include "MyWebView.h" |
3 | torben | 501 | |
4 | torben | 502 | |
5 | |||
6 | torben | 501 | int main(int argc, char** argv) { |
7 | QApplication app(argc,argv); | ||
8 | |||
9 | |||
10 | QWebSettings* settings = QWebSettings::globalSettings(); | ||
11 | settings->setAttribute( QWebSettings::JavascriptEnabled, true); | ||
12 | settings->setAttribute( QWebSettings::PluginsEnabled, true); | ||
13 | |||
14 | MyWebView web(0); | ||
15 | web.show(); | ||
16 | |||
17 | |||
18 | return app.exec(); | ||
19 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |