'Iterate over all descendants of node'

def iterchildren(self, node):

    for i in xrange(node.childCount()):
        child = node.child(i)
        (yield child)
        for gc in self.iterchildren(child):
            (yield gc)
