<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resolveFilenameConflicts(self):
 """Goes through list of DPs to make sure that their destination names do not clash. Adjust names as needed. Returns True if some conflicts were resolved. """

        taken_names = set()
        resolved = False
        # iterate through items
        for item, dp in self.getItemDPList():
            # only apply this to saved DPs
            if dp.policy not in ["remove", "ignore", "banish"]:
                name0 = str(item.text(self.ColRename))
                name = _makeUniqueFilename(taken_names, name0)
                if name != name0:
                    item.setText(self.ColRename, name)
                    resolved = True
                    self.emit(SIGNAL("updated"))
        return resolved