RefactoringRope/PreviewDialogBase.py

changeset 87
1fbf5fdbe721
parent 76
936b2a98fe4e
child 88
e71619898d0f
child 94
03d6a17c66ac
--- a/RefactoringRope/PreviewDialogBase.py	Mon May 12 19:08:18 2014 +0200
+++ b/RefactoringRope/PreviewDialogBase.py	Sun Jul 06 14:23:25 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)

eric ide

mercurial