From e0209da75af22be3a13292f76c7d0f2426e366ca Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 10 Apr 2014 16:08:52 +0400 Subject: [PATCH] Make Display/Erase methods of the Displayer virtual --- src/LightApp/LightApp_Displayer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/LightApp/LightApp_Displayer.h b/src/LightApp/LightApp_Displayer.h index e4f6279dd..414db57a2 100644 --- a/src/LightApp/LightApp_Displayer.h +++ b/src/LightApp/LightApp_Displayer.h @@ -43,15 +43,15 @@ public: virtual ~LightApp_Displayer(); void Display( const QString&, const bool = true, SALOME_View* = 0 ); - void Display( const QStringList&, const bool = true, - SALOME_View* = 0 ); + virtual void Display( const QStringList&, const bool = true, + SALOME_View* = 0 ); - void Redisplay( const QString&, const bool = true ); + virtual void Redisplay( const QString&, const bool = true ); - void Erase( const QStringList&, const bool forced = false, - const bool updateViewer = true, SALOME_View* = 0); + virtual void Erase( const QStringList&, const bool forced = false, + const bool updateViewer = true, SALOME_View* = 0); void Erase( const QString&, const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ); - void EraseAll( const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ) const; + virtual void EraseAll( const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ) const; virtual bool IsDisplayed( const QString&, SALOME_View* = 0 ) const; void UpdateViewer() const; -- 2.39.2