Salome HOME
Feature #86: The hierarchy in the Object Browser (T 19).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Zone.h
index 2b1f08fdd04b1563e2c2265b9b44a6754276be1e..ee25b8023e3f2c262c0d9052381a0565bdd9c435 100644 (file)
@@ -53,12 +53,17 @@ public:
   /**
    * Returns the text for the specified column.
    */
-  QString     text( const int = NameId ) const override;
+  QString     text( const int = NameId ) const;
 
   /**
    * Returns the color for the specified column.
    */
-  QColor      color( const ColorRole, const int = NameId ) const override;
+  QColor      color( const ColorRole theColorRole, const int theColumnId = NameId ) const;
+
+  /**
+   * Return true because zones are draggable.
+   */
+  bool        isDraggable() const { return true; }
 
   /**
    * Returns true if it is a zone which needs merge of bathymetries.