Salome HOME
Base implementation of dumping study document in to Python script (Feature #14).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DataModel.h
index 9b08ac8d6deb7469ec39ce8ca3b4d0fb6b5d5c72..a0e597647d9a4d902bb3a16932f669e6c6e069d9 100644 (file)
@@ -140,7 +140,7 @@ public:
    * Find a data object by the specified entry and kind
    */
   Handle(HYDROData_Object) objectByEntry( const QString& theEntry,
-                                          const ObjectKind theObjectKind );
+                                          const ObjectKind theObjectKind = KIND_UNKNOWN );
 
   /**
    * Check if it is possible to perform 'undo' operation
@@ -194,7 +194,8 @@ protected:
    * \param theObject model object
    */
   LightApp_DataObject* createObject( SUIT_DataObject* theParent,
-                                     Handle(HYDROData_Object) theModelObject );
+                                     Handle(HYDROData_Object) theModelObject,
+                                     const QString& theParentEntry = QString() );
 
   /**
    * Creates the GUI data object without corresponding model object: just by name