Remove Q_ENUMS for connection type, not used in QML anymore

This commit is contained in:
ChrisTerBeke 2018-12-19 11:42:17 +01:00
parent 1b356a3219
commit eb1bde0516

View file

@ -54,11 +54,6 @@ class ConnectionType(IntEnum):
@signalemitter
class PrinterOutputDevice(QObject, OutputDevice):
# Put ConnectionType here with Q_ENUMS() so it can be registered as a QML type and accessible via QML, and there is
# no need to remember what those Enum integer values mean.
ConnectionType = ConnectionType
Q_ENUMS(ConnectionType)
printersChanged = pyqtSignal()
connectionStateChanged = pyqtSignal(str)
acceptsCommandsChanged = pyqtSignal()