src/eric7/Plugins/PluginEricapi.py

branch
eric7
changeset 10437
2f70ca07f0af
parent 10317
f1b00d7dec16
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/PluginEricapi.py	Fri Dec 22 17:24:07 2023 +0100
+++ b/src/eric7/Plugins/PluginEricapi.py	Fri Dec 22 19:45:17 2023 +0100
@@ -46,6 +46,7 @@
 
     @return dictionary containing the data to query the presence of
         the executable
+    @rtype dict
     """
     exe = "eric7_api"
     if OSUtilities.isWindowsPlatform():
@@ -97,7 +98,8 @@
         """
         Constructor
 
-        @param ui reference to the user interface object (UI.UserInterface)
+        @param ui reference to the user interface object
+        @type UserInterface
         """
         super().__init__(ui)
         self.__ui = ui
@@ -114,7 +116,8 @@
         """
         Public method to activate this plugin.
 
-        @return tuple of None and activation status (boolean)
+        @return tuple of None and activation status
+        @rtype bool
         """
         menu = ericApp().getObject("Project").getMenu("Apidoc")
         if menu:
@@ -160,8 +163,10 @@
         Private slot called, when the the project menu or a submenu is
         about to be shown.
 
-        @param menuName name of the menu to be shown (string)
-        @param menu reference to the menu (QMenu)
+        @param menuName name of the menu to be shown
+        @type str
+        @param menu reference to the menu
+        @type QMenu
         """
         if menuName == "Apidoc" and self.__projectAct is not None:
             self.__projectAct.setEnabled(

eric ide

mercurial