*/
bool XGUI_EXPORT canRemoveOrRename(QWidget* theParent, const QObjectPtrList& aList);
+/*!
+ Returns true if theObject can be renamed in theName
+ */
+bool canRename(QWidget* theParent, const ObjectPtr& theObject, const QString& theName);
+
/*!
Returns true if there are no parts in the document, which are not activated
\return a boolean value
*/
void XGUI_EXPORT refsToFeatureInAllDocuments(const ObjectPtr& theSourceObject,
const ObjectPtr& theObject,
- std::set<FeaturePtr>& theRefFeatures);
+ std::set<FeaturePtr>& theDirectRefFeatures,
+ std::set<FeaturePtr>& theIndirectRefFeatures);
};
#endif