def METHOD_NAME(self, items):
    """Sets the listbox to a list of items."""
    self.listBox.clear()
    for item in items:
        self.listBox.addItem(item)
        self.itemChanged(item)
    self.changed.emit()