def METHOD_NAME(self):
    """
    Saves VMware preferences.
    """
    vmrun_path = self.uiVmrunPathLineEdit.text().strip()
    if vmrun_path and not self._checkVmrunPath(vmrun_path):
        return
    new_settings = {"vmrun_path": vmrun_path,
                    "vmnet_start_range": self.uiVMnetStartRangeSpinBox.value(),
                    "vmnet_end_range": self.uiVMnetEndRangeSpinBox.value(),
                    "block_host_traffic": self.uiBlockHostTrafficCheckBox.isChecked()}
    VMware.instance().setSettings(new_settings)