Revert "PrinterOutputDevice: Adding isConnectionState"

1. Shouldn't go directly to upstream's master
2. GitHub still loves to kill the last line

This reverts commit bafaf16fcb.
This commit is contained in:
Thomas Karl Pietrowski 2016-11-20 15:09:20 +01:00
parent bafaf16fcb
commit 6dc194d8de

View file

@ -366,11 +366,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
self._connection_state = connection_state
self.connectionStateChanged.emit(self._id)
## Check the connection state of this output device.
# /param connection_state ConnectionState enum.
def isConnectionState(self, connection_state):
return self._connection_state == connection_state
@pyqtProperty(str, notify = connectionTextChanged)
def connectionText(self):
return self._connection_text
@ -540,4 +535,4 @@ class ConnectionState(IntEnum):
connecting = 1
connected = 2
busy = 3
error = 4
error = 4