tazweb annotate 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 |
rev | line source |
---|---|
pankso@129 | 1 /* |
pankso@129 | 2 * TazWeb-Qt is a radically simple web browser providing a single window. |
pankso@129 | 3 * Commented line code starts with // and comments are between * * |
pankso@129 | 4 * |
pankso@129 | 5 * Copyright (C) 2011-2014 SliTaz GNU/Linux - BSD License |
pankso@129 | 6 * See AUTHORS and LICENSE for detailed information |
pankso@129 | 7 * |
pankso@129 | 8 */ |
pankso@129 | 9 #include <QtGui> |
pankso@129 | 10 #include <QtWebKit> |
pankso@129 | 11 |
pankso@129 | 12 int main(int argc, char** argv) |
pankso@129 | 13 { |
pankso@129 | 14 QApplication app(argc, argv); |
pankso@129 | 15 QWebView view; |
pankso@129 | 16 view.show(); |
pankso@129 | 17 //view.setUrl(QUrl("file:///usr/share/webhome/index.html")); |
pankso@129 | 18 view.load(QUrl("file:///usr/share/webhome/index.html")); |
pankso@129 | 19 return app.exec(); |
pankso@129 | 20 } |