From: nds Date: Mon, 6 Mar 2006 07:31:56 +0000 (+0000) Subject: Delete method Type(). It's duplicate method from Plot2d. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c705c349f9da3d0339bccedf23595fa6009850d4;p=modules%2Fgui.git Delete method Type(). It's duplicate method from Plot2d. --- diff --git a/src/SPlot2d/SPlot2d_ViewModel.h b/src/SPlot2d/SPlot2d_ViewModel.h index 09005da78..b448354ea 100644 --- a/src/SPlot2d/SPlot2d_ViewModel.h +++ b/src/SPlot2d/SPlot2d_ViewModel.h @@ -37,15 +37,11 @@ class SPLOT2D_EXPORT SPlot2d_Viewer : public Plot2d_Viewer, public SALOME_View Q_OBJECT public: - static QString Type() { return "Plot2d"; } - /* Construction/destruction */ SPlot2d_Viewer( bool theAutoDel = false ); virtual ~SPlot2d_Viewer(); public: - virtual QString getType() const { return Type(); } - /* interactive object management */ void highlight( const Handle(SALOME_InteractiveObject)& IObject, bool highlight, bool update = true ) {} void unHighlightAll() {} diff --git a/src/SVTK/SVTK_ViewModel.h b/src/SVTK/SVTK_ViewModel.h index 5875d465e..0d6e3b9ed 100644 --- a/src/SVTK/SVTK_ViewModel.h +++ b/src/SVTK/SVTK_ViewModel.h @@ -38,9 +38,6 @@ class SVTK_EXPORT SVTK_Viewer : public SVTK_ViewModelBase, public SALOME_View public: typedef SVTK_ViewWindow TViewWindow; - //! Define string representation of the viewer type - static QString Type() { return "VTKViewer"; } - SVTK_Viewer(); virtual ~SVTK_Viewer(); @@ -53,9 +50,6 @@ public: //! See #SUIT_ViewModel::contextMenuPopup virtual void contextMenuPopup( QPopupMenu* ); - //! See #SUIT_ViewModel::getType - virtual QString getType() const { return Type(); } - //! Get background color of the viewer QColor backgroundColor() const;