Exemplo n.º 1
0
 def removeItems(self, tasks):
     super(TaskList, self).removeItems(tasks)
     for task in self._compositesAndAllChildren(tasks):
         for category in task.categories():
             category.removeCategorizable(task)
Exemplo n.º 2
0
 def extend(self, tasks):
     super(TaskList, self).extend(tasks)
     for task in self._compositesAndAllChildren(tasks):
         for category in task.categories():
             category.addCategorizable(task)