aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/data/jsImports/PragmaModuleBm.qml
blob: f0389c173a32c7026522e9a3c2659e8ee06b6c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.0

import "pragmaModuleBm.js" as PragmaModuleBmJs

Item {
    id: testQtObject

    // value = 20 + (Qt.test.Enum3 == 2) + 9 + (nbr times shared testFunc has been called previously = 0) + 9 + (nbr times shared testFunc has been called previously = 1)
    property int importedScriptFunctionValue: PragmaModuleBmJs.testFuncThree(20)
}