Hey,


how can I access instantiated objects from C++?

e.g.:

I have a .qml file:


Qt Code:
  1. MyItem {
  2. task: "doThis"
  3. // ...
  4. }
  5. MyItem {
  6. task: "doThat"
  7. // ...
  8. }
  9. // and further more
To copy to clipboard, switch view to plain text mode 

How can I now iterate through this file from a C++ application?
I'd like to check the 'task' property from each item.


thanks