Show More
@@ -55,7 +55,12 b' class QtInProcessChannel(SuperQObject, InProcessChannel):' | |||||
55 | """ |
|
55 | """ | |
56 | super(QtInProcessChannel, self).flush() |
|
56 | super(QtInProcessChannel, self).flush() | |
57 | self.process_events() |
|
57 | self.process_events() | |
58 |
|
58 | |||
|
59 | ||||
|
60 | class QtInProcessHBChannel(SuperQObject, InProcessHBChannel): | |||
|
61 | # This signal will never be fired, but it needs to exist | |||
|
62 | kernel_died = QtCore.Signal() | |||
|
63 | ||||
59 |
|
64 | |||
60 | class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient): |
|
65 | class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient): | |
61 | """ An in-process KernelManager with signals and slots. |
|
66 | """ An in-process KernelManager with signals and slots. | |
@@ -64,7 +69,7 b' class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient):' | |||||
64 | iopub_channel_class = Type(QtInProcessChannel) |
|
69 | iopub_channel_class = Type(QtInProcessChannel) | |
65 | shell_channel_class = Type(QtInProcessChannel) |
|
70 | shell_channel_class = Type(QtInProcessChannel) | |
66 | stdin_channel_class = Type(QtInProcessChannel) |
|
71 | stdin_channel_class = Type(QtInProcessChannel) | |
67 | hb_channel_class = Type(InProcessHBChannel) |
|
72 | hb_channel_class = Type(QtInProcessHBChannel) | |
68 |
|
73 | |||
69 | class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager): |
|
74 | class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager): | |
70 | client_class = __module__ + '.QtInProcessKernelClient' |
|
75 | client_class = __module__ + '.QtInProcessKernelClient' |
General Comments 0
You need to be logged in to leave comments.
Login now