Salome HOME
Porting to Qt4.
[modules/geom.git] / src / PrimitiveGUI / PrimitiveGUI_TorusDlg.h
index b61b0e2896a1ad5e941be3e2e32d7a2ec4f7aaf7..c386679b72c98a5ba471a0012fbd3d836541181b 100644 (file)
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  File   : PrimitiveGUI_TorusDlg.h
 //  Author : Lucien PIGNOLONI
 //  Module : GEOM
-//  $Header$
 
 #ifndef DIALOGBOX_TORUS_H
 #define DIALOGBOX_TORUS_H
 
 #include "GEOMBase_Skeleton.h"
-#include "DlgRef_2Sel2Spin.h"
-#include "DlgRef_2Spin.h"
+
+class DlgRef_2Sel2Spin;
+class DlgRef_2Spin;
 
 
 //=================================================================================
@@ -43,7 +43,8 @@ class PrimitiveGUI_TorusDlg : public GEOMBase_Skeleton
     Q_OBJECT
 
 public:
-    PrimitiveGUI_TorusDlg(QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0);
+    PrimitiveGUI_TorusDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+                         const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
     ~PrimitiveGUI_TorusDlg();
 
 protected:
@@ -53,18 +54,18 @@ protected:
     virtual bool execute( ObjectList& objects );
 
     virtual void closeEvent( QCloseEvent* e );
-    
+
 private:
     void Init();
     void enterEvent(QEvent* e);
     double getRadius1() const;
     double getRadius2() const;
-    
+
     GEOM::GEOM_Object_var myPoint, myDir;
-    
+
     DlgRef_2Sel2Spin* GroupPoints;
     DlgRef_2Spin* GroupDimensions;
-    
+
     private slots:
     void ClickOnOk();
     bool ClickOnApply();
@@ -76,7 +77,6 @@ private:
     void SetEditCurrentArgument();
     void ConstructorsClicked(int);
     void ValueChangedInSpinBox();
-
 };
 
 #endif // DIALOGBOX_TORUS_H