From 0aa28d053162e23f2f964b4b0f50c66416c7ec54 Mon Sep 17 00:00:00 2001 From: sln Date: Fri, 1 Dec 2006 09:40:19 +0000 Subject: [PATCH] updateDesktopTitle method added --- src/LightApp/LightApp_Module.cxx | 10 ++++++++++ src/LightApp/LightApp_Module.h | 3 +++ 2 files changed, 13 insertions(+) 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* ); -- 2.39.2