removed deprecaded functions

.

.
This commit is contained in:
mos
2024-02-20 17:25:29 +01:00
committed by Yorik van Havre
parent e1ca8c8cc0
commit a025af2d26
12 changed files with 1 additions and 89 deletions

View File

@@ -335,7 +335,6 @@ void ViewProviderViewPart::handleChangedPropertyType(Base::XMLReader &reader, co
bool ViewProviderViewPart::onDelete(const std::vector<std::string> & subNames)
{
// Base::Console().Message("VPVP::onDelete() - subs: %d\n", subNames.size());
// if a cosmetic subelement is in the list of selected subNames then we treat this
// as a delete of the subelement and not a delete of the DVP
std::vector<std::string> removables = getSelectedCosmetics(subNames);
@@ -367,7 +366,6 @@ bool ViewProviderViewPart::onDelete(const std::vector<std::string> & subNames)
bool ViewProviderViewPart::canDelete(App::DocumentObject *obj) const
{
// Base::Console().Message("VPVP::canDelete()\n");
// deletions of part objects (detail view, View etc.) are valid
// that it cannot be deleted if it has a child view is handled in the onDelete() function
Q_UNUSED(obj)
@@ -377,7 +375,6 @@ bool ViewProviderViewPart::canDelete(App::DocumentObject *obj) const
//! extract the names of cosmetic subelements from the list of all selected elements
std::vector<std::string> ViewProviderViewPart::getSelectedCosmetics(std::vector<std::string> subNames)
{
// Base::Console().Message("VPVP::getSelectedCosmetics(%d removables)\n", subNames.size());
std::vector<std::string> result;
// pick out any cosmetic vertices or edges in the selection
@@ -399,7 +396,6 @@ std::vector<std::string> ViewProviderViewPart::getSelectedCosmetics(std::vector<
//! delete cosmetic elements for a list of subelement names
void ViewProviderViewPart::deleteCosmeticElements(std::vector<std::string> removables)
{
// Base::Console().Message("VPVP::deleteCosmeticElements(%d removables)\n", removables.size());
for (auto& name : removables) {
if (DU::getGeomTypeFromName(name) == "Vertex") {
CosmeticVertex* vert = getViewObject()->getCosmeticVertexBySelection(name);
@@ -445,7 +441,6 @@ int ViewProviderViewPart::prefHighlightStyle()
// TODO: does this need to be implemented for Leaderlines and ???? others?
void ViewProviderViewPart::fixSceneDependencies()
{
// Base::Console().Message("VPVP::fixSceneDependencies()\n");
auto scene = getViewProviderPage()->getQGSPage();
auto partQView = getQView();