Renamed createTreeWidgetItem to createTreeNode.