/[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 899 by torben, Thu Jun 24 19:06:43 2010 UTC
# Line 1  Line 1 
1  #include <QApplication>  #include <QApplication>
2  #include "MyWebView.h"  #include "mainview.h"
3    
4    
5    
6  int main(int argc, char** argv) {  int main(int argc, char** argv) {
7          QApplication app(argc,argv);          QApplication app(argc,argv);
8            app.setApplicationName("infoscreen");
9    
10            MainView main(0);
11          QWebSettings* settings = QWebSettings::globalSettings();          main.show();
         settings->setAttribute( QWebSettings::JavascriptEnabled, true);  
         settings->setAttribute( QWebSettings::PluginsEnabled, true);  
   
         MyWebView web(0);  
         web.show();  
12                    
   
13          return app.exec();          return app.exec();
14  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.20