Salome HOME
Porting on OCCT 7.0 and Qt 5. Make compilable version.
[modules/hydro.git] / src / HYDROData / HYDROData_Digue.h
index 7fe2cba016881404ea4442cd245a358c07810b4c..f05e03fa9551277eb778b6b6212b8de2938815a1 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -25,8 +21,6 @@
 
 #include "HYDROData_Channel.h"
 
-DEFINE_STANDARD_HANDLE(HYDROData_Digue, HYDROData_Channel)
-
 /**\class HYDROData_Digue
  * \brief 
  *
@@ -43,7 +37,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_Digue);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_Digue, HYDROData_Channel);
 
   /**
    * Returns the kind of this object. Must be redefined in all objects of known type.
@@ -53,24 +47,12 @@ public:
   /**
    * Returns default filling color for new digue.
    */
-  HYDRODATA_EXPORT static QColor DefaultFillingColor();
+  HYDRODATA_EXPORT virtual QColor DefaultFillingColor() const;
 
   /**
    * Returns default border color for new digue.
    */
-  HYDRODATA_EXPORT static QColor DefaultBorderColor();
-
-protected:
-
-  /**
-   * Returns default filling color for new object.
-   */
-  HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
-
-  /**
-   * Returns default border color for new object.
-   */
-  HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
+  HYDRODATA_EXPORT virtual QColor DefaultBorderColor() const;
 
 protected: