Salome HOME
#refs 522 (very draft) //import only
[modules/hydro.git] / src / HYDROData / HYDROData_Entity.h
index 9ed01046878eac2ffd860900722cf79b8a591f42..b4fd34b978b3e5bf045b6b95c4a2efd25ddc1546 100644 (file)
@@ -241,6 +241,20 @@ public:
   */
   void findPythonReferenceObject( MapOfTreatedObjects&            theTreatedObjects,
                                   QStringList&                    theScript ) const;
+
+  /**
+   * Internal method that used to store the color attribute
+   * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
+   * \param theColor color to save
+   */
+  HYDRODATA_EXPORT void SetColor( const QColor& theColor, const int theTag = 0 );
+
+  /**
+   * Internal method that used to retreive the color attribute
+   * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
+   * \param theDefColor default color to return if attribute has not been set before
+   */
+  HYDRODATA_EXPORT QColor GetColor( const QColor& theDefColor, const int theTag = 0 ) const;
  
 protected:
 
@@ -369,21 +383,7 @@ protected:
    * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
    */
   void ClearReferenceObjects( const int theTag = 0 );
-
-  /**
-   * Internal method that used to store the color attribute
-   * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
-   * \param theColor color to save
-   */
-  void SetColor( const QColor& theColor, const int theTag = 0 );
-
-  /**
-   * Internal method that used to retreive the color attribute
-   * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
-   * \param theDefColor default color to return if attribute has not been set before
-   */
-  QColor GetColor( const QColor& theDefColor, const int theTag = 0 ) const;
-   
+  
 protected:
 
   /**