Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / XGUI / XGUI_SalomeConnector.h
index 4b96fd2f7f986ceca41d69a2bcdbda5c9bbad163..bca5d2b5b366b745599747ae6464547443559f9e 100644 (file)
@@ -14,7 +14,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #ifndef XGUI_SALOMECONNECTOR_H
@@ -33,7 +34,7 @@ class ModuleBase_IViewer;
 
 /**
  * \ingroup GUI
- * An interface which provides a connection of XGUI functionality 
+ * An interface which provides a connection of XGUI functionality
  * with functionality of SALOME module interface.
  */
 class XGUI_EXPORT XGUI_SalomeConnector
@@ -46,6 +47,7 @@ class XGUI_EXPORT XGUI_SalomeConnector
 
   //! Creates a feature (command) in SALOME desktop
   //! \param theWBName - a workbench name
+  //! \param theTBName - a toolbar name
   //! \param theId - an id of the feature
   //! \param theTitle - a menu item string
   //! \param theTip - a tooltip string (help)
@@ -54,7 +56,8 @@ class XGUI_EXPORT XGUI_SalomeConnector
   //! \param theKeys - hot keys
   //! \param isAddSeparator boolean flag about adding separator after the action
   //! returns created action
-  virtual QAction* addFeature(const QString& theWBName, const QString& theId,
+  virtual QAction* addFeature(const QString& theWBName, const QString& theTBName,
+                              const QString& theId,
                               const QString& theTitle, const QString& theTip,
                               const QIcon& theIcon,
                               const QKeySequence& theKeys, bool isCheckable,