Salome HOME
SMH: 3.0.0 preparation - merged and adopted version (POLYWORK+HEAD)
[modules/visu.git] / src / VISUGUI / VisuGUI_EditContainerDlg.h
index de66d29c87fa883c917baf0c1d89822ffea69a7b..19c44d8c644c60a4bf0fb136f2f9e846ffe2b803 100644 (file)
 #include <qvaluevector.h>
 #include <qtoolbutton.h>
 
-
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(SALOMEDS)
 
 
-namespace VISU{
+class SALOMEDSClient_SObject;
+
+namespace VISU {
   class Container_i;
 }
 
@@ -38,11 +39,11 @@ class VisuGUI_EditContainerDlg: public QDialog
     Q_OBJECT
 
 public:
-    VisuGUI_EditContainerDlg();
+    VisuGUI_EditContainerDlg (QWidget* parent, bool theIsModal = true);
     ~VisuGUI_EditContainerDlg() {};
 
-    void initFromPrsObject(VISU::Container_i* theContainer);
-    void storeToPrsObject(VISU::Container_i* theContainer);
+    void initFromPrsObject (VISU::Container_i* theContainer);
+    void storeToPrsObject  (VISU::Container_i* theContainer);
 
 private slots:
   void onLeftClicked();
@@ -51,7 +52,8 @@ private slots:
   void onRightSelected();
 
 private:
-    QString getSObjectName(SALOMEDS::SObject_var theSObject);
+    //QString getSObjectName (_PTR(SObject) theSObject);
+    QString getSObjectName (SALOMEDS::SObject_ptr theSObject);
 
     QListView* myStudyLst;
     QListView* myContainerLst;
@@ -59,6 +61,4 @@ private:
     QToolButton* myRightBtn;
 };
 
-
 #endif // VISUGUI_EDITCONTAINER_H
-