11 from PyQt4.QtGui import QDialogButtonBox, QAbstractButton |
11 from PyQt4.QtGui import QDialogButtonBox, QAbstractButton |
12 |
12 |
13 from Ui_MethodToMethodObjectDialog import Ui_MethodToMethodObjectDialog |
13 from Ui_MethodToMethodObjectDialog import Ui_MethodToMethodObjectDialog |
14 from RefactoringDialogBase import RefactoringDialogBase |
14 from RefactoringDialogBase import RefactoringDialogBase |
15 |
15 |
16 class MethodToMethodObjectDialog(RefactoringDialogBase, |
16 |
|
17 class MethodToMethodObjectDialog(RefactoringDialogBase, |
17 Ui_MethodToMethodObjectDialog): |
18 Ui_MethodToMethodObjectDialog): |
18 """ |
19 """ |
19 Class implementing the Method To Method object dialog. |
20 Class implementing the Method To Method object dialog. |
20 """ |
21 """ |
21 def __init__(self, refactoring, title, converter, parent = None): |
22 def __init__(self, refactoring, title, converter, parent=None): |
22 """ |
23 """ |
23 Constructor |
24 Constructor |
24 |
25 |
25 @param refactoring reference to the main refactoring object |
26 @param refactoring reference to the main refactoring object |
26 (Refactoring) |
27 (Refactoring) |
27 @param title title of the dialog (string) |
28 @param title title of the dialog (string) |
28 @param converter reference to the converter object |
29 @param converter reference to the converter object |
29 (rope.refactor.method_object.MethodObject) |
30 (rope.refactor.method_object.MethodObject) |
30 @param parent reference to the parent widget (QWidget) |
31 @param parent reference to the parent widget (QWidget) |
31 """ |
32 """ |
32 RefactoringDialogBase.__init__(self, refactoring, title, parent) |
33 RefactoringDialogBase.__init__(self, refactoring, title, parent) |
33 self.setupUi(self) |
34 self.setupUi(self) |