title: Is it possible to disconnect all slots from a signal in Qt5 QML?
body: <p>In QML it is impossible to call <code>.disconnect()</code> without arguments for a signal:</p>
  
  <pre><code>file:mainwindow.qml:107: Error: Function.prototype.disconnect: no arguments given
  </code></pre>
  
  <p>So how can I disconnect ALL slots without specifying each of them?
  Or maybe it is possible by passing signal object to <code>C++</code> and disconnect it somehow there?
  Or maybe any workaround exists?</p>
  
  <p>The goal I want to reach is to change behavior of an object by connecting different slots to it's signal. For example:</p>
  
  <pre><code>object.disconnect() // disconnect all slots
  object.connect(one_super_slot)
  object.disconnect() // disconnect all slots
  object.connect(another_super_slot)
  </code></pre>