Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the names of Regions and Zones if case name changed (Bug #110).
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_CalculationCase.h
diff --git
a/src/HYDROData/HYDROData_CalculationCase.h
b/src/HYDROData/HYDROData_CalculationCase.h
index 2b471335d3fb53c54cc81095c3e9a4df4cbda543..1b6d4bfbeef34bac283ea1d3cf381bb8dd3cb0a3 100644
(file)
--- a/
src/HYDROData/HYDROData_CalculationCase.h
+++ b/
src/HYDROData/HYDROData_CalculationCase.h
@@
-45,6
+45,11
@@
public:
*/
HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_CALCULATION; }
*/
HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_CALCULATION; }
+ /**
+ * Updates the name of this object.
+ * Reimplemented to update the names of regions and zones.
+ */
+ HYDRODATA_EXPORT virtual void SetName( const QString& theName );
/**
* Dump Calculation object to Python script representation.
/**
* Dump Calculation object to Python script representation.