import QtQuick 2.0 import Qt.test 1.0 MyQmlObject { function test1() { value = 4.2 } function test2() { value = 7.9 } }