Also start reworking the USBPrint.

It's also time for some much needed code cleaning in that bit. The auto-detect is moved to it's own job,
which should make it a whole lot easier to disable it all together.

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-14 17:37:57 +01:00
parent 24bd32477a
commit d3b9ac0d45
4 changed files with 146 additions and 808 deletions

View file

@ -67,6 +67,10 @@ class PrinterOutputDevice(QObject, OutputDevice):
self._connection_state = connection_state
self.connectionStateChanged.emit(self._id)
@pyqtProperty(str, notify = connectionStateChanged)
def connectionState(self):
return self._connection_state
def _update(self):
pass