Salome HOME
Fix error with GetExistingSubObjects
[modules/geom.git] / src / PrimitiveGUI / PrimitiveGUI_TorusDlg.h
index 9a190dc9516499c3de9401cdd5674fd875511b13..1cd406a5c7707fc7b83e11d41b3a65d0522fdb23 100644 (file)
@@ -27,7 +27,8 @@
 #ifndef PRIMITIVEGUI_TORUSDLG_H
 #define PRIMITIVEGUI_TORUSDLG_H
 
-#include <GEOMBase_Skeleton.h>
+#include "GEOMBase_Skeleton.h"
+#include "GEOM_GenericObjPtr.h"
 
 class DlgRef_2Sel2Spin;
 class DlgRef_2Spin;
@@ -58,11 +59,8 @@ private:
   double                             getRadius2() const;
   
 private:
-  GEOM::GEOM_Object_var              myPoint, myDir;
+  GEOM::GeomObjPtr                   myPoint, myDir;
 
-  // to initialize the first selection field with a selected object on the dialog creation
-  bool                               myInitial;
-  
   DlgRef_2Sel2Spin*                  GroupPoints;
   DlgRef_2Spin*                      GroupDimensions;
   
@@ -70,7 +68,6 @@ private slots:
   void                               ClickOnOk();
   bool                               ClickOnApply();
   void                               ActivateThisDialog();
-  void                               LineEditReturnPressed();
   void                               SelectionIntoArgument();
   void                               SetEditCurrentArgument();
   void                               ConstructorsClicked( int );