def METHOD_NAME(self, area: QtCore.Qt.DockWidgetArea) -> None:
    """
    Adjust tab icons to always orient upward on dock area move.
    """
    if area == QtCore.Qt.LeftDockWidgetArea:
        tab_pos = QtWidgets.QTabWidget.East
    else:
        tab_pos = QtWidgets.QTabWidget.West
    self.tabs.setTabPosition(tab_pos)
    # Rotate tab icons so they are always oriented upward
    for tab_idx in range(self.tabs.count()):
        widget = self.tabs.widget(tab_idx)
        # Get previously stored, un-rotated, icon from widget
        icon = self._tab_icons.get(id(widget))
        if icon is not None:
            upright_icon = self._rotate_icon(icon, tab_pos)
            self.tabs.setTabIcon(tab_idx, upright_icon)