RefactoringRope/PreviewDialogBase.py

branch
eric5
changeset 88
e71619898d0f
parent 86
3339c75dc777
--- a/RefactoringRope/PreviewDialogBase.py	Sun Jul 06 14:17:24 2014 +0200
+++ b/RefactoringRope/PreviewDialogBase.py	Sun Jul 06 14:27:51 2014 +0200
@@ -9,9 +9,8 @@
 
 from __future__ import unicode_literals
 
-from PyQt5.QtCore import Qt
-from PyQt5.QtGui import QBrush, QColor, QTextCursor
-from PyQt5.QtWidgets import QDialog
+from PyQt4.QtCore import Qt
+from PyQt4.QtGui import QDialog, QBrush, QColor, QTextCursor
 
 from Ui_PreviewDialog import Ui_PreviewDialog
 
@@ -57,7 +56,7 @@
     
     def _appendText(self, txt, format):
         """
-        Protected method to append text to the end of the contents pane.
+        Restricted 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