1 2 3 4 5 6 7 8 9 10
import QtQuick 2.0 DeprecatedFunctions { @Deprecated { reason: "No particular reason." } function deprecated(foobar) {} Component.onCompleted: { deprecated(); } }