CAM: apply precommit

This commit is contained in:
Adrian Insaurralde Avalos
2024-09-03 14:54:36 -04:00
parent 261ef09348
commit a17a3cf6d7
337 changed files with 26842 additions and 25585 deletions

View File

@@ -49,9 +49,10 @@ void ViewProviderPathCompound::unsetEdit(int ModNum)
Gui::Control().closeDialog();
}
std::vector<App::DocumentObject*> ViewProviderPathCompound::claimChildren()const
std::vector<App::DocumentObject*> ViewProviderPathCompound::claimChildren() const
{
return std::vector<App::DocumentObject*>(static_cast<Path::FeatureCompound *>(getObject())->Group.getValues());
return std::vector<App::DocumentObject*>(
static_cast<Path::FeatureCompound*>(getObject())->Group.getValues());
}
bool ViewProviderPathCompound::canDragObjects() const
@@ -61,7 +62,7 @@ bool ViewProviderPathCompound::canDragObjects() const
void ViewProviderPathCompound::dragObject(App::DocumentObject* obj)
{
static_cast<Path::FeatureCompound *>(getObject())->removeObject(obj);
static_cast<Path::FeatureCompound*>(getObject())->removeObject(obj);
}
bool ViewProviderPathCompound::canDropObjects() const
@@ -71,7 +72,7 @@ bool ViewProviderPathCompound::canDropObjects() const
void ViewProviderPathCompound::dropObject(App::DocumentObject* obj)
{
static_cast<Path::FeatureCompound *>(getObject())->addObject(obj);
static_cast<Path::FeatureCompound*>(getObject())->addObject(obj);
}
QIcon ViewProviderPathCompound::getIcon() const
@@ -81,11 +82,12 @@ QIcon ViewProviderPathCompound::getIcon() const
// Python object -----------------------------------------------------------------------
namespace Gui {
namespace Gui
{
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(PathGui::ViewProviderPathCompoundPython, PathGui::ViewProviderPathCompound)
/// @endcond
// explicit template instantiation
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderPathCompound>;
}
} // namespace Gui