1 2 3 4 5 6 7 8 9
import QtQuick 2.0 Item { Component.onCompleted: { var testVar = variantObject.getIndex() variantObject.selection(testVar, 1) } }