Salome HOME
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git] / src / HYDROPy / HYDROData_Entity.sip
index fda3ec35f600f2b261d308cce52eb00da927b7ba..c9b676672b057c24642281f4c541696d28fd7492 100644 (file)
@@ -222,7 +222,7 @@ public:
    * Returns father object. For object created under root document label
    * this method always return NULL object.
    */
-  HYDROData_Entity GetFatherObject() const [Handle_HYDROData_Entity ()];
+  HYDROData_Entity GetFatherObject() const [opencascade::handle<HYDROData_Entity> ()];
   %MethodCode
     Handle(HYDROData_Entity) aFather;
     
@@ -244,7 +244,7 @@ public:
   /**
    * Returns the z-level for object presentation, -1 if no z-level.
    */
-  virtual bool GetZLevel( int& theLevel ) const [Standard_Boolean ( Standard_Integer& )];
+  virtual bool GetZLevel( int& theLevel ) const [bool ( Standard_Integer& )];
 
   /**
    * Set the z-level for object presentation.
@@ -256,7 +256,8 @@ public:
    */
   virtual void RemoveZLevel();
 
-
+   void SetColor( const QColor& theColor, const int theTag = 0 );
+   
 protected:
 
   /**