]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
updateDesktopTitle method added
authorsln <sln@opencascade.com>
Fri, 1 Dec 2006 09:40:19 +0000 (09:40 +0000)
committersln <sln@opencascade.com>
Fri, 1 Dec 2006 09:40:19 +0000 (09:40 +0000)
src/LightApp/LightApp_Module.cxx
src/LightApp/LightApp_Module.h

index 2a753d8b894cb08ab2df22fc658f769378c39bde..5ef5b40d37c5f1f471e6378b11cc8e9d8105a2ab 100644 (file)
@@ -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;
+}
index 01035d773a21ba79dde1394086def91d96b6a8ba..0efd3b774cc1e8a051b35c4731fd63f8ceb4c7a7 100644 (file)
@@ -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* );