Salome HOME
lots 3,8 - corrections
[modules/hydro.git] / src / HYDROData / HYDROData_IPolyline.h
index cd306e979b759de8abb4741fed1f5174cb2db9c8..c8916d4cc9ea78492e96c740c730dc816361d01a 100644 (file)
@@ -191,9 +191,10 @@ public:
   HYDRODATA_EXPORT TopoDS_Shape GetShape() const;
   HYDRODATA_EXPORT void SetShape( const TopoDS_Shape& theShape );
 
-  HYDRODATA_EXPORT void getSectionColor( const int                  theSectionIndex,
-                        QColor&            theColor,
-                        const bool                 theIsCreate = true ) const;
+  HYDRODATA_EXPORT void setSectionColor( const int theSectionIndex,
+                                         const QColor& theColor ) const;
+
+  HYDRODATA_EXPORT bool getSectionColor( const int theSectionIndex, QColor &theColor) const;
 
   HYDRODATA_EXPORT void removeSectionColor( const int theSectionIndex = -1 ) const;