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

Annotation of /infoscreen/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 511 - (hide annotations) (download)
Mon Dec 14 13:38:55 2009 UTC (14 years, 5 months ago) by torben
File size: 418 byte(s)
Work in progress, but phonon works :)
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 torben 511 app.setApplicationName("infoscreen");
10 torben 501
11    
12     QWebSettings* settings = QWebSettings::globalSettings();
13     settings->setAttribute( QWebSettings::JavascriptEnabled, true);
14     settings->setAttribute( QWebSettings::PluginsEnabled, true);
15    
16 torben 509 MainView main(0);
17     main.show();
18 torben 501
19    
20     return app.exec();
21     }

  ViewVC Help
Powered by ViewVC 1.1.20