From: sln Date: Fri, 1 Dec 2006 09:40:19 +0000 (+0000) Subject: updateDesktopTitle method added X-Git-Tag: For_CTH_V1_2a~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0aa28d053162e23f2f964b4b0f50c66416c7ec54;p=modules%2Fgui.git updateDesktopTitle method added --- diff --git a/src/LightApp/LightApp_Module.cxx b/src/LightApp/LightApp_Module.cxx index 2a753d8b8..5ef5b40d3 100644 --- a/src/LightApp/LightApp_Module.cxx +++ b/src/LightApp/LightApp_Module.cxx @@ -563,3 +563,13 @@ void LightApp_Module::onViewManagerAdded( SUIT_ViewManager* ) void LightApp_Module::onViewManagerRemoved( SUIT_ViewManager* ) { } + +/*! + * \brief Virtual public method called to custom update of the desktop title + * \param theTitle - current desktop title + * \return Modified desktop title +*/ +QString LightApp_Module::updateDesktopTitle( const QString& theTitle ) +{ + return theTitle; +} diff --git a/src/LightApp/LightApp_Module.h b/src/LightApp/LightApp_Module.h index 01035d773..0efd3b774 100644 --- a/src/LightApp/LightApp_Module.h +++ b/src/LightApp/LightApp_Module.h @@ -89,6 +89,9 @@ public: virtual LightApp_Displayer* displayer(); + virtual QString updateDesktopTitle( const QString& ); + // Custom update desktop title + public slots: virtual bool activateModule( SUIT_Study* ); virtual bool deactivateModule( SUIT_Study* );