From: adv Date: Tue, 24 Dec 2013 09:31:25 +0000 (+0000) Subject: Method renamed. X-Git-Tag: BR_hydro_v_0_7~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a0d1bd5ada886bccebb7f2f2dab9292551ab6a5;p=modules%2Fhydro.git Method renamed. --- diff --git a/src/HYDROData/HYDROData_Stream.cxx b/src/HYDROData/HYDROData_Stream.cxx index 47ca38fa..5c50dc56 100644 --- a/src/HYDROData/HYDROData_Stream.cxx +++ b/src/HYDROData/HYDROData_Stream.cxx @@ -144,7 +144,7 @@ Handle(Geom_BSplineCurve) HYDROData_Stream::buildInterpolationCurve( void HYDROData_Stream::Update() { updateProfilesOrder(); - updatePrs(); + UpdatePrs(); } QColor HYDROData_Stream::DefaultFillingColor() @@ -775,7 +775,7 @@ void HYDROData_Stream::removeParameter( const int& theIndex ) setParametersArray( aNewArr ); } -void HYDROData_Stream::updatePrs() +void HYDROData_Stream::UpdatePrs() { HYDROData_NaturalObject::Update(); diff --git a/src/HYDROData/HYDROData_Stream.h b/src/HYDROData/HYDROData_Stream.h index 231bf6c3..0b57d707 100644 --- a/src/HYDROData/HYDROData_Stream.h +++ b/src/HYDROData/HYDROData_Stream.h @@ -66,7 +66,7 @@ public: /** * Update the shape presentations of stream. */ - HYDRODATA_EXPORT virtual void updatePrs(); + HYDRODATA_EXPORT virtual void UpdatePrs(); /** * Returns default filling color for new stream. diff --git a/src/HYDROGUI/HYDROGUI_StreamOp.cxx b/src/HYDROGUI/HYDROGUI_StreamOp.cxx index 5f45d48e..06f07cfc 100755 --- a/src/HYDROGUI/HYDROGUI_StreamOp.cxx +++ b/src/HYDROGUI/HYDROGUI_StreamOp.cxx @@ -309,7 +309,7 @@ void HYDROGUI_StreamOp::onAddProfiles() Handle(HYDROData_Profile)::DownCast( aVerifiedProfiles.Value( i ) ); myEditedObject->AddProfile( aProfile ); } - myEditedObject->updatePrs(); + myEditedObject->UpdatePrs(); // Update the panel updatePanelData(); @@ -349,7 +349,7 @@ void HYDROGUI_StreamOp::onRemoveProfiles( const QStringList& theProfilesToRemove if ( isRemoved ) { // Update the edited stream object - myEditedObject->updatePrs(); + myEditedObject->UpdatePrs(); // Update the panel updatePanelData(); @@ -416,7 +416,7 @@ void HYDROGUI_StreamOp::onAxisChanged( const QString& theNewAxis ) } else { // Set axis myEditedObject->SetHydraulicAxis( anAxis ); - myEditedObject->updatePrs(); + myEditedObject->UpdatePrs(); // Update the panel updatePanelData();