blob: 2e0e6f20e2ae543d6652f1e07d0e39f17b730a8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQml 2.0
import constants 1.0
QtObject {
function createClosure() {
return function() { return Sing.song; }
}
function createComponentFactory() {
return function(parentObj) {
return Qt.createQmlObject('import QtQml 2.0; QtObject { property string test: "ok"; }', parentObj);
}
}
}
|