adjust qobject tree