def moved(object, oldParent, oldName, newParent, newName):
    """Send an :class:`~.IObjectMovedEvent` for ``object``.

        ``oldParent`` is the container ``object`` was removed from.
        ``oldName`` was the name used to store ``object`` in ``oldParent``.
        ``newParent`` is the container ``object`` was added to.
        ``newName`` is the name used to store ``object`` in ``newParent``.

        Note that ``newParent`` and ``oldParent`` may be the same if the names
        are different, and vice versa.

        """
