/[projects]/infoscreen/main.cpp
ViewVC logotype

Annotation of /infoscreen/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 506 - (hide annotations) (download)
Fri Dec 11 21:47:49 2009 UTC (14 years, 5 months ago) by torben
File size: 359 byte(s)
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