diff -r 19e481fd2847 -r 3339c75dc777 RefactoringRope/PreviewDialogBase.py --- a/RefactoringRope/PreviewDialogBase.py Sun Jul 06 13:27:49 2014 +0200 +++ b/RefactoringRope/PreviewDialogBase.py Sun Jul 06 14:17:24 2014 +0200 @@ -9,8 +9,9 @@ from __future__ import unicode_literals -from PyQt4.QtCore import Qt -from PyQt4.QtGui import QDialog, QBrush, QColor, QTextCursor +from PyQt5.QtCore import Qt +from PyQt5.QtGui import QBrush, QColor, QTextCursor +from PyQt5.QtWidgets import QDialog from Ui_PreviewDialog import Ui_PreviewDialog @@ -56,7 +57,7 @@ def _appendText(self, txt, format): """ - Restricted method to append text to the end of the contents pane. + Protected method to append text to the end of the contents pane. @param txt text to insert (string) @param format text format to be used (QTextCharFormat)