<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def prj_add_dep(self, *args, **kwargs):
 """Add more departments to the project. :returns: None :rtype: None :raises: None """

        if not self.cur_prj:
            return
        dialog = DepAdderDialog(project=self.cur_prj)
        dialog.exec_()
        deps = dialog.deps
        for dep in deps:
            depdata = djitemdata.DepartmentItemData(dep)
            treemodel.TreeItem(depdata, self.prj_dep_model.root)