Salome HOME
Eliminate useless GetSubShape() lines in the python dump
[modules/geom.git] / src / BooleanGUI / BooleanGUI_Dialog.h
index c9ac5a5c2728ea7016b735a55354d4a6a8b8b8db..542658a51eb1e560fd7ea2b914523f2f0dc4e6e5 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // GEOM GEOMGUI : GUI for Geometry component
 // File   : BooleanGUI_Dialog.h
 // Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
@@ -26,7 +27,8 @@
 #ifndef BOOLEANGUI_DIALOG_H
 #define BOOLEANGUI_DIALOG_H
 
-#include <GEOMBase_Skeleton.h>
+#include "GEOMBase_Skeleton.h"
+#include "GEOM_GenericObjPtr.h"
 
 class DlgRef_2Sel;
 
@@ -40,7 +42,7 @@ class BooleanGUI_Dialog : public GEOMBase_Skeleton
 
 public:
   BooleanGUI_Dialog( const int, GeometryGUI*, QWidget* = 0,
-                    bool = false, Qt::WindowFlags = 0 );
+                     bool = false, Qt::WindowFlags = 0 );
   ~BooleanGUI_Dialog();
   
 protected:
@@ -57,8 +59,8 @@ private:
 private:
   int                                myOperation;
   
-  GEOM::GEOM_Object_var              myObject1;
-  GEOM::GEOM_Object_var              myObject2;
+  GEOM::GeomObjPtr                   myObject1;
+  GEOM::GeomObjPtr                   myObject2;
   
   DlgRef_2Sel*                       myGroup;
 
@@ -67,7 +69,6 @@ private slots:
   bool                               ClickOnApply();
   void                               SetEditCurrentArgument();
   void                               SelectionIntoArgument();
-  void                               LineEditReturnPressed();
   void                               ActivateThisDialog();
 };