30 |
30 |
31 |
31 |
32 class BackgroundService(QTcpServer): |
32 class BackgroundService(QTcpServer): |
33 """ |
33 """ |
34 Class implementing the main part of the background service. |
34 Class implementing the main part of the background service. |
|
35 |
|
36 @signal serviceNotAvailable(function, language, filename, message) |
|
37 emitted to indicate the non-availability of a service function |
|
38 (str, str, str, str) |
|
39 @signal batchJobDone(function, language) emitted to indicate the end of |
|
40 a batch job (str, str) |
35 """ |
41 """ |
36 serviceNotAvailable = pyqtSignal(str, str, str, str) |
42 serviceNotAvailable = pyqtSignal(str, str, str, str) |
37 batchJobDone = pyqtSignal(str, str) |
43 batchJobDone = pyqtSignal(str, str) |
38 |
44 |
39 def __init__(self): |
45 def __init__(self): |