import QtQml 2.0 QtObject { function doThings() { console.log("things") } }