(self, app=None)
| 449 | @inputhook_manager.register('qt5') |
| 450 | class Qt5InputHook(Qt4InputHook): |
| 451 | def enable(self, app=None): |
| 452 | warn("This function is deprecated since IPython 5.0 and will be removed in future versions.", |
| 453 | DeprecationWarning, stacklevel=2) |
| 454 | os.environ['QT_API'] = 'pyqt5' |
| 455 | return Qt4InputHook.enable(self, app) |
| 456 | |
| 457 | |
| 458 | @inputhook_manager.register('gtk') |