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

Annotation of /infoscreen/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 509 - (hide annotations) (download)
Sat Dec 12 18:59:28 2009 UTC (14 years, 5 months ago) by torben
File size: 379 byte(s)
Sync

1 torben 501 #include <QApplication>
2 torben 509 #include <QtWebKit>
3     #include "MainView.h"
4 torben 501
5 torben 502
6    
7 torben 501 int main(int argc, char** argv) {
8     QApplication app(argc,argv);
9    
10    
11     QWebSettings* settings = QWebSettings::globalSettings();
12     settings->setAttribute( QWebSettings::JavascriptEnabled, true);
13     settings->setAttribute( QWebSettings::PluginsEnabled, true);
14    
15 torben 509 MainView main(0);
16     main.show();
17 torben 501
18    
19     return app.exec();
20     }

  ViewVC Help
Powered by ViewVC 1.1.20