6 |
6 |
7 """ |
7 """ |
8 Module implementing an interface to add different languages to do a syntax |
8 Module implementing an interface to add different languages to do a syntax |
9 check. |
9 check. |
10 """ |
10 """ |
11 |
|
12 from __future__ import unicode_literals |
|
13 |
11 |
14 from PyQt5.QtCore import QObject, pyqtSignal |
12 from PyQt5.QtCore import QObject, pyqtSignal |
15 |
13 |
16 from E5Gui.E5Application import e5App |
14 from E5Gui.E5Application import e5App |
17 from Utilities import determinePythonVersion |
15 from Utilities import determinePythonVersion |
195 """ |
193 """ |
196 self.error.emit(fn, msg) |
194 self.error.emit(fn, msg) |
197 |
195 |
198 def serviceErrorPy3(self, fx, lang, fn, msg): |
196 def serviceErrorPy3(self, fx, lang, fn, msg): |
199 """ |
197 """ |
200 Public method handling service errors for Python 2. |
198 Public method handling service errors for Python 3. |
201 |
199 |
202 @param fx service name (string) |
200 @param fx service name (string) |
203 @param lang language (string) |
201 @param lang language (string) |
204 @param fn file name (string) |
202 @param fn file name (string) |
205 @param msg message text (string) |
203 @param msg message text (string) |