tazweb view src/main.cpp @ rev 146

Added tag 1.8.1 for changeset 18c3215e0c37
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 06 17:01:46 2014 +0200 (2014-04-06)
parents
children f788dbf4844e
line source
1 /*
2 * TazWeb-Qt is a radically simple web browser providing a single window.
3 * Commented line code starts with // and comments are between * *
4 *
5 * Copyright (C) 2011-2014 SliTaz GNU/Linux - BSD License
6 * See AUTHORS and LICENSE for detailed information
7 *
8 */
9 #include <QtGui>
10 #include <QtWebKit>
12 int main(int argc, char** argv)
13 {
14 QApplication app(argc, argv);
15 QWebView view;
16 view.show();
17 //view.setUrl(QUrl("file:///usr/share/webhome/index.html"));
18 view.load(QUrl("file:///usr/share/webhome/index.html"));
19 return app.exec();
20 }