James Bowlin wrote: > My understanding is that the foreach() construct above is simply a C++ > (or QT?) shorthand for explicit iteration. I repeat the drawing loop here > with the iterations expanded out: > Yes, foreach(T item, Container<T> list) is a new Qt-4.x shortcut.