src/eric7/Plugins/VcsPlugins/vcsGit/ProjectHelper.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9695
ad962e9b904d
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -29,9 +29,13 @@
         Constructor
 
         @param vcsObject reference to the vcs object
+        @type Git
         @param projectObject reference to the project object
-        @param parent parent widget (QWidget)
-        @param name name of this object (string)
+        @type Project
+        @param parent parent widget
+        @type QWidget
+        @param name name of this object
+        @type str
         """
         VcsProjectHelper.__init__(self, vcsObject, projectObject, parent, name)
 
@@ -40,7 +44,9 @@
         Public method to set references to the vcs and project objects.
 
         @param vcsObject reference to the vcs object
+        @type Git
         @param projectObject reference to the project object
+        @type Project
         """
         self.vcs = vcsObject
         self.project = projectObject
@@ -49,7 +55,8 @@
         """
         Public method to get a reference to the project object.
 
-        @return reference to the project object (Project)
+        @return reference to the project object
+        @rtype Project
         """
         return self.project
 
@@ -57,7 +64,8 @@
         """
         Public method to get a list of all actions.
 
-        @return list of all actions (list of EricAction)
+        @return list of all actions
+        @rtype list of EricAction
         """
         actions = self.actions[:]
         return actions
@@ -1747,7 +1755,8 @@
         """
         Public method to generate the VCS menu.
 
-        @param menu reference to the menu to be populated (QMenu)
+        @param menu reference to the menu to be populated
+        @type QMenu
         """
         menu.clear()
 
@@ -1949,9 +1958,10 @@
         """
         Public slot to initialize the VCS toolbar.
 
-        @param ui reference to the main window (UserInterface)
+        @param ui reference to the main window
+        @type UserInterface
         @param toolbarManager reference to a toolbar manager object
-            (EricToolBarManager)
+        @type EricToolBarManager
         """
         self.__toolbar = QToolBar(self.tr("Git"), ui)
         self.__toolbar.setObjectName("GitToolbar")
@@ -1993,9 +2003,10 @@
         """
         Public method to remove a toolbar created by initToolbar().
 
-        @param ui reference to the main window (UserInterface)
+        @param ui reference to the main window
+        @type UserInterface
         @param toolbarManager reference to a toolbar manager object
-            (EricToolBarManager)
+        @type EricToolBarManager
         """
         ui.removeToolBar(self.__toolbar)
         ui.unregisterToolbar("git")

eric ide

mercurial