title: QTimer::singleShot equivalent for QML
body: <p>Consider this C++ statement (example <a href="http://doc.qt.io/qt-5/qtimer.html#singleShot">from docs</a>):</p>
  
  <pre><code>QTimer::singleShot(600000, &amp;app, SLOT(quit()));
  </code></pre>
  
  <p>How to do the same in .qml JavaScript, something like this QML:</p>
  
  <pre><code>Rectangle {
      property int counter: 0
      onCounterChanged: {
          if (counter &gt; 42) {
              // do equivalent of above C++ statement here
          }
      }
      // more code, which actually manipulates counter 
  }
  </code></pre>
  
  <p>There's the obvious solution of having separate <code>Timer</code>, which is then started by this JavaScript code, and I'll accept that as an answer if a one-liner is not possible. Is it?</p>