##// END OF EJS Templates
set default client_class for QtKernelManager...
MinRK -
Show More
@@ -4,7 +4,7 b''
4 from IPython.external.qt import QtCore
4 from IPython.external.qt import QtCore
5
5
6 # Local imports
6 # Local imports
7 from IPython.utils.traitlets import Bool
7 from IPython.utils.traitlets import Bool, DottedObjectName
8
8
9 from IPython.kernel import KernelManager
9 from IPython.kernel import KernelManager
10 from IPython.kernel.restarter import KernelRestarter
10 from IPython.kernel.restarter import KernelRestarter
@@ -30,6 +30,7 b' class QtKernelRestarter(KernelRestarter, QtKernelRestarterMixin):'
30 class QtKernelManager(KernelManager, QtKernelManagerMixin):
30 class QtKernelManager(KernelManager, QtKernelManagerMixin):
31 """A KernelManager with Qt signals for restart"""
31 """A KernelManager with Qt signals for restart"""
32
32
33 client_class = DottedObjectName('IPython.qt.client.QtKernelClient')
33 autorestart = Bool(True, config=True)
34 autorestart = Bool(True, config=True)
34
35
35 def start_restarter(self):
36 def start_restarter(self):
General Comments 0
You need to be logged in to leave comments. Login now