Salome HOME
Updated copyright comment
[modules/gui.git] / src / GuiHelpers / StandardApp_Module.hxx
index 89e80b5c6977e063f764c7efe48de76eee6201a0..53cfa89bb0f7e66728fe6981652829bbee7b72c2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2011-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -16,7 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-// Author : Guillaume Boulant (EDF) 
+// Author : Guillaume Boulant (EDF)
 
 #ifndef _STANDARDAPP_MODULE_HXX_
 #define _STANDARDAPP_MODULE_HXX_
@@ -86,7 +86,7 @@ public slots:
 public:
   /* Creates an action with standard default values */
   int createStandardAction(const QString& label,
-                          QObject * slotobject,
+                           QObject * slotobject,
                            const char* slotmember,
                            const QString& iconName=QString(),
                            const QString& tooltip=QString(),
@@ -94,7 +94,7 @@ public:
 
   void addActionInToolbar(int actionId);
   void addActionInMenubar(int actionId, int menuId=UNSPECIFIED_INT);
-  void addActionInPopupMenu(int actionId,const QString& rule="client='ObjectBrowser'");
+  void addActionInPopupMenu(int actionId,const QString& menus="",const QString& rule="client='ObjectBrowser'");
 
 protected:
   /* Implement this to create additionnal widget (e.g. docked widget) */
@@ -103,7 +103,7 @@ protected:
   virtual void createModuleActions();
 
   /* Use this to create a root entry in the study for this module */
-  void createStudyComponent(SUIT_Study*);
+  void createStudyComponent();
   /* Implement this to say if study component entry should be created
      at activation step */
   virtual bool createStudyComponentAtActivation();
@@ -125,7 +125,7 @@ protected:
   };
   virtual void setDockLayout(DockLayoutType layoutType);
   virtual void unsetDockLayout();
-  
+
   SUIT_ResourceMgr* _resourceMgr;
   int _defaultMenuId;
   int _defaultToolbarId;