Make findObjectByName recursive and virtual
Review Request #103339 - Created Dec. 5, 2011 and submitted
That's needed for a asset load-on-demand system. Additionally, some changes on findGlobalItemByName.
extended the existing test
Even if you do not make a separate testGrandChildByName-like method, it would be nice you do not mix up all the QCOMPARE statements in a bunch by losing the logical flow. I would prefer having the child tests first, and when the compares are done, adding the grand childrens, and the relevant granchildren tests. It would be better separated, and thereby better readable. Also, it is very hard to read without spaces. You could probably use spaces between the logical units.