From 0350bac75e9d62798189bc8dcff85f7e16078858 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 7 Nov 2006 13:55:11 +0000 Subject: [PATCH] Minor changes --- src/VISUGUI/VisuGUI_Slider.cxx | 9 ++++----- src/VISUGUI/VisuGUI_Slider.h | 5 +---- 2 files changed, 5 insertions(+), 9 deletions(-) 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(); -- 2.39.2