QScintilla/Exporters/ExporterODT.py

changeset 537
72b32daeb8d6
parent 535
4b00d7336e19
child 564
b3d966393ba9
diff -r 6d8d39753c82 -r 72b32daeb8d6 QScintilla/Exporters/ExporterODT.py
--- a/QScintilla/Exporters/ExporterODT.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/QScintilla/Exporters/ExporterODT.py	Tue Aug 31 12:17:02 2010 +0200
@@ -8,8 +8,9 @@
 """
 
 from PyQt4.QtCore import Qt
-from PyQt4.QtGui import QApplication, QCursor, QTextDocument, QTextDocumentWriter, \
-    QMessageBox
+from PyQt4.QtGui import QApplication, QCursor, QTextDocument, QTextDocumentWriter
+
+from E5Gui import E5MessageBox
 
 from .ExporterBase import ExporterBase
 from .ExporterHTML import HTMLGenerator
@@ -65,7 +66,7 @@
         ok = writer.write(doc)
         QApplication.restoreOverrideCursor()
         if not ok:
-            QMessageBox.critical(self.editor,
+            E5MessageBox.critical(self.editor,
                 self.trUtf8("Export source"),
                 self.trUtf8(\
                     """<p>The source could not be exported to <b>{0}</b>.</p>""")\

eric ide

mercurial