From: vsr Date: Thu, 10 Apr 2014 12:08:52 +0000 (+0400) Subject: Make Display/Erase methods of the Displayer virtual X-Git-Tag: V7_4_0b1~1^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e0209da75af22be3a13292f76c7d0f2426e366ca;p=modules%2Fgui.git Make Display/Erase methods of the Displayer virtual --- 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;