title: How to notify QML item that its property has changed?
body: <p>I've got a QObject that wraps another plain object:</p>
  
  <pre><code>#include "qmlnote.h"
  
  QString QmlNote::title() const {
      return note_.title();
  }
  
  void QmlNote::reload(const Note &amp;note) {
      note_ = note;
  }
  </code></pre>
  
  <p>which I load in QML using this:</p>
  
  <pre><code>ctxt-&gt;setContextProperty("note", &amp;qmlNote);
  </code></pre>
  
  <p>and later on I make it wrap a different note:</p>
  
  <pre><code>qmlNote.reload(newNote);
  </code></pre>
  
  <p>Then in QML, I want to do something when this note change:</p>
  
  <pre><code>import QtQuick 2.0
  import QtQuick.Controls 2.0
  import QtQuick.Layouts 1.1
  
  Item {
  
      property QtObject note
  
      onNoteChanged: {
          console.info(note.title)
      }
  
  }
  </code></pre>
  
  <p>I would like <code>onModelChanged()</code> to be triggered whenever I call <code>reload()</code> however it's not happening. I guess I would need to emit some signals from somewhere to notify the QML view that the note has changed, but not sure where. I thought I could emit a signal from <code>reload()</code> but it seems <code>QObject</code> doesn't have a built-in <code>changed</code> signal.</p>
  
  <p>Any suggestion on how to handle this?</p>