diff --git doc/core/howto/choosing-reactor.xhtml doc/core/howto/choosing-reactor.xhtml
index ed99249..9c8c7e7 100644
|
|
|
|
| 45 | 45 | <li><a href="#win32_wfmo">Win32</a></li> |
| 46 | 46 | <li><a href="#cfreactor">CoreFoundation</a></li> |
| 47 | 47 | <li><a href="#pyui">PyUI</a></li> |
| | 48 | <li><a href="#qtreactor">Qt4</a></li> |
| 48 | 49 | </ul> |
| 49 | 50 | |
| 50 | 51 | <p>When using applications that are runnable using <code>twistd</code>, e.g. |
| … |
… |
|
| 301 | 302 | <p>An example Twisted application that uses PyUI can be found in <code |
| 302 | 303 | class="py-filename">doc/core/examples/pyuidemo.py</code>.</p> |
| 303 | 304 | |
| | 305 | <h3>QtReactor</h3><a name="qtreactor" /> |
| | 306 | |
| | 307 | <p>Twisted is intergrated with Qt4 using the LGPL <a href="http://www.pyside.org">PySide</a> bindings.</p> |
| | 308 | |
| | 309 | <pre class="python"> |
| | 310 | from PySide import QtGui |
| | 311 | |
| | 312 | app = QtGui.QApplication(sys.argv) |
| | 313 | from twisted.internet import qtreactor |
| | 314 | qtreactor.install() |
| | 315 | </pre> |
| | 316 | |
| | 317 | <p>An example Twisted application that uses qtreactor can be found in <code |
| | 318 | class="py-filename">doc/core/examples/qtdemo.py</code>.</p> |
| | 319 | |
| 304 | 320 | </body> |
| 305 | 321 | </html> |