[PD] remove deprecated holes

- as discussed in https://github.com/FreeCAD/FreeCAD/pull/7642 the backwards compatibility for deprecated holes was already lost since FC 0.19
- this PR removes the deprecated types and transform holes created with FC 0.19 or 0.20 to the corresponding countersinks/counterbores.

- also add Counterdrill for translations
This commit is contained in:
Uwe
2022-10-27 03:40:14 +02:00
parent 4e643dcec3
commit 978642d03e
2 changed files with 35 additions and 39 deletions

View File

@@ -46,9 +46,7 @@ namespace bp = boost::placeholders;
#if 0 // needed for Qt's lupdate utility
qApp->translate("PartDesignGui::TaskHoleParameters", "Counterbore");
qApp->translate("PartDesignGui::TaskHoleParameters", "Countersink");
qApp->translate("PartDesignGui::TaskHoleParameters", "Cheesehead (deprecated)");
qApp->translate("PartDesignGui::TaskHoleParameters", "Countersink socket screw (deprecated)");
qApp->translate("PartDesignGui::TaskHoleParameters", "Cap screw (deprecated)");
qApp->translate("PartDesignGui::TaskHoleParameters", "Counterdrill");
#endif
TaskHoleParameters::TaskHoleParameters(ViewProviderHole* HoleView, QWidget* parent)