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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitRemoteRepositoriesDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitRemoteRepositoriesDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -35,7 +35,9 @@
         Constructor
 
         @param vcs reference to the vcs object
-        @param parent parent widget (QWidget)
+        @type Git
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -82,9 +84,12 @@
         """
         Private method to generate a status item in the status list.
 
-        @param name name of the remote repository (string)
-        @param url URL of the remote repository (string)
-        @param oper operation the remote repository may be used for (string)
+        @param name name of the remote repository
+        @type str
+        @param url URL of the remote repository
+        @type str
+        @param oper operation the remote repository may be used for
+        @type str
         """
         foundItems = self.repolist.findItems(name, Qt.MatchFlag.MatchExactly, 0)
         if foundItems:
@@ -97,7 +102,8 @@
         """
         Protected slot implementing a close event handler.
 
-        @param e close event (QCloseEvent)
+        @param e close event
+        @type QCloseEvent
         """
         if (
             self.process is not None
@@ -113,7 +119,8 @@
         """
         Public slot to start the git remote command.
 
-        @param projectDir name of the project directory (string)
+        @param projectDir name of the project directory
+        @type str
         """
         self.repolist.clear()
 
@@ -200,7 +207,8 @@
         """
         Private slot called by a button of the button box clicked.
 
-        @param button button that was clicked (QAbstractButton)
+        @param button button that was clicked
+        @type QAbstractButton
         """
         if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
             self.close()
@@ -214,8 +222,10 @@
         """
         Private slot connected to the finished signal.
 
-        @param exitCode exit code of the process (integer)
-        @param exitStatus exit status of the process (QProcess.ExitStatus)
+        @param exitCode exit code of the process
+        @type int
+        @param exitStatus exit status of the process
+        @type QProcess.ExitStatus
         """
         self.__finish()
 
@@ -256,7 +266,8 @@
         """
         Private slot to handle the password checkbox toggled.
 
-        @param isOn flag indicating the status of the check box (boolean)
+        @param isOn flag indicating the status of the check box
+        @type bool
         """
         if isOn:
             self.input.setEchoMode(QLineEdit.EchoMode.Password)
@@ -294,7 +305,8 @@
         """
         Protected slot to handle a key press event.
 
-        @param evt the key press event (QKeyEvent)
+        @param evt the key press event
+        @type QKeyEvent
         """
         if self.intercept:
             self.intercept = False

eric ide

mercurial