1 # -*- test-case-name: twisted.internet.test.test_qtreactor -*-
2 # Copyright (c) Twisted Matrix Laboratories.
3 # See LICENSE for details.
6 # 'import qtreactor' would have imported this file instead of the
7 # top-level qtreactor. __import__ does the right thing
8 # (kids, don't repeat this at home)
9 install = __import__('qtreactor').install
11 from twisted.plugins.twisted_qtstub import errorMessage
12 raise ImportError(errorMessage)
15 warnings.warn("Please use qtreactor instead of twisted.internet.qtreactor",
16 category=DeprecationWarning)