Sun, 06 Jul 2014 14:27:51 +0200
Committed in wrong branch
<!DOCTYPE html> <html><head> <title>Plugin_Refactoring_Rope.RefactoringRope.MoveGlobalMethodDialog</title> <meta charset="UTF-8"> <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.MoveGlobalMethodDialog</h1> <p> Module implementing the Move Global Method dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#MoveGlobalMethodDialog">MoveGlobalMethodDialog</a></td> <td>Class implementing the Move Global Method dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="MoveGlobalMethodDialog" ID="MoveGlobalMethodDialog"></a> <h2>MoveGlobalMethodDialog</h2> <p> Class implementing the Move Global Method dialog. </p> <h3>Derived from</h3> RefactoringDialogBase, Ui_MoveGlobalMethodDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#MoveGlobalMethodDialog.__init__">MoveGlobalMethodDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#MoveGlobalMethodDialog.__checkDestination">__checkDestination</a></td> <td>Private method to check the destination entered.</td> </tr><tr> <td><a href="#MoveGlobalMethodDialog._calculateChanges">_calculateChanges</a></td> <td>Protected method to calculate the changes.</td> </tr><tr> <td><a href="#MoveGlobalMethodDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot to act on the button pressed.</td> </tr><tr> <td><a href="#MoveGlobalMethodDialog.on_destinationEdit_textChanged">on_destinationEdit_textChanged</a></td> <td>Private slot to react to changes of the destination module.</td> </tr><tr> <td><a href="#MoveGlobalMethodDialog.on_selectButton_clicked">on_selectButton_clicked</a></td> <td>Slot called to select the destination module via a file selection dialog.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="MoveGlobalMethodDialog.__init__" ID="MoveGlobalMethodDialog.__init__"></a> <h4>MoveGlobalMethodDialog (Constructor)</h4> <b>MoveGlobalMethodDialog</b>(<i>refactoring, title, mover, ropeproject, 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>mover</i></dt> <dd> reference to the mover object (rope.refactor.move.MoveMethod) </dd><dt><i>ropeproject</i></dt> <dd> reference to the rope project (rope.base.project.Project) </dd><dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> </dl><a NAME="MoveGlobalMethodDialog.__checkDestination" ID="MoveGlobalMethodDialog.__checkDestination"></a> <h4>MoveGlobalMethodDialog.__checkDestination</h4> <b>__checkDestination</b>(<i></i>) <p> Private method to check the destination entered. </p><dl> <dt>Returns:</dt> <dd> flag indicating a valid entry (boolean) </dd> </dl><a NAME="MoveGlobalMethodDialog._calculateChanges" ID="MoveGlobalMethodDialog._calculateChanges"></a> <h4>MoveGlobalMethodDialog._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="MoveGlobalMethodDialog.on_buttonBox_clicked" ID="MoveGlobalMethodDialog.on_buttonBox_clicked"></a> <h4>MoveGlobalMethodDialog.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="MoveGlobalMethodDialog.on_destinationEdit_textChanged" ID="MoveGlobalMethodDialog.on_destinationEdit_textChanged"></a> <h4>MoveGlobalMethodDialog.on_destinationEdit_textChanged</h4> <b>on_destinationEdit_textChanged</b>(<i>text</i>) <p> Private slot to react to changes of the destination module. </p><dl> <dt><i>text</i></dt> <dd> text entered into the edit (string) </dd> </dl><a NAME="MoveGlobalMethodDialog.on_selectButton_clicked" ID="MoveGlobalMethodDialog.on_selectButton_clicked"></a> <h4>MoveGlobalMethodDialog.on_selectButton_clicked</h4> <b>on_selectButton_clicked</b>(<i></i>) <p> Slot called to select the destination module via a file selection dialog. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>