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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
19 19
20 def __init__(self, currUrl, parent=None): 20 def __init__(self, currUrl, parent=None):
21 """ 21 """
22 Constructor 22 Constructor
23 23
24 @param currUrl current repository URL (string) 24 @param currUrl current repository URL
25 @param parent parent widget (QWidget) 25 @type str
26 @param parent parent widget
27 @type QWidget
26 """ 28 """
27 super().__init__(parent) 29 super().__init__(parent)
28 self.setupUi(self) 30 self.setupUi(self)
29 31
30 self.currUrlLabel.setText(currUrl) 32 self.currUrlLabel.setText(currUrl)
35 37
36 def getData(self): 38 def getData(self):
37 """ 39 """
38 Public slot used to retrieve the data entered into the dialog. 40 Public slot used to retrieve the data entered into the dialog.
39 41
40 @return the new repository URL (string) and an indication, if 42 @return the new repository URL and an indication, if the relocate is inside
41 the relocate is inside the repository (boolean) 43 the repository
44 @rtype tuple of (str, bool)
42 """ 45 """
43 return self.newUrlEdit.text(), self.insideCheckBox.isChecked() 46 return self.newUrlEdit.text(), self.insideCheckBox.isChecked()

eric ide

mercurial