summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-05 05:53:31 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-05 05:53:31 (GMT)
commit3c937db1af251b51d1a6e2ae15a9bebb4dae9e0c (patch)
tree4cee1fb3a095e7688e19e74ec2a00b522ee30338 /tests/benchmarks/declarative
parent70cccfecd37bb67c47857dd469698e372c69038f (diff)
downloadQt-3c937db1af251b51d1a6e2ae15a9bebb4dae9e0c.zip
Qt-3c937db1af251b51d1a6e2ae15a9bebb4dae9e0c.tar.gz
Qt-3c937db1af251b51d1a6e2ae15a9bebb4dae9e0c.tar.bz2
Add license header.
Diffstat (limited to 'tests/benchmarks/declarative')
-rw-r--r--tests/benchmarks/declarative/painting/paintbenchmark.cpp42
1 files changed, 41 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/painting/paintbenchmark.cpp b/tests/benchmarks/declarative/painting/paintbenchmark.cpp
index 87854bd..d14150a 100644
--- a/tests/benchmarks/declarative/painting/paintbenchmark.cpp
+++ b/tests/benchmarks/declarative/painting/paintbenchmark.cpp
@@ -1,3 +1,43 @@
+/****************************************************************************
+**
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the QtDeclarative module 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 Technology Preview License Agreement accompanying
+** this package.
+**
+** 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.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
#include <QApplication>
#include <QPixmap>
@@ -14,7 +54,7 @@
#endif
int iterations = 20;
-const int count = 6;
+const int count = 600;
const int lines = 12;
const int spacing = 36;
QSizeF size(1000, 800);