diff options
author | Jaime van Kessel <nallath@gmail.com> | 2016-06-16 16:35:11 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2016-06-16 16:35:11 +0300 |
commit | 640e1a2350c1e1eeb872b010fff9790dbdec707e (patch) | |
tree | 180400bf0e84e3b1834e3fa7dd5aa282618e48b6 /cura/PrinterOutputDevice.py | |
parent | 2d78f0a61008a825470d714b3ed7c846ef6cce84 (diff) |
Implemented interface for setting printjobstate
CURA-1038
Diffstat (limited to 'cura/PrinterOutputDevice.py')
-rw-r--r-- | cura/PrinterOutputDevice.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index 9dabe52373..8dca62f368 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -70,11 +70,18 @@ class PrinterOutputDevice(QObject, OutputDevice): def jobState(self): return self._job_state - def setJobState(self, job_state): + def _updateJobState(self, job_state): if self._job_state != job_state: self._job_state = job_state self.jobStateChanged.emit() + @pyqtSlot(str) + def setJobState(self, job_state): + self._setJobState(job_state) + + def _setJobState(self, job_state): + Logger.log("w", "_setJobState is not implemented by this output device") + ## Get the bed temperature of the bed (if any) # This function is "final" (do not re-implement) # /sa _getBedTemperature implementation function |