31 @param source name of the source file/directory (string) |
33 @param source name of the source file/directory (string) |
32 @param parent parent widget (QWidget) |
34 @param parent parent widget (QWidget) |
33 @param move flag indicating a move operation (boolean) |
35 @param move flag indicating a move operation (boolean) |
34 @param force flag indicating a forced operation (boolean) |
36 @param force flag indicating a forced operation (boolean) |
35 """ |
37 """ |
36 super().__init__(parent) |
38 super(HgCopyDialog, self).__init__(parent) |
37 self.setupUi(self) |
39 self.setupUi(self) |
38 |
40 |
39 self.source = source |
41 self.source = source |
40 if os.path.isdir(self.source): |
42 if os.path.isdir(self.source): |
41 self.targetCompleter = E5DirCompleter(self.targetEdit) |
43 self.targetCompleter = E5DirCompleter(self.targetEdit) |