Sat, 12 Feb 2011 11:53:07 +0100
Updated source docu after making the code PEP-8 compliant.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>Plugin_Refactoring_Rope.RefactoringRope.MethodToMethodObjectDialog</title> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>Plugin_Refactoring_Rope.RefactoringRope.MethodToMethodObjectDialog</h1> <p> Module implementing the Method To Method object dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#MethodToMethodObjectDialog">MethodToMethodObjectDialog</a></td> <td>Class implementing the Method To Method object dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="MethodToMethodObjectDialog" ID="MethodToMethodObjectDialog"></a> <h2>MethodToMethodObjectDialog</h2> <p> Class implementing the Method To Method object dialog. </p> <h3>Derived from</h3> RefactoringDialogBase, Ui_MethodToMethodObjectDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#MethodToMethodObjectDialog.__init__">MethodToMethodObjectDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#MethodToMethodObjectDialog._calculateChanges">_calculateChanges</a></td> <td>Protected method to calculate the changes.</td> </tr><tr> <td><a href="#MethodToMethodObjectDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot to act on the button pressed.</td> </tr><tr> <td><a href="#MethodToMethodObjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> <td>Private slot to react to changes of the name.</td> </tr> </table> <a NAME="MethodToMethodObjectDialog.__init__" ID="MethodToMethodObjectDialog.__init__"></a> <h4>MethodToMethodObjectDialog (Constructor)</h4> <b>MethodToMethodObjectDialog</b>(<i>refactoring, title, converter, parent=None</i>) <p> Constructor </p><dl> <dt><i>refactoring</i></dt> <dd> reference to the main refactoring object (Refactoring) </dd><dt><i>title</i></dt> <dd> title of the dialog (string) </dd><dt><i>converter</i></dt> <dd> reference to the converter object (rope.refactor.method_object.MethodObject) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="MethodToMethodObjectDialog._calculateChanges" ID="MethodToMethodObjectDialog._calculateChanges"></a> <h4>MethodToMethodObjectDialog._calculateChanges</h4> <b>_calculateChanges</b>(<i>handle</i>) <p> Protected method to calculate the changes. </p><dl> <dt><i>handle</i></dt> <dd> reference to the task handle (rope.base.taskhandle.TaskHandle) </dd> </dl><dl> <dt>Returns:</dt> <dd> reference to the Changes object (rope.base.change.ChangeSet) </dd> </dl><a NAME="MethodToMethodObjectDialog.on_buttonBox_clicked" ID="MethodToMethodObjectDialog.on_buttonBox_clicked"></a> <h4>MethodToMethodObjectDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) <p> Private slot to act on the button pressed. </p><dl> <dt><i>button</i></dt> <dd> reference to the button pressed (QAbstractButton) </dd> </dl><a NAME="MethodToMethodObjectDialog.on_nameEdit_textChanged" ID="MethodToMethodObjectDialog.on_nameEdit_textChanged"></a> <h4>MethodToMethodObjectDialog.on_nameEdit_textChanged</h4> <b>on_nameEdit_textChanged</b>(<i>text</i>) <p> Private slot to react to changes of the name. </p><dl> <dt><i>text</i></dt> <dd> text entered into the edit (string) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>