QScintilla/Exporters/ExporterBase.py

changeset 539
87f9bce38a44
parent 24
9233b51b54d1
child 546
c3e7bf5648be
--- a/QScintilla/Exporters/ExporterBase.py	Tue Aug 31 12:36:10 2010 +0200
+++ b/QScintilla/Exporters/ExporterBase.py	Tue Aug 31 13:23:27 2010 +0200
@@ -10,6 +10,8 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
+from E5Gui import E5MessageBox
+
 import Utilities
 
 class ExporterBase(QObject):
@@ -51,7 +53,7 @@
                 if ex:
                     fn += ex
             if QFileInfo(fn).exists():
-                res = QMessageBox.warning(self.editor,
+                res = E5MessageBox.warning(self.editor,
                     self.trUtf8("Export source"),
                     self.trUtf8("<p>The file <b>{0}</b> already exists.</p>")
                         .format(fn),
@@ -72,4 +74,4 @@
         
         This method must be overridden by the real exporters.
         """
-        raise NotImplementedError
+        raise NotImplementedError
\ No newline at end of file

eric ide

mercurial