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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitCopyDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitCopyDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -30,9 +30,12 @@
         """
         Constructor
 
-        @param source name of the source file/directory (string)
-        @param parent parent widget (QWidget)
-        @param move flag indicating a move operation (boolean)
+        @param source name of the source file/directory
+        @type str
+        @param parent parent widget
+        @type QWidget
+        @param move flag indicating a move operation
+        @type bool
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -61,8 +64,8 @@
         """
         Public method to retrieve the copy data.
 
-        @return the target name (string) and a flag indicating
-            the operation should be enforced (boolean)
+        @return the target name and a flag indicating the operation should be enforced
+        @rtype tuple of (str, bool)
         """
         target = self.targetEdit.text()
         if not os.path.isabs(target):
@@ -104,7 +107,8 @@
         """
         Private slot to handle changes of the target.
 
-        @param txt contents of the target edit (string)
+        @param txt contents of the target edit
+        @type str
         """
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
             os.path.isabs(txt) or os.path.dirname(txt) == ""

eric ide

mercurial