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

Diff of /infoscreen/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 506 by torben, Fri Dec 11 21:47:49 2009 UTC revision 511 by torben, Mon Dec 14 13:38:55 2009 UTC
# Line 1  Line 1 
1  #include <QApplication>  #include <QApplication>
2  #include "MyWebView.h"  #include <QtWebKit>
3    #include "MainView.h"
4    
5    
6    
7  int main(int argc, char** argv) {  int main(int argc, char** argv) {
8          QApplication app(argc,argv);          QApplication app(argc,argv);
9            app.setApplicationName("infoscreen");
10    
11    
12          QWebSettings* settings = QWebSettings::globalSettings();          QWebSettings* settings = QWebSettings::globalSettings();
13          settings->setAttribute( QWebSettings::JavascriptEnabled, true);          settings->setAttribute( QWebSettings::JavascriptEnabled, true);
14          settings->setAttribute( QWebSettings::PluginsEnabled, true);          settings->setAttribute( QWebSettings::PluginsEnabled, true);
15    
16          MyWebView web(0);          MainView main(0);
17          web.show();          main.show();
18                    
19    
20          return app.exec();          return app.exec();

Legend:
Removed from v.506  
changed lines
  Added in v.511

  ViewVC Help
Powered by ViewVC 1.1.20