Salome HOME
Feature #86: The hierarchy in the Object Browser (T 19).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Region.h
index c5b3ac7079600e75ec78a358f4802bdcb6066441..b9e705d2006b5691546278793d90705552549dfe 100644 (file)
@@ -30,6 +30,8 @@
 #include <QString>
 #include <QColor>
 
+class HYDROGUI_Zone;
+
 /**
  * \class HYDROGUI_Region
  * \brief Browser item presenting a zone, used for object browser tree creation.
@@ -50,11 +52,11 @@ public:
                    Handle(HYDROData_Region) theData,
                    const QString& theParentEntry );
 
-  bool isDropAccepted() const override { return true; }
+  bool isDropAccepted() const { return true; }
 
   /**
    * Add zones to the region. 
    */
-  void addZones();
+  bool addZones( const QList<HYDROGUI_Zone*>& theZonesList );
 };
 #endif