tazweb view src/main.cpp @ rev 160

Tiny edits zh_CN.po (thanks rhsky)
author Paul Issott <paul@slitaz.org>
date Wed Jul 16 20:44:42 2014 +0100 (2014-07-16)
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 }