src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -27,10 +27,14 @@
         """
         Constructor
 
-        @param source name of the source file/directory (string)
-        @param parent parent widget (QWidget)
-        @param move flag indicating a move operation (boolean)
-        @param force flag indicating a forced 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
+        @param force flag indicating a forced operation
+        @type bool
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -58,8 +62,9 @@
         """
         Public method to retrieve the copy data.
 
-        @return the target name (string) and a flag indicating
-            the operation should be enforced (boolean)
+        @return tuple containing the target name and a flag indicating the
+            operation should be enforced
+        @rtype tuple of (str, bool)
         """
         target = self.targetPicker.text()
         if not os.path.isabs(target):
@@ -72,7 +77,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