From: ouv Date: Tue, 7 Nov 2006 13:55:11 +0000 (+0000) Subject: Minor changes X-Git-Tag: WP1_2_3_09-11-2006_change_prs_input~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0350bac75e9d62798189bc8dcff85f7e16078858;p=modules%2Fvisu.git Minor changes --- diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 844c7ad3..31464103 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -27,7 +27,6 @@ #include "VisuGUI_Slider.h" -#include "SUIT_Session.h" #include "SUIT_ResourceMgr.h" #include "LightApp_SelectionMgr.h" @@ -64,13 +63,13 @@ /*! Constructor */ -VisuGUI_Slider::VisuGUI_Slider( VVTK_ViewWindow* theViewWondow, +VisuGUI_Slider::VisuGUI_Slider( VVTK_ViewWindow* theViewWindow, LightApp_SelectionMgr* theSelectionMgr ) - : QtxDockWindow( InDock, theViewWondow->getMainWindow1() ), - myMainWindow( theViewWondow->getMainWindow1() ), + : QtxDockWindow( InDock, theViewWindow->getMainWindow1() ), + myMainWindow( theViewWindow->getMainWindow1() ), mySelectionMgr( theSelectionMgr ) { - //SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr(); + //SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr(); setHorizontallyStretchable( true ); diff --git a/src/VISUGUI/VisuGUI_Slider.h b/src/VISUGUI/VisuGUI_Slider.h index d196ed69..cfc5d314 100644 --- a/src/VISUGUI/VisuGUI_Slider.h +++ b/src/VISUGUI/VisuGUI_Slider.h @@ -55,10 +55,7 @@ class VisuGUI_Slider : public QtxDockWindow Q_OBJECT public: - enum { First = 0, Previous, Next, Last }; - -public: - VisuGUI_Slider( VVTK_ViewWindow* theViewWondow, + VisuGUI_Slider( VVTK_ViewWindow* theViewWindow, LightApp_SelectionMgr* theSelectionMgr ); virtual ~VisuGUI_Slider();