title: How to access the QML object inside the Loader's sourceComponent?
body: <p>I may need to read or write to some of the properties of the <code>Loader</code>'s <code>sourceComponent</code> from some outside function.</p>
  
  <p>What is the way to access the property <code>x</code> of the object inside this <code>Loader</code>'s <code>sourceComponent</code>?</p>
  
  <pre><code> import QtQuick 2.0
  
   Item {
       width: 200; height: 200
  
       Loader {
           anchors.fill: parent
           sourceComponent: rect
       }
  
       Component {
           id: rect
           Rectangle 
           {
               width: 50
               height: 50
               color: "red"
               property int x
           }
       }
   }
  </code></pre>