src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -871,8 +871,10 @@
         """
         Public method to generate the extension menu.
 
-        @param mainMenu reference to the main menu (QMenu)
-        @return populated menu (QMenu)
+        @param mainMenu reference to the main menu
+        @type QMenu
+        @return populated menu
+        @rtype QMenu
         """
         menu = QMenu(self.menuTitle(), mainMenu)
         menu.setTearOffEnabled(True)
@@ -959,7 +961,8 @@
         """
         Public method to get the menu title.
 
-        @return title of the menu (string)
+        @return title of the menu
+        @rtype str
         """
         return self.tr("Queues")
 
@@ -1002,10 +1005,14 @@
 
         @param operation operation type to be performed (Queues.POP,
             Queues.PUSH, Queues.GOTO)
-        @param doAll flag indicating to push/pop all (boolean)
+        @type int
+        @param doAll flag indicating to push/pop all
+        @type bool
         @param named flag indicating to push/pop until a named patch
-            is at the top of the stack (boolean)
-        @param force flag indicating a forceful pop (boolean)
+            is at the top of the stack
+        @type bool
+        @param force flag indicating a forceful pop
+        @type bool
         """
         shouldReopen = self.vcs.getExtensionObject("mq").hgQueuePushPopPatches(
             operation=operation, doAll=doAll, named=named, force=force

eric ide

mercurial