blob: b26522f3f058c92851070666ef60beedf08e1b36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//![0]
// MyItem.qml
import QtQuick
Item {
function myQmlFunction(msg: string) : string {
console.log("Got message:", msg)
return "some return value"
}
}
//![0]
|