Salome HOME
Update for gcc4.1
[modules/geom.git] / src / OperationGUI / OperationGUI_ChamferDlg.h
index 1291337bce8ca55fdeb135f2f9101c052094dc5e..664e718be39f73add70b8690ea0279dfcf962149 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   : OperationGUI_ChamferDlg.h
 //  Author : Damien COQUERET
 //  Module : GEOM
-//  $Header$
 
 #ifndef DIALOGBOX_CHAMFER_H
 #define DIALOGBOX_CHAMFER_H
@@ -46,9 +45,8 @@ class OperationGUI_ChamferDlg : public GEOMBase_Skeleton
   enum { SpinBox1, SpinBox21, SpinBox22, SpinBox31, SpinBox32 };
 
 public:
-                                        OperationGUI_ChamferDlg( QWidget* parent,
-                                                                 SALOME_Selection* Sel );
-    virtual                             ~OperationGUI_ChamferDlg();
+  OperationGUI_ChamferDlg(GeometryGUI* theGeometryGUI, QWidget* parent);
+  virtual ~OperationGUI_ChamferDlg();
 
 protected:
     // redefined from GEOMBase_Helper
@@ -57,20 +55,17 @@ protected:
     virtual                             bool execute( ObjectList& objects );    
 
 private slots:
-
     void                                ClickOnOk();
     bool                                ClickOnApply();
     void                                ActivateThisDialog();
-    void                                DeactivateActiveDialog();
     void                                LineEditReturnPressed();
     void                                SelectionIntoArgument();
     void                                SetEditCurrentArgument();
     void                                ValueChangedInSpinBox( double newValue );
     void                                ConstructorsClicked( int constructorId );
 
-private :
-
-    void                                Init( SALOME_Selection* );
+private:
+    void                                Init();
     void                                enterEvent( QEvent* e );
     void                                reset();
     void                                createSelWg( const QString&, QPixmap&, QWidget*, const int );
@@ -79,7 +74,6 @@ private :
     void                                enableWidgets();
 
 private:
-
     int                                 myConstructorId;
 
     GEOM::GEOM_Object_var               myShape; 
@@ -96,4 +90,3 @@ private:
 };
 
 #endif // DIALOGBOX_CHAMFER_H
-