qtree.cpp