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

Contents of /infoscreen/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 506 - (show 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 #include <QApplication>
2 #include "MyWebView.h"
3
4
5
6 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