src/eric7/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -26,7 +26,9 @@
         Constructor
 
         @param vcs reference to the Mercurial object (Hg)
-        @param parent reference to the parent widget (QWidget)
+        @type Hg
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -83,7 +85,8 @@
         """
         Private slot to handle changes of the archive name.
 
-        @param archive name of the archive (string)
+        @param archive name of the archive
+        @type str
         """
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
             archive != ""
@@ -94,7 +97,8 @@
         """
         Private slot to react on changes of the selected archive type.
 
-        @param index index of the selected type (integer)
+        @param index index of the selected type
+        @type int
         """
         type_ = self.typeComboBox.itemData(index)
         if type_ == "files":
@@ -112,9 +116,9 @@
         """
         Public method to retrieve the data.
 
-        @return tuple giving the archive name (string), the archive type
-            (string), the directory prefix 8string) and a flag indicating
-            to recurse into subrepositories (boolean)
+        @return tuple giving the archive name, the archive type, the directory prefix
+             and a flag indicating to recurse into subrepositories
+        @rtype tuple of (str, str, str, bool)
         """
         return (
             self.archivePicker.text(),

eric ide

mercurial