Yea, there isn't anything in our API yet :-/, but this is one of many cool things that we will be including in the Quartz release. If you need this now, you will need to make a Q_INVOKABLE C++ method that exposes the functionality you need to QML.
-Luke