Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / XGUI / XGUI_SalomeConnector.h
index 2c19972df35c8f35748590a260dcbd041cad4db7..bca5d2b5b366b745599747ae6464547443559f9e 100644 (file)
@@ -47,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)
@@ -55,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,