Salome HOME
Minor change.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.h
index 28667125ae145d5422d481d5cb0bcd7d0474130d..614960dfecb719eeae3c0bc93ac8cc77b5b8c3d7 100755 (executable)
@@ -28,7 +28,6 @@
 #include <HYDROData_Polyline.h>
 
 class OCCViewer_ViewManager;
-class SUIT_ViewManager;
 class CurveCreator_Curve;
 class HYDROGUI_AISCurve;
 
@@ -49,20 +48,15 @@ protected:
 
   virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
 
-  void                       onCreatePreview();
-
 protected slots:
   void                       onEditorSelectionChanged();
 
-  void                       onLastViewClosed( SUIT_ViewManager* );
-
 private:
-  void                       closePreview();
+  void                       displayPreview();
+  void                       erasePreview();
 
 private:
-  SUIT_ViewManager*          myActiveViewManager;
-
-  OCCViewer_ViewManager*     myPreviewViewManager;
+  OCCViewer_ViewManager*     myViewManager;
 
   bool                       myIsEdit;
   Handle(HYDROData_Polyline) myEditedObject;