summaryrefslogtreecommitdiffstats
path: root/examples/gestures/pannablewebview
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-06-29 06:33:41 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-29 06:33:41 (GMT)
commit6a8f5753a1b04e3678c387a52c8f4c2820ef1b2b (patch)
treeaaff2f6c05054eef97384af0ea4137d961478380 /examples/gestures/pannablewebview
parent2927c9466c96fbf12ecf73da333ae153ef217fb1 (diff)
downloadQt-6a8f5753a1b04e3678c387a52c8f4c2820ef1b2b.zip
Qt-6a8f5753a1b04e3678c387a52c8f4c2820ef1b2b.tar.gz
Qt-6a8f5753a1b04e3678c387a52c8f4c2820ef1b2b.tar.bz2
Fix old/missing license headers from multitouch+gestures merge.
Reviewed-by: Trust Me
Diffstat (limited to 'examples/gestures/pannablewebview')
-rw-r--r--examples/gestures/pannablewebview/main.cpp45
1 files changed, 43 insertions, 2 deletions
diff --git a/examples/gestures/pannablewebview/main.cpp b/examples/gestures/pannablewebview/main.cpp
index 7c74bbd..89c1fce 100644
--- a/examples/gestures/pannablewebview/main.cpp
+++ b/examples/gestures/pannablewebview/main.cpp
@@ -1,3 +1,44 @@
+/****************************************************************************
+**
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the examples of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the either Technology Preview License Agreement or the
+** Beta Release License Agreement.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain
+** additional rights. These rights are described in the Nokia Qt LGPL
+** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+** package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at http://www.qtsoftware.com/contact.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
#include <QtGui>
#include <QtWebKit>
@@ -38,12 +79,12 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
QGraphicsScene scene;
QGraphicsView w(&scene);
-
+
QWebView *wv = new PannableWebView;
wv->resize(480, 800);
wv->setUrl(QUrl("http://www.trolltech.com"));
scene.addWidget(wv);
w.show();
-
+
return app.exec();
}